IRC logs of #tryton for Thursday, 2022-05-05

irc.libera.chat #tryton log beginning Thu May 5 12:00:01 AM CEST 2022
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton23:04
-!- ChanServ changed mode/#tryton -> +o cedk 23:04
-!- PT1(~PT3@r167-57-58-3.dialup.adsl.anteldata.net.uy) has joined #tryton02:09
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton04:55
-!- springwurm(~springwur@5.104.149.54) has joined #tryton05:37
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton06:28
-!- ChanServ changed mode/#tryton -> +o cedk 06:28
-!- rpit(~rpit@p4ffb7313.dip0.t-ipconnect.de) has joined #tryton07:12
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton07:49
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton08:13
mrichezhi, did someone already get this error when running tests: "ImportError : start directory is not importable" ?11:45
mrichezit's ok for all of my custom modules except one...11:46
cedkmrichez: often this is because of a relative import in the tests if you specify a file path instead of a import path as start12:09
mrichezcedk: will reinstall my virtualenv and retry. Thanks !12:10
cedkmrichez: I do not think it is related to installation12:13
cedkbut if in the tests folder you got relative import they probably fails12:13
mrichezsome of my tests are working when doing ".. -s nameofmodule.tests"12:13
mricheztests folders are the same for each module (except rst file)12:14
cedkyou should use: -s trytond.modules.<module name>.tests12:14
cedkor -s <module name>/tests (but this one may fail with relative import)12:15
mrichezcedk: in my case, all tryton modules are in virtualenv so command -s trytond.modules.<module name>.tests is not working12:19
mrichezcedk: everything is ok, doing -s <module name>/tests :-) Thx12:22
-!- springwurm(~springwur@5.104.149.54) has joined #tryton12:30
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton14:06
-!- ChanServ changed mode/#tryton -> +o cedk 14:06
cedkfor the record my modem is broken, so drone is no more accessible14:07
cedkit should be replaced tomorrow morning14:07
pokolicedk: thanks for the info. I think we can live with that! 14:26
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton15:29
-!- ChanServ changed mode/#tryton -> +o cedk 15:29
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton16:42
-!- ChanServ changed mode/#tryton -> +o cedk 16:42
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton19:31
-!- ChanServ changed mode/#tryton -> +o cedk 19:31

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!