code-google-com / bpbible

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

Version Comparison throw up search screens on full screen exit #168

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Open a Version Comparison window
2.Select Full Screen(for Version Comparison)
3.Exit the Full Screen(on the Version Comparison window)
4.Multiple search dialogs open(one for each open module)

What is the expected output? What do you see instead?
Return to Home screen layout with Version Comparison window closed

What version of the product are you using? On what operating system?
Current SVN running from source

If the problem happens with one particular module (Bible, commentary,
dictionary, or book), what module is it?
I believe it will happen with any Bible modules. I'm comparing the ESV and KJV. 
 On return from the full screen, a search window is opened for each of the 
windows that i have opened on my Home BPBible screen.  So in my case one for 
the current Bible, one for the current commentary open and one for the current 
dictionary I have open.

Please provide any additional information below.

Original issue reported on code.google.com by timjch...@gmail.com on 14 Jul 2010 at 9:04

GoogleCodeExporter commented 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

GoogleCodeExporter commented 9 years ago
Looks like I'm using 2.8.10.1 

Original comment by timjch...@gmail.com on 15 Jul 2010 at 3:30

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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