funny behaviour gtk+python
Victor Lazzarini
Victor.Lazzarini at nuim.ie
Thu Oct 4 09:49:30 EDT 2007
Yes setting LANG=C at the console solves the problem. Would
you care to explain why?
Victor
At 13:15 04/10/2007, Marco Pesenti Gritti wrote:
>On 10/4/07, Victor Lazzarini <Victor.Lazzarini at nuim.ie> wrote:
> > (OLPC build 602)
> > I have been trying a few things here and I stumbled
> > across a funny problem (this is quite specialised, so
> > I suppose only a few of you would know):
> >
> > 1. With Python, if I do
> >
> > import gtk
> > import csnd
> >
> > cs = csnd.Csound()
> > cs.Compile("myexample.csd")
> >
> > the csound compilation will fail with very unusual
> > syntax errors (which are not syntax errors at all)
> > (eg: "error: numeric syntax "11.1", line ...")
> >
> > 2. If I don't do
> >
> > import gtk
> >
> > Csound will happily compile my code.
> >
> > Now this seems so weird that I can't understand
> > why it is happening.
> >
> > Any clues why "import gtk" is causing this
> > behaviour?
>
>Does running it with LANG=C help?
>
>Marco
Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth
More information about the Devel
mailing list