Hello,
That is a bug in Tkinter. If you edit
/usr/lib64/python2.6/lib-tk/Tkinter.py (for which you need root access of
course) then go to line 2670 and change the line from:
if c in self._tclCommands:
to
if c and c in self._tclCommands:
This is fixed in some later versions of Tkinter, I think.
Wayne
On Mon, 2 Feb 2009, Marco Roeben wrote:
> Hello everybody,
>
> I've updated my opensuse system from 11.0 to 11.1. After this I compiled
> analysis and it seems that everything was fine, but when I try to open a
> project the open project dialog (the windows that pops up) is empty. Only a
> grey window. I tried it with analysis 2.0.5 and the new 2.0.6, same result for
> both versions, even after upgrading the 2.0.5 to the newest version via the
> upgrade dialoge.
>
> I use python 2.6, tcl 8.5.5 and tk 8.5.5. Here is the error message that comes
> when I open the open dialoge:
>
> Exception in Tkinter callback
> Traceback (most recent call last):
> File "/usr/lib64/python2.6/lib-tk/Tkinter.py", line 1410, in __call__
> return self.func(*args)
> File
> "/local/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr2.0/python/ccpnmr/analysis/AnalysisPopup.py",
> line 1161, in openProject
> help_url=determineHelpUrl(OpenProjectPopup))
> File
> "/local/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr2.0/python/ccpnmr/analysis/AnalysisPopup.py",
> line 1146, in openPopup
> transient=transient, *args, **kw)
> File
> "/local/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr2.0/python/memops/editor/OpenProjectPopup.py",
> line 94, in __init__
> File
> "/local/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr2.0/python/memops/editor/BasePopup.py",
> line 85, in __init__
> File
> "/local/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr2.0/python/memops/gui/BasePopup.py",
> line 124, in __init__
> File
> "/local/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr2.0/python/memops/editor/OpenProjectPopup.py",
> line 109, in body
> File
> "/local/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr2.0/python/memops/gui/FileSelect.py",
> line 224, in __init__
> File
> "/local/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr2.0/python/memops/gui/FileSelect.py",
> line 414, in updateFileList
> File
> "/local/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr2.0/python/memops/gui/ScrolledMatrix.py",
> line 1921, in update
> File
> "/local/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr2.0/python/memops/gui/ScrolledMatrix.py",
> line 434, in setGraphMenu
> File
> "/local/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr2.0/python/memops/gui/ScrolledMatrix.py",
> line 484, in getGraphMenuOptions
> File
> "/local/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr2.0/python/memops/gui/Menu.py",
> line 114, in setMenuItems
> File
> "/local/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr2.0/python/memops/gui/Menu.py",
> line 127, in deleteMenuItems
> 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
>
>
>
>
> I hope you can help. I'm also hoping that I receive mails from the list.
> Somehow there was something wrong here that prevents me from receiving the
> mails from the list.
>
>
> best regards
> Marco
>
|