I found that I had to delete org.python.python.savedState each time before running the tests in order to get the windows to show up. This explains why it ran correctly only the first time I installed pyglet.
If I delete the saved state, then run the "window" test by itself, it works and does not generate new saved state. "window" will run repeatedly. If I run the "app" test by itself first, it generates the saved state, and prevents the "window" test from running subsequently, until the saved state is deleted. In particular, it's the file "data.data" within the saved state that's causing the problem. If I remove only that file, the window test works. The tests "app", "font", "text", and "image" all generate the "data.data" file. The others do not. I don't know why this is happening, but I hope that this info will clarify things. I'm running 10.8.2 with the stock python on a Macbook Pro Retina. - Stoney On Nov 1, 2012, at 5:25 PM, Olivier Dormond <[email protected]> wrote: > Hi all, > > I've been bitten by that annoying "no window" bug and despite the previous > indication that this should be fixed now I've not managed to get it solved. > Nathan last post pushed me to try again and it didn't work once more. However, > I've taken more time to investigate and have finally fixed it ! \o/ > > So for anybody out there still desperately trying to get that fixed, > here is what > I did in addition to Nathan's instruction to get the latest release: > > rm -fr ~/Library/Saved\ Application\ State/org.python.* > > That's it. > > There is actually two savedState that were removed by that operation: > - org.python.PythonLauncher.savedState > - org.python.python.savedState > > I don't know if the removal of both is mandatory to fix the problem > but it worked > and they did not reappear for now. > > Cheers, > > Odie > -- Stonewall Ballard [email protected] http://stoney.sb.org/ -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en.
