unsupported pickle protocol?

79 views
Skip to first unread message

Mark Ito

unread,
Nov 23, 2022, 7:54:06 PM11/23/22
to GlueX Software Help
Hey Experts,

Trying to build a plugin in a CentOS 7 container:

[marki@markdesk5/singC7 pi0_pol_plugin]$ scons install
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: *** [JEventProcessor_pi0_pol_plugin.h] ValueError : unsupported pickle protocol: 4
scons: building terminated because of errors.

Anyone ever seen this?

  -- Mark

Mark Ito

unread,
Nov 23, 2022, 7:57:07 PM11/23/22
to GlueX Software Help
You can find the plugin at https://github.com/markito3/pi0_pol in the directory pi0_pol_plugin

Mark Ito

unread,
Jan 1, 2023, 6:32:20 PM1/1/23
to GlueX Software Help
Folks,

I finally figured this one out. All I had to do was to delete the .sconsign.dblite file in the plugin directory (i.e., the directory from which scons is invoked). Probably due to trying a build outside of the singularity container. So Fedora-appropriate info probably got encoded in the local scons database.

  -- Mark


--
You received this message because you are subscribed to a topic in the Google Groups "GlueX Software Help" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gluex-software/k89TJv92nLQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gluex-softwar...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gluex-software/263bda12-c4c8-40e2-ab99-9c51516b6ef5n%40googlegroups.com.


--

Naomi Jarvis

unread,
Mar 9, 2023, 10:55:40 AM3/9/23
to GlueX Software Help
Same solution worked for me although I have not done anything with singularities. 
Reply all
Reply to author
Forward
0 new messages