IRC logs of #tryton for Friday, 2016-11-04

chat.freenode.net #tryton log beginning Fri Nov 4 00:00:01 CET 2016
2016-11-04 02:17 -!- truematic(~truematic@104-58-18-81.lightspeed.irvnca.sbcglobal.net) has joined #tryton
2016-11-04 02:17 <truematic> hello
2016-11-04 02:18 <truematic> i have some problems installing tryton database
2016-11-04 02:18 <truematic> cannot from client or from shell
2016-11-04 02:18 <truematic> ok to list my commands entered here
2016-11-04 02:23 <truematic> Noob, so please bear with me
2016-11-04 02:25 <truematic> using debian jessie on ec2 instance
2016-11-04 02:26 <truematic> 1. using packages from debian apt repository
2016-11-04 02:26 <truematic> http://tryton.alioth.debian.org/mirror.html
2016-11-04 02:27 <truematic> installation section, use all commands with jessie-4.0 as distribution, asll is flawless
2016-11-04 02:27 <truematic> 2. follow tryton-server README here
2016-11-04 02:27 <truematic> https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=tryton/tryton-server.git;a=blob_plain;f=debian/tryton-server.README.Debian;hb=HEAD
2016-11-04 02:29 <truematic> "prepare the database" - followed all steps but prompt seems to ask for password and then confirm password, don't see separate prompts for future database user and postgres superuser
2016-11-04 02:33 <truematic> * Setting up the Tryton server - uncommented listen = [::]:8000
2016-11-04 02:34 <truematic> uncommented uri = postgresql://tryton:tryton@/
2016-11-04 02:34 <truematic> uncommented list = True
2016-11-04 02:34 <truematic> save and exit
2016-11-04 02:35 <truematic> restart trytond
2016-11-04 02:36 <truematic> here i connect with client, but cannot create database
2016-11-04 02:38 <truematic> then I try to create db from putty, results in peer authentication error
2016-11-04 02:39 <truematic> will try again until someone posts...have restarted the AWS instance about 20 times now ;)
2016-11-04 02:44 <truematic> su - postgres -c "createdb --encoding=UNICODE --owner=tryton tryton"
2016-11-04 02:44 <truematic> createdb: database creation failed: ERROR: source database "template1" is being accessed by other users
2016-11-04 02:44 <truematic> DETAIL: There is 1 other session using the database.
2016-11-04 02:44 <truematic> no joy
2016-11-04 02:51 <truematic> sudo service postgresql restart
2016-11-04 02:52 <truematic> Traceback (most recent call last):
2016-11-04 02:52 <truematic> File "/usr/bin/trytond-admin", line 21, in <module>
2016-11-04 02:52 <truematic> admin.run(options)
2016-11-04 02:52 <truematic> File "/usr/lib/python2.7/dist-packages/trytond/admin.py", line 23, in run
2016-11-04 02:52 <truematic> with Transaction().start(db_name, 0):
2016-11-04 02:52 <truematic> File "/usr/lib/python2.7/dist-packages/trytond/transaction.py", line 87, in start
2016-11-04 02:52 <truematic> Traceback (most recent call last):
2016-11-04 02:52 <truematic> File "/usr/bin/trytond-admin", line 21, in <module>
2016-11-04 02:52 <truematic> admin.run(options)
2016-11-04 02:52 <truematic> File "/usr/lib/python2.7/dist-packages/trytond/admin.py", line 23, in run
2016-11-04 02:52 <truematic> with Transaction().start(db_name, 0):
2016-11-04 02:52 <truematic> File "/usr/lib/python2.7/dist-packages/trytond/transaction.py", line 87, in start
2016-11-04 02:52 <truematic> database = Database(database_name).connect()
2016-11-04 02:52 <truematic> File "/usr/lib/python2.7/dist-packages/trytond/backend/postgresql/database.py", line 93, in connect
2016-11-04 02:52 -!- truematic(~truematic@104-58-18-81.lightspeed.irvnca.sbcglobal.net) has left #tryton
2016-11-04 02:58 -!- truematic(~truematic@104-58-18-81.lightspeed.irvnca.sbcglobal.net) has joined #tryton
2016-11-04 02:58 -!- truematic(~truematic@104-58-18-81.lightspeed.irvnca.sbcglobal.net) has left #tryton
2016-11-04 03:01 -!- JosDzG(~Thunderbi@189.250.3.127) has joined #tryton
2016-11-04 04:30 -!- thaneor(~ldlc6@r167-56-214-84.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-11-04 05:12 -!- kstenger1(~karla@r186-50-6-251.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-11-04 07:28 -!- JanGB(~jan@ipservice-092-216-122-042.092.216.pools.vodafone-ip.de) has joined #tryton
2016-11-04 07:48 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton
2016-11-04 07:49 -!- tbruyere(~smuxi@mail.saluc.com) has joined #tryton
2016-11-04 08:12 -!- nicoe(~nicoe@2a02:a03f:3058:bd00:ee55:f9ff:fe7b:f7ac) has joined #tryton
2016-11-04 08:37 -!- rpit(~rpit@aftr-37-24-150-41.unity-media.net) has joined #tryton
2016-11-04 08:53 <JanGB> yosemite users? using tryton trunk?
2016-11-04 08:54 <JanGB> cant't check issue because not having a mac :)
2016-11-04 09:00 -!- giovanni_(~giovanni@90.63.246.25) has joined #tryton
2016-11-04 09:20 <JanGB> pokoli: buenas dias, how we are handling bugs that can not be fixed at trunk - see https://bugs.tryton.org/issue6014 - should I open a review as well for a old version?
2016-11-04 09:21 <JanGB> pokoli: I'm always on trunk since barna :)
2016-11-04 09:22 <pokoli> JanGB: you should add a review with the latests series afected, and then it will be backported
2016-11-04 09:23 <pokoli> JanGB: on codereview, you should include the series in the description. So in your case it will be: "tryton 3.6: Commit message"
2016-11-04 09:23 <JanGB> pokoli: ok
2016-11-04 09:43 -!- rpit(~rpit@aftr-37-24-150-41.unity-media.net) has joined #tryton
2016-11-04 09:50 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-11-04 09:55 -!- thaneor(~ldlc6@r167-56-214-84.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-11-04 09:57 <pokoli> JanGB: you should explain what you have fixed in the review message
2016-11-04 10:12 <JanGB> pokoli: I deleted the review - I have no mac here and reading the changelog I guess it is already resolved
2016-11-04 10:25 <pokoli> JanGB: so you should close the issue, and it will be great to have the reference of which issue/commit fixed it
2016-11-04 10:29 -!- Timitos(~kpreisler@host251-2.natpool.mwn.de) has joined #tryton
2016-11-04 10:45 -!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton
2016-11-04 11:21 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-11-04 11:22 <JanGB> cedk: :) chatting on a invalid bug will set it to chatting again
2016-11-04 11:35 <cedk> JanGB: you have to comment and set the status in one post otherwise the system think you are re-opening the isue by talking
2016-11-04 11:37 <JanGB> cedk: I see
2016-11-04 12:02 -!- mariomop(~quassel@181.90.245.152) has joined #tryton
2016-11-04 12:14 <pokoli> What happened to the translation server? Because I lost all my translations I did yesterday
2016-11-04 12:23 <cedk> pokoli: I do not know, I had to resync translations because of modification in odt
2016-11-04 12:23 <cedk> I think pootle is really not a good application
2016-11-04 12:24 <cedk> but free-software community did not provide any good solution (tx to transifex)
2016-11-04 12:25 <silwol> cedk: weblate
2016-11-04 12:27 <cedk> silwol: same tool
2016-11-04 12:27 <cedk> silwol: just a different UI
2016-11-04 12:27 <silwol> cedk: ok, didn't know that. We're using it internally, and are quite satisfied with it.
2016-11-04 12:27 <cedk> pokoli: how do you translate?
2016-11-04 12:28 <pokoli> cedk: I'm using the web interface to add translations, but I'm starting to think in downloading and uploading po files
2016-11-04 12:37 <cedk> pokoli: I think that when I do sync_store does not correctly sync if I do not add --overwrite
2016-11-04 12:37 <cedk> https://stackoverflow.com/questions/19115745/pootle-and-po-files-how-to-synchronize-correctly
2016-11-04 12:40 <pokoli> cedk: but if you download the pootle translations before syncyng, it should not remove the translated entries, shouldn't it?
2016-11-04 12:41 <pokoli> cedk: this is not required when the translation starts, but I think it will be a good practise when syncing in the translation window
2016-11-04 12:41 <cedk> pokoli: I guess pootle does work as expected, if you sync without override it does not do it
2016-11-04 12:42 <cedk> pokoli: I did a sync but pootle did not sync all
2016-11-04 12:44 <cedk> I'm trying a new update
2016-11-04 12:45 <cedk> pokoli: did you lost again?
2016-11-04 12:46 <pokoli> cedk: I think that no but could you please re-update so I can ensure it?
2016-11-04 12:47 <cedk> pokoli: OK but it takes about 15min
2016-11-04 12:47 <pokoli> cedk: just ping me when it finishes :)
2016-11-04 12:49 <cedk> pokoli: start sync
2016-11-04 12:49 <cedk> pokoli: start update
2016-11-04 12:53 <cedk> pokoli: ca should have been updated
2016-11-04 12:56 <pokoli> cedk: yes, I lost the translations :(
2016-11-04 12:56 <cedk> so pootle is a buggy
2016-11-04 12:57 <cedk> I think we will have to write our own application
2016-11-04 13:01 <cedk> maybe weblate is a solution: https://stackoverflow.com/questions/19115745/pootle-and-po-files-how-to-synchronize-correctly#comment28301372_19115745
2016-11-04 13:01 <cedk> silwol: is it easy to deploy
2016-11-04 13:02 <cedk> I'm just afraid that it uses Django
2016-11-04 13:05 <pokoli> cedk: it uses django: https://github.com/nijel/weblate/blob/master/requirements.txt#L1
2016-11-04 13:05 <cedk> pokoli: I know
2016-11-04 13:06 <cedk> pokoli: can we make a last test, I would like to test to sync with --force option
2016-11-04 13:06 <pokoli> cedk: one moment, let me modify some strings
2016-11-04 13:07 <pokoli> cedk: done, you can sync
2016-11-04 13:08 <cedk> another solution will be to use a trytond server and have everyone write on it
2016-11-04 13:09 <cedk> but we will not have the suggestion feature
2016-11-04 13:09 <cedk> and we will have to find a solution for tryton and sao
2016-11-04 13:19 -!- JanGB(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton
2016-11-04 13:20 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-11-04 13:20 <yangoon> May I propose to plan and discuss any change of the translation interface this time on the mailing list or on dicuss.t.o to not make the same mistake as with the overhasty installation of pootle?
2016-11-04 13:21 -!- JanGB(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton
2016-11-04 13:22 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-11-04 13:22 <cedk> pokoli: can you check the update?
2016-11-04 13:26 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-11-04 13:28 <pokoli> cedk: now the translations are not lost
2016-11-04 13:28 <pokoli> cedk: so this is the way of doing it
2016-11-04 13:29 <cedk> pokoli: OK I wrote scripts on the pootle directory with the right parameters
2016-11-04 13:34 <cedk> still one mistery, why is some language has less translations
2016-11-04 13:36 <pokoli> cedk: maybe because this languages have empty strings?
2016-11-04 13:36 <pokoli> cedk: ca is one that have more strings, and it have the empty string
2016-11-04 13:39 <pokoli> yangoon: you can propose anything on discuss
2016-11-04 13:40 <pokoli> yangoon: just for curiosity: do you have some better alternative to pootle?
2016-11-04 13:41 <cedk> pokoli: I think the Total is wrongly computed, I checked fr/account_fr.po
2016-11-04 13:41 <cedk> pokoli: it shows total 37 and when you open it it has only 18
2016-11-04 13:42 <cedk> pokoli: indeed total is the number of words and not the number of string
2016-11-04 13:42 <yangoon> pokoli: I knew at the time when pootle was introduced without former evaluation already about weblate (despite not having personal experience with it)
2016-11-04 13:44 <yangoon> and you can find on the mailing list my input always advocating the usage (or at least support) of the internal interface for several reasons
2016-11-04 13:45 <pokoli> cedk: yes the total is the words. But if source words should be the same. It's strange :$
2016-11-04 13:45 <pokoli> yangoon: internal interface, you mean using the tryton server?
2016-11-04 13:46 <yangoon> pokoli: yes
2016-11-04 13:47 <cedk> pokoli: it looks like sometimes it counts also old/deprecated words
2016-11-04 13:47 -!- silwol(~silwol@80.66.37.182) has joined #tryton
2016-11-04 13:48 <pokoli> yangoon: then, a flask_app using the web_user module and connected to a demo server will be the best option
2016-11-04 13:49 <pokoli> yangoon: and then we can have a server for testing also trunk version on translation period
2016-11-04 13:49 <pokoli> s/translation/testing/
2016-11-04 13:54 <yangoon> pokoli: as long as I am able to translate locally and upload/sync remotely all is fine for me. But really, those matters should be planned thouroughly on a better place than IRC if they are subject to change again.
2016-11-04 13:59 <cedk> translate localy does not allow collaboration
2016-11-04 14:01 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-11-04 14:05 <pokoli> yangoon: I agree with cedk that locally does not allow collaboration, So that's why I'm pointing to a flask_app
2016-11-04 14:09 <yangoon> I always said, that having both worlds would be best. "Power" translators are primarily better served with the internal interface, but occasionally the use of a web interface has its advantages, too.
2016-11-04 14:10 <notizblock> cedk: weblate is quite easy to deploy
2016-11-04 14:13 <cedk> notizblock: but doc seems to talk only about git not mercurial
2016-11-04 14:14 <cedk> notizblock: and also how is the update process?
2016-11-04 14:20 <notizblock> cedk: we use it with git internally.
2016-11-04 14:21 <notizblock> cedk: regarding updates: there is a generic update guide and if required a specific update guide per version
2016-11-04 14:22 <notizblock> cedk: weblate is quite stable right now and the last ~10 updates worked flawlessly
2016-11-04 14:24 <notizblock> cedk: mercurial seems to be supported since 2.1: https://docs.weblate.org/en/latest/vcs.html?highlight=mercurial#mercurial
2016-11-04 14:31 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-11-04 14:33 <cedk> notizblock: still mercurial seems to be a second citizen :-(
2016-11-04 14:34 <notizblock> cedk: it might be, yes
2016-11-04 14:35 <notizblock> from the documentation: "Git is first VCS backend that was available in Weblate and is still the most stable and tested one."
2016-11-04 14:43 -!- JanGB(~jan@business-178-015-079-061.static.arcor-ip.net) has left #tryton
2016-11-04 14:45 <pokoli> yangoon: with the flask app and the demo database Translators (what you call "Power" users) can use the internal interface if they wan't. So the web interface can be usefull for third parties willinig to collaborate
2016-11-04 15:03 <yangoon> pokoli: how do we want to manage the level of suggestions/commits (different permissions of translators) to a common Tryton translation database? Furthermore I always prefer to make my errors locally and to commit tested results. There are quite many important questions to find the best compromise. Forwarding the discussion finally to discuss.t.o
2016-11-04 15:04 <pokoli> nicoe: I added some text to the tutorial review, but I have to remove the png files as they are not properly managed by review
2016-11-04 15:05 <yangoon> FTR: https://discuss.tryton.org/t/next-generation-of-translation-interface/248
2016-11-04 15:05 <pokoli> nicoe: maybe you can reupload it
2016-11-04 15:07 <pokoli> yangoon: it will be good to provide a proposal on the discussion, so others can comment on it
2016-11-04 15:07 <pokoli> ACTION is going to eat something
2016-11-04 16:07 -!- morfeokmg(~smuxi@189.146.53.244) has joined #tryton
2016-11-04 16:27 <nicoe> pokoli: OK
2016-11-04 16:28 -!- JanGB(~jan@82.113.121.146) has joined #tryton
2016-11-04 16:34 -!- thaneor(~ldlc6@r167-63-13-48.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-11-04 16:37 <nicoe> pokoli: cedk suggested that I create a repo in sandbox with the pages and once we consider it complete we can upload a review
2016-11-04 17:30 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-11-04 18:26 <pokoli> nicoe: yes it maybe easier with the repo, but I have modified original trytond docs to add some reference, So I do know how we will manage this
2016-11-04 18:27 -!- morfeokmg(~smuxi@189.146.53.244) has joined #tryton
2016-11-04 18:41 <cedk> pokoli: I guess you could keep a review with just the references added
2016-11-04 18:58 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-11-04 19:18 -!- JosDzGx(~Thunderbi@fixed-188-72-187-188-72-36.iusacell.net) has joined #tryton
2016-11-04 19:51 -!- kstenger(~karla@r186-49-251-97.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-11-04 21:09 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2016-11-04 23:29 -!- morfeokmg(~smuxi@201.166.157.28) has joined #tryton

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