I installed tinyerp on CENTOS, using the web guide. When I try to install psycopg it doesn't find pgsql headers althouth I do:

./configure --with-postgres-includes=/usr/include/pgsql

I install v2 of psycopg and create a link (psycopg2 to psycopg) in order to try and it installs, but when I try to start it, I get this error:

/usr/bin/tinyerp-server start

Traceback (most recent call last):
  File "./tinyerp-server.py", line 61, in ?
    netsvc.init_logger()
File "/usr/lib/python2.3/site-packages/tinyerp-server/netsvc.py", line 118, in init_logger
    from tools import config
File "/usr/lib/python2.3/site-packages/tinyerp-server/tools/__init__.py", line 3, in ?
    from convert import *
File "/usr/lib/python2.3/site-packages/tinyerp-server/tools/convert.py", line 6, in ?
    import osv,ir,pooler
File "/usr/lib/python2.3/site-packages/tinyerp-server/osv/__init__.py", line 29, in ?
    import osv
File "/usr/lib/python2.3/site-packages/tinyerp-server/osv/osv.py", line 33, in ?
    import orm
File "/usr/lib/python2.3/site-packages/tinyerp-server/osv/orm.py", line 54, in ?
    import pooler
File "/usr/lib/python2.3/site-packages/tinyerp-server/pooler.py", line 28, in ?
    import sql_db
File "/usr/lib/python2.3/site-packages/tinyerp-server/sql_db.py", line 130, in ?
    psycopg.register_type(psycopg.new_type((1082,), "date", lambda x:x))
AttributeError: 'module' object has no attribute 'register_type'

Any help?

_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to