Bug 427366 - compat-wxpythonGTK2 breaks pycrust
Summary: compat-wxpythonGTK2 breaks pycrust
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: compat-wxPythonGTK2
Version: 7
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-01-03 15:20 UTC by Brad Smith
Modified: 2008-01-03 15:31 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-03 15:31:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Brad Smith 2008-01-03 15:20:30 UTC
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
<module>
    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:
Always

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*'
wxPython-2.8.4.0-1.fc7
compat-wxPythonGTK2-2.4.2.4-15.fc7

Comment 1 Tom "spot" Callaway 2008-01-03 15:30:43 UTC
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.