Bug 426532 - osc (up) doesn't work
Summary: osc (up) doesn't work
Status: RESOLVED DUPLICATE of bug 425138
Alias: None
Product: openSUSE 11.1
Classification: openSUSE
Component: Development (show other bugs)
Version: Factory
Hardware: Other Other
: P5 - None : Blocker (vote)
Target Milestone: ---
Assignee: Jan Matejek
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-16 09:00 UTC by Stephan Binner
Modified: 2008-09-16 15:09 UTC (History)
1 user (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Binner 2008-09-16 09:00:22 UTC
After updating to latest Factory today osc doesn't work again:

| > osc up
| Segmentation fault

i | osc     | package | 0.107-27 | i586 | Factory
i | python  | package | 2.6b3-6      | i586   | Factory

I can do no packaging work now anymore.
Comment 1 Stephan Binner 2008-09-16 13:51:39 UTC
Trying with the Python 2.6rc1 submission in done/STABLE when calling osc:

"ImportError: No module named _md5"
Comment 2 Stephan Binner 2008-09-16 14:05:20 UTC
Whole traceback:

Traceback (most recent call last):
  File "/usr/bin/osc", line 7, in <module>
    from osc import commandline
  File "/usr/lib/python2.6/site-packages/osc/commandline.py", line 10, in <module>
    from core import *
  File "/usr/lib/python2.6/site-packages/osc/core.py", line 18, in <module>
    import urllib2
  File "/usr/lib/python2.6/urllib2.py", line 91, in <module>
    import hashlib
  File "/usr/lib/python2.6/hashlib.py", line 136, in <module>
    md5 = __get_builtin_constructor('md5')
  File "/usr/lib/python2.6/hashlib.py", line 63, in __get_builtin_constructor
    import _md5
ImportError: No module named _md5
Comment 3 Stephan Binner 2008-09-16 14:14:43 UTC
*** Bug 426612 has been marked as a duplicate of this bug. ***
Comment 4 Jan Matejek 2008-09-16 14:48:44 UTC
the segfault is bug 425138, which was already resolved, but python was not checked in (through no fault of my own) since that

appears that hashlib has gone missing. let me check.
Comment 5 Jan Matejek 2008-09-16 14:52:22 UTC
i can't reproduce this with the new python, this appears that you only installed 'python-base' and not 'python'.

if that is the case, it's still a bug but definitely not a blocker
Comment 6 Jan Matejek 2008-09-16 14:52:57 UTC
(oh. question for needinfo: did you install 'python' or only 'python-base'?)
Comment 7 Jan Matejek 2008-09-16 15:00:20 UTC
also, i don't see how is bug 426612 a duplicate
Comment 8 Stephan Binner 2008-09-16 15:09:23 UTC
> this appears that you only installed 'python-base' and not 'python'

You seem to be right, I didn't spot that there was more than one .spec /mbuild. :-(

Everything seems to work, will reopen the deprecation warning bug 426612.

*** This bug has been marked as a duplicate of bug 425138 ***