[Chimera-users] save session error in Chimera 1892
Juha Huiskonen
juha.huiskonen at helsinki.fi
Thu Apr 22 03:41:09 PDT 2004
Hi,
when trying to save session in chimera 1892 I get an error:
Error processing trigger "save session":
ValueError: Can't convert type <type 'bool'>
(see reply log for Python traceback info)
Reply log:
Traceback (most recent call last):
File "/usr/local/chimera1892/share/__main__.py", line 56, in ?
value = chimeraInit.init(sys.argv)
File "/usr/local/chimera/share/chimeraInit.py", line 285, in init
tkgui.eventLoop()
File "/usr/local/chimera/share/chimera/tkgui.py", line 2809, in
eventLoop
app.mainloop()
File "/usr/local/chimera/lib/python2.3/lib-tk/Tkinter.py", line 965,
in mainloop
self.tk.mainloop(n)
File
"/usr/local/chimera/lib/python2.3/site-packages/Pmw/Pmw_1_2/lib/PmwBase.py", line 1747, in __call__
return apply(self.func, args)
File "/usr/local/chimera/share/chimera/baseDialog.py", line 409, in OK
self.Apply()
File "/usr/local/chimera/share/OpenSave/__init__.py", line 141, in
Apply
self.command(1, self)
File "/usr/local/chimera/share/SimpleSession/gui.py", line 24, in
_saveCB
saveSession(paths[0])
File "/usr/local/chimera/share/SimpleSession/save.py", line 269, in
saveSession
chimera.triggers.activateTrigger(SAVE_SESSION, buf)
File "/usr/local/chimera/share/chimera/triggerSet.py", line 214, in
activateTrigger
self._triggerDict[name].activate(data)
File "/usr/local/chimera/share/chimera/triggerSet.py", line 127, in
activate
ret = handler.invoke(self._name, triggerData)
File "/usr/local/chimera/share/chimera/triggerSet.py", line 82, in
invoke
self._funcData, triggerData)
File "/usr/local/chimera/share/VolumeViewer/__init__.py", line 138, in
save_session_cb
session.save_volume_state(self, file)
File "/usr/local/chimera/share/VolumeViewer/session.py", line 22, in
save_volume_state
t = objecttree.instance_tree_to_basic_tree(s)
File "/usr/local/chimera/share/SessionUtil/objecttree.py", line 69, in
instance_tree_to_basic_tree
d[k] = it2bt(getattr(itree, attr))
File "/usr/local/chimera/share/SessionUtil/objecttree.py", line 37, in
it2bt
return instance_tree_to_basic_tree(it, c, a)
File "/usr/local/chimera/share/SessionUtil/objecttree.py", line 72, in
instance_tree_to_basic_tree
raise ValueError, "Can't convert type " + str(t)
ValueError: Can't convert type <type 'bool'>
--
The session file is written, but it doesn't contain the files I have
read into chimera.
Cheers,
Juha Huiskonen
More information about the Chimera-users
mailing list