Re: updatelayouts.py broken?

2017-05-13 Thread Scott Kostyshak
On Sat, May 13, 2017 at 03:32:47PM +0100, José Abílio Matos wrote:
> On Saturday, 13 May 2017 09.23.44 WEST Scott Kostyshak wrote:
> > José, thanks for remembering about this issue. The script still does not
> > work for me.
> > 
> > $ python --version
> > Python 2.7.12
> > 
> > Scott
> 
> The command line parser was missing the argv argument (minus the program 
> name). I tested it and it seems to work with both python 2 and 3.

Thanks for the fix! Seems to work well in brief testing.

Scott


signature.asc
Description: PGP signature


Re: updatelayouts.py broken?

2017-05-13 Thread José Abílio Matos
On Saturday, 13 May 2017 09.23.44 WEST Scott Kostyshak wrote:
> José, thanks for remembering about this issue. The script still does not
> work for me.
> 
> $ python --version
> Python 2.7.12
> 
> Scott

The command line parser was missing the argv argument (minus the program 
name). I tested it and it seems to work with both python 2 and 3.

-- 
José Abílio


Re: updatelayouts.py broken?

2017-05-13 Thread Scott Kostyshak
On Sat, May 13, 2017 at 08:20:55AM +0200, Guillaume MM wrote:
> Le 12/05/2017 à 16:55, José Abílio Matos a écrit :
> > On Monday, 24 April 2017 06.46.21 WEST Scott Kostyshak wrote:
> > > I use
> > > 
> > >   development/tools/updatelayouts.py
> > > 
> > > to easily update the format of our layout files. The script no longer
> > > works for me. I wonder if the script needs to be updated after 77511ea1
> > > (I think the call to layout2layout is now incorrect). I tried to update
> > > it myself, but my Python skills aren't even hackish enough to fix it
> > > with trial and error.
> > > 
> > > This issue is not urgent at all. I can update the layout files with a
> > > find -exec and calling layout2layout directly.
> > > 
> > > An alternative to the script being broken is that I just don't know how
> > > to call it correctly. Jürgen updated all layouts at a3315733 (which is
> > > more recent than 77511ea1), but perhaps he used a find -exec also?
> > > 
> > > Scott
> > 
> > Hi Scott,
> > do you still see this problem?
> > 
> > Regards,
> > 
> 
> Hi José,
> 
> I experienced updatelayouts.py not working as I expected just two days ago
> and now Scott's message that you quote makes me realize that it might indeed
> have an issue.

José, thanks for remembering about this issue. The script still does not
work for me.

$ python --version
Python 2.7.12

Scott


signature.asc
Description: PGP signature


Re: updatelayouts.py broken?

2017-05-12 Thread Guillaume MM

Le 12/05/2017 à 16:55, José Abílio Matos a écrit :

On Monday, 24 April 2017 06.46.21 WEST Scott Kostyshak wrote:

I use

  development/tools/updatelayouts.py

to easily update the format of our layout files. The script no longer
works for me. I wonder if the script needs to be updated after 77511ea1
(I think the call to layout2layout is now incorrect). I tried to update
it myself, but my Python skills aren't even hackish enough to fix it
with trial and error.

This issue is not urgent at all. I can update the layout files with a
find -exec and calling layout2layout directly.

An alternative to the script being broken is that I just don't know how
to call it correctly. Jürgen updated all layouts at a3315733 (which is
more recent than 77511ea1), but perhaps he used a find -exec also?

Scott


Hi Scott,
do you still see this problem?

Regards,



Hi José,

I experienced updatelayouts.py not working as I expected just two days 
ago and now Scott's message that you quote makes me realize that it 
might indeed have an issue.


Regards,
Guillaume



Re: updatelayouts.py broken?

2017-05-12 Thread José Abílio Matos
On Monday, 24 April 2017 06.46.21 WEST Scott Kostyshak wrote:
> I use
> 
>   development/tools/updatelayouts.py
> 
> to easily update the format of our layout files. The script no longer
> works for me. I wonder if the script needs to be updated after 77511ea1
> (I think the call to layout2layout is now incorrect). I tried to update
> it myself, but my Python skills aren't even hackish enough to fix it
> with trial and error.
> 
> This issue is not urgent at all. I can update the layout files with a
> find -exec and calling layout2layout directly.
> 
> An alternative to the script being broken is that I just don't know how
> to call it correctly. Jürgen updated all layouts at a3315733 (which is
> more recent than 77511ea1), but perhaps he used a find -exec also?
> 
> Scott

Hi Scott,
do you still see this problem?

Regards,
-- 
José Abílio


Re: updatelayouts.py broken?

2017-04-24 Thread Scott Kostyshak
On Mon, Apr 24, 2017 at 10:50:48AM +0200, Kornel Benko wrote:
> Am Montag, 24. April 2017 um 01:46:21, schrieb Scott Kostyshak 
> 
> > I use
> > 
> >   development/tools/updatelayouts.py
> > 
> > to easily update the format of our layout files. The script no longer
> > works for me. I wonder if the script needs to be updated after 77511ea1
> > (I think the call to layout2layout is now incorrect). I tried to update
> > it myself, but my Python skills aren't even hackish enough to fix it
> > with trial and error.
> > 
> > This issue is not urgent at all. I can update the layout files with a
> > find -exec and calling layout2layout directly.
> > 
> > An alternative to the script being broken is that I just don't know how
> > to call it correctly. Jürgen updated all layouts at a3315733 (which is
> > more recent than 77511ea1), but perhaps he used a find -exec also?
> > 
> > Scott
> 
> Branch master:
> It works here. Python 2.7. But all layouts are already updated (Format 63).

Thanks for testing. It's probably an error on my side then.

Scott


signature.asc
Description: PGP signature


Re: updatelayouts.py broken?

2017-04-24 Thread Kornel Benko
Am Montag, 24. April 2017 um 01:46:21, schrieb Scott Kostyshak 

> I use
> 
>   development/tools/updatelayouts.py
> 
> to easily update the format of our layout files. The script no longer
> works for me. I wonder if the script needs to be updated after 77511ea1
> (I think the call to layout2layout is now incorrect). I tried to update
> it myself, but my Python skills aren't even hackish enough to fix it
> with trial and error.
> 
> This issue is not urgent at all. I can update the layout files with a
> find -exec and calling layout2layout directly.
> 
> An alternative to the script being broken is that I just don't know how
> to call it correctly. Jürgen updated all layouts at a3315733 (which is
> more recent than 77511ea1), but perhaps he used a find -exec also?
> 
> Scott

Branch master:
It works here. Python 2.7. But all layouts are already updated (Format 63).

Kornel

signature.asc
Description: This is a digitally signed message part.