On Wednesday, May 28, 2014 1:58:57 PM UTC-5, Fabyc wrote:
>
> I'm trying to migrate from Trytond 3.0.4 to Trytond 3.2.1
>
> I backed up the database from the Tryton client 3.0.4
> and then I'm trying to restore it in Tryton 3.2.1
>
> After the database is restored, I get the next error:
>
> Traceback (most recent call last):
> File "/trytond/protocols/jsonrpc.py", line 125, in _marshaled_dispatch
> response['result'] = dispatch_method(method, params)
> File "/trytond/protocols/jsonrpc.py", line 158, in _dispatch
> res = dispatch(*args)
> File "/trytond/protocols/dispatcher.py", line 42, in dispatch
> res = security.login(database_name, user, session)
> File "/trytond/security.py", line 19, in login
> pool = _get_pool(dbname)
> File "/trytond/security.py", line 13, in _get_pool
> pool.init()
> File "/trytond/pool.py", line 151, in init
> lang=lang)
> File "/trytond/modules/__init__.py", line 433, in load_modules
> _load_modules()
> File "/trytond/modules/__init__.py", line 393, in _load_modules
> graph = create_graph(module_list)[0]
> File "/trytond/modules/__init__.py", line 192, in create_graph
> - set((p[0] for p in packages))))
> Exception: Missing dependencies: ['account_invoice_stock']
>
>
> The module account_invoice_stock is copied in trytond/modules
> in Trytond 3.2.1
>
> I don't know why the message about is missing that module.
>
> In the previous version of Trytond (3.0.4) I have installed the next
> modules (with dependencies of course):
>
> - sale
> - purchase
> - sale_opportunity
> - project
> - dashboard
> - product_attribute
> - product_price_list
> - sale_price_list
> - timesheet
>
> After the database was restored I get the same message is reported here [1]
>
> [1] https://groups.google.com/forum/#!topic/tryton/CkCOSa3EDvQ
>
I tried one more time to restore and now I got this error:
Traceback (most recent call last):
File "/trytond/protocols/jsonrpc.py", line 125, in _marshaled_dispatch
response['result'] = dispatch_method(method, params)
File "/trytond/protocols/jsonrpc.py", line 158, in _dispatch
res = dispatch(*args)
File "/trytond/protocols/dispatcher.py", line 42, in dispatch
res = security.login(database_name, user, session)
File "/trytond/security.py", line 19, in login
pool = _get_pool(dbname)
File "/trytond/security.py", line 13, in _get_pool
pool.init()
File "/trytond/pool.py", line 151, in init
lang=lang)
File "/trytond/modules/__init__.py", line 433, in load_modules
_load_modules()
File "/trytond/modules/__init__.py", line 384, in _load_modules
'to remove'))))
File "/trytond/backend/postgresql/database.py", line 309, in execute
return self.cursor.execute(sql, params)
ProgrammingError: relation "ir_module_module" does not exist
LINE 1: SELECT "a"."name" FROM "ir_module_module" AS "a" WHERE ("a"....
^