Hello,

   Currently running 3.6 and trying to upgrade to 3.8. Is there any upgrade 
guide like previous releases ?

So far I am running into the following two problems when updating with:   
trytond --all. Any suggestions to fix ?

The first is a warning about constraint. This constraint already exists and 
dropping or recreating does not make any difference:
----------------------------------------

17535 140673640511232 [2016-10-27 16:15:42,473] INFO trytond.modules 
ir:register ir.module.module
17535 140673640511232 [2016-10-27 16:15:42,841] WARNING 
trytond.backend.postgresql.table unable to add 'unique (name)'
 constraint on table ir_module_module !
If you want to have it, you should update the records and execute manually:
ALTER table "ir_module_module" ADD CONSTRAINT "ir_module_module_name_uniq" 
unique (name)


The second is the following exception:
---------------------------------------------------

17535 140673640511232 [2016-10-27 16:15:44,354] INFO trytond.modules 
ir:register ir.module.module.config
Traceback (most recent call last):
  File "./trytond/bin/trytond", line 80, in <module>
    server.TrytonServer(options).run()
  File "/home/dev/tryton-hg/3.8/trytond/trytond/server.py", line 112, in run
    Pool(db_name).init(update=self.options.update, lang=lang)
  File "/home/dev/tryton-hg/3.8/trytond/trytond/pool.py", line 155, in init
    lang=lang)
  File "/home/dev/tryton-hg/3.8/trytond/trytond/modules/__init__.py", line 
427, in load_modules
    _load_modules()
  File "/home/dev/tryton-hg/3.8/trytond/trytond/modules/__init__.py", line 
394, in _load_modules
    load_module_graph(graph, pool, update, lang)
  File "/home/dev/tryton-hg/3.8/trytond/trytond/modules/__init__.py", line 
241, in load_module_graph
    module_state=package_state)
  File "/home/dev/tryton-hg/3.8/trytond/trytond/convert.py", line 417, in 
__init__
    Module = pool.get('ir.module')
  File "/home/dev/tryton-hg/3.8/trytond/trytond/pool.py", line 172, in get
    return self._pool[self.database_name][type][name]
KeyError: 'ir.module'


-Jonan

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/3a94b3eb-3465-4753-b6a8-0e87e66fe4e8%40googlegroups.com.

Reply via email to