Hello,
It's a bug in the Python Tkinter code (so beyond our hands). It's fixed
in more recent Python releases (I think) but the easiest fix for you is to
edit:
/usr/lib/python2.5/lib-tk/Tkinter.py
and change that line (number 2683) from:
if c in self._tclCommands:
to:
if c and c in self._tclCommands:
Of course you'll need root permission to be able to do that.
Wayne
On Tue, 21 Apr 2009, Jakob J. Lopez wrote:
> Hello,
>
> We have CCPN Analysis running on a couple of Ubuntu Linux machines,
> all of the 8.10 (intrepid). We have no problems, so it may be that
> there is simply some package you need to make sure you have installed.
>
> Jakob
>
> On Tue, Apr 21, 2009 at 4:17 PM, Christoph Weise <[log in to unmask]> wrote:
>>
>> I've been installing Ubuntu/CCPNMR 2.06 on identical PCs in our computer
>> lab, but for some reason installed two different flavours of Ubuntu, 8.04
>> (hardy) and 8.10 (intrepid) on different PCs (these just happened to be what
>> I had on DVDs).
>>
>> I did an extremely limited test with Analysis on the two versions of ubuntu.
>> With ubuntu 8.10 (intrepid) I ran into trouble opening the 'open project'
>> popup window from the project menu (see error messages below)
>>
>> Any ideas how to fix this other than installing the older ubuntu?
>>
>> /Christoph
>>
>>
>>
>>
>>>>> Exception in Tkinter callback
>> Traceback (most recent call last):
>> File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 1417, in __call__
>> return self.func(*args)
>> File
>> "/usr/local/bin/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr2.0/python/ccpnmr/analysis/AnalysisPopup.py",
>> line 1175, in openProject
>> help_url=determineHelpUrl(OpenProjectPopup))
>> File
>> "/usr/local/bin/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr2.0/python/ccpnmr/analysis/AnalysisPopup.py",
>> line 1160, in openPopup
>> transient=transient, *args, **kw)
>> File
>> "/usr/local/bin/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr2.0/python/memops/editor/OpenProjectPopup.py",
>> line 94, in __init__
>> File
>> "/usr/local/bin/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr2.0/python/memops/editor/BasePopup.py",
>> line 85, in __init__
>> File
>> "/usr/local/bin/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr2.0/python/memops/gui/BasePopup.py",
>> line 124, in __init__
>> File
>> "/usr/local/bin/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr2.0/python/memops/editor/OpenProjectPopup.py",
>> line 109, in body
>> File "/usr/local/bin/ccpnmr/ccpnmr2.0/python/memops/gui/FileSelect.py",
>> line 222, in __init__
>> self.updateFileList()
>> File "/usr/local/bin/ccpnmr/ccpnmr2.0/python/memops/gui/FileSelect.py",
>> line 520, in updateFileList
>> headingList=headingList, justifyList=justifyList, resetScrollbars=True)
>> File
>> "/usr/local/bin/ccpnmr/ccpnmr2.0/python/memops/gui/ScrolledMatrix.py", line
>> 1928, in update
>> self.setGraphMenu()
>> File
>> "/usr/local/bin/ccpnmr/ccpnmr2.0/python/memops/gui/ScrolledMatrix.py", line
>> 435, in setGraphMenu
>> options = self.getGraphMenuOptions()
>> File
>> "/usr/local/bin/ccpnmr/ccpnmr2.0/python/memops/gui/ScrolledMatrix.py", line
>> 485, in getGraphMenuOptions
>> submenu.setMenuItems(items)
>> File
>> "/usr/local/bin/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr2.0/python/memops/gui/Menu.py",
>> line 128, in setMenuItems
>> File
>> "/usr/local/bin/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr2.0/python/memops/gui/Menu.py",
>> line 135, in deleteMenuItems
>> File
>> "/usr/local/bin/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr2.0/python/memops/gui/Menu.py",
>> line 158, in delete
>> File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 2683, in delete
>> if c in self._tclCommands:
>> TypeError: argument of type 'NoneType' is not iterable
>>
>>
>>
>>
>> --------------------------------------------
>>
>> Felix Christoph Weise, Ph. D.
>> Postdoctoral Research Fellow
>> Department of Chemistry and Department of Medical Biochemistry and
>> Biophysics
>> Umeå University
>> 901 87 Umeå
>> Sweden
>>
>>
>>
>> Phone: +46-90-786 65 76
>> Homepage: www.chemistry.umu.se
>>
>
>
>
> --
> Jakob J. Lopez ([log in to unmask])
>
|