IRC logs of #tryton for Friday, 2018-10-12

chat.freenode.net #tryton log beginning Fri Oct 12 00:00:01 CEST 2018
-!- thaneor(~lenovo3@179.26.55.31) has joined #tryton23:53
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton23:57
-!- yangoon(~mathiasb@i59F5F32F.versanet.de) has joined #tryton02:42
-!- tafelgeschirr(~tafelgesc@5.104.149.54) has joined #tryton05:03
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton05:46
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton06:46
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton06:57
-!- vmora(~vmora@aracar.oslandia.net) has joined #tryton07:21
-!- nicoe(~nicoe@2a02:578:858c:500:7e2a:31ff:fe5e:b25d) has joined #tryton08:34
-!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton09:33
LordVanhi09:34
LordVani was just wondering .. is it possible to have some sort of interactive shell that can be connected to trytond ? (like ipython)09:35
TimitosLordVan: i use proteus inside ipython notebook quite often09:37
LordVanTimitos, ah cool thanks good to know that works09:38
LordVando you know of  a howto about that somewhere?09:38
LordVanto get started i mean09:40
TimitosLordVan: no. but its quite simple. you only need to:09:40
Timitosfrom proteus import config, Model09:40
Timitosproteus_config = config.set_trytond(........)09:40
Timitosor: proteus_config = config.set_xmlrpc(.....) if the trytond is not on the same machine09:41
LordVanthanks i shall try09:41
LordVanit is on the same (test) machine09:41
LordVanpcfg = config.set_trytond(database='tryton', config_file='/etc/tryon/trytond.conf')09:47
LordVangets me an error09:47
LordVanImportError: No module named 'trytond.backend.'09:47
LordVan(pasting the full trace in a sec on a pastebin)09:47
LordVanah09:47
LordVanwait09:48
LordVanseems to be i am missing something09:48
LordVanValueError: not enough values to unpack (expected 1, got 0)09:48
LordVanep, = pkg_resources.iter_entry_points(09:48
LordVan---> 32                     'trytond.backend', db_type)09:48
-!- csotelo(~csotelo@2800:200:f400:23c1:83dd:9b29:5c88:1c4c) has joined #tryton10:27
TimitosLordVan: is it working now? otherwise the full traceback would be helpful10:33
cedkLordVan: looks like you are not in the right virtualenv or right python version11:00
-!- mariomop(~quassel@host187.190-229-240.telecom.net.ar) has joined #tryton11:03
LordVancedk, ah the python version might b it good point11:04
LordVanhmm no it is the correct version (the same running trytond) - and i installed it globally iwth the ebuilds11:05
LordVanthough it'd hepl if I did not have a typon in the config path ^^11:11
LordVancedk, it would be nice if there was an error that said something like "config file not found" ;)11:11
cedkLordVan: I guess we could raise an better error is backend name() return empty string11:33
LordVanyeah i did overlook that typo quite a few times and the error message did not point me to an error opening the ocnfig file ;)11:35
cedkLordVan: there is never error about opening config file because it is optional11:36
LordVanyeah, but i mean simply if a config file is specified and not found an error saying that might be a good idea11:37
cedkLordVan: it does not on purpose11:39
cedkhttps://docs.python.org/3/library/configparser.html#configparser.ConfigParser.read11:39
LordVanah11:47
LordVani suppose if you put it that way it makes sense11:47
LordVanbut maybe some debug logging when a path is invalid instead of an error?11:47
LordVanyou know only for debugging log level11:49
cedkLordVan: there is already something like that11:55
LordVanhmm must've missed it11:55
LordVanmy bad11:55
-!- thaneor1(~lenovo3@r186-48-91-51.dialup.adsl.anteldata.net.uy) has joined #tryton11:56
-!- tafelgeschirr(~tafelgesc@5.104.149.54) has joined #tryton11:59
cedkLordVan: it depends of the version12:02
LordVan4.8.412:06
cedkwe get not a bad score for the new website: https://developers.google.com/speed/pagespeed/insights/?hl=en-US&utm_source=PSI&utm_medium=incoming-link&utm_campaign=PSI&url=new.tryton.org&tab=mobile12:45
-!- lukio(~lukio@host34.190-136-120.telecom.net.ar) has joined #tryton13:14
mrichezcedk: new web site is cool... i saw in events section: 10 years anniversary, is there something planned ?13:16
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton13:23
cedkmrichez: nothing13:37
cedkmrichez: but it will be great to have a news with some retrospective etc.13:38
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton13:43
-!- TidBJE(~TidB@ip189c25.banglalionwimax.com) has joined #tryton14:18
-!- Chiron|_(~Chiron|_@186.14.148.77) has joined #tryton15:25
-!- lukio(~lukio@host249.190-136-122.telecom.net.ar) has joined #tryton15:43
-!- utack(~utack@175.195.35.44) has joined #tryton15:59
-!- csotelo(~csotelo@2800:200:f400:23c1:83dd:9b29:5c88:1c4c) has joined #tryton16:41
-!- sakuXZ(~saku@121.133.215.25) has joined #tryton16:43
-!- FierceDeityLink(~FierceDei@LFbn-IDF1-1-44-44.w82-124.abo.wanadoo.fr) has joined #tryton16:50
-!- paolo(~paolo@unaffiliated/paolo) has joined #tryton16:56
-!- csotelo_(~csotelo@2800:200:f400:23c1:83dd:9b29:5c88:1c4c) has joined #tryton17:13
-!- lucascastro(~lucascast@131.255.227.138) has joined #tryton17:16
-!- lucascastro(~lucascast@131.255.227.138) has joined #tryton17:35
-!- rmu(~robert@cpe90-146-69-94.liwest.at) has joined #tryton17:45
-!- rmu(~robert@cpe90-146-69-94.liwest.at) has joined #tryton18:05
-!- lukio(~lukio@host249.190-136-122.telecom.net.ar) has joined #tryton18:51
-!- themillsQ(~themill@c-73-229-215-48.hsd1.co.comcast.net) has joined #tryton18:56
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton20:01

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