Skip to main content

Thread: Segmentation faults and UnpicklingErrors with Python on 12.04


hello,

i've been running ubuntu 12.04 since second alpha , i've been happy it. strangely enough though, since 12.04 released on april 26th (and me updating it) had lot of trouble it.

can't close applications clicking red x-button on left top , need close through right click in unity dock, apport crashes when trying report problems, , 1 time firefox totally refused start , kept on crashing on me. biggest problems run however, python.

writing simple python programs analyse data. using spyder ide , test on command line. script using pythons multiprocessing module used run (using 4 cores). since past weekend however, script ends in errors. errors not same , appear after various times , @ various points in script. errors appear either segmentation faults (which had never heard of before), or unpicklingerrors (indicating "invalid load key, 'w'", w '8' or '['). post total unpicklingerror below message.

weekend did install new things:antlr through synaptic, removed again, , tried install java2python source. don't know if either of these have it.

know how can solve issue? can example reinstall python somehow? tips welcome!



unpicklingerror:
code:
process poolworker-4: traceback (most recent call last):   file "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap     self.run()   file "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run     self._target(*self._args, **self._kwargs)   file "/usr/lib/python2.7/multiprocessing/pool.py", line 85, in worker     task = get()   file "/usr/lib/python2.7/multiprocessing/queues.py", line 376, in     return recv() unpicklingerror: invalid load key, 'w'. process poolworker-5: traceback (most recent call last):   file "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap     self.run()   file "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run     self._target(*self._args, **self._kwargs)   file "/usr/lib/python2.7/multiprocessing/pool.py", line 85, in worker     task = get()   file "/usr/lib/python2.7/multiprocessing/queues.py", line 376, in     return recv() unpicklingerror: invalid load key, '8'. process poolworker-6: traceback (most recent call last):   file "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap     self.run()   file "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run     self._target(*self._args, **self._kwargs)   file "/usr/lib/python2.7/multiprocessing/pool.py", line 85, in worker     task = get()   file "/usr/lib/python2.7/multiprocessing/queues.py", line 376, in     return recv() unpicklingerror: invalid load key, 'w'. process poolworker-7: traceback (most recent call last):   file "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap     self.run()   file "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run     self._target(*self._args, **self._kwargs)   file "/usr/lib/python2.7/multiprocessing/pool.py", line 85, in worker     task = get()   file "/usr/lib/python2.7/multiprocessing/queues.py", line 376, in     return recv() unpicklingerror: invalid load key, 'w'.



Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] Segmentation faults and UnpicklingErrors with Python on 12.04


Ubuntu

Comments

Popular posts from this blog

Adobe Acrobat Pro , Terminal Server Use

Thread: transmission-daemon isn't playing nice: "409: Conflict"

Thread: gpg: Conflicting Commands