[packman] PysolFC crashes on python-2.6

Toni toni at links2linux.de
Wed Dec 24 15:51:08 CET 2008


Am Dienstag, 23. Dezember 2008 schrieb Dieter Kluenter:
> Hallo,
> ich habe openSUSE-11.1 x86_64 installiert. Das seit Jahren wichtigste
> Spiel zum Zeitvertreib, pysol, in der Version PysolFC hat leider gro├če
>
> Probleme mit Python-2.6. Hier mal ein traceback:
> :~> python -d /usr/bin/pysol.py
>
> /usr/lib64/python2.6/site-packages/pysollib/init.py:156:
> DeprecationWarning: os.popen3 is deprecated.  Use the subprocess m odule.
>   pin, pout, perr = os.popen3(settings.FCS_COMMAND+' --help')
> Traceback (most recent call last):
>   File "/usr/lib64/python2.6/site-packages/pysollib/app.py", line 529, in
> mainloop self.runGame(id, random)
>   File "/usr/lib64/python2.6/site-packages/pysollib/app.py", line 626, in
> runGame self.menubar.updateFavoriteGamesMenu()
>   File "/usr/lib64/python2.6/site-packages/pysollib/tile/menubar.py", line
> 884, in updateFavoriteGamesMenu self.updateGamesMenu(submenu, games)
>   File "/usr/lib64/python2.6/site-packages/pysollib/tile/menubar.py", line
> 809, in updateGamesMenu menu.delete(0, 'last')
>   File "/usr/lib64/python2.6/lib-tk/Tkinter.py", line 2670, in delete
>     if c in self._tclCommands:
> TypeError: argument of type 'NoneType' is not iterable
> Traceback (most recent call last):
>   File "/usr/bin/pysol.py", line 32, in <module>
>     sys.exit(main(sys.argv))
>   File "/usr/lib64/python2.6/site-packages/pysollib/main.py", line 374, in
> main app.mainloop()
>   File "/usr/lib64/python2.6/site-packages/pysollib/app.py", line 529, in
> mainloop self.runGame(id, random)
>   File "/usr/lib64/python2.6/site-packages/pysollib/app.py", line 626, in
> runGame self.menubar.updateFavoriteGamesMenu()
>   File "/usr/lib64/python2.6/site-packages/pysollib/tile/menubar.py", line
> 884, in updateFavoriteGamesMenu self.updateGamesMenu(submenu, games)
>   File "/usr/lib64/python2.6/site-packages/pysollib/tile/menubar.py", line
> 809, in updateGamesMenu menu.delete(0, 'last')
>   File "/usr/lib64/python2.6/lib-tk/Tkinter.py", line 2670, in delete
>     if c in self._tclCommands:
> TypeError: argument of type 'NoneType' is not iterable
>

ist kein Bug in PysolFC, ist ein Bug in TkInter, siehe auch hier:
http://www.gossamer-threads.com/lists/python/python/694249

> Gruss
> Dieter



-- 
have fun
Toni




More information about the Packman mailing list