Re: [tryton] Unknow missing dependencies
2016-02-26 9:43 GMT+01:00 Cédric Krier: > On 2016-02-26 09:27, Raimon Esteve wrote: >> 2016-02-25 23:55 GMT+01:00 Raimon Esteve : >> 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 -- 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/CAN2HbXXAxFKZFxA7xn2w7U4fjaSBcH_GRwvRADGTs2uTw4CKfg%40mail.gmail.com.
Re: [tryton] Unknow missing dependencies
On 2016-02-26 09:27, Raimon Esteve wrote: > 2016-02-25 23:55 GMT+01:00 Raimon Esteve: > 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. -- Cédric Krier - B2CK SPRL Email/Jabber: cedric.kr...@b2ck.com 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/20160226084301.GI10143%40tetsuo.
Re: [tryton] Unknow missing dependencies
El 26/02/16 a les 09:27, Raimon Esteve ha escrit: 2016-02-25 23:55 GMT+01:00 Raimon Esteve: 2016-02-25 23:32 GMT+01:00 Sergi Almacellas Abellana : Hi, When opening a tryton server I have the following error: Traceback (most recent call last): File "trytond/bin/trytond", line 80, in 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? 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? 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 -- Sergi Almacellas Abellana www.koolpi.com Twitter: @pokoli_srk -- 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/56D00F5B.4070609%40koolpi.com.
Re: [tryton] Unknow missing dependencies
2016-02-25 23:55 GMT+01:00 Raimon Esteve: > 2016-02-25 23:32 GMT+01:00 Sergi Almacellas Abellana : >> Hi, >> >> When opening a tryton server I have the following error: >> >> Traceback (most recent call last): >> File "trytond/bin/trytond", line 80, in >> 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? 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 -- 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/CAN2HbXUQXQg88vjEw2euwjn4RRX81pwJHq21_URXapmemZACqg%40mail.gmail.com.
Re: [tryton] Unknow missing dependencies
2016-02-25 23:32 GMT+01:00 Sergi Almacellas Abellana: > Hi, > > When opening a tryton server I have the following error: > > Traceback (most recent call last): > File "trytond/bin/trytond", line 80, in > 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? 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 -- 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/CAN2HbXUWQxmapV_GNa0FuF4TXZyXaO4U_qjK3kc9nT8jG3x7gw%40mail.gmail.com.
[tryton] Unknow missing dependencies
Hi, When opening a tryton server I have the following error: Traceback (most recent call last): File "trytond/bin/trytond", line 80, in 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 -- 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/56CF80FA.804%40koolpi.com.