pbfy0 / visvis

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

Frozen app with visvis shows text as black rectangles on WinXP #74

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
visvis 1.8, python 2.6.6, cx_freeze, Win7 and WinXP

A frozen app that displays well on Win7, but not on WinXP.
On XP, the axis labels and tick labels appear as empty black rectangles.

See https://groups.google.com/d/msg/visvis/jn7iEhYhnbI/sVayl6EyUMwJ

Original issue reported on code.google.com by almar.klein@gmail.com on 29 May 2013 at 8:24

GoogleCodeExporter commented 9 years ago
My setup.py for cx_freeze has "Require" OpenGL >= 3.0.1.
Could it be a problem if the PC can't provide that?
Should I put a lower requirement?  I am actually doing very simple plotting: 
just 2 line graphs, like time versus sine(time).

Original comment by owe...@hotmail.com on 30 May 2013 at 10:14

GoogleCodeExporter commented 9 years ago
The requirement is for the pyopengl python package. The version of the actual 
OpenGL library is something different, although I understand the confusion.

Original comment by almar.klein@gmail.com on 30 May 2013 at 10:48

GoogleCodeExporter commented 9 years ago
I was unable to test textures by attempting to display Lena as you suggested, I 
did not have opportunity to work with that PC. Unclear if this is related, but 
my app used 100% CPU on that XP box and close to 0% CPU on Win7.

In the end we "solved" the problem by installing my app on a different computer 
that was available for the project.

Original comment by owe...@hotmail.com on 1 Jun 2013 at 2:16

GoogleCodeExporter commented 9 years ago
The 100% CPU is probably because of OpenGL running in software mode.

I'm glad to hear you solved the problem for your situation, even though you 
couldn't get visvis to work. If you only display simple line plots you can also 
consider using matplotlib or one of the several other visualization tools out 
there.

If you ever find out more about this problem, please let us know!

Original comment by almar.klein@gmail.com on 2 Jun 2013 at 8:10