Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 427366 - compat-wxpythonGTK2 breaks pycrust
compat-wxpythonGTK2 breaks pycrust
Product: Fedora
Classification: Fedora
Component: compat-wxPythonGTK2 (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tom "spot" Callaway
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-01-03 10:20 EST by Brad Smith
Modified: 2008-01-03 10:31 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-01-03 10:31:00 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Brad Smith 2008-01-03 10:20:30 EST
Description of problem:

After instaling compat-wxPythonGTK2, pycrust crashes with the following error:

[brad@satsuki ~]$ pycrust
Traceback (most recent call last):
  File "/usr/bin/pycrust", line 3, in <module>
    from wx.py.PyCrust import main
  File "/usr/lib/python2.5/site-packages/wx/py/__init__.py", line 3, in <module>
    from wxPython.py import *
  File "/usr/lib/python2.5/site-packages/wxPython/py/__init__.py", line 7, in
    import buffer
  File "/usr/lib/python2.5/site-packages/wxPython/py/buffer.py", line 7, in <module>
    from interpreter import Interpreter
  File "/usr/lib/python2.5/site-packages/wxPython/py/interpreter.py", line 11,
in <module>
    import introspect
  File "/usr/lib/python2.5/site-packages/wxPython/py/introspect.py", line 8
    from __future__ import nested_scopes
SyntaxError: from __future__ imports must occur at the beginning of the file

With just wxPython installed, pycrust works as expected.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Install wxPython
2. Run pycrust (should work)
3. Install compat-wxPythonGTK
4. Run pycrust (should fail as above)
5. Uninstall compat-wxPythonGTK
6. Run pycrust (should work again)
Additional Information:
[brad@satsuki ~]$ rpm -qa '*wxPython*'
Comment 1 Tom "spot" Callaway 2008-01-03 10:30:43 EST
compat-wx*-2.4 is an end of life package. Just uninstall it, as nothing should
depend on it in F-7.

Note You need to log in before you can comment on or make changes to this bug.