IRC logs of #tryton for Tuesday, 2014-07-29

chat.freenode.net #tryton log beginning Tue Jul 29 00:00:01 CEST 2014
-!- smarro(~sebastian@201.251.135.150) has joined #tryton01:03
-!- smarro(~sebastian@201.251.135.150) has joined #tryton03:59
-!- digitalsatori(~Thunderbi@116.234.117.101) has joined #tryton04:57
-!- digitalsatori(~Thunderbi@116.234.117.101) has joined #tryton06:22
-!- VaticanCameos(~pritishc@182.68.114.1) has joined #tryton06:32
-!- frispete(~frispete@p54A91D2F.dip0.t-ipconnect.de) has joined #tryton06:41
-!- yangoon1(~mathiasb@p549F0F0F.dip0.t-ipconnect.de) has joined #tryton07:02
-!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton07:25
-!- marius_(~marius@v100.nfq.lt) has joined #tryton07:39
-!- VaticanCameos(~pritishc@182.68.114.1) has joined #tryton08:39
VaticanCameosHello all. I was following the SetupAndStart guide for Tryton. I am running trytond in one terminal window, and tryton in another. Within Tryton, I try to create a database using localhost:8001 (I set it as 8001 in /etc/trytond.conf) but it says "Could not connect to the server 1. Try to check if server is running..." etc. I had installed tryton within a virtualenv via virtualenvwrapper but I dont think that should matter. Any tips would be greatly08:47
VaticanCameosappreciated.08:47
VaticanCameosI am on LinuxMint Qiana.08:48
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:48
VaticanCameosI have also tried port 8000 but that wasn't working either originally.08:48
-!- jeancavallo(~giovanni@LPuteaux-656-01-230-52.w80-12.abo.wanadoo.fr) has joined #tryton08:55
VaticanCameosCould someone please point me to where I'm going wrong?09:06
PilouVaticanCameos: https://code.google.com/p/tryton/wiki/UserFAQ#I%27m_getting_%22Could_not_connect_to_server%2209:07
-!- ronaldm(~ronaldm@197.211.216.214) has joined #tryton09:09
VaticanCameosPilou: 1. Check 2. It shows 127.0.0.1:8001, so check. 3. trytond.conf is okay. Check. 4. telnet is working too. Check. 5. a) postgres is running, check. b) "sudo -u tryton psql -h localhost template1 tryton" is working, so check.09:13
Pilouuse 127.0.0.1:800109:13
VaticanCameosPilou: Same result. It says could not connect.09:14
VaticanCameosPilou: when trying to use localhost:8001 on the DB creation form, I also get this strange error sometimes in the Tryton server - [29/Jul/2014 07:20:51] code 400, message Bad HTTP/0.9 request type ("\x16\x03\x01\x01(\x01\x00\x01$\x03\x03H\xedos\xe3*v\x17\xeb\xef\xd8\x8b\xf5m\xc6Y$\x8a\x9c_\x07\x9c*\x03'")09:25
Pilouthis error isn't important (the tryton client try to use https first and then http)09:26
-!- pobsteta(~Thunderbi@37.160.247.193) has joined #tryton09:27
VaticanCameosPilou: hmm okay09:30
VaticanCameosThanks for your time Pilou. If you have any other suggestions I am all ears.09:32
cedkVaticanCameos: localhost could not point to 127.0.0.109:33
Pilouyou could check if the user is allowed to create a database (try to create one manually)09:34
VaticanCameoscedk: o.O but localhost is 127.0.0.1 isn't it? I have also tried entering 127.0.0.1 in trytond.conf and in the DB creation form, it still doesn't connect.09:34
VaticanCameosPilou: Trying this, one minute.09:34
-!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton09:38
VaticanCameosPilou: I did "su - tryton", then I did "psql -d template1 -U tryton" within the prompt that was generated.09:38
VaticanCameosI am in the psql prompt now, with template1=> showing.09:39
Piloutry to create a test database using "create database testdb;"09:39
VaticanCameosPilou: done.09:40
VaticanCameosStill not able to connect to 127.0.0.1:8000/8001 (tried both ports).09:41
Pilouso the user is allowed to create a database, it's not the source of the problem09:41
VaticanCameosHmmm..09:41
Pilou'strange error' would not appear if the tryton client was not able to connect to the tryton server09:42
VaticanCameosSo you're saying it is able to connect? if so, it should allow me to enter details on the form.09:46
-!- pobsteta(~Thunderbi@37.160.173.112) has joined #tryton09:49
cedkVaticanCameos: are you using the same series for the client and the server10:02
VaticanCameoscedk: Pardon me for my newness, but what do you mean by 'same series' for client and server?10:03
cedkVaticanCameos: same two first numbers10:04
VaticanCameoscedk: you mean version numbers?10:05
cedkVaticanCameos: yes10:06
VaticanCameoscedk: tryton is 3.2.2 and trytond is 3.2.1.10:06
-!- nicoe(~nicoe@balisto.office.b2ck.com) has joined #tryton10:06
VaticanCameosbrb10:19
-!- digitalsatori(~Thunderbi@116.234.117.101) has joined #tryton10:20
-!- digitalsatori(~Thunderbi@116.234.117.101) has joined #tryton10:25
-!- digitalsatori(~Thunderbi@116.234.117.101) has joined #tryton10:53
-!- pobsteta(~Thunderbi@37.160.173.112) has joined #tryton10:56
-!- VaticanCameos(~pritishc@182.68.114.1) has joined #tryton11:10
-!- digitalsatori(~Thunderbi@116.234.117.101) has joined #tryton11:15
-!- frispete(~frispete@p54A91D2F.dip0.t-ipconnect.de) has joined #tryton11:40
VaticanCameoscedk, Pilou: I tried to run trytond with --debug. This is the stack trace I get when trying to change the host:port to localhost:8000 from within the Tryton client. http://pastebin.com/sva4zaR511:48
VaticanCameosThe host:port bit is of course done in the DB creation form.11:49
-!- digitalsatori(~Thunderbi@116.234.117.101) has joined #tryton11:52
cedkVaticanCameos: is your known_hosts file clean?11:53
cedkVaticanCameos: and which version of psycopg2 are you using?11:54
VaticanCameoscedk: It has a bunch of keys which I presume are due to GitHub.11:54
VaticanCameos~/.ssh/known_hosts right?11:54
VaticanCameoscedk: I don't think I have psycopg2 installed..12:01
cedkVaticanCameos: I mean the one of tryton not ssh12:02
cedkVaticanCameos: if you don't have psycopg2, than it is that12:02
VaticanCameosI've just installed it and it is now 2.5.3.12:02
VaticanCameoscedk: That did it. Thank you so much!!12:03
-!- nicoe(~nicoe@85.26.36.239) has joined #tryton13:24
-!- ronaldm(~ronaldm@197.221.241.182) has joined #tryton13:27
-!- pobsteta(~Thunderbi@37.160.173.112) has joined #tryton14:04
-!- smarro(~sebastian@200.107.230.29) has joined #tryton14:20
-!- meanmicio(~meanmicio@136.Red-83-38-121.dynamicIP.rima-tde.net) has joined #tryton14:36
-!- meanmicio(~meanmicio@fsf/member/meanmicio) has joined #tryton14:36
-!- VaticanCameos(~pritishc@182.68.114.1) has joined #tryton14:51
-!- ronaldm(~ronaldm@197.221.242.70) has joined #tryton15:03
VaticanCameosHello again all. I have my modules in trytond/modules. However they are not showing up in the Modules section in Tryton client. Is there something I'm missing?15:40
VaticanCameosNevermind, I got it.15:43
VaticanCameoshad to do a update all.15:43
pokoliVaticanCameos: if you copy new modules, you have to update at least on module on the existing databases to refresh the modules list :)15:58
VaticanCameospokoli: understood..thanks!16:01
-!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton16:09
-!- pobsteta(~Thunderbi@37.160.175.158) has joined #tryton16:18
-!- ronaldm(~ronaldm@197.221.242.70) has joined #tryton16:37
-!- gremly(~gremly@190.85.36.58) has joined #tryton16:39
-!- ronaldm(~ronaldm@197.221.242.70) has joined #tryton16:51
-!- kstenger(~karla@r179-24-29-91.dialup.adsl.anteldata.net.uy) has joined #tryton16:53
-!- ronaldm(~ronaldm@197.211.216.214) has joined #tryton17:22
-!- alisonken1lap3(~alisonken@18.18.ultimate-int.uia.net) has joined #tryton17:33
-!- digitalsatori(~Thunderbi@116.234.181.110) has joined #tryton17:44
-!- kstenger(~karla@r179-24-16-209.dialup.adsl.anteldata.net.uy) has joined #tryton18:51
-!- marius_(~marius@84.240.8.12) has joined #tryton19:50
-!- kstenger(~karla@r179-24-16-209.dialup.adsl.anteldata.net.uy) has joined #tryton21:06
-!- kstenger(~karla@r186-52-41-16.dialup.adsl.anteldata.net.uy) has joined #tryton21:09
-!- digitalsatori(~Thunderbi@116.234.181.110) has joined #tryton21:22
-!- pjstevns(~Thunderbi@2001:981:7170:1:681a:72a8:67c5:9544) has joined #tryton22:13
-!- pjstevns(~Thunderbi@2001:981:7170:1:681a:72a8:67c5:9544) has joined #tryton22:41
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:51
-!- smarro(~sebastian@201.251.135.150) has joined #tryton23:28

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!