IRC logs of #tryton for Thursday, 2024-01-25

irc.libera.chat #tryton log beginning Thu Jan 25 12:10:00 AM CET 2024
-!- springwurm(~springwur@2a01:76c0:104:c700:2e45:e3ef:9e90:795a) has joined #tryton06:07
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton07:28
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton07:56
-!- ChanServ changed mode/#tryton -> +o cedk 07:56
-!- tbruyere(~Thunderbi@mail.saluc.com) has joined #tryton07:59
-!- springwurm(~springwur@2a01:76c0:104:c700:c70b:8705:25e4:4913) has joined #tryton08:19
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton08:37
mrichezhi, what could prevent to use stock_split module on shipment in ? https://foss.heptapod.net/tryton/tryton/-/tree/branch/default/modules/stock_split10:28
-!- philipp__(~philipp__@2003:a:d4d:e700:6804:60e5:1e15:de9a) has joined #tryton10:51
philipp__Hi, I completely borked my tryton installation by installing a broken module. The webpage shows only a traceback. How can I fix this?10:51
philipp__I tried removing the module folder and running trytond-admin --update-modules-list, but that expects the module to be there.10:52
cedkmrichez: I do not think, it is not there because normally you recreate what the supplier shipped so you do not decide to split11:07
cedkphilipp__: how did you make your installation?11:08
philipp__cedk: git clone into /usr/lib/python3/dist-packages/trytond/, then the respective trytond-admin commands11:08
cedkphilipp__: this is not a proper way to make an installation11:09
cedkphilipp__: you should install released packages11:09
cedkusing repository is for development11:09
philipp__I did not know better, there is no information in the tryton manual about module installation.11:09
philipp__Anyway, how can I fix my installation?11:10
cedkphilipp__: https://www.tryton.org/download11:10
cedkhttps://www.tryton.org/download#packages11:10
mrichezcedk: in case of we have a big reception with 3 containers, we decide to deliver one container to our stock A and two others to stock B (because not enough space). Indeed, it would be a custo for us11:10
cedkphilipp__: make a proper installation using the proper versions11:10
philipp__So I need to reinstall tryton from scratch?11:11
cedkphilipp__: you need to make a real installation11:11
cedkphilipp__: I suppose you want to use Tryton not to develop Tryton11:11
philipp__setup.py of the module failed with "Could not find suitable distribution for Requirement.parse('trytond<6.10,>=6.9.dev0')". So I guess it is not compatible in the first place.11:18
philipp__I fixed my installation by removing the references to the module from the database; the next time I install a module, I will make a snapshot of my VM before.11:23
philipp__I know this is not the proper way to do it, but this Tryton installation is explicitly for testing/playing around.11:25
cedkphilipp__: you are clearly on an old development snapshot, do not expect anything to work11:34
philipp__cedk: I installed from the debian.m9s.biz repository. I would assume that it is the most recent version.12:32
philipp__Allright, it seems that the debian repository stopped updating after version 6.0.12:35
cedkphilipp__: no debian packages are 2.5 years old12:46
philipp__I will switch just to the docker container in this case.12:47
cedkphilipp__: in https://foss.heptapod.net/tryton/tryton-docker/-/merge_requests/22, I propose a compose file ready to use12:52
philipp__cedk: Thank you, that is very useful.12:54
cedkphilipp__: it is not yet definitive, it may change during the review but it should already work12:55
philipp__It looks fine. The most important part is the volumes I think, so that no data is lost during upgrades.12:55
-!- springwurm(~springwur@2a01:76c0:104:c700:9da0:77d7:f4f6:c0c5) has joined #tryton13:04

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