https://bugzilla.novell.com/show_bug.cgi?id=305304 Summary: package python-pyx broken: python module pyx throws exception on import - fix included Product: openSUSE 10.2 Version: Final Platform: All OS/Version: openSUSE 10.2 Status: NEW Severity: Blocker Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: andre.gronemeier@cs.uni-dortmund.de QAContact: qa@suse.de Found By: --- The python module pyx throws an exception on import. The error message is appended below. Fix for this problem: replace the line "pyxrc = '/etc/pyxrc'" in the file "/usr/lib/python2.5/site-packages/pyx/siteconfig.py" by the line "pyxrcdir = '/etc/pyxrc'". Rant: Finding and fixing the error in my local installation took 5mins. Reporting the bug took about 45 mins. The fact that your bugzulla is not very responsive an quite broken does not really help, but why the f-word do you need my address and phone number for a bug report? You really really really should make it easier to report bugs! --- error message ------------------------------------------------------- Python 2.5 (r25:51908, May 25 2007, 16:14:04) [GCC 4.1.2 20061115 (prerelease) (SUSE Linux)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import pyx Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.5/site-packages/pyx/__init__.py", line 40, in <module> __import__(module, globals(), locals(), []) File "/usr/lib/python2.5/site-packages/pyx/graph/__init__.py", line 25, in <module> __import__(module, globals(), locals(), []) File "/usr/lib/python2.5/site-packages/pyx/graph/data.py", line 27, in <module> from pyx import text File "/usr/lib/python2.5/site-packages/pyx/text.py", line 25, in <module> import config, siteconfig, unit, box, canvas, trafo, version, attr, style, dvifile File "/usr/lib/python2.5/site-packages/pyx/config.py", line 26, in <module> cflist = [os.path.join(siteconfig.pyxrcdir, "pyxrc"), os.path.expanduser("~/.pyxrc")] AttributeError: 'module' object has no attribute 'pyxrcdir'
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.