[albatross-users] apache does not find albatross module

Thomas Schreiner t.schreiner at gmx.de
Wed Nov 5 18:50:49 EST 2003


Dave Cole wrote:
> On Wed, 2003-11-05 at 04:00, Thomas Schreiner wrote:
> 
>>Hi,
>>
>>when going through the samples of albatross i got stuck with sample 2. I 
>>don't know how to configure apache to find albatross. the following is 
>>from the apache error_log.
>>
>>[Tue Nov 04 17:57:25 2003] [error] [client 127.0.0.1] ImportError: No 
>>module named albatross
> 
> 
> Are you able to import albatross when using Python in interactive mode?

Kind of. I can import it, but get a different error message where python
is complainig about not finding some unicode stuff in cPickle.so.

Traceback (most recent call last):
   File "./albatross-test.py", line 3, in ?
     import albatross
   File 
"/usr/local/FreeGee-v1.0/Core/Python-2.2.2/lib/python2.2/site-packages/albatross/__init__.py", 
line 9, in ?
     from albatross.context import *
   File 
"/usr/local/FreeGee-v1.0/Core/Python-2.2.2/lib/python2.2/site-packages/albatross/context.py", 
line 12, in ?
     import cPickle
ImportError: 
/usr/local/FreeGee-v1.0/Core/Python-2.2.2/lib/python2.2/lib-dynload/cPickle.so: 
undefined symbol: PyUnicodeUCS2_AsUTF8String

Thomas





More information about the Albatross-users mailing list