On Saturday, July 23, 2016 at 9:00:04 PM UTC+2, Cédric Krier wrote:
>
> On 2016-07-23 10:12, Marko Randjelovic wrote: 
> > sqlite3.OperationalError: index sale_opportunity__history_id_index 
> already 
> > exists 
>
> It seems the table has already an index but with a different name. You 
> should fix that manually. 
>

After manually deleting index (drop index 
sale_opportunity__history_id_index;) the command 

bin/trytond-admin -d test4 -c ../trytond4.conf -u purchase_request --all

was successfull. However, when connecting from tryton client, again an 
error about missing dependency purchase_request:

Traceback (most recent call last):
  File "/trytond/wsgi.py", line 47, in dispatch_request
    return endpoint(request, **request.view_args)
  File "/trytond/protocols/dispatcher.py", line 59, in rpc
    request, database_name, *request.params)
  File "/trytond/protocols/dispatcher.py", line 70, in login
    session = security.login(database_name, user, password)
  File "/trytond/security.py", line 24, in login
    pool = _get_pool(dbname)
  File "/trytond/security.py", line 18, in _get_pool
    pool.init()
  File "/trytond/pool.py", line 155, in init
    lang=lang)
  File "/trytond/modules/__init__.py", line 434, in load_modules
    _load_modules()
  File "/trytond/modules/__init__.py", line 396, in _load_modules
    graph = create_graph(module_list)[0]
  File "/trytond/modules/__init__.py", line 191, in create_graph
    - set((p[0] for p in packages))))
Exception: Missing dependencies: [u'purchase_request']

There is tables purchase_request in the database, just it's empty.

Regards
 

>
> -- 
> Cédric Krier - B2CK SPRL 
> Email/Jabber: [email protected] <javascript:> 
> Tel: +32 472 54 46 59 
> Website: http://www.b2ck.com/ 
>

-- 
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/3ecc3ab3-c0ef-4962-ad91-4d408b1ff7dc%40googlegroups.com.

Reply via email to