IRC logs of #tryton for Friday, 2016-11-04 #tryton log beginning Fri Nov 4 00:00:01 CET 2016
-!- truematic( has joined #tryton02:17
truematici have some problems installing tryton database02:18
truematiccannot from client or from shell02:18
truematicok to list my commands entered here02:18
truematicNoob, so please bear with me02:23
truematicusing debian jessie on ec2 instance02:25
truematic1. using packages from debian apt repository02:26
truematicinstallation section, use all commands with jessie-4.0 as distribution, asll is flawless02:27
truematic2. follow tryton-server README here02:27
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 superuser02:29
truematic* Setting up the Tryton server - uncommented listen = [::]:800002:33
truematicuncommented uri = postgresql://tryton:tryton@/02:34
truematicuncommented list = True02:34
truematicsave and exit02:34
truematicrestart trytond02:35
truematichere i connect with client, but cannot create database02:36
truematicthen I try to create db from putty, results in peer authentication error02:38
truematicwill try again until someone posts...have restarted the AWS instance about 20 times now ;)02:39
truematicsu - postgres -c "createdb --encoding=UNICODE --owner=tryton tryton"02:44
truematiccreatedb: database creation failed: ERROR:  source database "template1" is being accessed by other users02:44
truematicDETAIL:  There is 1 other session using the database.02:44
truematicno joy02:44
truematicsudo service postgresql restart02:51
truematicTraceback (most recent call last):02:52
truematic  File "/usr/bin/trytond-admin", line 21, in <module>02:52
truematic  File "/usr/lib/python2.7/dist-packages/trytond/", line 23, in run02:52
truematic    with Transaction().start(db_name, 0):02:52
truematic  File "/usr/lib/python2.7/dist-packages/trytond/", line 87, in start02:52
truematicTraceback (most recent call last):02:52
truematic  File "/usr/bin/trytond-admin", line 21, in <module>02:52
truematic  File "/usr/lib/python2.7/dist-packages/trytond/", line 23, in run02:52
truematic    with Transaction().start(db_name, 0):02:52
truematic  File "/usr/lib/python2.7/dist-packages/trytond/", line 87, in start02:52
truematic    database = Database(database_name).connect()02:52
truematic  File "/usr/lib/python2.7/dist-packages/trytond/backend/postgresql/", line 93, in connect02:52
-!- truematic( has left #tryton02:52
-!- truematic( has joined #tryton02:58
-!- truematic( has left #tryton02:58
-!- JosDzG(~Thunderbi@ has joined #tryton03:01
-!- thaneor( has joined #tryton04:30
-!- kstenger1( has joined #tryton05:12
-!- JanGB( has joined #tryton07:28
-!- dj_xatra(~dj_xatra@ has joined #tryton07:48
-!- tbruyere( has joined #tryton07:49
-!- nicoe(~nicoe@2a02:a03f:3058:bd00:ee55:f9ff:fe7b:f7ac) has joined #tryton08:12
-!- rpit( has joined #tryton08:37
JanGByosemite users? using tryton trunk?08:53
JanGBcant't check issue because not having a mac :)08:54
-!- giovanni_(~giovanni@ has joined #tryton09:00
JanGBpokoli: buenas dias, how we are handling bugs that can not be fixed at trunk - see - should I open a review as well for a old version?09:20
JanGBpokoli: I'm always on trunk since barna :)09:21
pokoliJanGB: you should add a review with the latests series afected, and then it will be backported09:22
pokoliJanGB: on codereview, you should include the series in the description. So in your case it will be: "tryton 3.6: Commit message"09:23
JanGBpokoli: ok09:23
-!- rpit( has joined #tryton09:43
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:50
-!- thaneor( has joined #tryton09:55
pokoliJanGB: you should explain what you have fixed in the review message09:57
JanGBpokoli: I deleted the review - I have no mac here and reading the changelog I guess it is already resolved10:12
pokoliJanGB: so you should close the issue, and it will be great to have the reference of which issue/commit fixed it10:25
-!- Timitos( has joined #tryton10:29
-!- nicoe( has joined #tryton10:45
-!- smarro(~sebastian@ has joined #tryton11:21
JanGBcedk: :) chatting on a invalid bug will set it to chatting again11:22
cedkJanGB: you have to comment and set the status in one post otherwise the system think you are re-opening the isue by talking11:35
JanGBcedk: I see11:37
-!- mariomop(~quassel@ has joined #tryton12:02
pokoliWhat happened to the translation server? Because I lost all my translations I did yesterday12:14
cedkpokoli: I do not know, I had to resync translations because of modification in odt12:23
cedkI think pootle is really not a good application12:23
cedkbut free-software community did not provide any good solution (tx to transifex)12:24
silwolcedk: weblate12:25
cedksilwol: same tool12:27
cedksilwol: just a different UI12:27
silwolcedk: ok, didn't know that. We're using it internally, and are quite satisfied with it.12:27
cedkpokoli: how do you translate?12:27
pokolicedk: I'm using the web interface to add translations, but I'm starting to think in downloading and uploading po files12:28
cedkpokoli: I think that when I do sync_store does not correctly sync if I do not add --overwrite12:37
pokolicedk: but if you download the pootle translations before syncyng, it should not remove the translated entries, shouldn't it?12:40
pokolicedk: this is not required when the translation starts, but I think it will be a good practise when syncing in the translation window12:41
cedkpokoli: I guess pootle does work as expected, if you sync without override it does not do it12:41
cedkpokoli: I did a sync but pootle did not sync all12:42
cedkI'm trying a new update12:44
cedkpokoli: did you lost again?12:45
pokolicedk: I think that no but could you please re-update so I can ensure it?12:46
cedkpokoli: OK but it takes about 15min12:47
pokolicedk: just ping me when it finishes :)12:47
cedkpokoli: start sync12:49
cedkpokoli: start update12:49
cedkpokoli: ca should have been updated12:53
pokolicedk: yes, I lost the translations :(12:56
cedkso pootle is a buggy12:56
cedkI think we will have to write our own application12:57
cedkmaybe weblate is a solution:
cedksilwol: is it easy to deploy13:01
cedkI'm just afraid that it uses Django13:02
pokolicedk: it uses django:
cedkpokoli: I know13:05
cedkpokoli: can we make a last test, I would like to test to sync with --force option13:06
pokolicedk: one moment, let me modify some strings13:06
pokolicedk: done, you can sync13:07
cedkanother solution will be to use a trytond server and have everyone write on it13:08
cedkbut we will not have the suggestion feature13:09
cedkand we will have to find a solution for tryton and sao13:09
-!- JanGB( has joined #tryton13:19
-!- smarro(~sebastian@ has joined #tryton13:20
yangoonMay 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?13:20
-!- JanGB( has joined #tryton13:21
-!- Telesight( has joined #tryton13:22
cedkpokoli: can you check the update?13:22
-!- Telesight( has joined #tryton13:26
pokolicedk: now the translations are not lost13:28
pokolicedk: so this is the way of doing it13:28
cedkpokoli: OK I wrote scripts on the pootle directory with the right parameters13:29
cedkstill one mistery, why is some language has less translations13:34
pokolicedk: maybe because this languages have empty strings?13:36
pokolicedk: ca is one that have more strings, and it have the empty string13:36
pokoliyangoon: you can propose anything on discuss13:39
pokoliyangoon: just for curiosity: do you have some better alternative to pootle?13:40
cedkpokoli: I think the Total is wrongly computed, I checked fr/account_fr.po13:41
cedkpokoli: it shows total 37 and when you open it it has only 1813:41
cedkpokoli: indeed total is the number of words and not the number of string13:42
yangoonpokoli: I knew at the time when pootle was introduced without former evaluation already about weblate (despite not having personal experience with it)13:42
yangoonand you can find on the mailing list my input always advocating the usage (or at least support) of the internal interface for several reasons13:44
pokolicedk: yes the total is the words. But if source words should be the same. It's strange :$13:45
pokoliyangoon: internal interface, you mean using the tryton server?13:45
yangoonpokoli: yes13:46
cedkpokoli: it looks like sometimes it counts also old/deprecated words13:47
-!- silwol(~silwol@ has joined #tryton13:47
pokoliyangoon: then, a flask_app using the web_user module and connected to a demo server will be the best option13:48
pokoliyangoon: and then we can have a server for testing also trunk version on translation period13:49
yangoonpokoli: 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.13:54
cedktranslate localy does not allow collaboration13:59
-!- smarro(~sebastian@ has joined #tryton14:01
pokoliyangoon: I agree with cedk that locally does not allow collaboration, So that's why I'm pointing to a flask_app14:05
yangoonI 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.14:09
notizblockcedk: weblate is quite easy to deploy14:10
cedknotizblock: but doc seems to talk only about git not mercurial14:13
cedknotizblock: and also how is the update process?14:14
notizblockcedk: we use it with git internally.14:20
notizblockcedk: regarding updates: there is a generic update guide and if required a specific update guide per version14:21
notizblockcedk: weblate is quite stable right now and the last ~10 updates worked flawlessly14:22
notizblockcedk: mercurial seems to be supported since 2.1:
-!- smarro(~sebastian@ has joined #tryton14:31
cedknotizblock: still mercurial seems to be a second citizen :-(14:33
notizblockcedk: it might be, yes14:34
notizblockfrom the documentation: "Git is first VCS backend that was available in Weblate and is still the most stable and tested one."14:35
-!- JanGB( has left #tryton14:43
pokoliyangoon: 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 collaborate14:45
yangoonpokoli: 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.o15:03
pokolinicoe: I added some text to the tutorial review, but I have to remove the png files as they are not properly managed by review15:04
pokolinicoe: maybe you can reupload it15:05
pokoliyangoon: it will be good to provide a proposal on the discussion, so others can comment on it15:07
pokoliACTION is going to eat something15:07
-!- morfeokmg(~smuxi@ has joined #tryton16:07
nicoepokoli: OK16:27
-!- JanGB(~jan@ has joined #tryton16:28
-!- thaneor( has joined #tryton16:34
nicoepokoli: cedk suggested that I create a repo in sandbox with the pages and once we consider it complete we can upload a review16:37
-!- smarro(~sebastian@ has joined #tryton17:30
pokolinicoe: 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 this18:26
-!- morfeokmg(~smuxi@ has joined #tryton18:27
cedkpokoli: I guess you could keep a review with just the references added18:41
-!- Telesight( has joined #tryton18:58
-!- JosDzGx( has joined #tryton19:18
-!- kstenger( has joined #tryton19:51
-!- Timitos( has joined #tryton21:09
-!- morfeokmg(~smuxi@ has joined #tryton23:29

Generated by 2.11.0 by Marius Gedminas - find it at!