chat.freenode.net #tryton log beginning Mon May 18 00:00:01 CEST 2015 | ||
2015-05-18 02:19 -!- kstenger(~karla@179.26.196.223) has joined #tryton | ||
2015-05-18 03:18 -!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton | ||
2015-05-18 03:41 -!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton | ||
2015-05-18 04:11 -!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton | ||
2015-05-18 06:04 -!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton | ||
2015-05-18 06:04 -!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton | ||
2015-05-18 06:40 -!- frispete_(~frispete@p54A90E5B.dip0.t-ipconnect.de) has joined #tryton | ||
2015-05-18 07:00 -!- zeittunnel(~234234234@p5DD1956A.dip0.t-ipconnect.de) has joined #tryton | ||
2015-05-18 07:01 -!- yangoon(~mathiasb@p549F194A.dip0.t-ipconnect.de) has joined #tryton | ||
2015-05-18 07:20 -!- az-ccr(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton | ||
2015-05-18 07:35 -!- zeittunnel(~234234234@p5DD18A4C.dip0.t-ipconnect.de) has joined #tryton | ||
2015-05-18 08:36 -!- digitalsatori(~Thunderbi@203.35.234.18) has joined #tryton | ||
2015-05-18 08:57 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | ||
2015-05-18 09:18 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2015-05-18 09:23 -!- Timitos1(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | ||
2015-05-18 09:29 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton | ||
2015-05-18 09:37 -!- udono(~udono@ip-37-201-196-116.hsi13.unitymediagroup.de) has joined #tryton | ||
2015-05-18 09:49 -!- bechamel(~Adium@host-85-201-213-94.dynamic.voo.be) has joined #tryton | ||
2015-05-18 10:26 -!- wsirc_9799(~wsirc_979@www.nowhere-else.org) has joined #tryton | ||
2015-05-18 10:28 -!- nicoe(~nicoe@2a02:a03f:3068:4b00:ee55:f9ff:fe7b:f7ac) has joined #tryton | ||
2015-05-18 11:13 -!- michael-kohlhaas(~michael-k@unaffiliated/michael-kohlhaas) has joined #tryton | ||
2015-05-18 12:16 -!- smarro(~sebastian@190.105.93.196) has joined #tryton | ||
2015-05-18 12:30 -!- wsirc_7398(~wsirc_739@www.nowhere-else.org) has joined #tryton | ||
2015-05-18 12:30 -!- digitalsatori(~Thunderbi@203.35.234.18) has joined #tryton | ||
2015-05-18 12:30 <wsirc_7398> https://softwareforhartz4entertainer.wordpress.com/2015/05/18/on-proteusing-gnuhealth-hello-world-2/#Ankername1 | ||
2015-05-18 12:31 <wsirc_7398> Hi had problems to login non-interactive as well to your software. Here you see the status quo ongoing. If someone possesses an advice/comment/explanation I would be glad to hear it. Tia | ||
2015-05-18 12:32 <wsirc_7398> "/trytond –logconf /home/gnuhealth/gnuhealth/tryton/server/config/gnuhealth_log.conf -v –all -d gnuhealth #from console 1, “five minute long module -work seen in logs. Then: “Update/Init succeed!“, server stopsexport PYTHONPATH=”/home/gnuhealth/gnuhealth/tryton/server/trytond-3.4.3/bin” ; ipython # console 2 from proteus import config, Model config.set_trytond(database_name=’gnuhealth’,database_type=’postgresql’, passwor | ||
2015-05-18 12:33 <pokoli> wsirc_7398: what are you trying to achieve? | ||
2015-05-18 12:34 -!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton | ||
2015-05-18 12:34 <wsirc_7398> want to connect via config.set_tryton to the indicated server/db. | ||
2015-05-18 12:34 <wsirc_7398> pokoli | ||
2015-05-18 12:35 <pokoli> wsirc_7398: the first command updates the database, so you don't need that to connect | ||
2015-05-18 12:35 <wsirc_7398> Here is where I am stuck. Is there something wrong with my proceeding uptonow? | ||
2015-05-18 12:36 <wsirc_7398> pokoli: yes but it runs as well the tryton server, does not it? | ||
2015-05-18 12:37 <pokoli> wsirc_7398: proteus runs it's own trytond when runnin using set trytond, so no need to start another :) | ||
2015-05-18 12:37 <wsirc_7398> So it is running anyway, which is condition for the login, is not it? | ||
2015-05-18 12:37 <wsirc_7398> pokoli: really? | ||
2015-05-18 12:37 <pokoli> wsirc_7398: no, you only need a server running, when you use set_xmlrpc | ||
2015-05-18 12:38 <pokoli> wsirc_7398: yes, proteus imports trytond when using set_trytond and uses it's own server to connect to the database | ||
2015-05-18 12:39 <wsirc_7398> mon | ||
2015-05-18 12:40 <wsirc_7398> mom | ||
2015-05-18 12:42 <wsirc_7398> pokoli: ok | ||
2015-05-18 12:42 <wsirc_7398> pokoli: thank you | ||
2015-05-18 12:45 <wsirc_7398> So then your bet it to forget about config.set_tryton, and use config.set_xmlrpc from the beginning on? The tutorial around treats with the former? | ||
2015-05-18 12:45 -!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton | ||
2015-05-18 12:45 <wsirc_7398> The question why it is not functioning demonstrated way remained anyway open. | ||
2015-05-18 12:46 <wsirc_7398> pokoli | ||
2015-05-18 12:47 <wsirc_7398> why Exception: Module health_pediatrics not found" to config.set_trytond(database_name=’gnuhealth’,database_type=’postgresql’, password=’444nh4′,config_file=’/home/gnuhealth/gnuhealth/tryton/server/config/trytond.conf’) | ||
2015-05-18 12:47 <wsirc_7398> ? | ||
2015-05-18 12:47 <pokoli> wsirc_7398: you local copy of trytond misses the health_pediatrics module, but this module is in the database so proteus can not start correctly | ||
2015-05-18 12:48 <wsirc_7398> So what is left to do then? | ||
2015-05-18 12:48 <wsirc_7398> (: | ||
2015-05-18 12:51 <wsirc_7398> pokoli | ||
2015-05-18 12:51 <pokoli> wsirc_7398: how you created the database? | ||
2015-05-18 12:51 <pokoli> wsirc_7398: checkout the module code to trytond/modules folder | ||
2015-05-18 12:53 <wsirc_7398> pokoli: with the tryton client at first login according to the gnuhealth handbook | ||
2015-05-18 12:55 <wsirc_7398> gnuhealth@kubuntu:~ $ ls gnuhealth/tryton/server/modules/|grep pedia health_pediatrics health_pediatrics_growth_charts health_pediatrics_growth_charts_who | ||
2015-05-18 12:56 <pokoli> wsirc_7398: so it seems that you have two trytond and proteus it's not using the right one | ||
2015-05-18 12:56 <wsirc_7398> pokoli: It is there, so? | ||
2015-05-18 12:56 <wsirc_7398> health_pediatrics | ||
2015-05-18 12:57 <pokoli> wsirc_7398: are you sure proteus it's importing this directory? | ||
2015-05-18 12:58 <wsirc_7398> config.set_trytond(database_name=’gnuhealth’,database_type=’postgresql’, password=’444nh4′,config_file=’/home/gnuhealth/gnuhealth/tryton/server/config/trytond.conf’) | ||
2015-05-18 12:59 <wsirc_7398> Is the only one proteus says to trytond. | ||
2015-05-18 13:00 <wsirc_7398> It is to say: that I indeed managed to login manually. | ||
2015-05-18 13:00 <pokoli> wsirc_7398: it's not related to set_trytond | ||
2015-05-18 13:01 <wsirc_7398> ok | ||
2015-05-18 13:02 <pokoli> wsirc_7398: proteus imports trytond, so you have to ensure that PYTHON_PATH is set correctly, so trytond it's imported from the right place | ||
2015-05-18 13:02 -!- mariomop(~quassel@host103.190-229-209.telecom.net.ar) has joined #tryton | ||
2015-05-18 13:02 <pokoli> wsirc_7398: i can't give more hints without knowing how you installed trytond and proteus | ||
2015-05-18 13:04 <wsirc_7398> mom | ||
2015-05-18 13:05 <wsirc_7398> PYTHONPATH=”/home/gnuhealth/gnuhealth/tryton/server/trytond-3.4.3/bin” | ||
2015-05-18 13:06 <wsirc_7398> I installed proteus by debian source. And I installed as said by handbook from the sources. | ||
2015-05-18 13:12 <wsirc_7398> gnuhealth@kubuntu:~ $ cat gnuhealth/tryton/server/config/trytond.conf [database] uri = postgresql://localhost:5432 path = /home/gnuhealth/attach [jsonrpc] listen = *:8000 [session] super_pwd = f | ||
2015-05-18 13:12 <wsirc_7398> [options] #admin_passwd = admin #ble auto-reload of modules if changed #auto_reload = True | ||
2015-05-18 13:13 <wsirc_7398> And I installed as said gnuhealth by handbook from the sources. | ||
2015-05-18 13:15 <wsirc_7398> cycling new kind of error messages come up: Exception: Module health_lifestyle not found | ||
2015-05-18 13:16 <wsirc_7398> What might be the best move now? | ||
2015-05-18 13:22 <pokoli> wsirc_7398: installed by python setup.py? | ||
2015-05-18 13:24 <wsirc_7398> what? | ||
2015-05-18 13:25 <wsirc_7398> proteus? no by apt-get | ||
2015-05-18 13:26 <wsirc_7398> and gnuhealth:https://en.wikibooks.org/wiki/GNU_Health/Installation#Downloading_and_Installing_GNU_Health | ||
2015-05-18 13:26 <wsirc_7398> wget http://ftp.gnu.org/gnu/health/gnuhealth-latest.tar.gz Uncompress the file: tar xzf gnuhealth-latest.tar.gz cd gnuhealth-* Run the gnuhealth_install.sh script ./gnuhealth_install.sh | ||
2015-05-18 13:28 <pokoli> wsirc_7398: don't know which trytond is importing proteus, but I'm sure not the on one /home/gnuhealth/gnuhealth/tryton/server/trytond-3.4.3 | ||
2015-05-18 13:28 <pokoli> wsirc_7398: could you append this dir to path before importing proteus? | ||
2015-05-18 13:29 <wsirc_7398> config.set_trytond(database_name=’gnuhealth’,database_type=’postgresql’, password=’444nh4′,config_file=’/home/gnuhealth/gnuhealth/tryton/server/config/trytond.conf’) | ||
2015-05-18 13:29 <wsirc_7398> In : from proteus import config, Model | ||
2015-05-18 13:30 <wsirc_7398> This is what I am saying to proteus | ||
2015-05-18 13:31 <wsirc_7398> and this:In : export PYTHONPATH="/home/gnuhealth/gnuhealth/tryton/server/trytond-3.4.3/bin" | ||
2015-05-18 13:31 -!- marc0s(~marcos@unaffiliated/marc0s) has joined #tryton | ||
2015-05-18 13:31 <pokoli> wsirc_7398: http://www.johnny-lin.com/cdat_tips/tips_pylang/path.html before importing proteus | ||
2015-05-18 13:32 <wsirc_7398> gnuhealth@kubuntu:~ $ which trytond /usr/bin/trytond gnuhealth@kubuntu:~ $ echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games | ||
2015-05-18 13:32 <wsirc_7398> aha | ||
2015-05-18 13:35 -!- smarro(~sebastian@190.105.93.196) has joined #tryton | ||
2015-05-18 13:41 <wsirc_7398> gnuhealth@kubuntu:~ $ echo $PATH /home/gnuhealth/gnuhealth/tryton/server/trytond-3.4.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games gnuhealth@kubuntu:~ $ which trytond /home/gnuhealth/gnuhealth/tryton/server/trytond-3.4.3/bin/trytond gnuhealth@kubuntu:~ $ | ||
2015-05-18 13:42 <pokoli> wsirc_7398: it's PYTHON_PATH related, not related to sys PATH | ||
2015-05-18 13:43 <wsirc_7398> both paths anyway are exported pointing to: /home/gnuhealth/gnuhealth/tryton/server/trytond-3.4.3/bin | ||
2015-05-18 13:45 <wsirc_7398> now I get: ImportError: No module named trytond.config | ||
2015-05-18 13:46 <wsirc_7398> after apt-get remove tryton-server and any idea? | ||
2015-05-18 13:48 <wsirc_7398> ? | ||
2015-05-18 13:54 <wsirc_7398> So what is the final advice for it? Leave it as broken? And later bring it to the bug-database? | ||
2015-05-18 13:57 -!- zeittunnel(~234234234@p5DD18A4C.dip0.t-ipconnect.de) has joined #tryton | ||
2015-05-18 13:58 <wsirc_7398> pokoli: thank you anyway for the run. (; | ||
2015-05-18 13:58 <pokoli> wsirc_7398: several possible solutions | ||
2015-05-18 13:59 <pokoli> wsirc_7398: correctly set python path | ||
2015-05-18 13:59 <pokoli> wsirc_7398: or simlink modules from your modules folder to the correct one | ||
2015-05-18 14:20 <wsirc_7398> In : import sys In : print(sys.path)['', '/usr/bin', '/home/gnuhealth/gnuhealth/tryton/server/modules', '/home/gnuhealth/gnuhealth/tryton/server/trytond-3.4.3/bin', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/home/gnuhealth/.local/lib/python2.7/site-packages', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-pac | ||
2015-05-18 14:21 <wsirc_7398> gives still the error message: ImportError: No module named trytond.config | ||
2015-05-18 14:23 <wsirc_7398> I mean this sound really buggy, does not it? trytond.config is a configuration file not a module? Who he comes up with it now? | ||
2015-05-18 14:25 <wsirc_7398> or simlink modules from your modules folder to the correct one: before apt-get remove tryton-server I got such messages of missing modules, no I get another one, possibly more serious one.. | ||
2015-05-18 14:25 <pokoli> wsirc_7398: you have an incorrect path | ||
2015-05-18 14:25 -!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton | ||
2015-05-18 14:25 <pokoli> wsirc_7398: incorrect python path, so proteus is not able to import trytond and all of the modules | ||
2015-05-18 14:26 <pokoli> wsirc_7398: nobody told it was easy :P | ||
2015-05-18 14:26 <wsirc_7398> pardon it is me I am dyslectic. Where? | ||
2015-05-18 14:27 <pokoli> ACTION was joking | ||
2015-05-18 14:27 <wsirc_7398> (; | ||
2015-05-18 14:28 <pokoli> wsirc_7398: basically its a matther of putting all the components in the right path | ||
2015-05-18 14:28 <wsirc_7398> Where did you find the incorrect path or was it figuratively meant. | ||
2015-05-18 14:28 <pokoli> wsirc_7398: because you have all the required components (trytond, proteus and modules) | ||
2015-05-18 14:29 <pokoli> wsirc_7398: but proteus doesn't find trytond, so that's a incorrect path | ||
2015-05-18 14:29 <pokoli> wsirc_7398: i will try adding /home/gnuhealth/gnuhealth/tryton/server/trytond-3.4.3 to PYTHON_PATH | ||
2015-05-18 14:32 -!- kstenger(~karla@r179-24-98-110.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2015-05-18 14:35 <wsirc_7398> pokoli: Take care is not it:PYTHONPATH | ||
2015-05-18 14:35 <wsirc_7398> instead of: PYTHON_PATH | ||
2015-05-18 14:35 <wsirc_7398> ? | ||
2015-05-18 14:42 <wsirc_7398> I get: ImportError: cannot import name CONFIG | ||
2015-05-18 14:43 <wsirc_7398> by export PYTHONPATH="/home/gnuhealth/gnuhealth/tryton/server/modules:/home/gnuhealth/gnuhealth/tryton/server/trytond-3.4.3/bin:/home/gnuhealth/gnuhealth/tryton/server/trytond-3.4.3/" | ||
2015-05-18 14:45 <wsirc_7398> pokoli: have you got or someone else got the same problems with exactly the same invocation syntax? Then it is time for a bug report, is not it? | ||
2015-05-18 14:47 <wsirc_7398> or is it more a feature gap as not all necessary paths are can not be informed to proteus arbitrarily? | ||
2015-05-18 14:47 <wsirc_7398> Question | ||
2015-05-18 14:51 <pokoli> wsirc_7398: i usally avoid modifying PYTHONPATH from outside a python script, sorry for the name mess | ||
2015-05-18 14:51 <pokoli> wsirc_7398: it's not a proteus bug | ||
2015-05-18 15:01 <wsirc_7398> it seems hardcoded where proteus gets the tryton config path from. So when you can not tell him where to find it in user space then it shall not be considered appropriate for this kind of case, no? | ||
2015-05-18 15:02 -!- smarro(~sebastian@190.173.174.168) has joined #tryton | ||
2015-05-18 15:03 <wsirc_7398> Then it were not a bug, but a feature gap, which was to be acknowledged by the manual readers, were it not? | ||
2015-05-18 15:04 <wsirc_7398> sorry for the name mess: np, I held it under control.. (; | ||
2015-05-18 15:09 <wsirc_7398> then config.set_xmlrpc | ||
2015-05-18 15:10 <wsirc_7398> will be the next bet? See you till then.. | ||
2015-05-18 15:11 <pokoli> wsirc_7398: set_xmlrpc will avoid path mess | ||
2015-05-18 15:11 <pokoli> wsirc_7398: you need to explicity start xmlrpc on your server and then it should work | ||
2015-05-18 15:13 -!- lukio(~lukio@110-189-235-201.fibertel.com.ar) has joined #tryton | ||
2015-05-18 15:18 <wsirc_7398> ok will see ... | ||
2015-05-18 15:18 <wsirc_7398> thx so far | ||
2015-05-18 15:27 <wsirc_7398> ProtocolError: <ProtocolError for admin:444nh4@localhost:8000/gnuhealth: 500 Internal Server Error> In : config.set_xmlrpc('http://admin:444nh4@localhost:8000/gnuhealth') | ||
2015-05-18 15:28 <wsirc_7398> nmap localhost|grep 8000 8000/tcp open http-alt | ||
2015-05-18 15:30 <wsirc_7398> cat /home/gnuhealth/gnuhealth/tryton/server/config/trytond.conf [database] uri = postgresql://localhost:5432 path = /home/gnuhealth/attach [jsonrpc] listen = *:8000 [session] super_pwd = fxxxxxxU [options] jsondata_path = /var/www/localhost/tryton xmlrpc = *:8069 jsonrpc = localhost:8000 | ||
2015-05-18 15:31 <pokoli> wsirc_7398: you have yo use port 8069 for xmlrpc not 8000 | ||
2015-05-18 15:32 <wsirc_7398> ProtocolError: <ProtocolError for admin:444nh4@localhost:8000/gnuhealth: 500 Internal Server Error> what could have went wrong? | ||
2015-05-18 15:32 <pokoli> wsirc_7398: check the port | ||
2015-05-18 15:33 <wsirc_7398> Question? which one? | ||
2015-05-18 15:35 <wsirc_7398> I have 8000, 5432 and 8069, of which I see two with nmap? Where is it bad? | ||
2015-05-18 15:35 <wsirc_7398> I see: "8069 for xmlrpc not 8000" | ||
2015-05-18 15:35 <wsirc_7398> Where to fit in? | ||
2015-05-18 15:37 <wsirc_7398> jsonrpc = localhost:8069? | ||
2015-05-18 15:37 <wsirc_7398> listen = *:8069 | ||
2015-05-18 15:38 <pokoli> wsirc_7398: see http://doc.tryton.org/3.6/trytond/doc/topics/configuration.html#topics-configuration | ||
2015-05-18 15:39 <pokoli> usually 5432 is for postgresql (database server), 8000 for jsonrpc and 8069 for xmlrpc | ||
2015-05-18 15:39 <pokoli> wsirc_7398: but you can use the ports you want if you define correctly in the configuration file | ||
2015-05-18 15:51 <wsirc_7398> PORT STATE SERVICE 8069/tcp open unknown Nmap done: 1 IP address (1 host up) scanned in 0.39 seconds root@kubuntu:~# nmap localhost -p 8069 | ||
2015-05-18 15:51 <wsirc_7398> [Mon May 18 13:46:53 2015] INFO:trytond.server:starting JSON-RPC protocol on *:8069 | ||
2015-05-18 15:51 <wsirc_7398> ProtocolError: <ProtocolError for admin:444nh4@localhost:8069/gnuhealth: 500 Internal Server Error> In : config.set_xmlrpc('http://admin:444nh4@localhost:8069/gnuhealth') | ||
2015-05-18 15:52 <wsirc_7398> root@kubuntu:~# cat /home/gnuhealth/gnuhealth/tryton/server/config/trytond.conf|grep 80 #listen = *:8000 listen = *:8069 xmlrpc = localhost:8069 #jsonrpc = localhost:8000 #jsonrpc = localhost:8069 | ||
2015-05-18 15:53 <wsirc_7398> what was wrong? | ||
2015-05-18 15:53 <wsirc_7398> serverlogs says that I am having SON-RPC protocol on *:8069 | ||
2015-05-18 15:54 <wsirc_7398> but xml-rpc is supposed to? Or did I misunderstand a detail? | ||
2015-05-18 15:57 -!- bvillasanti(~bvillasan@181.16.21.34) has joined #tryton | ||
2015-05-18 16:02 <wsirc_7398> opinions? | ||
2015-05-18 16:08 <wsirc_7398> Is there anybody who had it working once? Can you please give me a trytond.conf and the invoking syntax, the http://doc.tryton.org/3.6/trytond/doc/topics/configuration.html#topics-configuration | ||
2015-05-18 16:10 <wsirc_7398> gives not only general information unfortunately. | ||
2015-05-18 16:10 <pokoli> wsirc_7398: which proteus version and server version do you have? | ||
2015-05-18 16:10 <wsirc_7398> mom | ||
2015-05-18 16:14 <wsirc_7398> ii tryton-proteus 3.0.0-3 trytond-3.4.3 | ||
2015-05-18 16:15 <wsirc_7398> pokoli | ||
2015-05-18 16:15 <pokoli> wsirc_7398: you have to use same series, so if you have trytond-3.4, you should use a proteus from 3.4 series | ||
2015-05-18 16:16 <wsirc_7398> how? | ||
2015-05-18 16:16 <wsirc_7398> by pip? | ||
2015-05-18 16:18 <wsirc_7398> root@kubuntu:~# pip install tryton-proteus Downloading/unpacking tryton-proteus Could not find any downloads that satisfy the requirement tryton-proteus Cleaning up... No distributions at all found for tryton-proteus Storing debug log for failure in /home/kubuntu/.pip/pip.log | ||
2015-05-18 16:18 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton | ||
2015-05-18 16:21 <wsirc_7398> Successfully installed proteus Cleaning up... root@kubuntu:~# pip install proteus | ||
2015-05-18 16:21 <wsirc_7398> ok then | ||
2015-05-18 16:22 <pokoli> wsirc_7398: ensure that you install 3.4 series, as last available version is 3.6 | ||
2015-05-18 16:22 <pokoli> wsirc_7398: pip install "proteus >=3.4,<=3.5" | ||
2015-05-18 16:25 <wsirc_7398> root@kubuntu:~# pip uninstall proteus Uninstalling proteus: /usr/local/lib/python2.7/dist-packages/proteus-3.4.3.egg-info | ||
2015-05-18 16:26 <wsirc_7398> thank you for that now we have matching versions, but: | ||
2015-05-18 16:26 -!- jmousset(~jeremy@cpe-et001942.cust.jaguar-network.net) has joined #tryton | ||
2015-05-18 16:26 <wsirc_7398> ProtocolError: <ProtocolError for admin:444nh4@localhost:8069/gnuhealth: 500 Internal Server Error> | ||
2015-05-18 16:28 <pokoli> wsirc_7398: could you upload server log to pastebin (or similar) ? | ||
2015-05-18 16:29 <pokoli> wsirc_7398: I can not say anything else with more info | ||
2015-05-18 16:37 <wsirc_7398> pokoli:http://pastebin.com/zuUYhbB6 | ||
2015-05-18 16:39 <cedk> wsirc_7398: you run a json-rpc protocol on 8069 instead of an xml-rpc protocol | ||
2015-05-18 16:43 <wsirc_7398> so then thank you, how do I make my config run xml-rpc protocol, ask I? | ||
2015-05-18 16:43 <wsirc_7398> hi cedk | ||
2015-05-18 16:43 <wsirc_7398> btw | ||
2015-05-18 16:45 <cedk> wsirc_7398: http://doc.tryton.org/3.6/trytond/doc/topics/configuration.html#xmlrpc | ||
2015-05-18 16:45 <wsirc_7398> see conf in pastebin | ||
2015-05-18 16:49 <pokoli> wsirc_7398: you have to create a new section from xmlrpc, not modify jsonrpc | ||
2015-05-18 16:56 <sisalp> hello, | ||
2015-05-18 16:56 <sisalp> seems hg nclone -b 3.6 http://hg.tryton.org/trytond/ gets a partial list of modules | ||
2015-05-18 17:01 <cedk> sisalp: it can not work as new module without a 3.6 branch are there | ||
2015-05-18 17:02 <cedk> sisalp: you must use hg.tryton.org/3.6/trytond | ||
2015-05-18 17:06 <wsirc_7398> In : config.set_xmlrpc('http://admin:444nh4@localhost:8069/gnuhealth') Out: proteus.config.XmlrpcConfig('http://admin:444nh4@localhost:8069/gnuhealth') | ||
2015-05-18 17:25 <sisalp> cedk: [server/trytond/modules/account] | ||
2015-05-18 17:25 <sisalp> abandon : HTTP Error 404: Not Found | ||
2015-05-18 17:26 <wsirc_7398> pokoli,cedk: You were right, my user mistake have been not to follow the hint in the config official config-file. cat gnuhealth/tryton/server/config/trytond.conf|grep -A1 xmpm #these changes #xmpm [xmlrpc] #xmpm listen = localhost:8069 -- #xmpm xmlrpc = *:8069 -- #xmpm ssl_xmlrpc = False [Mon May 18 15:20:21 2015] INFO:trytond.server:starting JSON-RPC protocol on localhost:8000 [Mon May 18 15:20:21 2015] INFO:trytond.server:starting XML-RPC pro | ||
2015-05-18 17:26 <wsirc_7398> thank you two | ||
2015-05-18 17:28 -!- kstenger1(~karla@r179-25-104-149.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2015-05-18 17:29 -!- Telesight(~anthony@4dafef36.ftth.telfortglasvezel.nl) has joined #tryton | ||
2015-05-18 17:38 -!- unicode2013(~unicode20@host81-133-106-167.in-addr.btopenworld.com) has joined #tryton | ||
2015-05-18 17:40 <wsirc_7398> had been nice and I am happy in the end of the day (: | ||
2015-05-18 17:40 <cedk> sisalp: fixed | ||
2015-05-18 17:51 <sisalp> cedk: hg nclone http://hg.tryton.org/3.6/trytond/ works for me. Thank you. | ||
2015-05-18 17:52 <cedk> sisalp: becareful, I just saw that ldap_connection was still listed there | ||
2015-05-18 17:55 <sisalp> cedk: yes I got it | ||
2015-05-18 17:55 <wsirc_7398> http://pastebin.com/zY0U2uaC | ||
2015-05-18 17:55 <wsirc_7398> rror: [Errno 111] Connection refused | ||
2015-05-18 17:56 <wsirc_7398> Can anybody help me how to connect these guys? | ||
2015-05-18 17:56 <wsirc_7398> then | ||
2015-05-18 17:56 <wsirc_7398> tia | ||
2015-05-18 17:56 -!- TheCowboy(~TheCowboy@ip68-98-179-34.dc.dc.cox.net) has joined #tryton | ||
2015-05-18 17:57 <sisalp> cedk: I 'm determining the list of modules, then I'll install them with pip | ||
2015-05-18 17:57 -!- TheCowboy(~TheCowboy@ip68-98-179-34.dc.dc.cox.net) has joined #tryton | ||
2015-05-18 18:14 <rmu> wsirc_7398: not clear what you are trying to connect to | ||
2015-05-18 18:15 <rmu> wsirc_7398: health.gnusolidario.org probably doesn't have xmlrpc protocol active | ||
2015-05-18 18:16 <sisalp> for the client, hg clone -b 3.6 http://hg.tryton.org/tryton/ does the job | ||
2015-05-18 18:20 -!- frispete(~frispete@p54A90E5B.dip0.t-ipconnect.de) has joined #tryton | ||
2015-05-18 18:27 -!- newzen(~newzen@200.93.105.237) has joined #tryton | ||
2015-05-18 18:37 -!- kstenger(~karla@r179-24-232-188.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2015-05-18 18:46 <wsirc_7398> hi rmu | ||
2015-05-18 18:50 <wsirc_7398> It does not connect because of: 1. firewall 2.not sure if gnusolidario org goes xmlrpc, if not I cannot connect with this function, cannot I. If this host is jasonrpc only, can proteus connect it, at all? | ||
2015-05-18 18:53 -!- sunny_dealmeida(~quassel@203.76.185.173) has joined #tryton | ||
2015-05-18 19:01 -!- smarro(~sebastian@190.105.93.196) has joined #tryton | ||
2015-05-18 19:01 -!- smarro_(~sebastian@190.105.93.196) has joined #tryton | ||
2015-05-18 19:02 -!- smarro(~sebastian@190.105.93.196) has joined #tryton | ||
2015-05-18 19:34 <sisalp> seems trytond 3.6 is less verbose than previous version 3.4, isn't it ? | ||
2015-05-18 20:00 <rmu> wsirc_7398: if this host is jsonrpc-only, then you can not connect with xmlrpc. | ||
2015-05-18 20:00 <rmu> wsirc_7398: if it's easier in german, there is #tryton.de | ||
2015-05-18 20:15 -!- munron(~AndChat68@197.211.216.214) has joined #tryton | ||
2015-05-18 20:18 -!- ralf58(~ralf@2a02:908:e679:5340:f9c3:5951:e6d6:b7a9) has joined #tryton | ||
2015-05-18 20:18 -!- rpit(~ralf@2a02:908:e679:5340:f9c3:5951:e6d6:b7a9) has joined #tryton | ||
2015-05-18 20:41 <cedk> sisalp: yes, it is quite by default but you can fine tune logging | ||
2015-05-18 20:42 <cedk> sisalp: http://doc.tryton.org/3.6/trytond/doc/topics/logs.html | ||
2015-05-18 20:47 -!- VaticanCameos(~pritishc@182.68.220.187) has joined #tryton | ||
2015-05-18 20:47 -!- smarro(~sebastian@190.105.93.196) has joined #tryton | ||
2015-05-18 21:06 -!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton | ||
2015-05-18 21:11 -!- kstenger(~karla@r167-56-220-142.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2015-05-18 21:15 -!- munron(~AndChat68@197.211.216.214) has joined #tryton | ||
2015-05-18 21:30 -!- rpit(~ralf@2a02:908:e679:5340:b837:ae9f:8e85:7af3) has joined #tryton | ||
2015-05-18 21:31 -!- munron(~AndChat68@197.211.216.214) has joined #tryton | ||
2015-05-18 21:36 <wsirc_7398> rmu: Is he? Cannot it be done by proteus at all? | ||
2015-05-18 21:36 -!- bvillasanti(~bvillasan@181.16.21.34) has joined #tryton | ||
2015-05-18 21:43 -!- ralf58(~ralf@2a02:908:e679:5340:f9c3:5951:e6d6:b7a9) has joined #tryton | ||
2015-05-18 21:43 -!- ralfx58(~ralf@2a02:908:e679:5340:f9c3:5951:e6d6:b7a9) has joined #tryton | ||
2015-05-18 21:50 -!- bechamel1(~Adium@host-85-201-213-94.dynamic.voo.be) has joined #tryton | ||
2015-05-18 21:53 <rmu> wsirc_7398: proteus only can use xmlrpc or local (in-process) trytond | ||
2015-05-18 21:53 -!- hiaselhans(~Thunderbi@212.186.50.97) has joined #tryton | ||
2015-05-18 22:15 <wsirc_7398> ok, then it is to check if gnusolidario.org has a port for xmlrpc open? Does anyone know? | ||
2015-05-18 22:15 -!- AndChat|68096(~AndChat68@197.211.216.214) has joined #tryton | ||
2015-05-18 22:20 <wsirc_7398> root@kubuntu:~# nmap health.gnusolidario.org -p 8000|grep 80 8000/tcp open http-alt root@kubuntu:~# nmap health.gnusolidario.org -p 8069|grep 80 8069/tcp closed unknown | ||
2015-05-18 22:22 <wsirc_7398> This means health.gnusolidario.org offers no connect via 8069, so probably none per xmlrpc, is not accessible through proteus. What can one do? | ||
2015-05-18 22:23 <wsirc_7398> so is not accessible through proteus | ||
2015-05-18 22:23 <wsirc_7398> thanks rmu | ||
2015-05-18 22:23 -!- lukio(~lukio@110-189-235-201.fibertel.com.ar) has left #tryton | ||
2015-05-18 22:26 -!- nicoe(~nicoe@2a02:a03f:3068:4b00:ee55:f9ff:fe7b:f7ac) has joined #tryton | ||
2015-05-18 22:40 -!- nineinchnick(~jwas@185.13.233.193) has joined #tryton | ||
2015-05-18 23:15 -!- munron(~AndChat68@197.211.216.214) has joined #tryton | ||
2015-05-18 23:26 -!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton | ||
2015-05-18 23:37 -!- bvillasanti(~bvillasan@181.16.21.34) has joined #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!