IRC logs of #tryton for Monday, 2020-06-01

chat.freenode.net #tryton log beginning Mon 01 Jun 2020 12:00:01 AM CEST
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:06
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:06
-!- thaneor1(~ldlc6@179.26.32.240) has joined #tryton04:06
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton07:06
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:06
-!- davemc_(~davemc@219-89-203-23.adsl.xtra.co.nz) has joined #tryton10:06
davemc_Hi10:06
davemc_So, I have Tryton sucessfully installed and running, clean install on Debian 10 (with help from semarie couple of nights ago10:06
davemc_However I only have the :ir and :res modules10:06
davemc_  usr/local/lib/python3.7/dist-packages/trytond-5.7.dev0-py3.7.egg/trytond/modules/10:06
davemc_is full of modules10:06
davemc_ usr/local/bin/trytond-admin --config /etc/tryton/trytond.conf --database trytontest --logconf /etc/tryton/logging.conf --update-modules-list10:06
davemc_only processes modules :ir and :res10:06
davemc_Any tips on how to nudge the installed modules into life?10:06
cedkdavemc_: I guess your modules directory is not actually from the trytond running10:06
davemc_hrm, how would I diagnose that?10:06
davemc_trytond is running from /usr/local/bin, where the install step python3 setup.py install  put it10:06
cedkdavemc_: the path where the script is installed does not tell anything about the PYTHONPATH used to find modules11:06
davemc_Ahh. Ok, thanks for the pointer, I'll dig into PYTHONPATH.  I haven't done anything in install steps to configure it.11:06
cedkdavemc_: common mistake is to have trytond packages installed11:06
davemc_Thanks for tip. No, I trashed a container that was mangled that way. This should be a clean install no packages.11:06
cedkdavemc_: could you post the logging output?11:06
davemc_Ok, so on this page, https://docs.tryton.org/projects/server/en/latest/topics/install.html11:06
davemc_It says directory where the archive was unpacked, and run: python setup.py install11:06
davemc_Which I ran in the trytond directory11:06
davemc_Which successfully installed the trytond package11:06
davemc_but no modules11:06
davemc_So, it seems each module has a setup.py11:06
davemc_Are you supposed to run setup.py for every module?  This seems odd, or I don't get it11:06
cedkdavemc_: yes you have11:06
cedkdavemc_: but normally you do not install from repository but from packages11:06
cedkdavemc_: or you do not install and run from developmentsource11:06
cedkmixing both is the worse use case11:06
davemc_Ok.11:06
davemc_Was attempting to run from dev source11:06
davemc_So I can learn it11:06
davemc_and make changes if the learning is successful11:06
davemc_so, I don't need to do the setup.py bit11:06
davemc_since that is taking the downloaded source and turning into local installed packages?11:06
cedkdavemc_: so it is the third option (no install)11:06
davemc_ok11:06
davemc_So, I can run it direct from the tryton-env11:06
davemc_To be honest, I haven't been able to located a doc "Downloading & running tryton from development-source"11:06
davemc_And I'm not very skilled in Python, more in ERP software.11:06
davemc_Or, more succinctly, what's the command to start the trytond server from source?11:06
davemc_Something like   python3 <somepath> trytond/<some>.py  --config trytond.conf etc database logconf pidfile11:06
davemc_ok, found it11:06
davemc_https://discuss.tryton.org/t/guide-to-get-a-basic-development-environment/144411:06
-!- mariomop(~quassel@190.193.24.15) has joined #tryton12:06
-!- udono(~udono@241-133-067-156.ip-addr.inexio.net) has joined #tryton16:06
-!- thaneor(~ldlc6@186.55.16.85) has joined #tryton16:06
-!- SimAlbertiBeltra(sim6matrix@gateway/shell/matrix.org/x-xxznjfsbrdpssafk) has joined #tryton21:06
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:06

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