irc.libera.chat #tryton log beginning Thu Dec 15 12:00:01 AM CET 2022 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 23:05 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 23:05 | |
-!- OscarQ(~OscarQ@91.126.38.246) has joined #tryton | 06:13 | |
-!- tbruyere(~Thunderbi@mail.saluc.com) has joined #tryton | 06:42 | |
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton | 07:25 | |
-!- rpit(~rpit@p200300c88f35d0008b509f4d786e7481.dip0.t-ipconnect.de) has joined #tryton | 08:13 | |
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton | 08:23 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 08:48 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 08:48 | |
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton | 08:50 | |
-!- acaubet1(~Thunderbi@206.red-88-29-179.dynamicip.rima-tde.net) has joined #tryton | 09:13 | |
-!- htgoebel(~hartmut@p200300d5df1c1d008b805d04b1a522f3.dip0.t-ipconnect.de) has joined #tryton | 09:32 | |
mrichez | hi, i'm creating a model using a query. When doing tests, got this error : File "/home/mrichez/Workspace/tryton/tryton_custo_dev/trytond/trytond/model/modelstorage.py", line 672, in browse | 11:01 |
---|---|---|
mrichez | ids = list(map(int, ids)) | 11:01 |
mrichez | TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType' | 11:01 |
mrichez | trying to debug... > /home/mrichez/Workspace/tryton/tryton_custo_dev/trytond/trytond/model/model.py(305)__getattr__() | 11:02 |
mrichez | -> return self._values[name] | 11:02 |
mrichez | (Pdb) self._values[name] | 11:02 |
mrichez | *** TypeError: 'NoneType' object is not subscriptable | 11:02 |
mrichez | name is : 'limit' | 11:03 |
mrichez | is this a bug or a problem in my code ? Thanks for help | 11:03 |
cedk | mrichez: probably on your code | 11:06 |
mrichez | cedk: hum difficult to debug.. don't know why error is raising for 'limit'... don't use this field | 11:07 |
-!- acaubet1(~Thunderbi@194.224.31.235) has joined #tryton | 11:09 | |
cedk | mrichez: for me the parameters are wrong | 11:09 |
mrichez | cedk: ok, i'll check again | 11:10 |
-!- tbruyere(~Thunderbi@mail.saluc.com) has joined #tryton | 11:15 | |
-!- acaubet2(~Thunderbi@194.224.31.235) has joined #tryton | 11:47 | |
-!- acaubet1(~Thunderbi@206.red-88-29-179.dynamicip.rima-tde.net) has joined #tryton | 11:52 | |
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton | 11:56 | |
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton | 12:47 | |
mrichez | cedk: i was missing a col in query... sorry for noise | 12:58 |
-!- tbruyere(~Thunderbi@2a02:a03f:c2ae:d000:4ba8:b45:f1b:9dd) has joined #tryton | 15:03 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!