[ZODB-Dev] python path problem: ImportError when calling zodbconvert (FreeBSD 8.1)

Nikolaj Groenlund nikolaj.groenlund at yahoo.com
Sun Apr 24 05:36:15 EDT 2011


I guess this is a python path problem (on FreeBSD 8.1).

Im trying to convert a Data.fs to Postgresql using zodbconvert. Ive downloaded RelStorage-1.5.0b2 and is running:

/usr/local/Plone/Python-2.6/bin/python zodbconvert.py fstodb.conf

, to use the version that Plone is running with.

The error I get:

Traceback (most recent call last):
  File "zodbconvert.py", line 22, in <module>
    from persistent.TimeStamp import TimeStamp
ImportError: No module named persistent.TimeStamp


Versions:
Plone 4.0.5 (python 2.6)
Postgresql 9.0.3
FreeBSD 8.1
python26-2.6.6_1
python27-2.7.1_1

PS by default "python --version" is 2.7.1

Thanks.
Nikolaj G.




More information about the ZODB-Dev mailing list