Hello,
That is a threading issue. In the Other --> General Options menu turn off
"Format Converter threaded" *before* you start up the FormatConverter.
(In Format Converter stand-alone mode you can start it up with
-nothread to achieve the same effect.) (The problem is that Tcl/Tk is not
inherently thread-safe, but it works on some platforms and not on others.)
Wayne
On Thu, 6 Sep 2007, Nicola Meenan wrote:
> Hi,
>
> Thanks Patrick and Ben for your comments. I get the error message below and
> do not get a new shiftlist. I'm using analysis v1.0.15.
>
> I have created the molecular system etc. already.
>
> Thanks,
>
>
> Nicola
>
> Python nmrStar reader courtesy of Jurgen Doreleijers (BMRB) - with
> modifications added. Parsing STAR file:
> /home/nicolam/non_cognate_Im_DNase_analysis/Im7_E9DNase/titration_data/bmr718
> 8.str Done [71] subs with comment at beginning of line Done [280] subs with
> comment not at beginning of line Parsed: [21] datanodes (top level count
> only) Exception in thread Thread-1: Traceback (most recent call last):
> File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap
> self.run()
> File
> "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/format/gui/ImportExportFormatPopup.py",
> line 9 1, in run
> self.returnValue = self.__target(*self.__args, **self.__kwargs)
> File
> "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/format/converters/DataFormat.py",
> line 1542, i n readShifts
> return self.readMeasurements(*args, **keywds)
> File
> "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/format/converters/DataFormat.py",
> line 1596, i n readMeasurements
> self.getMeasurements()
> File
> "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/format/converters/NmrStarFormat.py",
> line 177,
> in getMeasurements
> self.messageReporter.showWarning("Warning"," Cannot read %ss for
> %s...:\n%s" % (self.measure
> mentType,self.formatLabel,errorMessage),self.guiParent)
> File "/usr/local/ccpnmr/ccpnmr1.0/python/memops/gui/MessageReporter.py",
> line 103, in showWarn ing
> showWarning(title, message, parent)
> File "/usr/local/ccpnmr/ccpnmr1.0/python/memops/gui/MessageReporter.py",
> line 87, in showWarni ng
> return tkMessageBox.showwarning(title, message, parent=parent)
> File "/usr/lib/python2.4/lib-tk/tkMessageBox.py", line 88, in showwarning
> return _show(title, message, WARNING, OK, **options)
> File "/usr/lib/python2.4/lib-tk/tkMessageBox.py", line 75, in _show
> res = Message(**options).show()
> File "/usr/lib/python2.4/lib-tk/tkCommonDialog.py", line 48, in show
> w = Frame(self.master)
> File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 2375, in __init__
> Widget.__init__(self, master, 'frame', cnf, {}, extra)
> File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 1862, in __init__
> self.tk.call(
> RuntimeError: main thread is not in main loop
>
>
> On Sep 5 2007, Patrick van der Wel wrote:
>
> >>
> >> To cut a long story short, my somewhat unusual sitution is that I have
> >> been given a set of titration spectra but don't have the peak list for
> >> the free spectrum. However, shifts of the free protein have been
> >> deposited.
> >>
> >> Using Import --> Single File --> Chemical Shifts --> NMRStar, I've
> >> tried importing the BMRB.str file directly, and just the shift table
> >> copied from the entry but neither method works. Any ideas?
> >The described procedure with the entire bmrb file should work, and
> >recently has worked very well for me. Can you describe more specifically
> >how it 'does not work'? Are there error messages? Does it not generate a
> >new shiftlist in the project?
> >
> >Patrick
> >
>
|