Re: postats.py broken with Python 3

2020-09-18 Thread Richard Kimberly Heck
On 9/18/20 1:32 PM, José Abílio Matos wrote: > > On Friday, September 18, 2020 4:59:47 PM WEST Richard Kimberly Heck wrote: > > > The version of postats.py in master has been updated to work with > > > (indeed, require) Python 3. Is there any reason not to backport it? &

Re: postats.py broken with Python 3

2020-09-18 Thread José Abílio Matos
On Friday, September 18, 2020 4:59:47 PM WEST Richard Kimberly Heck wrote: > The version of postats.py in master has been updated to work with > (indeed, require) Python 3. Is there any reason not to backport it? > > Riki No. :-) In this case this is a development tool, and those t

Re: postats.py broken with Python 3

2020-09-18 Thread Jürgen Spitzmüller
Am Freitag, den 18.09.2020, 11:59 -0400 schrieb Richard Kimberly Heck: > The version of postats.py in master has been updated to work with > (indeed, require) Python 3. Is there any reason not to backport it? Since you're the one who needs to use it (and the only real user) I th

Re: postats.py broken with Python 3

2020-09-18 Thread Richard Kimberly Heck
The version of postats.py in master has been updated to work with (indeed, require) Python 3. Is there any reason not to backport it? Riki On 9/18/20 11:32 AM, Richard Kimberly Heck wrote: > ../lyx-stable/po/ [⚡ 2.3.x] > /usr/bin/python3 ./postats.py "2.3.5.2" > ar.po bg.p

postats.py broken with Python 3

2020-09-18 Thread Richard Kimberly Heck
../lyx-stable/po/ [⚡ 2.3.x] > /usr/bin/python3 ./postats.py "2.3.5.2" ar.po bg.po cs.po de.po el.po en.po es.po eu.po fi.po fr.po he.po hu.po ia.po id.po it.po ja.po nb.po nl.po nn.po pl.po pt_BR.po pt_PT.po ru.po sk.po sv.po tr.po uk.po zh_CN.po zh_TW.po >i18n.inc Traceback (most

Re: Python error (postats.py)

2019-07-15 Thread Jürgen Spitzmüller
Am Montag, den 15.07.2019, 11:29 + schrieb Guenter Milde: > I am following the list via the gmane news interface and cannot send > or read > attachemnts in my newsreader. Not good. > You can simply save the complete post and pass it to `git apply`, > though. > Or I could just commit to master

Re: Python error (postats.py)

2019-07-15 Thread Guenter Milde
On 2019-07-15, Jürgen Spitzmüller wrote: > [-- Type: text/plain, Encoding: quoted-printable --] > Am Sonntag, den 14.07.2019, 21:28 + schrieb Guenter Milde: >> It did not. Is it required? > I believe so. >> The patch below makes it run with both, 2.7 and 3.5 in a simple >> test: > Could yo

Re: Python error (postats.py)

2019-07-14 Thread Jürgen Spitzmüller
Am Sonntag, den 14.07.2019, 21:28 + schrieb Guenter Milde: > It did not. Is it required? I believe so. > The patch below makes it run with both, 2.7 and 3.5 in a simple > test: Could you post a real patch (as attachment)? Jürgen signature.asc Description: This is a digitally signed messag

Re: Python error (postats.py)

2019-07-14 Thread Guenter Milde
h python 2.7? It did not. Is it required? The patch below makes it run with both, 2.7 and 3.5 in a simple test: python3 postats.py "2.4.0dev" ar.po de.po python postats.py "2.4.0dev" ar.po de.po Günter diff --git a/po/postats.py b/po/postats.py index 8c5f058642..52690

Re: Python error (postats.py)

2019-07-14 Thread Jürgen Spitzmüller
Am Sonntag, den 14.07.2019, 08:17 + schrieb Guenter Milde: > This file is for Python2. > > The patch below made it work with Python3.5 here. Does it also still work with python 2.7? Jürgen signature.asc Description: This is a digitally signed message part

Re: Python error (postats.py)

2019-07-14 Thread Guenter Milde
On 2019-07-13, Jürgen Spitzmüller wrote: > [-- Type: text/plain, Encoding: quoted-printable --] > make_i18n.inc (in po/) fails for me with this error: > /usr/bin/python3 ./postats.py "2.4.0dev" ar.po bg.po cs.po de.po el.po > en.po es.po eu.po fi.po fr.po he.po hu.po i

Python error (postats.py)

2019-07-13 Thread Jürgen Spitzmüller
make_i18n.inc (in po/) fails for me with this error: /usr/bin/python3 ./postats.py "2.4.0dev" ar.po bg.po cs.po de.po el.po en.po es.po eu.po fi.po fr.po he.po hu.po ia.po id.po it.po ja.po nb.po nl.po nn.po pl.po pt_BR.po pt_PT.po ru.po sk.po sv.po tr.po uk.po zh_CN.po zh_TW.po

Re: [LyX 2.0.x] Protect postats.py script from silly errors.

2012-06-25 Thread Pavel Sanda
Richard Heck wrote: > commit 5d9fb0d933436ca4db98ba45094e8675c584835c > Author: Richard Heck > Date: Mon Jun 25 10:09:26 2012 -0400 > > Protect postats.py script from silly errors. > > diff --git a/po/postats.py b/po/postats.py > index ca4787c..65be90e 100755 >

Re: postats.py (Re: r28949 - www-user/trunk/farm/cookbook/LyX)

2009-04-13 Thread Christian Ridderström
On Mon, 13 Apr 2009, Pavel Sanda wrote: Christian Ridderström wrote: I have also been thinking a bit about the update mechanism. Do we want www-user to automatically update everytime someone commits, or would we prefer a manually invoked update? (It could for instance be that a developer clicks

Re: postats.py (Re: r28949 - www-user/trunk/farm/cookbook/LyX)

2009-04-13 Thread Pavel Sanda
Christian Ridderström wrote: I have also been thinking a bit about the update mechanism. Do we want www-user to automatically update everytime someone commits, or would we prefer a manually invoked update? (It could for instance be that a developer clicks on a button 'Update www

Re: postats.py (Re: r28949 - www-user/trunk/farm/cookbook/LyX)

2009-04-13 Thread Christian Ridderström
On Mon, 13 Apr 2009, Jürgen Spitzmüller wrote: Pavel Sanda wrote: I have also been thinking a bit about the update mechanism. Do we want www-user to automatically update everytime someone commits, or would we prefer a manually invoked update? (It could for instance be that a developer clicks on

Re: postats.py (Re: r28949 - www-user/trunk/farm/cookbook/LyX)

2009-04-13 Thread Jürgen Spitzmüller
Pavel Sanda wrote: > > I have also been thinking a bit about the update mechanism. Do we want > > www-user to automatically update everytime someone commits, or would we > > prefer a manually invoked update? (It could for instance be that a > > developer clicks on a button 'Update www-user' on one

Re: postats.py (Re: r28949 - www-user/trunk/farm/cookbook/LyX)

2009-04-12 Thread Christian Ridderström
On Sat, 11 Apr 2009, Pavel Sanda wrote: BTW Christian, could you eventually update the changes of i18n.inc that I've committed to www-user some days ago? How much work is it to re-establish the automatic update? For i18n.inc, we have discussed the possibility of setting up a non-symbolic link t

Re: postats.py (Re: r28949 - www-user/trunk/farm/cookbook/LyX)

2009-04-12 Thread Pavel Sanda
Christian Ridderström wrote: > I have also been thinking a bit about the update mechanism. Do we want > www-user to automatically update everytime someone commits, or would we > prefer a manually invoked update? (It could for instance be that a > developer clicks on a button 'Update www-user' on

Re: postats.py (Re: r28949 - www-user/trunk/farm/cookbook/LyX)

2009-04-11 Thread Pavel Sanda
Jürgen Spitzmüller wrote: > Jürgen Spitzmüller wrote: > > BTW Christian, could you eventually update the changes of i18n.inc that > > I've committed to www-user some days ago? > > > > How much work is it to re-establish the automatic update? For i18n.inc, we > > have discussed the possibility of se

Re: postats.py (Re: r28949 - www-user/trunk/farm/cookbook/LyX)

2009-04-11 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > BTW Christian, could you eventually update the changes of i18n.inc that > I've committed to www-user some days ago? > > How much work is it to re-establish the automatic update? For i18n.inc, we > have discussed the possibility of setting up a non-symbolic link to > po/i

Re: postats.py (Re: r28949 - www-user/trunk/farm/cookbook/LyX)

2009-03-31 Thread Jean-Marc Lasgouttes
How much work is it to re-establish the automatic update? For i18n.inc, we have discussed the possibility of setting up a non-symbolic link to po/i18n.inc in branch (note that the file is not there yet). That would ease my work quite a bit. Do you think this is possible? When I proposed tha

Re: postats.py (Re: r28949 - www-user/trunk/farm/cookbook/LyX)

2009-03-31 Thread Jürgen Spitzmüller
Christian Ridderström wrote: >> Christian Ridderström wrote: >>> I don't understand why there would be an extra new line after the '?>', >>> nor do I get an extra line when I try running the script, so what gives? >> >> Maybe because I just fixed it? ;-) > > Thanks, > Christian BTW Christian, cou

Re: postats.py (Re: r28949 - www-user/trunk/farm/cookbook/LyX)

2009-03-29 Thread Christian Ridderström
On Sun, 29 Mar 2009, Jürgen Spitzmüller wrote: Christian Ridderström wrote: I don't understand why there would be an extra new line after the '?>', nor do I get an extra line when I try running the script, so what gives? Maybe because I just fixed it? ;-) Thanks, Christian http://www.lyx.

Re: postats.py (Re: r28949 - www-user/trunk/farm/cookbook/LyX)

2009-03-29 Thread Jürgen Spitzmüller
Christian Ridderström wrote: > I don't understand why there would be an extra new line after the '?>', > nor do I get an extra line when I try running the script, so what gives? Maybe because I just fixed it? ;-) http://www.lyx.org/trac/changeset/28953 http://www.lyx.org/trac/changeset/28954 Jürg

postats.py (Re: r28949 - www-user/trunk/farm/cookbook/LyX)

2009-03-28 Thread Christian Ridderström
postats.py. I looked at postats.py, the last lines look like this: print """)?>""" % (sys.argv[1], branch_tag, ",".join([run_msgfmt(po) for po in sys.argv[2:] if po not in ommitted])) I don't understand why there would be an extra new line after

Re: postats.py

2008-02-21 Thread José Matos
On Wednesday 20 February 2008 17:23:43 Juergen Spitzmueller wrote: > José Matos wrote: > > Does it works now? > > Yes. Please commit to branch as well. Done. > Jürgen -- José Abílio

Re: postats.py

2008-02-20 Thread Juergen Spitzmueller
José Matos wrote: > Does it works now? Yes. Please commit to branch as well. Jürgen

Re: postats.py

2008-02-20 Thread José Matos
On Tuesday 19 February 2008 20:15:56 Juergen Spitzmueller wrote: > I noted that postats.py does not work for me, unless I manually set LC_ALL > to 'C' before running make i18n.inc (else, the msgmerge messages are in > German). On a second look I can't understand how th

Re: postats.py

2008-02-20 Thread Jean-Marc Lasgouttes
Juergen Spitzmueller <[EMAIL PROTECTED]> writes: > I noted that postats.py does not work for me, unless I manually set LC_ALL > to 'C' before running make i18n.inc (else, the msgmerge messages are in > German). I do not see this problem here. José? JMarc

postats.py

2008-02-19 Thread Juergen Spitzmueller
I noted that postats.py does not work for me, unless I manually set LC_ALL to 'C' before running make i18n.inc (else, the msgmerge messages are in German). Jürgen

Re: [Cvslog] r20970 - /lyx-devel/trunk/po/postats.py

2007-10-23 Thread José Matos
On Friday 19 October 2007 14:43:03 Jean-Marc Lasgouttes wrote: > > Thanks. Now there is the problem of scrambling addresses like > foo () example ! com > and postats.py will be a replacement for postats.sh. Done. > JMarc -- José Abílio

Re: [Cvslog] r20970 - /lyx-devel/trunk/po/postats.py

2007-10-19 Thread Jean-Marc Lasgouttes
[EMAIL PROTECTED] writes: > Author: jamatos > Date: Mon Oct 15 10:57:42 2007 > New Revision: 20970 > > URL: http://www.lyx.org/trac/changeset/20970 > Log: > reset the locale > Thanks. Now there is the problem of scrambling addresses like foo () example ! com and postats.

Re: postat.py bug? (was Re: [Cvslog] r20130 - in /lyx-devel/trunk/po: Makefile.in.in postats.py)

2007-09-21 Thread José Matos
try it, it seems that it does not work at all :) > > pegase: python postats.py fr.po > // The current version > \$lyx_version = "1.6.0svn"; > // The branch tag > \$branch_tag = "trunk"; > > // The data itself > \$podata = array ( > array

postat.py bug? (was Re: [Cvslog] r20130 - in /lyx-devel/trunk/po: Makefile.in.in postats.py)

2007-09-21 Thread Jean-Marc Lasgouttes
Juergen Spitzmueller <[EMAIL PROTECTED]> writes: > Jean-Marc Lasgouttes wrote: >> Juergen, can I apply that to 1.5 too? It is only a maintainer tool. > > Sure. Jose, now that I try it, it seems that it does not work at all :) pegase: python postats.py fr.po '

Re: [Cvslog] r20130 - in /lyx-devel/trunk/po: Makefile.in.in postats.py

2007-09-21 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Juergen, can I apply that to 1.5 too? It is only a maintainer tool. Sure. Jürgen

Re: [Cvslog] r20130 - in /lyx-devel/trunk/po: Makefile.in.in postats.py

2007-09-21 Thread Jean-Marc Lasgouttes
[EMAIL PROTECTED] writes: > Author: jamatos > Date: Fri Sep 7 18:37:38 2007 > New Revision: 20130 > > URL: http://www.lyx.org/trac/changeset/20130 > Log: > Convert postats to python Juergen, can I apply that to 1.5 too? It is only a maintainer tool. JMarc