Just fixed Re: [Chimera-users] WinXP SP1 python error on File -> Open
Hi, I just tried this and it fixed the problem: Delete these directories: C:\Documents and Settings\All Users\Application Data\chimera C:\Documents and Settings\sabuj\Application Data\chimera (whatever your username may be) Then uninstall and reinstall chimera and file->open works again. Thanks, ...Sabuj Quoting "Pattanayek, Sabuj" <sabuj.pattanayek@vanderbilt.edu>:
Hi,
I'm getting a strange error when I start chimera and do file->open. This is the reply log:
ValueError: list.index(x): x not in list (see reply log for Python traceback info) Traceback (most recent call last): File "C:\Program Files\Chimera\share\__main__.py", line 56, in ? value = chimeraInit.init(sys.argv) File "C:\Program Files\Chimera\share\chimeraInit.py", line 301, in init tkgui.eventLoop() File "C:\Program Files\Chimera\share\chimera\tkgui.py", line 2891, in eventLoop app.mainloop() File "C:\Program Files\Chimera\bin\lib\lib-tk\Tkinter.py", line 965, in mainloop self.tk.mainloop(n) File "C:\Program Files\Chimera\bin\lib\site-packages\Pmw\Pmw_1_2\lib\PmwBase.py", line 1751, in __call__ _reporterror(self.func, args) File "C:\Program Files\Chimera\bin\lib\site-packages\Pmw\Pmw_1_2\lib\PmwBase.py", line 1814, in _reporterror displayerror(msg) File "C:\Program Files\Chimera\bin\lib\site-packages\Pmw\Pmw_1_2\lib\PmwBase.py", line 1377, in displayerror _errorReportFile.write(text + '\n') File "C:\Program Files\Chimera\bin\lib\site-packages\Pmw\Pmw_1_2\lib\PmwBase.py", line 1747, in __call__ return apply(self.func, args) File "C:\Program Files\Chimera\share\chimera\tkgui.py", line 272, in _importModel clientSticky='ew') File "C:\Program Files\Chimera\share\chimera\tkgui.py", line 178, in __init__ OpenModeless.__init__(self, **kw) File "C:\Program Files\Chimera\share\OpenSave\__init__.py", line 185, in __init__ ModelessBase.__init__(self, **self.dialogKw) File "C:\Program Files\Chimera\share\chimera\baseDialog.py", line 378, in __init__ BaseDialog.__init__(self, master, *args, **kw) File "C:\Program Files\Chimera\share\chimera\baseDialog.py", line 220, in __init__ self.fillInUI(self.__top) File "C:\Program Files\Chimera\share\chimera\tkgui.py", line 181, in fillInUI OpenModeless.fillInUI(self, parent) File "C:\Program Files\Chimera\share\OpenSave\__init__.py", line 92, in fillInUI self.millerBrowser = MillerBrowser(parent, **self.millerKw) File "C:\Program Files\Chimera\share\OpenSave\miller.py", line 184, in __init__ self.makeMainColumn(initialdir, firstTime=1) File "C:\Program Files\Chimera\share\OpenSave\miller.py", line 509, in makeMainColumn titleMode=None, firstTime=firstTime) File "C:\Program Files\Chimera\share\OpenSave\miller.py", line 823, in __init__ index = normItems.index( ValueError: list.index(x): x not in list
I have also posted the screenshot here http://linegli.mc.vanderbilt.edu/~sabuj/chimeraOpenError.jpg
Also if I do "c:\Program Files\Chimera\bin\chimera.exe" file.pdb from the command line, then do file -> open, it works again. I've tried running it with and without precompiling modules after installation, but get the same result.
I've downloaded the binary installation several times, done uninstall, then install, but I'm still getting the same error. I have not been able to re-create the error on another winxp sp1 machine.
Any help would be appreciated, Thanks, Sabuj Pattanayek _______________________________________________ Chimera-users mailing list Chimera-users@cgl.ucsf.edu http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users
Hi Sabuj, Thanks for reminding me about this problem. The open/save panel tries to start up in a "reasonable" folder/directory, which in Unix-like systems is the directory you ran Chimera from. On Windows, it is the directory that you last opened a file from. If that directory gets removed, then you get the error you experienced. Removing the chimera "preferences" file (which is a side-effect of your removing the sabuj\Application Data folder) makes Chimera forget the problem startup directory and fixes the problem. I have now put code in to guard against this behavior. It will be in the next release, which should be near the beginning of October. --Eric On Sep 17, 2004, at 11:18 AM, Pattanayek, Sabuj wrote:
Hi,
I just tried this and it fixed the problem:
Delete these directories: C:\Documents and Settings\All Users\Application Data\chimera C:\Documents and Settings\sabuj\Application Data\chimera (whatever your username may be)
Then uninstall and reinstall chimera and file->open works again.
Thanks, ...Sabuj
Quoting "Pattanayek, Sabuj" <sabuj.pattanayek@vanderbilt.edu>:
Hi,
I'm getting a strange error when I start chimera and do file->open. This is the reply log:
ValueError: list.index(x): x not in list (see reply log for Python traceback info) Traceback (most recent call last): File "C:\Program Files\Chimera\share\__main__.py", line 56, in ? value = chimeraInit.init(sys.argv) File "C:\Program Files\Chimera\share\chimeraInit.py", line 301, in init tkgui.eventLoop() File "C:\Program Files\Chimera\share\chimera\tkgui.py", line 2891, in eventLoop app.mainloop() File "C:\Program Files\Chimera\bin\lib\lib-tk\Tkinter.py", line 965, in mainloop self.tk.mainloop(n) File "C:\Program Files\Chimera\bin\lib\site-packages\Pmw\Pmw_1_2\lib\PmwBase.py", line 1751, in __call__ _reporterror(self.func, args) File "C:\Program Files\Chimera\bin\lib\site-packages\Pmw\Pmw_1_2\lib\PmwBase.py", line 1814, in _reporterror displayerror(msg) File "C:\Program Files\Chimera\bin\lib\site-packages\Pmw\Pmw_1_2\lib\PmwBase.py", line 1377, in displayerror _errorReportFile.write(text + '\n') File "C:\Program Files\Chimera\bin\lib\site-packages\Pmw\Pmw_1_2\lib\PmwBase.py", line 1747, in __call__ return apply(self.func, args) File "C:\Program Files\Chimera\share\chimera\tkgui.py", line 272, in _importModel clientSticky='ew') File "C:\Program Files\Chimera\share\chimera\tkgui.py", line 178, in __init__ OpenModeless.__init__(self, **kw) File "C:\Program Files\Chimera\share\OpenSave\__init__.py", line 185, in __init__ ModelessBase.__init__(self, **self.dialogKw) File "C:\Program Files\Chimera\share\chimera\baseDialog.py", line 378, in __init__ BaseDialog.__init__(self, master, *args, **kw) File "C:\Program Files\Chimera\share\chimera\baseDialog.py", line 220, in __init__ self.fillInUI(self.__top) File "C:\Program Files\Chimera\share\chimera\tkgui.py", line 181, in fillInUI OpenModeless.fillInUI(self, parent) File "C:\Program Files\Chimera\share\OpenSave\__init__.py", line 92, in fillInUI self.millerBrowser = MillerBrowser(parent, **self.millerKw) File "C:\Program Files\Chimera\share\OpenSave\miller.py", line 184, in __init__ self.makeMainColumn(initialdir, firstTime=1) File "C:\Program Files\Chimera\share\OpenSave\miller.py", line 509, in makeMainColumn titleMode=None, firstTime=firstTime) File "C:\Program Files\Chimera\share\OpenSave\miller.py", line 823, in __init__ index = normItems.index( ValueError: list.index(x): x not in list
I have also posted the screenshot here http://linegli.mc.vanderbilt.edu/~sabuj/chimeraOpenError.jpg
Also if I do "c:\Program Files\Chimera\bin\chimera.exe" file.pdb from the command line, then do file -> open, it works again. I've tried running it with and without precompiling modules after installation, but get the same result.
I've downloaded the binary installation several times, done uninstall, then install, but I'm still getting the same error. I have not been able to re-create the error on another winxp sp1 machine.
Any help would be appreciated, Thanks, Sabuj Pattanayek _______________________________________________ Chimera-users mailing list Chimera-users@cgl.ucsf.edu http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users
_______________________________________________ Chimera-users mailing list Chimera-users@cgl.ucsf.edu http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users
participants (2)
-
Eric Pettersen
-
Pattanayek, Sabuj