On 29/04/14 02:13, Jesús Martín Jiménez wrote:



2014-04-28 22:22 GMT+02:00 oscar <oscar.alvarez.mont...@gmail.com <mailto:oscar.alvarez.mont...@gmail.com>>:


    El 28/04/14 13:41, oscar_alvarez escribió:

        Hi Devs


        I am having problems with a migration 2.8 to 3.0 (restoring a
        database with
        "update" = True), this is the traceback:

        Traceback (most recent call last):
           File "/trytond/protocols/jsonrpc.py", line 123, in
        _marshaled_dispatch
             response['result'] = dispatch_method(method, params)
           File "/trytond/protocols/jsonrpc.py", line 156, 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 396, in load_modules
             graph = create_graph(module_list)[0]
           File "/trytond/modules/__init__.py", line 193, in create_graph
             - set((p[0] for p in packages))))
        Exception: Missing dependencies: ['project', 'bank']

        But "project" and "bank" are right installed, ¿So why this
        exception?


        Oscar Alvarez

    I solved.


It would be nice if you explain how do you solved it. For the record.

Ok, My mistake was that some modules (no official) in 3.0 version has (news) dependences that the same modules hasn't at 2.8 version and this new dependences (modules) doesn't exists in 2.8, for example:

in 2.8 my module account_plus:
      depends:  X, Y, Z

But 3.0 version for account_plus:
       depends: X, Y, Z, bank

Although bank module was correctly installed, for 3.0 version.

I solved deleting manually 'bank' on depends (tryton.cfg), and after of finished migrating inserting newly this depends.



--

Jesús Martín

Zikzakmedia SL
Dr. Fleming, 28, baixos
08720 Vilafranca del Penedès
☏ 93 890 21 08

Reply via email to