Fatal Python error: PyThreadState_Get: no current thread

504 views
Skip to first unread message

Giovanni Pastore

unread,
Apr 17, 2018, 8:58:34 AM4/17/18
to moose...@googlegroups.com
Hi all,

Apparently I can't get rid of the following error when trying to run_tests in bison:


fn604209:bison pastg$ ./run_tests

Fatal Python error: PyThreadState_Get: no current thread

Abort trap: 6


Getting the same when trying to ./moosedocs.py.  I've already tried
 

fn604209:bison pastg$ cd moose/framework/

fn604209:framework pastg$ make hit

Building and linking hit...


But the problem persists.  Would anyone have any other suggestions for how to fix this?

Thanks in advance,

giovanni

Miller, Jason M

unread,
Apr 17, 2018, 9:39:42 AM4/17/18
to moose...@googlegroups.com
It looks like a different version of python was available during build verses runtime maybe?
While trying to reproduce this, on High Sierra, I found that I do not have python2 within my path once/if I perform a `module purge`. So I am asking: Are you using High Sierra, and have Homebrew/Macports installed (which might have supplied python2)...


--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAG5wROKRR33JdC2DPjiwP%3D1jF%3DVpopu8LRSNxsgGKfmNvhLYSA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

princessandsuperman

unread,
Apr 17, 2018, 11:01:55 AM4/17/18
to moose-users
As Jason said, this is usually when you compile moose (or a moose-based-app) with a different version of python than is in your environment when you run run_tests.  You could try "rm $MOOSE_DIR/python/hit.so" and then rebuild.

Giovanni Pastore

unread,
Apr 17, 2018, 11:21:27 AM4/17/18
to moose...@googlegroups.com
Hi Jason,
I am using El Capitan still. I guess that's likely the problem. I still have the package # 42.  I'm trying to install the Moose environment 92 for El Capitan now but I'll see to update the OS also.
Thanks

Reply all
Reply to author
Forward
0 new messages