Closed GoogleCodeExporter closed 9 years ago
This feels like another instance of issue 131, which was meant to be fixed for
wxPython 2.8.10.1. Which version of wxPython do you have? (you can find it
from the about dialog).
Original comment by jonmmor...@gmail.com
on 14 Jul 2010 at 1:46
Looks like I'm using 2.8.10.1
Original comment by timjch...@gmail.com
on 15 Jul 2010 at 3:30
OK, I'm sorry, but I don't know anything about it. I've just run current SVN
with Python 2.6 and wxPython 2.8.10.1, and I don't get this behaviour on
Windows Vista. I know I tested issue 131 on Linux and could not reproduce the
problem after issue 131 had been fixed. What OS are you using?
Original comment by jonmmor...@gmail.com
on 15 Jul 2010 at 1:50
The problem will occur on both XP and Windows 7. I'm using Python 2.5.4 since
I can't get BPBible to compile with make_py2exe.py using Python 2.6. I've
just done a test to run from source with Python 2.6 and with 2.6 I don't see
this issue. So this issue seems to be a problem with a combination of Python
2.5.4 and WxWindows 2.8.10.1.
Have you been able to compile BPBible with 2.6? I've needed to compiled in
order to distribute an executable that has fixes for Nepali localization and
the patches I sent in for issue 142. If I could work out a way to compile with
Python 2.6, I would be in great shape.
Thanks
Original comment by timjch...@gmail.com
on 15 Jul 2010 at 4:30
The py2exe issue for Python 2.6 will need to be fixed at some point, but after
some playing with it I haven't been able to fix it. I suggest you use the
version of wxPython used in the official builds (2.8.7.1,
http://sourceforge.net/projects/wxpython/files/wxPython/2.8.7.1/wxPython2.8-win3
2-unicode-2.8.7.1-py25.exe/download). This seems to have maximum chance of
actually working the same.
I intended to upgrade the official builds to use 2.8.10.1 and Python 2.6, but
found other problems with the wxHTML component and decided it was safer to
stick with the version we were already using. For 0.5 we intend to get rid of
wxHTML, and then we will probably want to use Py2.6 with the latest version of
wxPython 2.8.x.
Original comment by jonmmor...@gmail.com
on 17 Jul 2010 at 7:15
Ok, backing off to the same version on wxpython has fixed the issue when
closing a full screen. Running from source works good.
Now I run make_py2exe.py and that runs through and it creates the dist folder.
I copy the msvcp71.dll to the dist folder and try to run BPBible.exe and I get
the following in BPBible.exe.txt:
Traceback (most recent call last):
File "bpbible.py", line 21, in <module>
File "wx\__init__.pyo", line 45, in <module>
File "wx\_core.pyo", line 342, in <module>
AttributeError: 'module' object has no attribute 'RESERVE_SPACE_EVEN_IF_HIDDEN'
Does that error look familiar? I'm at a loss.
I'm using Python 2.5
wxPython 2.8.7.1
py2exe-0.6.9.win32-py2.5
Original comment by timjch...@gmail.com
on 17 Jul 2010 at 3:40
I'd guess from that error somehow wxPython versions are being mixed up, getting
the py/pyo file from one and the pyd from another.
Original comment by benpmor...@gmail.com
on 17 Jul 2010 at 3:43
Well I ended up deleteing my source folder and did a re-checkout from SVN so I
had a clean install and all is working great. There must have been something
from wxPython hanging around somewhere in the directory structure. Thanks for
the assistance. Blessings
Original comment by timjch...@gmail.com
on 18 Jul 2010 at 2:49
I'm closing this issue because it seems to work. I think I've actually fixed
the Python 2.6 py2exe problem for 0.5.
Original comment by jonmmor...@gmail.com
on 4 Aug 2010 at 1:29
Original issue reported on code.google.com by
timjch...@gmail.com
on 14 Jul 2010 at 9:04