chat.freenode.net #tryton log beginning Mon 01 Jun 2020 12:00:01 AM CEST | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 22:09 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 22:44 | |
-!- thaneor1(~ldlc6@179.26.32.240) has joined #tryton | 02:40 | |
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton | 05:17 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 06:27 | |
-!- davemc_(~davemc@219-89-203-23.adsl.xtra.co.nz) has joined #tryton | 08:39 | |
davemc_ | Hi | 08:41 |
---|---|---|
davemc_ | So, I have Tryton sucessfully installed and running, clean install on Debian 10 (with help from semarie couple of nights ago | 08:43 |
davemc_ | However I only have the :ir and :res modules | 08:43 |
davemc_ | usr/local/lib/python3.7/dist-packages/trytond-5.7.dev0-py3.7.egg/trytond/modules/ | 08:43 |
davemc_ | is full of modules | 08:43 |
davemc_ | usr/local/bin/trytond-admin --config /etc/tryton/trytond.conf --database trytontest --logconf /etc/tryton/logging.conf --update-modules-list | 08:44 |
davemc_ | only processes modules :ir and :res | 08:44 |
davemc_ | Any tips on how to nudge the installed modules into life? | 08:45 |
cedk | davemc_: I guess your modules directory is not actually from the trytond running | 08: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 it | 08:55 |
cedk | davemc_: the path where the script is installed does not tell anything about the PYTHONPATH used to find modules | 09: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 |
cedk | davemc_: common mistake is to have trytond packages installed | 09: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 |
cedk | davemc_: could you post the logging output? | 09:34 |
davemc_ | Ok, so on this page, https://docs.tryton.org/projects/server/en/latest/topics/install.html | 09:40 |
davemc_ | It says directory where the archive was unpacked, and run: python setup.py install | 09:40 |
davemc_ | Which I ran in the trytond directory | 09:40 |
davemc_ | Which successfully installed the trytond package | 09:41 |
davemc_ | but no modules | 09:41 |
davemc_ | So, it seems each module has a setup.py | 09:41 |
davemc_ | Are you supposed to run setup.py for every module? This seems odd, or I don't get it | 09:42 |
cedk | davemc_: yes you have | 09:43 |
cedk | davemc_: but normally you do not install from repository but from packages | 09:43 |
cedk | davemc_: or you do not install and run from developmentsource | 09:44 |
cedk | mixing both is the worse use case | 09:44 |
davemc_ | Ok. | 09:44 |
davemc_ | Was attempting to run from dev source | 09:44 |
davemc_ | So I can learn it | 09:44 |
davemc_ | and make changes if the learning is successful | 09:44 |
davemc_ | so, I don't need to do the setup.py bit | 09:45 |
davemc_ | since that is taking the downloaded source and turning into local installed packages? | 09:45 |
cedk | davemc_: so it is the third option (no install) | 09:45 |
davemc_ | ok | 09:45 |
davemc_ | So, I can run it direct from the tryton-env | 09: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 pidfile | 09:54 |
davemc_ | ok, found it | 09:58 |
davemc_ | https://discuss.tryton.org/t/guide-to-get-a-basic-development-environment/1444 | 09:58 |
-!- mariomop(~quassel@190.193.24.15) has joined #tryton | 10:33 | |
-!- udono(~udono@241-133-067-156.ip-addr.inexio.net) has joined #tryton | 14:31 | |
-!- thaneor(~ldlc6@186.55.16.85) has joined #tryton | 14:43 | |
-!- SimAlbertiBeltra(sim6matrix@gateway/shell/matrix.org/x-xxznjfsbrdpssafk) has joined #tryton | 19:20 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 20:45 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!