[Csnd] Rationale error
Date | 2009-05-05 11:03 |
From | Dave Phillips |
Subject | [Csnd] Rationale error |
Greetings, When I tried to run Rationale I received this error : dlphilp@The3800:~/src/rationale-0.2> python rationale.py Traceback (most recent call last): File "rationale.py", line 40, in |
Date | 2009-05-05 11:36 |
From | Oeyvind Brandtsegg |
Subject | [Csnd] Re: Rationale error |
This looks like the usual "Python can't find Csound" error. Can you run other Python/Csound apps? (e.g. wxController.py) best Oeyvind 2009/5/5 Dave Phillips |
Date | 2009-05-05 11:51 |
From | Dave Phillips |
Subject | [Csnd] Re: Re: Rationale error |
Oeyvind Brandtsegg wrote: > This looks like the usual "Python can't find Csound" error. > Can you run other Python/Csound apps? (e.g. wxController.py) > Grrr.... Nope, wxController.py didn't work either. The installation of 5.10 here is by the book, csnd.py is in the right location, but obviously something didn't get put in the right spot. So what's to do next ? Best, dp |
Date | 2009-05-05 12:19 |
From | Oeyvind Brandtsegg |
Subject | [Csnd] Re: Re: Re: Rationale error |
I seem to recall that you had this issue recently too (a few weeks or months back), did you fix it by manually creating a symlink? (maybe I don't remember correctly?). I remember that you had done everything by the book bac kthen also, and I was surprised that the Python csnd module could not be found on Linux after a standard install procedure. This should really work out of the box, the install procedure for Linux should be checked. Sorry not to be of more help. Oeyvind 2009/5/5 Dave Phillips |
Date | 2009-05-05 12:51 |
From | Dave Phillips |
Subject | [Csnd] Re: Re: Re: Re: Rationale error |
Oeyvind Brandtsegg wrote: > I seem to recall that you had this issue recently too (a few weeks or > months back), did you fix it by manually creating a symlink? (maybe I > don't remember correctly?). I remember that you had done everything by > the book bac kthen also, and I was surprised that the Python csnd > module could not be found on Linux after a standard install procedure. > > This should really work out of the box, the install procedure for > Linux should be checked. > Sorry not to be of more help. > > Hi Oeyvind, Thanks for your attention, I appreciate it. Alas, my former trick of copying libcsnd.so to /usr/lib did nothing to help, I get the same error regarding the init function. It really is kind of ridiculous. The same error occurs on two machines, both of which have Csound 5.10 installed as per the official instructions, and I always end up with a PITA re: Python finding stuff. Is the problem with Python, Csound, or both ? Well, I'm at a loss again. Anyone have further suggestions ? Best, dp |
Date | 2009-05-05 13:38 |
From | Victor.Lazzarini@nuim.ie |
Subject | [Csnd] Re: Re: Re: Re: Rationale error |
Attachments | None None |
Date | 2009-05-05 13:57 |
From | Dave Phillips |
Subject | [Csnd] Re: Re: Re: Re: Re: Rationale error |
Victor.Lazzarini@nuim.ie wrote: > ... my libcsnd.so and _csnd.so are always in my build > directory, which in turn is in the PYTHONPATH and > LD_LIBRARY_PATH. Thank you, Victor, that was the key. The PYTHONPATH included only /usr/lib/python2.5, nothing else. I added my Csound build directory to that path, Rationale 0.2 now opens and appears to be functioning properly. Sheesh. Sorry for the noise. Best, dp |
Date | 2009-05-05 14:07 |
From | Oeyvind Brandtsegg |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Rationale error |
Should the setting of PYTHONPATH be automated when installing on Linux ? best Oeyvind 2009/5/5 Dave Phillips |
Date | 2009-05-05 14:28 |
From | victor |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: Rationale error |
There should be no need for that, if _csnd.so and csnd.py go into the usual site-packages directory. ----- Original Message ----- From: "Oeyvind Brandtsegg" |
Date | 2009-05-05 16:46 |
From | victor |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Rationale error |
Good. I'm curious about this because of 2 things: 1) if _csnd.so & csnd.py are in /usr/lib/python2.5/site-packages you should not need to set PYTHONPATH 2) The error you reported does not make too much sense to me: if _csnd.so was found it should contain init_csnd ImportError: dynamic module does not define init function (init_csnd) Regards Victor ----- Original Message ----- From: "Dave Phillips" |
Date | 2009-05-05 20:46 |
From | Chuckk Hubbard |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Rationale error |
On Tue, May 5, 2009 at 3:57 PM, Dave Phillips |