Hello All,

I'm trying to connect to an external Informix Standard Enigine database. 
This works when I use Informixdb (python-module), but in web2py I get the 
following error when go to the database administration: 

ValueError: invalid literal for int() with base 10: '|

My db.py looks like this:
db = DAL('informix://user:password4@dolly/agftest',migrate=False)

db.define_table('tc',
    Field('ROWID', 'id'),
    Field('lever_cond_code', 'string', length=3),
    Field('lever_cond_naam', 'string', length=30),
    Field('incl_transport', 'string', length=1),
    Field('incl_verzekering', 'string', length=1),
    Field('retrograde', 'string', length=1),
    primarykey=['ROWID'])

the credentials are for the server not for the database. Does someone have 
a hint for me?


-- 



Reply via email to