IRC logs of #tryton for Monday, 2016-02-22

chat.freenode.net #tryton log beginning Mon Feb 22 00:00:02 CET 2016
2016-02-22 00:23 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-02-22 00:30 -!- aroncero(~aroncero@86.63.19.153) has joined #tryton
2016-02-22 04:06 -!- kstenger1(~karla@r186-50-2-36.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-02-22 05:33 -!- leio(~leio@gentoo/developer/leio) has joined #tryton
2016-02-22 06:40 -!- leio_(~leio@gentoo/developer/leio) has joined #tryton
2016-02-22 07:40 -!- frispete(~frispete@84.169.25.37) has joined #tryton
2016-02-22 07:47 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-02-22 07:51 -!- aroncero(~aroncero@86.63.19.153) has joined #tryton
2016-02-22 08:13 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton
2016-02-22 08:19 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-02-22 09:04 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2016-02-22 09:14 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-02-22 09:30 -!- Timitos(~kpreisler@tmo-104-122.customers.d1-online.com) has joined #tryton
2016-02-22 09:42 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2016-02-22 10:29 <jcm> cedk: ok, merci
2016-02-22 10:36 -!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton
2016-02-22 10:54 -!- meanmicio(~lfm@fsf/member/meanmicio) has joined #tryton
2016-02-22 13:11 -!- smarro(~sebastian@186.135.129.182) has joined #tryton
2016-02-22 13:45 -!- dignifiedaction(~ambience@db-tymydkwl-bgb9sd5ny-3.rev.dnainternet.fi) has joined #tryton
2016-02-22 13:47 <dignifiedaction> hi!... I have a problem with Tryton on Linux Mint not starting at all, giving no error messages. Suspect the PostgreSQL connection, but don't know how to check if that's the culprit or not.
2016-02-22 13:48 <dignifiedaction> that's the server. Client starts, but can't connect localhost.
2016-02-22 13:49 <dignifiedaction> anyone have pointers to what to check first and how?
2016-02-22 13:51 <dignifiedaction> the log file is not informative at all, since all it says is it's using /etc/trytond.conf and is initialising distributed objects services, nothing more.
2016-02-22 13:51 <dignifiedaction> an error message would be nice
2016-02-22 13:54 <dignifiedaction> ok, I tried running trytond from the command line, and it gave me a socket.error, maybe that's what's causing it to stop
2016-02-22 13:58 <dignifiedaction> ok, I had a previous instance running that the system service manager didn't see
2016-02-22 13:59 <dignifiedaction> so I killed all instances of tryton and trytond, and tried starting the service again and it worked!
2016-02-22 13:59 <dignifiedaction> although... the client still isn't connecting
2016-02-22 14:02 <pokoli> dignifiedaction: have you created any database?
2016-02-22 14:05 <dignifiedaction> not sure, created a user like a documentation on the web told me to
2016-02-22 14:06 <dignifiedaction> ah, found the How to set up a database documentation on tryton.org
2016-02-22 14:07 -!- juanfe(~juanfe@181.143.145.58) has joined #tryton
2016-02-22 14:08 <dignifiedaction> ok, the command responds with: trytond: error: no such option: --all
2016-02-22 14:08 <dignifiedaction> tried to run: trytond -c <config file> -d <database name> --all
2016-02-22 14:13 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton
2016-02-22 14:21 <dignifiedaction> no idea.
2016-02-22 14:34 <Timitos> dignifiedaction: looks like you installed an old version. which version of tryton did you install?
2016-02-22 14:36 -!- juanfe(~juanfe@181.143.145.58) has joined #tryton
2016-02-22 14:37 -!- bvillasanti(~bvillasan@190.105.71.186) has joined #tryton
2016-02-22 14:46 <dignifiedaction> let's see
2016-02-22 14:47 <dignifiedaction> 3.0.2-1
2016-02-22 14:48 <dignifiedaction> that's from the Ubuntu LTS repositories I think
2016-02-22 14:49 <dignifiedaction> I'll try the pip install
2016-02-22 14:55 -!- bvillasanti(~bvillasan@190.105.71.186) has joined #tryton
2016-02-22 14:56 <dignifiedaction> ok, need to take a break. I'll be back later...
2016-02-22 15:04 -!- bvillasanti(~bvillasan@190.105.71.186) has joined #tryton
2016-02-22 15:07 -!- bvillasanti(~bvillasan@190.105.71.186) has joined #tryton
2016-02-22 15:52 -!- JosDzG(~Thunderbi@189.148.209.108) has joined #tryton
2016-02-22 15:58 <perilla> cedk: on issue 3211 about porting modules to python 3. I dont use Tox before, can you explain me this, or post a link with documentation... I dont have problem with the other steps...
2016-02-22 16:02 <perilla> cedk: I will install tox (pip install tox) and run tox inside module source?
2016-02-22 16:09 -!- kstenger(~karla@r186-48-244-167.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-02-22 16:39 <pokoli> perilla: yes, you have to run tox
2016-02-22 16:39 <pokoli> perilla: be sure to have python2.7 and some python3 version installed
2016-02-22 16:41 <perilla> pokoli: I use archlinux that have python3 by default, and for trytond I use virtualenv, can I use tox inside my python2 virtualenv?
2016-02-22 16:42 <pokoli> perilla: yes, i use inside a python2 virtualenv : )
2016-02-22 17:01 -!- Sebas_(4f9bd6a5@gateway/web/freenode/ip.79.155.214.165) has joined #tryton
2016-02-22 17:04 <Sebas_> Hi all, pleas some database backup and restore help: i backed up my database using: sudo pg_dump DBciclos > outputDBciclos -U postgres -h localhost -p 5432. Then i created new database using: createdb -T template0 newDB. And restored database using: psql dbname < infile -U postgres -h localhost -p 5432 . How do i make tryton connect to this new database? i try to check profiles but it doesnt give me option to connect do new database.
2016-02-22 17:23 <Sebas_> when i connect the server it says it is connected to the old database and to the new one, but i see no where the option to connect to the new one in the client... can anyone give me a tip?
2016-02-22 17:32 <pokoli> Sebas_: you have to create a new profile, with the new databse name
2016-02-22 17:33 <cedk> perilla: yes just run tox inside the module directory
2016-02-22 17:34 <Sebas_> how is that cedk? what is to run tox?
2016-02-22 17:38 <Sebas_> it wont show me the option to the new DB in profile managing...
2016-02-22 17:48 <cedk> Sebas_: I guess you created the database with a different DB user than the one used by PG to connect
2016-02-22 17:49 <Sebas_> i am trying again specifying tryton user...
2016-02-22 17:55 <Sebas_> that did it! thanks!
2016-02-22 18:26 <Sebas_> Say, if i want to print in the purchase order, an attribute field of the product instead of its ID, because in the case we use different ID than our suplier, is it posible to do that? print an atribute field instead of the name or the id of a product?
2016-02-22 19:57 -!- petermmm(~chatzilla@119.Red-88-22-36.staticIP.rima-tde.net) has joined #tryton
2016-02-22 20:35 -!- JosDzG(~Thunderbi@189.148.209.108) has joined #tryton
2016-02-22 21:20 -!- irclog(~irclog@moretus.b2ck.com) has joined #tryton
2016-02-22 21:21 -!- gytis_(~gytis@v100.nfq.lt) has joined #tryton
2016-02-22 21:21 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-02-22 21:21 -!- gremly(~gremly@190.85.36.58) has joined #tryton
2016-02-22 21:21 -!- aroncero(~aroncero@86.63.19.153) has joined #tryton
2016-02-22 21:22 -!- buxy(~rhertzog@mail.vm.ouaza.com) has joined #tryton
2016-02-22 22:24 -!- juanfe(~juanfe@181.143.145.58) has joined #tryton
2016-02-22 23:39 -!- hectorh30(~hectorh30@190.149.223.38) has joined #tryton

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