Print

Print


Hello,

I'm trying to export my distance constraints to cns with the format converter, 
but I'm only getting the following error message:

"Error while exporting file: /path/to/file.tbl"

I'm sure that I've have write access on my destination path.

Maybe more details on the console:

###############################################
# FormatConverter: executing writeConstraints #
###############################################



#######################################################
# FormatConverter: executing writeDistanceConstraints #
#######################################################


Exception in thread Thread-7:
Traceback (most recent call last):
  File "/usr/lib64/python2.4/threading.py", line 442, in __bootstrap
    self.run()
  
File "/opt/ccpnmr/ccpnmr1.0/python/ccpnmr/format/gui/ImportExportFormatPopup.py", 
line 91, in run
    self.returnValue = self.__target(*self.__args, **self.__kwargs)
  File "/opt/ccpnmr/ccpnmr1.0/python/ccpnmr/format/converters/DataFormat.py", 
line 2757, in writeDistanceConstraints
    return self.writeConstraints(*args, **keywds)
  File "/opt/ccpnmr/ccpnmr1.0/python/ccpnmr/format/converters/DataFormat.py", 
line 2877, in writeConstraints
    self.getChainMapping(resetMapping = self.resetMapping)
  File "/opt/ccpnmr/ccpnmr1.0/python/ccpnmr/format/converters/DataFormat.py", 
line 7957, in getChainMapping
    interaction = 
self.multiDialog.chainExport(self.guiParent,chainList,requireChainCode = 
requireChainCode)
  File "/opt/ccpnmr/ccpnmr1.0/python/ccpnmr/format/general/MultiDialog.py", 
line 882, in chainExport
    return self.chainExportFunction(guiParent,requireChainCode)
  File "/opt/ccpnmr/ccpnmr1.0/python/ccpnmr/format/gui/MultiDialog.py", line 
265, in chainExportFunction
    requireChainCode)
  File "/opt/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 "/opt/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


So, what's wrong here? Or have I forgotten something crucial before the 
export?


regards
Marco



-- 
Dipl. Chem. Marco Röben
Leibniz-Institut für Molekulare Pharmakologie Berlin (FMP)
Abt.: NMR-unterstützte Strukturforschung
Robert-Rössle-Str. 10
D-13125 Berlin
Tel: 030-94793224
Fax: 030-94793169
mail: [log in to unmask]