Re: [LAD] New LV2 host implementation stack

From: David Robillard <d@email-addr-hidden>
Date: Thu May 26 2011 - 00:20:21 EEST

On Wed, 2011-05-25 at 16:43 -0400, Paul Davis wrote:
> On Wed, May 25, 2011 at 4:34 PM, Fons Adriaensen <fons@email-addr-hidden> wrote:
> > On Wed, May 25, 2011 at 01:27:07PM +0100, Harry Van Haaren wrote:
> >
> >> http://harryhaaren.blogspot.com/2011/05/lv2-new-host-lib-lilv-newbies-guid-to.html
> >>
> >> I'm open to additions, edits, criticisms etc!
> >
> > fons@email-addr-hidden:~/build/serd-0.4.0> ./waf configure
> > Waf: The wscript in '/data/build/serd-0.4.0' is unreadable
> > Traceback (most recent call last):
> > File "/data/build/serd-0.4.0/.waf3-1.6.4-b22e3ca6aaa642b76470f837722b0410/waflib/Scripting.py", line 82, in waf_entry_point
> > set_main_module(Context.run_dir+os.sep+Context.WSCRIPT_FILE)
> > File "/data/build/serd-0.4.0/.waf3-1.6.4-b22e3ca6aaa642b76470f837722b0410/waflib/Scripting.py", line 106, in set_main_module
> > Context.g_module=Context.load_module(file_path)
> > File "/data/build/serd-0.4.0/.waf3-1.6.4-b22e3ca6aaa642b76470f837722b0410/waflib/Context.py", line 269, in load_module
> > exec(compile(code,path,'exec'),module.__dict__)
> > File "/data/build/serd-0.4.0/wscript", line 174
> > except Exception, e:
> > ^
> > SyntaxError: invalid syntax
> > fons@email-addr-hidden:~/build/serd-0.4.0>
>
> this is a known "issue" with old versions of python. i thought dave
> had fixed this already.

In some places :)

> unbelievably, python changed the syntax for
> their try/catch blocks ...

Yeah, there is actually no portable syntax for this at all that works
with old version of 2 through 3 (though "except Exception as e" works
with later versions of 2 and 3.

A couple other stupid little things like this just fixed today, new
point releases soon.

Cheers,

-dr

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Thu May 26 04:15:01 2011

This archive was generated by hypermail 2.1.8 : Thu May 26 2011 - 04:15:01 EEST