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 #tryton22:09
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:44
-!- thaneor1(~ldlc6@179.26.32.240) has joined #tryton02:40
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton05:17
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton06:27
-!- davemc_(~davemc@219-89-203-23.adsl.xtra.co.nz) has joined #tryton08:39
davemc_Hi08:41
davemc_So, I have Tryton sucessfully installed and running, clean install on Debian 10 (with help from semarie couple of nights ago08:43
davemc_However I only have the :ir and :res modules08:43
davemc_  usr/local/lib/python3.7/dist-packages/trytond-5.7.dev0-py3.7.egg/trytond/modules/08:43
davemc_is full of modules08:43
davemc_ usr/local/bin/trytond-admin --config /etc/tryton/trytond.conf --database trytontest --logconf /etc/tryton/logging.conf --update-modules-list08:44
davemc_only processes modules :ir and :res08:44
davemc_Any tips on how to nudge the installed modules into life?08:45
cedkdavemc_: I guess your modules directory is not actually from the trytond running08:50
davemc_hrm, how would I diagnose that?08:54
davemc_trytond is running from /usr/local/bin, where the install step python3 setup.py install  put it08:55
cedkdavemc_: the path where the script is installed does not tell anything about the PYTHONPATH used to find modules09:01
davemc_Ahh. Ok, thanks for the pointer, I'll dig into PYTHONPATH.  I haven't done anything in install steps to configure it.09:02
cedkdavemc_: common mistake is to have trytond packages installed09:04
davemc_Thanks for tip. No, I trashed a container that was mangled that way. This should be a clean install no packages.09:08
cedkdavemc_: could you post the logging output?09:34
davemc_Ok, so on this page, https://docs.tryton.org/projects/server/en/latest/topics/install.html09:40
davemc_It says directory where the archive was unpacked, and run: python setup.py install09:40
davemc_Which I ran in the trytond directory09:40
davemc_Which successfully installed the trytond package09:41
davemc_but no modules09:41
davemc_So, it seems each module has a setup.py09:41
davemc_Are you supposed to run setup.py for every module?  This seems odd, or I don't get it09:42
cedkdavemc_: yes you have09:43
cedkdavemc_: but normally you do not install from repository but from packages09:43
cedkdavemc_: or you do not install and run from developmentsource09:44
cedkmixing both is the worse use case09:44
davemc_Ok.09:44
davemc_Was attempting to run from dev source09:44
davemc_So I can learn it09:44
davemc_and make changes if the learning is successful09:44
davemc_so, I don't need to do the setup.py bit09:45
davemc_since that is taking the downloaded source and turning into local installed packages?09:45
cedkdavemc_: so it is the third option (no install)09:45
davemc_ok09:45
davemc_So, I can run it direct from the tryton-env09:46
davemc_To be honest, I haven't been able to located a doc "Downloading & running tryton from development-source"09:46
davemc_And I'm not very skilled in Python, more in ERP software.09:47
davemc_Or, more succinctly, what's the command to start the trytond server from source?09:52
davemc_Something like   python3 <somepath> trytond/<some>.py  --config trytond.conf etc database logconf pidfile09:54
davemc_ok, found it09:58
davemc_https://discuss.tryton.org/t/guide-to-get-a-basic-development-environment/144409:58
-!- mariomop(~quassel@190.193.24.15) has joined #tryton10:33
-!- udono(~udono@241-133-067-156.ip-addr.inexio.net) has joined #tryton14:31
-!- thaneor(~ldlc6@186.55.16.85) has joined #tryton14:43
-!- SimAlbertiBeltra(sim6matrix@gateway/shell/matrix.org/x-xxznjfsbrdpssafk) has joined #tryton19:20
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton20:45

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