Dear Gary,
To solve this you should run FormatConverter from inside Analysis.
- Open Analysis and either load or create a project.
- Go to Other->General Options and unselect the 'Format Converter
Threaded' button.
- Start FormatConverter usint Other->Format COnverter.
FormatConverter by default runs in threaded mode, but this does not work
in some contexts. In version 2.0 we are setting the defaults differently
so that this will no longer happen.
Yours,
Rasmus
---------------------------------------------------------------------------
Dr. Rasmus H. Fogh Email: [log in to unmask]
Dept. of Biochemistry, University of Cambridge,
80 Tennis Court Road, Cambridge CB2 1GA, UK. FAX (01223)766002
On Fri, 5 Sep 2008, Gary Thompson wrote:
> I am currently getting the following error with format converter run
> from analysis with the latest updates applied
>
> ###########################################
> # FormatConverter: executing writeProject #
> ###########################################
>
>
>
> ############################################
> # FormatConverter: executing writeSequence #
> ############################################
>
>
> Exception in thread Thread-1:
> Traceback (most recent call last):
> File "/usr/lib64/python2.4/threading.py", line 442, in __bootstrap
> self.run()
> File "/home/fbste/programs/ccpnmr/ccpnmr1.0/python/ccpnmr/format/gui/ImportExportFormatPopup.py", line 91, in run
> self.returnValue = self.__target(*self.__args, **self.__kwargs)
> File "/home/fbste/programs/ccpnmr/ccpnmr1.0/python/ccpnmr/format/converters/DataFormat.py", line 834, in writeProject
> returnValue = self.createFullProject(fileName,**keywds)
> File "/home/fbste/programs/ccpnmr/ccpnmr1.0/python/ccpnmr/format/converters/TalosFormat.py", line 152, in createFullProject
> self.writeSequence(fileName, chains = [self.chain], noWrite = True, resetIOkeywords = False)
> File "/home/fbste/programs/ccpnmr/ccpnmr1.0/python/ccpnmr/format/converters/DataFormat.py", line 1044, in writeSequence
> self.getChainMapping(resetMapping = self.resetMapping)
> File "/home/fbste/programs/ccpnmr/ccpnmr1.0/python/ccpnmr/format/converters/DataFormat.py", line 7998, in getChainMapping
> interaction = self.multiDialog.chainExport(self.guiParent,chainList,requireChainCode = requireChainCode)
> File "/home/fbste/programs/ccpnmr/ccpnmr1.0/python/ccpnmr/format/general/MultiDialog.py", line 882, in chainExport
> return self.chainExportFunction(guiParent,requireChainCode)graphc
> File "/home/fbste/programs/ccpnmr/ccpnmr1.0/python/ccpnmr/format/gui/MultiDialog.py", line 265, in chainExportFunction
> requireChainCode)
> File "/home/fbste/programs/ccpnmr/ccpnmr1.0/python/ccpnmr/format/gui/ChainExportPopup.py", line 91, in __init__
> TemporaryBasePopup.__init__(self, parent=parent, title="Project '%s': " % project.name + 'Export chains', modal=False, transient=True)
> File "/home/fbste/programs/ccpnmr/ccpnmr1.0/python/memops/gui/BasePopup.py", line 84, in __init__
> Tkinter.Toplevel.__init__(self, parent, *args, **kw)
> File "/usr/lib64/python2.4/lib-tk/Tkinter.py", line 1906, in __init__
> BaseWidget.__init__(self, master, 'toplevel', cnf, {}, extra)
> File "/usr/lib64/python2.4/lib-tk/Tkinter.py", line 1862, in __init__
> self.tk.call(
> RuntimeError: main thread is not in main loop
>
>
> os = centos5 (basically redhat enterprise 5 rebranded)
> python Python 2.4.3 (centos stock)
> tcl/tk 8.4.13 (centos stock)
>
>
> regards
> gary
>
>
>
> --
> -------------------------------------------------------------------
> Dr Gary Thompson
> Astbury Centre for Structural Molecular Biology,
> University of Leeds, Astbury Building,
> Leeds, LS2 9JT, West-Yorkshire, UK Tel. +44-113-3433024
> email: [log in to unmask] Fax +44-113-2331407
> -------------------------------------------------------------------
>
|