chat.freenode.net #tryton log beginning Wed Mar 27 00:00:01 CET 2019 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 00:43 | |
-!- trytonnoob(~trytonnoo@110.54.223.65) has joined #tryton | 01:07 | |
-!- trytonnoob(~trytonnoo@180.191.156.72) has joined #tryton | 01:47 | |
-!- shard__(~shard@223.74.176.42) has joined #tryton | 02:10 | |
-!- yangoon(~mathiasb@i59F5F276.versanet.de) has joined #tryton | 03:57 | |
-!- trytonnoob(~trytonnoo@110.54.223.65) has joined #tryton | 04:52 | |
-!- kapil____(uid36151@gateway/web/irccloud.com/x-wqhbwsmyasdkoyoe) has joined #tryton | 05:19 | |
-!- trytonnoob(~trytonnoo@180.191.156.72) has joined #tryton | 05:22 | |
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | 06:31 | |
-!- thaneor1(~lenovo3@r179-25-81-216.dialup.adsl.anteldata.net.uy) has joined #tryton | 07:01 | |
-!- gdrius(~gdrius@m90-143-68-36.cust.tele2.lt) has joined #tryton | 07:17 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 07:53 | |
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton | 07:54 | |
-!- andrew_(~andrew@host86-173-92-121.range86-173.btcentralplus.com) has joined #tryton | 07:56 | |
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton | 09:03 | |
sisalp | wifasoi: Hello, membership for association is a generic need. You may consider proposing a blueprint and set up a discussion in the community, so your module could be mainstream later. | 09:29 |
---|---|---|
sisalp | wifasoi: sorry, I didn't notice pokoli already gave this advice. | 09:34 |
mrichez | hi, need some advices... when doing a patch in tryton_env, i'm cloning tryton-env in a directory with the id of the issue, then i'm creating a virtualenv... how to add all dependencies in pip? i'm doing "python setup.py developp" in trytond, but when doing tests on a module, i'm always getting dependencies errors. So i've to go into module directory and launching setup.py. Is there another way ? Do you use a script to automate all the process (cloning, | 10:10 |
mrichez | creating sqlite database, virtualenv and adding dependencies)? or do you execute a pip install with a txt file having all tryton dependencies inside? | 10:10 |
pokoli | mrichez: you have to manually install them | 10:38 |
pokoli | mrichez: that's what I execute: pip install python-stdnum stripe febelfin-coda csb43 ldap3 simpleeval cached_property ofxparse zeep PyPDF2 | 10:38 |
pokoli | mrichez: and then python setup.py develop in trytond to get server on path and install dependencies | 10:38 |
pokoli | indeed i have no text file but i store the command on my shell history :) | 10:39 |
mrichez | pokoli: ok, i remember i already ask the question in google groups | 10:39 |
pokoli | mrichez: don't worry I understand it is something that we do not do frequently :) | 10:39 |
mrichez | maybe i'll write a small script to automate this kind of task | 10:39 |
mrichez | pokoli: you keep always the same tryton repo for patch ? | 10:40 |
mrichez | pokoli: it seems complicated when you have multiple issues at the same time | 10:41 |
nicoe | mrichez: What you could do is having a requirements.txt file somewhere and in your virtualenv do something like "pip install -r path_to_requirements.txt" | 10:48 |
nicoe | mrichez: I have only one virtualenv for tryton dev in fact | 10:48 |
nicoe | mrichez: (well maybe two in case I need to work on python2.7 but it's more and more rare) | 10:49 |
mrichez | ok, so one or two virtualenv and multiple tryton-env clones for each patch.. | 10:52 |
nicoe | mrichez: That's what I do | 10:52 |
mrichez | ok, thanks nicoe and pokoli! | 10:54 |
-!- mariomop(~quassel@host211.201-253-197.telecom.net.ar) has joined #tryton | 11:04 | |
pokoli | cedk: it is possible to restore the country translations for catalan language on pootle? | 11:05 |
pokoli | it seems somebody translated them using the wrong language: http://pootle.tryton.org/ca/tryton/translate/country.po#filter=all&unit=527006 | 11:05 |
pokoli | here is the culprit: http://pootle.tryton.org/user/parviz.homayun/ | 11:06 |
cedk | pokoli: I guess you can upload an updated file | 11:14 |
cedk | pokoli: but I do not understand how he could translate other languages | 11:15 |
pokoli | cedk: neither do I, but it's all the module that has been translated | 11:16 |
cedk | he has only permission for persian | 11:16 |
pokoli | cedk: I will upload the file from the 5.0 series and complete the translation, thanks for the tip | 11:17 |
cedk | normally, we should process to update country and currency modules with pycountry | 11:17 |
cedk | pokoli: you can contact him to understand what he did | 11:19 |
pokoli | cedk: done, will keep you informed | 11:26 |
mrichez | nicoe: one more question about dependencies and virtualenv... so you have multiple tryton-env for issues, but which trytond and proteus do you use in your virtualenv ? to run the tests, i have to install in develop mode the trytond in the directory of issue i'm working in... so if i switch to another issue, i'll have to uninstall trytond in pip, and then reinstall trytond from other issue directory ? | 12:35 |
wifasoi | I found out that tryton doesn't like the developer mode/editable ... Bud didn't have time to debug the problem, a workarround is to manually create a simlink in the venv folder from the project folder to the trytond/module folder | 12:40 |
nicoe | mrichez: I don't install trytond or proteus in my virtualenv | 12:40 |
nicoe | mrichez: If you run your script from the root of your tryton-env you can import trytond or proteus | 12:41 |
mrichez | nicoe: in tryton-env directory i'm executing this command : "python ./trytond/trytond/tests/run-tests.py -m party -c .trytond_sqlite.conf" | 12:43 |
mrichez | nicoe: and then i got ImportError: No module named 'trytond' | 12:43 |
wifasoi | (misunderstood the question, but yes.. i need to find the root cause of why i can't install a module in dev/editable mode) | 12:44 |
nicoe | I have a small script to run the test that adds in the PYTHONPATH trytond and proteus | 12:45 |
mrichez | nicoe: :-) and path is related to directory of your issue | 12:46 |
nicoe | mrichez: https://paste.debian.net/1074887/ | 12:46 |
wifasoi | sisalp: I'll do wen i have some time, maybe I'll post the bleprint tomorrow | 12:47 |
mrichez | nicoe: thanks nicoe :-) | 12:48 |
-!- kapil____(uid36151@gateway/web/irccloud.com/x-rdpxszwqqastefkl) has joined #tryton | 14:05 | |
-!- trytonnoob(b4bf9e79@gateway/web/freenode/ip.180.191.158.121) has joined #tryton | 15:52 | |
-!- csotelo(~csotelo@181.67.16.48) has joined #tryton | 15:54 | |
-!- technoob(b4bf9e79@gateway/web/freenode/ip.180.191.158.121) has joined #tryton | 15:55 | |
technoob | hey guys | 15:55 |
technoob | is this a good place to ask | 15:56 |
technoob | is it possible to install trton on an ubuntu server | 15:56 |
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has left #tryton | 15:57 | |
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | 15:58 | |
nicoe | technoob: Yes to both questions | 16:04 |
technoob | is there like a step by step process to install the server on ubuntu | 16:07 |
technoob | @nicoe | 16:10 |
technoob | nicoe | 16:10 |
nicoe | technoob: http://www.tryton.org/download | 16:13 |
nicoe | You can either use the docker image | 16:13 |
nicoe | Or the ubuntu packages directly | 16:14 |
nicoe | The docker image is probably easier for the newcomers as it sets up the database etc | 16:15 |
nicoe | (read its readme) | 16:15 |
nicoe | https://hub.docker.com/r/tryton/tryton/ | 16:15 |
technoob | installing the server is using this command pip install trytond | 16:18 |
technoob | am i right? | 16:18 |
technoob | nicoe: | 16:18 |
nicoe | pip is a method to install python packages on your computer | 16:20 |
nicoe | trytond is a python package | 16:20 |
nicoe | So it can work but you have to understand the difference between using docker, the ubuntu packages or the python packages | 16:21 |
-!- yangoon(~mathiasb@i59F5F276.versanet.de) has joined #tryton | 16:59 | |
-!- csotelo(~csotelo@181.67.16.48) has joined #tryton | 17:20 | |
-!- nicoe(~nicoe@2a02:578:858c:500:7e2a:31ff:fe5e:b25d) has joined #tryton | 17:27 | |
-!- csotelo(~csotelo@181.67.16.48) has joined #tryton | 17:47 | |
-!- Richard(beab7279@gateway/web/freenode/ip.190.171.114.121) has joined #tryton | 18:36 | |
-!- Guest1510(beab7279@gateway/web/freenode/ip.190.171.114.121) has left #tryton | 18:40 | |
-!- RichardVong(beab7279@gateway/web/freenode/ip.190.171.114.121) has joined #tryton | 18:47 | |
-!- thaneor(~lenovo3@179.26.105.61) has joined #tryton | 19:04 | |
pokoli | /exit | 19:11 |
Buglouse | Getting an ascii encode error, tried with PYTHONIOENCODING=utf-8; http://ix.io/1EEC | 20:31 |
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton | 21:01 | |
cedk | Buglouse: your database is not UTF-8 | 21:39 |
cedk | Buglouse: http://docs.tryton.org/projects/server/en/latest/topics/setup_database.html#create-a-database | 21:39 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!