IRC logs of #tryton for Thursday, 2021-12-30

irc.libera.chat #tryton log beginning Thu Dec 30 12:00:01 AM CET 2021
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:02
-!- ChanServ changed mode/#tryton -> +o cedk 01:02
-!- semarie(~semarie@user/semarie) has left #tryton05:24
-!- springwurm(~springwur@5.104.149.54) has joined #tryton06:22
-!- smdata(~smdata@host-87-5-49-191.retail.telecomitalia.it) has joined #tryton07:23
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton07:24
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton08:33
-!- LordVan(~lordvan@gentoo/developer/lordvan) has joined #tryton09:09
LordVanhi. anyone here who can help me figure out how to fix this?: https://dpaste.org/1mpd (I checked the XML with the one in sale_product_customer module and it seems the same, but mine doesn't wokr?09:11
acaubetLordVan: Do you have a field called rm_custom? as you use name on separator you need that field <separator name="rm_custom"...09:29
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:35
-!- ChanServ changed mode/#tryton -> +o cedk 09:35
LordVanacaubet, ah no i do not .. i forgot .. i will remove that rn. thanks!09:48
LordVanstill getting the same error though .. hmm09:50
acaubetI maybe will try to delete all contents of xpath and leave only <data></data> to discard that09:55
LordVani did that already09:56
LordVanthe problem must be the sale.xml code but I am honestly not sure why09:57
LordVanwait .let me just confirm something09:57
LordVanno it was that sale.xml part09:57
-!- acaubet(~Thunderbi@33.red-193-152-127.dynamicip.rima-tde.net) has joined #tryton11:29
-!- rpit(~rpit@p4ffb7b8a.dip0.t-ipconnect.de) has joined #tryton12:21
-!- springwurm(~springwur@5.104.149.54) has joined #tryton13:07
acaubetLordVan: do you mean this "## xmllint sale.xml"? I suposed that part to be off the file13:18
LordVanah taht was just me chekcing for syntax errors13:19
LordVanthat is one part of the sale.xml file yes13:19
-!- acaubet1(~Thunderbi@73.red-95-127-168.staticip.rima-tde.net) has joined #tryton13:57
LordVanacaubet, since you reconnected and I am not sure if you did see my answer earlier: the xml is from 2 files .. the first part from sale.xml and the 2nd is view/...xml14:19
acaubetLordVan: I saw it14:20
LordVanok14:20
acaubetBut now is solved no?14:20
LordVanno i left it for now and worked on another part while thinking why i get this weird error14:20
acaubetmaybe there's something in your python code and not in xml, strange but possible14:22
LordVanthing is there is nothing sale_amendment related in the code yet14:22
LordVanas i just activated the module and added the xml cuz i need my custom fields14:22
acaubetLordVan: if there is nothing related to sale_amedment in your code where did  came the field folder_no?14:35
LordVanit is on sale itself14:36
LordVanerr sale.line14:37
LordVanbut in any case even if i completely comment everything and just put a <seperator> tag there inside <data> 14:37
LordVanit gives that error14:37
LordVanwhich is so weird14:37
LordVanbrb14:38
-!- Pegasus_RPG(~Thunderbi@96-18-200-194.cpe.sparklight.net) has joined #tryton14:42
-!- LordVan(~lordvan@gentoo/developer/lordvan) has joined #tryton14:52
LordVanacaubet, i figured it out .. it didn't work because it was in sale.xml not sale_amendment.xml .. i am really not sure as to why though15:06
acaubetLordVan:so are you saying that you only renamed the file sale.xml to sale_ammendment.xml and it works?15:07
acaubetso*15:08
LordVanno . I just moved that one data section to a new file15:08
LordVanreally unsure as to why, but well15:08
LordVanbut well now i need to add the custom fields here too .. yay copy paste haha15:09
SISalphello, a user complains his tryton server accepts jpeg images but not png images. Looks like I'm missing a dependency. Any hint to find which one ?17:06
cedkSISalp: accept where?17:23
SISalpcedk: still under characterisation, but seems it is at party avatar picture place.17:24
SISalpFile "/PIL/JpegImagePlugin.py", line 631, in _save     raise OSError(f"cannot write mode {im.mode} as JPEG") from e OSError: cannot write mode RGBA as JPEG17:28
cedkSISalp: alpha channel is only support with issue1059017:49
cedkSISalp: so the best is to use PNG without alpha17:50
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton21:46
-!- ChanServ changed mode/#tryton -> +o cedk 21:46

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