GoogleCodeArchives / editra

Automatically exported from code.google.com/p/editra
Other
0 stars 0 forks source link

make Editra runable wehen wxPython 2.6 is installed #394

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install Editra and python-wxgtk2.8
2. Then!!! install python-wxgtk2.6
3. Start Editra

What is the expected output?
Nothing
What do you see instead?
Something like Editra needs wxPython 2.8.3 [...] Your version is 2.6.?

What version of the product are you using? On what operating system?
Editra 0.4.88, Linux Ubuntu 9.04

What method of install was your version installed with (Binary/Source)?
Source I thing but it doesn't mater.

If from source: What version of python and wxPython are you using?
Python 2.6
wxPython 2.8 and wxPython 2.6

Please provide any additional information below.

The fix:
Remove your version checking at line 41-43 in src/Editra.py and put this
two lines before `import wx`:
import wxversion
wxversion.select('2.8.3')

Original issue reported on code.google.com by Al...@inode.at on 30 Jul 2009 at 1:14

Attachments:

GoogleCodeExporter commented 9 years ago
Added wxversion check (with modifications).

Must check for sys.frozen when calling wxversion otherwise py2app/pyexe builds 
will fail.

thanks,

cody

Original comment by CodyPrec...@gmail.com on 21 Aug 2009 at 4:47