chat.freenode.net #tryton log beginning Tue Jul 29 00:00:01 CEST 2014 | ||
-!- smarro(~sebastian@201.251.135.150) has joined #tryton | 01:03 | |
-!- smarro(~sebastian@201.251.135.150) has joined #tryton | 03:59 | |
-!- digitalsatori(~Thunderbi@116.234.117.101) has joined #tryton | 04:57 | |
-!- digitalsatori(~Thunderbi@116.234.117.101) has joined #tryton | 06:22 | |
-!- VaticanCameos(~pritishc@182.68.114.1) has joined #tryton | 06:32 | |
-!- frispete(~frispete@p54A91D2F.dip0.t-ipconnect.de) has joined #tryton | 06:41 | |
-!- yangoon1(~mathiasb@p549F0F0F.dip0.t-ipconnect.de) has joined #tryton | 07:02 | |
-!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton | 07:25 | |
-!- marius_(~marius@v100.nfq.lt) has joined #tryton | 07:39 | |
-!- VaticanCameos(~pritishc@182.68.114.1) has joined #tryton | 08:39 | |
VaticanCameos | Hello 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 greatly | 08:47 |
---|---|---|
VaticanCameos | appreciated. | 08:47 |
VaticanCameos | I am on LinuxMint Qiana. | 08:48 |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 08:48 | |
VaticanCameos | I 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 #tryton | 08:55 | |
VaticanCameos | Could someone please point me to where I'm going wrong? | 09:06 |
Pilou | VaticanCameos: https://code.google.com/p/tryton/wiki/UserFAQ#I%27m_getting_%22Could_not_connect_to_server%22 | 09:07 |
-!- ronaldm(~ronaldm@197.211.216.214) has joined #tryton | 09:09 | |
VaticanCameos | Pilou: 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 |
Pilou | use 127.0.0.1:8001 | 09:13 |
VaticanCameos | Pilou: Same result. It says could not connect. | 09:14 |
VaticanCameos | Pilou: 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 |
Pilou | this 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 #tryton | 09:27 | |
VaticanCameos | Pilou: hmm okay | 09:30 |
VaticanCameos | Thanks for your time Pilou. If you have any other suggestions I am all ears. | 09:32 |
cedk | VaticanCameos: localhost could not point to 127.0.0.1 | 09:33 |
Pilou | you could check if the user is allowed to create a database (try to create one manually) | 09:34 |
VaticanCameos | cedk: 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 |
VaticanCameos | Pilou: Trying this, one minute. | 09:34 |
-!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton | 09:38 | |
VaticanCameos | Pilou: I did "su - tryton", then I did "psql -d template1 -U tryton" within the prompt that was generated. | 09:38 |
VaticanCameos | I am in the psql prompt now, with template1=> showing. | 09:39 |
Pilou | try to create a test database using "create database testdb;" | 09:39 |
VaticanCameos | Pilou: done. | 09:40 |
VaticanCameos | Still not able to connect to 127.0.0.1:8000/8001 (tried both ports). | 09:41 |
Pilou | so the user is allowed to create a database, it's not the source of the problem | 09:41 |
VaticanCameos | Hmmm.. | 09:41 |
Pilou | 'strange error' would not appear if the tryton client was not able to connect to the tryton server | 09:42 |
VaticanCameos | So 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 #tryton | 09:49 | |
cedk | VaticanCameos: are you using the same series for the client and the server | 10:02 |
VaticanCameos | cedk: Pardon me for my newness, but what do you mean by 'same series' for client and server? | 10:03 |
cedk | VaticanCameos: same two first numbers | 10:04 |
VaticanCameos | cedk: you mean version numbers? | 10:05 |
cedk | VaticanCameos: yes | 10:06 |
VaticanCameos | cedk: tryton is 3.2.2 and trytond is 3.2.1. | 10:06 |
-!- nicoe(~nicoe@balisto.office.b2ck.com) has joined #tryton | 10:06 | |
VaticanCameos | brb | 10:19 |
-!- digitalsatori(~Thunderbi@116.234.117.101) has joined #tryton | 10:20 | |
-!- digitalsatori(~Thunderbi@116.234.117.101) has joined #tryton | 10:25 | |
-!- digitalsatori(~Thunderbi@116.234.117.101) has joined #tryton | 10:53 | |
-!- pobsteta(~Thunderbi@37.160.173.112) has joined #tryton | 10:56 | |
-!- VaticanCameos(~pritishc@182.68.114.1) has joined #tryton | 11:10 | |
-!- digitalsatori(~Thunderbi@116.234.117.101) has joined #tryton | 11:15 | |
-!- frispete(~frispete@p54A91D2F.dip0.t-ipconnect.de) has joined #tryton | 11:40 | |
VaticanCameos | cedk, 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/sva4zaR5 | 11:48 |
VaticanCameos | The host:port bit is of course done in the DB creation form. | 11:49 |
-!- digitalsatori(~Thunderbi@116.234.117.101) has joined #tryton | 11:52 | |
cedk | VaticanCameos: is your known_hosts file clean? | 11:53 |
cedk | VaticanCameos: and which version of psycopg2 are you using? | 11:54 |
VaticanCameos | cedk: It has a bunch of keys which I presume are due to GitHub. | 11:54 |
VaticanCameos | ~/.ssh/known_hosts right? | 11:54 |
VaticanCameos | cedk: I don't think I have psycopg2 installed.. | 12:01 |
cedk | VaticanCameos: I mean the one of tryton not ssh | 12:02 |
cedk | VaticanCameos: if you don't have psycopg2, than it is that | 12:02 |
VaticanCameos | I've just installed it and it is now 2.5.3. | 12:02 |
VaticanCameos | cedk: That did it. Thank you so much!! | 12:03 |
-!- nicoe(~nicoe@85.26.36.239) has joined #tryton | 13:24 | |
-!- ronaldm(~ronaldm@197.221.241.182) has joined #tryton | 13:27 | |
-!- pobsteta(~Thunderbi@37.160.173.112) has joined #tryton | 14:04 | |
-!- smarro(~sebastian@200.107.230.29) has joined #tryton | 14:20 | |
-!- meanmicio(~meanmicio@136.Red-83-38-121.dynamicIP.rima-tde.net) has joined #tryton | 14:36 | |
-!- meanmicio(~meanmicio@fsf/member/meanmicio) has joined #tryton | 14:36 | |
-!- VaticanCameos(~pritishc@182.68.114.1) has joined #tryton | 14:51 | |
-!- ronaldm(~ronaldm@197.221.242.70) has joined #tryton | 15:03 | |
VaticanCameos | Hello 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 |
VaticanCameos | Nevermind, I got it. | 15:43 |
VaticanCameos | had to do a update all. | 15:43 |
pokoli | VaticanCameos: if you copy new modules, you have to update at least on module on the existing databases to refresh the modules list :) | 15:58 |
VaticanCameos | pokoli: understood..thanks! | 16:01 |
-!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton | 16:09 | |
-!- pobsteta(~Thunderbi@37.160.175.158) has joined #tryton | 16:18 | |
-!- ronaldm(~ronaldm@197.221.242.70) has joined #tryton | 16:37 | |
-!- gremly(~gremly@190.85.36.58) has joined #tryton | 16:39 | |
-!- ronaldm(~ronaldm@197.221.242.70) has joined #tryton | 16:51 | |
-!- kstenger(~karla@r179-24-29-91.dialup.adsl.anteldata.net.uy) has joined #tryton | 16:53 | |
-!- ronaldm(~ronaldm@197.211.216.214) has joined #tryton | 17:22 | |
-!- alisonken1lap3(~alisonken@18.18.ultimate-int.uia.net) has joined #tryton | 17:33 | |
-!- digitalsatori(~Thunderbi@116.234.181.110) has joined #tryton | 17:44 | |
-!- kstenger(~karla@r179-24-16-209.dialup.adsl.anteldata.net.uy) has joined #tryton | 18:51 | |
-!- marius_(~marius@84.240.8.12) has joined #tryton | 19:50 | |
-!- kstenger(~karla@r179-24-16-209.dialup.adsl.anteldata.net.uy) has joined #tryton | 21:06 | |
-!- kstenger(~karla@r186-52-41-16.dialup.adsl.anteldata.net.uy) has joined #tryton | 21:09 | |
-!- digitalsatori(~Thunderbi@116.234.181.110) has joined #tryton | 21:22 | |
-!- pjstevns(~Thunderbi@2001:981:7170:1:681a:72a8:67c5:9544) has joined #tryton | 22:13 | |
-!- pjstevns(~Thunderbi@2001:981:7170:1:681a:72a8:67c5:9544) has joined #tryton | 22:41 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 22:51 | |
-!- smarro(~sebastian@201.251.135.150) has joined #tryton | 23:28 |
Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!