2014-03-12 0:40 GMT+01:00 Luis Deiana <[email protected]>: > Buenas noches, me da este error al ejecutar trytond -u all -d basededatos: > > [Tue Mar 11 19:39:22 2014] INFO:modules:ldap_connection:registering classes > Traceback (most recent call last): > File "Tryton/tryton3.0/trytond/bin/trytond", line 111, in <module> > trytond.server.TrytonServer(options).run() > File "/home/luis/Tryton/tryton3.0/trytond/trytond/server.py", line 124, in > run > Pool(db_name).init(update=update, lang=lang) > File "/home/luis/Tryton/tryton3.0/trytond/trytond/pool.py", line 140, in > init > self.start() > File "/home/luis/Tryton/tryton3.0/trytond/trytond/pool.py", line 92, in > start > register_classes() > File "/home/luis/Tryton/tryton3.0/trytond/trytond/modules/__init__.py", > line 354, in register_classes > mod_file, pathname, description) > File > "/home/luis/Tryton/tryton3.0/trytond/trytond/modules/ldap_connection/__init__.py", > line 5, in <module> > from .connection import * > File > "/home/luis/Tryton/tryton3.0/trytond/trytond/modules/ldap_connection/connection.py", > line 13, in <module> > class Connection(ModelSingleton, ModelSQL, ModelView): > File > "/home/luis/Tryton/tryton3.0/trytond/trytond/modules/ldap_connection/connection.py", > line 53, in Connection > @fields.depends('secure') > AttributeError: 'module' object has no attribute 'depends' > > y tampoco me deja crear una nueva base de datos, me da el siguiente error: > > No se ha podido crear la base de datos, la causa es desconocida. > Si hay una base de datos creada, podría estar dañada. ¡Pruebe a eliminar > esta base de datos! Revise el mensaje de error en busca de información > adicional. > Mensaje de error: > 'module' object has no attribute 'depends'
De nuevo estás mezclando módulos de la 3.1 con la 3.0 > > Saludos. > -- Albert Cervera i Areny Tel. 93 553 18 03 @albertnan www.NaN-tic.com
