-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
larcv python script crashes when larlite is configured #61
Comments
Erez has this problem w/ LArLite and ROOT 06.04.10
|
Above problem is fixed by this commit: 6eea252 In general we should try "from larcv import larcv" and "from larlite import larlite" instead of "from ROOT import larcv" or "from ROOT import larlite" because auto-loading seems not correctly done in an order. |
git pulled on larlite , rebuilt. taritree@nunet:~/working/larbys/LArCV/mac$ python view_rgb.py /mnt/raid0/taritree/v0/training_sample/validation_sample_overlay_v0.root #ifndef G__VECTOR_HAS_CLASS_ITERATOR #define _BACKWARD_BACKWARD_WARNING_H #undef _BACKWARD_BACKWARD_WARNING_H
In file included from input_line_76:29: #ifndef G__VECTOR_HAS_CLASS_ITERATOR #define _BACKWARD_BACKWARD_WARNING_H #undef _BACKWARD_BACKWARD_WARNING_H Fatal: ! (prop&kIsClass) && "Impossible code path" violated at line 480 of `/home/taritree/software/root/io/io/src/TGenCollectionProxy.cxx' Thread 3 (Thread 0x7f994d7fe700 (LWP 4237)): Thread 2 (Thread 0x7f994ffff700 (LWP 4249)): Thread 1 (Thread 0x7f999179c740 (LWP 4199)): |
went into mac/ changed init.py changed
to
fixed. will check in change to develop. |
fixed in c3a4bdb proof that viewer works on nudot: |
list of everywhere 'from ROOT import larcv' occurs: taritree@nunet:~/working/larbys/LArCV$ grep -iIr 'from ROOT import larcv' * i'm going to change them all. |
THANK YOU!!! |
done: 734a147 assuming this fixes the error forever and closing the issue. |
I believe I see multiple reports on a crash due to larlite/larcv interfering each other....
A typical example is, I believe, supera.py and view_rgb.py
I would love to solve this (... in fact I thought I did). Please share crash case here and your setup.
If it's a shared machine I have an account, that would be super.
I just tried my larcv/larlite installation @ nudot to use supera.py and it did not crash.
But if you see it even @ nudot please post it here.
The text was updated successfully, but these errors were encountered: