Python's making my head hurt...
Steven W. Orr
steveo at syslang.net
Sat Jan 5 16:49:09 EST 2008
On Saturday, Jan 5th 2008 at 15:00 -0000, quoth Star:
=>Okay, I'm not a python coder, nor do I really desire to be yet... I'm
=>trying to run a system that uses Python pretty heavily, and while it's
=>starting up, I'm getting an error just before it bombs...
=>
=>The error is "ImportError: /usr/lib/python2.4/lib-dynload/cPickle.so:
=>undefined symbol: PyUnicodeUCS4_DecodeRawUnicodeEscape"
You've already gotten some good advise, but I'd just like to throw in a
couple more cents worth. (BTW, Canadian is worth more.)
You may not have an import error. See the other messages that people have
already sent you. But it's also possible that the unresolved symbol is
coming from something that's *not* an so that smells like a module to
python.
* Module aa is maybe in python so there's an aa.py somewhere in the
world.
* Pete Python goes to speed it up by rewriting it in C which yields a file
called aa.so
* aa.so *might* depend on another .so that has nothing to do with python.
Check by running ldd on cPickle.so and see if something can not be found.
If that's the case then you either need to find the package that is
missing or you need to add the directory that that missing .so is in,
add it to /etc/ld.so.conf, and rerun ldconfig.
This might sound obscure to some but I just ran into this scenario this
week. :-)
--
Time flies like the wind. Fruit flies like a banana. Stranger things have .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net
More information about the gnhlug-discuss
mailing list