Unknow missing dependencies

52 views
Skip to first unread message

Sergi Almacellas Abellana

unread,
Feb 25, 2016, 5:32:33 PM2/25/16
to try...@googlegroups.com
Hi,

When opening a tryton server I have the following error:

Traceback (most recent call last):
File "trytond/bin/trytond", line 80, in <module>
server.TrytonServer(options).run()
File
"/home/sergi/nan/projectes/virtualenv/tests/trytond/trytond/server.py",
line 112, in run
Pool(db_name).init(update=self.options.update, lang=lang)
File
"/home/sergi/nan/projectes/virtualenv/tests/trytond/trytond/pool.py",
line 144, in init
self.start()
File
"/home/sergi/nan/projectes/virtualenv/tests/trytond/trytond/pool.py",
line 97, in start
register_classes()
File
"/home/sergi/nan/projectes/virtualenv/tests/trytond/trytond/modules/__init__.py",
line 328, in register_classes
for package in create_graph(get_module_list())[0]:
File
"/home/sergi/nan/projectes/virtualenv/tests/trytond/trytond/modules/__init__.py",
line 191, in create_graph
- set((p[0] for p in packages))))
Exception: Missing dependencies: []

I have seen this error a lot of times but with a list of dependencies,
not with an empty list. So I'm wondering what could go wrong?

Have anyone found the same error? Any tip on how to fix?

Thanks in advance.

--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk

Raimon Esteve

unread,
Feb 25, 2016, 5:55:43 PM2/25/16
to try...@googlegroups.com
Yes! 30 minutes ago I found same message.

> Any tip on how to fix?

I don't know.

I droped database and restore with psql ago. And ok.... Misterious.

Raimon

Raimon Esteve

unread,
Feb 26, 2016, 3:27:37 AM2/26/16
to try...@googlegroups.com
Finally I found the reason but not how to fix.

module_a -> extras depend -> module_b
module_b -> depends -> module_a

If remove extras_depend in module_a, I can create/update/start a database
In case I add extras_depend in module_a, get expecption on missing
list dependencies (and can't create/update/start a database)

Is it a bug?

Raimon

Sergi Almacellas Abellana

unread,
Feb 26, 2016, 3:40:11 AM2/26/16
to try...@googlegroups.com
El 26/02/16 a les 09:27, Raimon Esteve ha escrit:
For me it's a bug in the module, as the extras_depends of module_a is
wrong and this functionality should be implemented in module b.

> Raimon

Cédric Krier

unread,
Feb 26, 2016, 3:45:04 AM2/26/16
to try...@googlegroups.com
Yes in your modules because you create a circular dependency.

--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Raimon Esteve

unread,
Feb 26, 2016, 3:50:35 AM2/26/16
to try...@googlegroups.com
2016-02-26 9:43 GMT+01:00 Cédric Krier <cedric...@b2ck.com>:
> On 2016-02-26 09:27, Raimon Esteve wrote:
>> 2016-02-25 23:55 GMT+01:00 Raimon Esteve <raimon...@gmail.com>:
>> Finally I found the reason but not how to fix.
>>
>> module_a -> extras depend -> module_b
>> module_b -> depends -> module_a
>>
>> If remove extras_depend in module_a, I can create/update/start a database
>> In case I add extras_depend in module_a, get expecption on missing
>> list dependencies (and can't create/update/start a database)
>>
>> Is it a bug?
>
> Yes in your modules because you create a circular dependency.

ok.

Thanks

Raimon
Reply all
Reply to author
Forward
0 new messages