Interesting. So when it restarted it probably thought it had some command
line arguments and those were junk so it gave an error message. Well,
that seems the most likely situation to me but it's odd it didn't give any
other messages since it should have. The code that actually starts the
GUI proper is only run after all that usage() stuff is out of the way, so
even if the former throws some kind of exception (without crashing) it
wouldn't (or at least shouldn't) trigger that usage message.
On the crash front, it would definitely crash if glutInit is not run (and
if glutInit needs to be run). So glut (and OpenGL in general) are
extremely intolerant of errors. Now in the current code glutInit is only
called once (period), not once for (say) every new window, or every new
strip. And that's how I understood it should be done. So it should have
been called when the first HSQC window opened up. So I wonder if some of
the glut internal variables somehow got trampled so that it thought it had
not been initialised, hence the error message (which would be bogus). Or
maybe there is some threading issue here, although we don't (knowingly)
muck around with threading so that shouldn't be the problem. So all in
all a mystery. Out of curiousity, which OS variant/version are you using?
Wayne
On Mon, 16 Nov 2009, Justin Lecher wrote:
> Wayne Boucher schrieb:
>> Hello,
>>
>> I think you should indeed have -DNEED_GLUT_INIT given that freeglut error.
>>
>> That usage() error should be unrelated and hopefully had some other
>> message before the "Allowed arguments" line. So if I'm getting the line
>> number correct then you should have something like:
>>
>> Path "****" does not exist
>> Allowed arguments:
>> etc.
>>
>> where **** is whatever you passed to the command line. So if that doesn't
>> make sense it's possible there is a bug lurking. In which case can you
>> tell me how you ran analysis, i.e. the command line arguments.
>>
>> Wayne
>>
>
> Hi,
> I did run analysis w/o any argument. Created a fresh project, loaded 3
> HSQCs and just played around with contour levels. Suddenly analysis
> crashes, freezing the terminal and giving the glut error. After pressing
> crtl + l and running reset, the analysis python cmd line poped up again
> throwing the part after the SNIP.
>
> justin
>
>
>
> --
> Justin Lecher
> Institute for Neuroscience and Biophysics
> ISB3 - structural biochemistry
> Research Centre Juelich GmbH,
> 52425 Juelich,Germany
> phone: +49 2461 61 5385
>
>
>
|