What error are you getting? When I try to run
python.exe ~/version\ controlled/ThirdParty/lib/wx-3.0.1-msw-classic/wx/tools/Editra/launcher.py
I get:
C:\Users\Nathan\version controlled\ThirdParty\lib\wx-3.0.1-msw-classic\wx\tools\Editra\src\Editra.py", line 32, in
wxversion.ensureMinimal('2.8')
File “C:\Users\Nathan\version controlled\ThirdParty\Portable Python 2.7.5.1\App\lib\site-packages\wxversion.py”, line 185, in ensureMinimal
minv = _wxPackageInfo(minVersion)
C:\Users\Nathan\version controlled\ThirdParty\Portable Python 2.7.5.1\App\lib\site-packages\wxversion.py", line 360, in init
self.version = tuple([int(x) for x in segments[0].split('.')])
IndexError: list index out of range
I’ve previously had problems with wxVersion, but in this case it was using an unmodified copy of wxversion.py… when I replaced it with my custom version (which was on a different path, and thus not being found in the default site-packages module search path) I got past that error, but then got hit with:
File “C:\Users\Nathan\version controlled\ThirdParty\lib\wx-3.0.1-msw-classic\wx\tools\Editra\launcher.py”, line 12, in
execfile(launcher)
File “C:\Users\Nathan\version controlled\ThirdParty\lib\wx-3.0.1-msw-classic\wx\tools\Editra\Editra”, line 79, in
main()
File “C:\Users\Nathan\version controlled\ThirdParty\lib\wx-3.0.1-msw-classic\wx\tools\Editra\Editra”, line 74, in main
import Editra
File “C:\Users\Nathan\version controlled\ThirdParty\lib\wx-3.0.1-msw-classic\wx\tools\Editra\src\Editra.py”, line 68, in
import ed_ipc
File “C:\Users\Nathan\version controlled\ThirdParty\lib\wx-3.0.1-msw-classic\wx\tools\Editra\src\ed_ipc.py”, line 61, in
import ed_xml
File “C:\Users\Nathan\version controlled\ThirdParty\lib\wx-3.0.1-msw-classic\wx\tools\Editra\src\ed_xml.py”, line 22, in
import extern.dexml as dexml
ImportError: No module named dexml
I found dexml on PyPi, but from their example it doesn’t look like the module is in a package called extern… so I’m not sure what is going on there.
Now checking the directory it failed in 'wx\tools\Editra\src' I see an ‘extern’ directory, but it doesn’t show dexml:
README init.pyc decorlib.py embeddedimage.py events.py flatnotebook.py pubsub.py pygments stcprint.pyc stcspellcheck.pyc vertedit.pyc
init.py aui decorlib.pyc embeddedimage.pyc ez_setup.py pkg_resources.py pubsub.pyc stcprint.py stcspellcheck.py vertedit.py
Very strange, but honestly, I don’t even know what Editra is/does or why it is in the wxPython library files (since I’ve never seen it mentioned in tutorials or the docs).
···
On Tuesday, October 28, 2014 5:34:55 PM UTC-7, ps16thypresence...@gmail.com wrote:
The version of Editra that is bundled with wxPython in the “tools” subdirectory doesn’t work on Windows. When I run it, pythonw.exe is launched, but no window appears, and the process quits after a few seconds.
This seems like a serious bug. I would expect that the version of Editra bundled with wxPython should have the exact same contents as the source code tarball downloadable from Editra’s website, which does work.