Après avoir mis à jour via easy_install tous les modèles que j'utilise (le
minimum) et trytond lui-même je tente de mettre à jour ma base de données
et j'obtiens cela :
#trytond -i all -d tryton
[Wed Oct 24 08:13:15 2012] INFO:server:using /etc/trytond.conf as
configuration file
[Wed Oct 24 08:13:15 2012] INFO:server:initialising distributed objects
services
[Wed Oct 24 08:13:15 2012] INFO:database:connect to "tryton"
[Wed Oct 24 08:13:15 2012] INFO:modules:ir:registering classes
[Wed Oct 24 08:13:15 2012] INFO:modules:res:registering classes
[Wed Oct 24 08:13:15 2012] INFO:modules:product:registering classes
[Wed Oct 24 08:13:15 2012] INFO:modules:webdav:registering classes
[Wed Oct 24 08:13:15 2012] INFO:modules:currency:registering classes
[Wed Oct 24 08:13:15 2012] INFO:modules:country:registering classes
[Wed Oct 24 08:13:15 2012] INFO:modules:test:registering classes
[Wed Oct 24 08:13:15 2012] INFO:modules:party:registering classes
[Wed Oct 24 08:13:15 2012] INFO:modules:company:registering classes
[Wed Oct 24 08:13:15 2012] INFO:modules:account:registering classes
[Wed Oct 24 08:13:15 2012] INFO:modules:account_fr:registering classes
Traceback (most recent call last):
File "/usr/local/bin/trytond", line 5, in
pkg_resources.run_script('trytond==2.6.0', 'trytond')
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 499, in
run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1235, in
run_script
execfile(script_filename, namespace, namespace)
File
"/usr/local/lib/python2.7/dist-packages/trytond-2.6.0-py2.7.egg/EGG-INFO/scripts/trytond",
line 109, in
trytond.server.TrytonServer(options).run()
File
"/usr/local/lib/python2.7/dist-packages/trytond-2.6.0-py2.7.egg/trytond/server.py",
line 134, in run
Pool(db_name).init(update=update, lang=lang)
File
"/usr/local/lib/python2.7/dist-packages/trytond-2.6.0-py2.7.egg/trytond/pool.py",
line 123, in init
self.start()
File
"/usr/local/lib/python2.7/dist-packages/trytond-2.6.0-py2.7.egg/trytond/pool.py",
line 75, in start
register_classes()
File
"/usr/local/lib/python2.7/dist-packages/trytond-2.6.0-py2.7.egg/trytond/modules/__init__.py",
line 369, in register_classes
pathname, description).register()
AttributeError: 'module' object has no attribute 'register'
--
tryton-fr@googlegroups.com mailing list