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 #tryton | 06:07 | |
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton | 07:28 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 07:56 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 07:56 | |
-!- tbruyere(~Thunderbi@mail.saluc.com) has joined #tryton | 07:59 | |
-!- springwurm(~springwur@2a01:76c0:104:c700:c70b:8705:25e4:4913) has joined #tryton | 08:19 | |
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton | 08:37 | |
mrichez | hi, what could prevent to use stock_split module on shipment in ? https://foss.heptapod.net/tryton/tryton/-/tree/branch/default/modules/stock_split | 10:28 |
---|---|---|
-!- philipp__(~philipp__@2003:a:d4d:e700:6804:60e5:1e15:de9a) has joined #tryton | 10: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 |
cedk | mrichez: I do not think, it is not there because normally you recreate what the supplier shipped so you do not decide to split | 11:07 |
cedk | philipp__: how did you make your installation? | 11:08 |
philipp__ | cedk: git clone into /usr/lib/python3/dist-packages/trytond/, then the respective trytond-admin commands | 11:08 |
cedk | philipp__: this is not a proper way to make an installation | 11:09 |
cedk | philipp__: you should install released packages | 11:09 |
cedk | using repository is for development | 11: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 |
cedk | philipp__: https://www.tryton.org/download | 11:10 |
cedk | https://www.tryton.org/download#packages | 11:10 |
mrichez | cedk: 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 us | 11:10 |
cedk | philipp__: make a proper installation using the proper versions | 11:10 |
philipp__ | So I need to reinstall tryton from scratch? | 11:11 |
cedk | philipp__: you need to make a real installation | 11:11 |
cedk | philipp__: I suppose you want to use Tryton not to develop Tryton | 11: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 |
cedk | philipp__: you are clearly on an old development snapshot, do not expect anything to work | 11: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 |
cedk | philipp__: no debian packages are 2.5 years old | 12:46 |
philipp__ | I will switch just to the docker container in this case. | 12:47 |
cedk | philipp__: in https://foss.heptapod.net/tryton/tryton-docker/-/merge_requests/22, I propose a compose file ready to use | 12:52 |
philipp__ | cedk: Thank you, that is very useful. | 12:54 |
cedk | philipp__: it is not yet definitive, it may change during the review but it should already work | 12: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 #tryton | 13:04 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!