chat.freenode.net #tryton log beginning Tue May 18 12:00:01 AM CEST 2021 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 23:05 | |
-!- cryptic(~cryptic@142-196-139-017.res.spectrum.com) has joined #tryton | 05:32 | |
-!- Timitos(~kpreisler@2001:a61:4ac:5b01:762b:62ff:fe84:ed7e) has joined #tryton | 05:39 | |
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton | 05:44 | |
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton | 06:44 | |
-!- LordVan_(~LordVan@gentoo/developer/LordVan) has joined #tryton | 06:51 | |
LordVan_ | hi | 06:51 |
---|---|---|
LordVan_ | I just updated my client to 5.8.9 (from 5.8.7) and had an issue, where I couldn'T add a new contact mechanism -- unfortunately I did not save the exception it seems .. it was something about too many/too little values to unpack for ONe2MAny | 06:52 |
LordVan_ | after downgrade to 5.8.7 it works again. | 06:52 |
LordVan_ | is this already known ? (i have not found an issue) -- if not i can re-install 5.8.9 and provide the traceback | 06:53 |
pokoli | LordVan_: we can do nothing without the exception nor the steps to reproduce it | 06:54 |
LordVan_ | pokoli, yeah i thought i had copied the exception^^ | 06:54 |
LordVan_ | let me re-install the new one | 06:54 |
LordVan_ | steps are easy though: go to a party click add contact mechanism | 06:54 |
LordVan_ | let me try right now | 06:54 |
LordVan_ | I just thought I ask before uninstallin gand reinstalling the new one again | 06:55 |
pokoli | LordVan_: please fill a bug with the steps to reproduce and the traceback | 06:56 |
LordVan_ | pokoli, yes . on it right now ;) | 06:56 |
mrichez | hi, how update packages with pip to keep the same branch... i mean i've trytond 5.8 installed with 5.8 modules... how to upgrade to keep 5.8 version and not 6.0 ? Do you use a script ? | 06:57 |
pokoli | mrichez: pip install "trytond == 5.8.*" | 06:58 |
pokoli | with the --upgrade flag if you already have the packages | 06:59 |
LordVan_ | https://bugs.tryton.org/issue10432 | 06:59 |
mrichez | pokoli: ok, thanks :-) | 06:59 |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 06:59 | |
pokoli | mrichez: here is the script if you want to install/upgrade all the modules: https://hg.tryton.org/tryton-docker/file/tip/5.8/Dockerfile#l61 | 07:00 |
mrichez | pokoli: that will help :-) | 07:01 |
LordVan_ | pokoli, i'D look into it myself, but i'm a little busy right now ^^ | 07:02 |
LordVan_ | and i'm not sure if / how to use web mercurial to look at changes between 2 tags/changesets | 07:04 |
pokoli | LordVan_: you will need to clone the repository to upload the changes, so don't use mercurial web but local one | 07:07 |
LordVan_ | cedk, regarding the issue i just submitted.. i read the linked/duplicate bug .. so i'd have to upgrade trytond before upgrading to 5.8.9 ? | 07:07 |
pokoli | LordVan_: you can use bisect to test which changeset introduced the problem | 07:07 |
LordVan_ | pokoli, never used that tbh .. i was just looking into how to get a dif but cedk had already marked it a s duplicate of another bug which i think means i need to upgrade trytond as well | 07:08 |
LordVan_ | before using client 5.8.9 | 07:08 |
-!- springwurm(~springwur@p200300fbaf088e00000000000000039b.dip0.t-ipconnect.de) has joined #tryton | 07:09 | |
pokoli | LordVan_: I upgraded the server the issue is gone | 07:09 |
pokoli | LordVan_: There is no reason to no upgrade all packages | 07:09 |
LordVan_ | pokoli, ok thanks . that's what i suspected.. | 07:09 |
mrichez | i met the same problem too :-) | 07:10 |
LordVan_ | is it generally recommended the server has the same version (or higher) than the client? | 07:10 |
LordVan_ | because now there are tryton and trytond version in the 5.8 series that are not compatible with each other | 07:10 |
pokoli | LordVan_: server and client versions are unrelated | 07:10 |
LordVan_ | pokoli, well not for this bug ;) | 07:11 |
pokoli | LordVan_: it is recomended to upgrade all components to latests patch version | 07:11 |
LordVan_ | yes of course | 07:11 |
LordVan_ | i just happened to download -latest and it was higher than the server version by coincidence | 07:11 |
LordVan_ | I wonder | 07:11 |
LordVan_ | if it would be a good idea to give a warning if connecting to a server of a different version maybe? [though i never had a problem before so it is probably overkill] | 07:12 |
pokoli | LordVan_: wheren't you bussy? xDDDD | 07:12 |
pokoli | LordVan_: there is no need of checking diferent versions, they are unreleated | 07:13 |
LordVan_ | yes | 07:13 |
pokoli | LordVan_: normally you won't find such kind of problems | 07:13 |
LordVan_ | and yes i am busy iw as waiting for 5.8.9 to uninstall to reinstall 5.8.7 ;) | 07:13 |
-!- ludo2(~Thunderbi@2001:912:1480:380::1) has joined #tryton | 07:27 | |
-!- thaneor(~ldlc6@r167-56-216-143.dialup.adsl.anteldata.net.uy) has joined #tryton | 08:21 | |
-!- mariomop(~quassel@181.29.189.235) has joined #tryton | 11:03 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 11:12 | |
-!- ludo3(~Thunderbi@193.33.57.196) has joined #tryton | 12:08 | |
-!- lucascastro(~lucascast@177-185-133-236.dynamic.isotelco.net.br) has joined #tryton | 12:16 | |
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton | 13:05 | |
semarie | I am trying to generate a FEC (account_fr) and the report generation seems very long (lot more than usually) | 13:13 |
semarie | my last export was 15 days ago | 13:14 |
semarie | and today, it is still running since 2021-05-18 14:54:54.464548+02 | 13:15 |
semarie | previous export should have been done using tip 56076335bdcf (~ version at 2021.03.26) and my current export is done using c6fca81997d5 (~ version at 2021.04.29) | 13:16 |
semarie | does it ring some bell to someone ? | 13:16 |
semarie | python is at 99% cpu. debug log shows 1 or 2 SELECT /sec (which is really slow), and postgresql is mostly idle | 13:18 |
semarie | so it finish after 45min | 13:50 |
pokoli | semarie: who much lines it has the file? | 13:50 |
pokoli | semarie: it seems there was some python computation that was slow | 13:51 |
semarie | 5658 lines | 13:51 |
pokoli | semarie: that does not sound like a big number of lines to spen 45min generating them | 13:54 |
semarie | I totally agree. it is why I am asking if it rings some bell here | 13:55 |
-!- jcm(~jcm@78.194.214.1) has joined #tryton | 13:55 | |
pokoli | semarie: the last select executed should give a clue about what is processing | 13:58 |
pokoli | semarie: could you reproduce the export another time? | 13:58 |
-!- ludo3(~Thunderbi@236-17-127-151.dsl.ovh.fr) has joined #tryton | 13:59 | |
-!- mariomop_(~quassel@181.29.189.235) has joined #tryton | 14:01 | |
semarie | pokoli: generating the FEC is exporting the whole moveline for a particular fiscal year. the document has legal format for french authorities (it is a CSV-tabuled export) | 14:02 |
semarie | I could reproduce the problem | 14:02 |
semarie | I tried several times and the last one was done with trytond -vvv | 14:02 |
pokoli | semarie: that should be usefull. Could you share the output of the command? | 14:03 |
pokoli | semarie: did not now what the export was about but I read the code to understand what is exporting. | 14:03 |
pokoli | As far as it's just exporting plain fields it should not take more than 10seconds (even less) | 14:04 |
semarie | well, usually it is more than 10 sec. maybe 1 min max. but not 45min as now | 14:05 |
pokoli | semarie: probably because the balances export (which may be improved by using the account.account.party model) | 14:06 |
pokoli | semarie: there is https://bugs.tryton.org/issue10216 which may improve such performance | 14:06 |
pokoli | But as the export is using a diferent query it should not affect | 14:07 |
pokoli | the log should give a clue about the executed queries | 14:08 |
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton | 15:58 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 16:11 | |
-!- ludo2(~Thunderbi@221.114.141.88.rev.sfr.net) has joined #tryton | 16:12 | |
-!- ludo2(~Thunderbi@2001:912:1480:380::1) has joined #tryton | 18:47 | |
-!- thaneor(~ldlc6@r167-56-218-197.dialup.adsl.anteldata.net.uy) has joined #tryton | 20:41 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!