[LAD] New LV2 host implementation stack

David Robillard d at drobilla.net
Wed May 25 21:20:21 UTC 2011


On Wed, 2011-05-25 at 16:43 -0400, Paul Davis wrote:
> On Wed, May 25, 2011 at 4:34 PM, Fons Adriaensen <fons at linuxaudio.org> 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 at zita1:~/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 at zita1:~/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





More information about the Linux-audio-dev mailing list