Csound Csound-dev Csound-tekno Search About

[Csnd] The infamous python25.dll problem

Date2010-01-23 06:57
FromJim Aikin
Subject[Csnd] The infamous python25.dll problem
I'm having no trouble running QuteCsound on either my Windows 7 or MacOS
machine. Tonight I decided to install it on a WinXP laptop -- and it
flat-out won't run. Neither the doubles version nor the float version (and
yes, I also downloaded and installed both the doubles and float versions of
Csound 5.11.)

So I downloaded python25.dll from one of those free dll download sites and
copied it into the QuteCsound-d folder, and now I get a different error
message:

"The application of DLL C:\Program Files\QuteCsound-d\python25.dll is not a
valid Windows image. Please check this against your installation diskette."

Diskette? Well, let's not worry about that.

I downloaded and installed Python 2.6.4. That didn't help, of course, so
next I downloaded and installed Python 2.5.4. And now I get some new error
messages. Attempting to launch QuteCsound-d says, "The application failed to
initialize properly (0xc000005). Click on OK to terminate the application."
QuteCsound-f fails to launch with the message "The procedure entry point
_ZN23CsoundPerformanceThread10ScoreEventEicPkf could not be located in the
dynamic link library csnd.dll."

The question is, how can I get QuteCsound to run under Windows XP? A
secondary question might be, which of this pile of stuff can I safely
uninstall? Thanks for any tips!

--Jim Aikin

Date2010-01-23 10:30
FromAndres Cabrera
Subject[Csnd] Re: The infamous python25.dll problem
Hi Jim,

Can you try downloading the latest QuteCsound from:

http://sourceforge.net/projects/qutecsound/files/QuteCsound/0.4.5/

Maybe you already did that?

Cheers,
Andrés

On Sat, Jan 23, 2010 at 6:57 AM, Jim Aikin  wrote:
>
> I'm having no trouble running QuteCsound on either my Windows 7 or MacOS
> machine. Tonight I decided to install it on a WinXP laptop -- and it
> flat-out won't run. Neither the doubles version nor the float version (and
> yes, I also downloaded and installed both the doubles and float versions of
> Csound 5.11.)
>
> So I downloaded python25.dll from one of those free dll download sites and
> copied it into the QuteCsound-d folder, and now I get a different error
> message:
>
> "The application of DLL C:\Program Files\QuteCsound-d\python25.dll is not a
> valid Windows image. Please check this against your installation diskette."
>
> Diskette? Well, let's not worry about that.
>
> I downloaded and installed Python 2.6.4. That didn't help, of course, so
> next I downloaded and installed Python 2.5.4. And now I get some new error
> messages. Attempting to launch QuteCsound-d says, "The application failed to
> initialize properly (0xc000005). Click on OK to terminate the application."
> QuteCsound-f fails to launch with the message "The procedure entry point
> _ZN23CsoundPerformanceThread10ScoreEventEicPkf could not be located in the
> dynamic link library csnd.dll."
>
> The question is, how can I get QuteCsound to run under Windows XP? A
> secondary question might be, which of this pile of stuff can I safely
> uninstall? Thanks for any tips!
>
> --Jim Aikin
> --
> View this message in context: http://old.nabble.com/The-infamous-python25.dll-problem-tp27283951p27283951.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>



-- 


Andrés


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-01-23 11:58
FromMichael Gogins
Subject[Csnd] Re: The infamous python25.dll problem
I don't think your installation needs Python.

If you want to verify that, download and use depends.exe while
QuteCsound tries to run. This free downloadable tool monitors all DLLs
loaded by programs either before running or while running.

Hope this helps,
Mike

On Sat, Jan 23, 2010 at 1:57 AM, Jim Aikin  wrote:
>
> I'm having no trouble running QuteCsound on either my Windows 7 or MacOS
> machine. Tonight I decided to install it on a WinXP laptop -- and it
> flat-out won't run. Neither the doubles version nor the float version (and
> yes, I also downloaded and installed both the doubles and float versions of
> Csound 5.11.)
>
> So I downloaded python25.dll from one of those free dll download sites and
> copied it into the QuteCsound-d folder, and now I get a different error
> message:
>
> "The application of DLL C:\Program Files\QuteCsound-d\python25.dll is not a
> valid Windows image. Please check this against your installation diskette."
>
> Diskette? Well, let's not worry about that.
>
> I downloaded and installed Python 2.6.4. That didn't help, of course, so
> next I downloaded and installed Python 2.5.4. And now I get some new error
> messages. Attempting to launch QuteCsound-d says, "The application failed to
> initialize properly (0xc000005). Click on OK to terminate the application."
> QuteCsound-f fails to launch with the message "The procedure entry point
> _ZN23CsoundPerformanceThread10ScoreEventEicPkf could not be located in the
> dynamic link library csnd.dll."
>
> The question is, how can I get QuteCsound to run under Windows XP? A
> secondary question might be, which of this pile of stuff can I safely
> uninstall? Thanks for any tips!
>
> --Jim Aikin
> --
> View this message in context: http://old.nabble.com/The-infamous-python25.dll-problem-tp27283951p27283951.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>


Date2010-01-23 16:39
FromJim Aikin
Subject[Csnd] Re: The infamous python25.dll problem


Andres Cabrera wrote:
> 
> Hi Jim,
> 
> Can you try downloading the latest QuteCsound from:
> 
> http://sourceforge.net/projects/qutecsound/files/QuteCsound/0.4.5/
> 
> Maybe you already did that?
> 

The installers I used were QuteCsound-0.4.5.2-install-win32-d.exe and the
same thing with an -f instead of a -d. I downloaded them yesterday just
before installing them, so I don't see how I could be using an old version
by mistake.

It's vaguely possible that I screwed up my paths or something equally
esoteric by installing first one and then, when it didn't find the .dll,
installing the other. I wouldn't know how to check that.

--JA

Date2010-01-23 16:42
FromJim Aikin
Subject[Csnd] Re: The infamous python25.dll problem
Well, it's telling me specifically that it needs python25.dll in order to
launch. That .dll doesn't appear to be distributed with Csound 5.11, nor
with QuteCsound -- nor, indeed, with Python 2.5.4. If it's telling me it
needs that .dll when in fact it doesn't need it, then the bug is something
rather different, I would guess.

--JA


Michael Gogins-2 wrote:
> 
> I don't think your installation needs Python.
> 
> If you want to verify that, download and use depends.exe while
> QuteCsound tries to run. This free downloadable tool monitors all DLLs
> loaded by programs either before running or while running.
> 

Date2010-01-23 17:43
FromMichael Gogins
Subject[Csnd] Re: Re: The infamous python25.dll problem

If it says it needs it it does. The python dll would be installed by python in the windows system32 directory.

MKG from cell phone

On Jan 23, 2010 11:43 AM, "Jim Aikin" <midiguru23@sbcglobal.net> wrote:


Well, it's telling me specifically that it needs python25.dll in order to
launch. That .dll doesn't appear to be distributed with Csound 5.11, nor
with QuteCsound -- nor, indeed, with Python 2.5.4. If it's telling me it
needs that .dll when in fact it doesn't need it, then the bug is something
rather different, I would guess.

--JA

Michael Gogins-2 wrote: > > I don't think your installation needs Python. > > If you want to ver...

--
View this message in context: http://old.nabble.com/The-infamous-python25.dll-problem-tp27283951p27287730.html

Sent from the Csound - General mailing list archive at Nabble.com. Send bugs reports to this list...


Date2010-01-23 22:09
FromJim Aikin
Subject[Csnd] Re: Re: The infamous python25.dll problem


Michael Gogins-2 wrote:
> 
> If it says it needs it it does. The python dll would be installed by
> python
> in the windows system32 directory.
> 

Okay -- thanks. It's in system32 all right. And the errors I'm currently
getting from trying to launch QuteCsound 0.4.5 have nothing to do with that
.dll. As indicated in my initial message, the errors are now entirely
different.

As it happens, QuteCsound 0.4.4 is distributed with Csound 5.11. It's in the
bin directory, and it appears to run fine (either from the floats version or
the doubles version). But 0.4.5.2 won't run. I tried uninstalling Python
2.6.4, leaving Python 2.5.4 installed. That didn't help.

This is not a deal-breaker, except that Csound 5.11 seems no longer to be
distributed with a basic Windows GUI. It appears that QuteCsound is the
expected front end for those who don't use the command line. So it would be
nice to be able to get 4.5.2 running....

--JA

Date2010-01-25 21:31
Fromandy fillebrown
Subject[Csnd] Re: The infamous python25.dll problem
On Sat, Jan 23, 2010 at 1:57 AM, Jim Aikin  wrote:
>
> Attempting to launch QuteCsound-d says, "The application failed to
> initialize properly (0xc000005). Click on OK to terminate the application."
> QuteCsound-f fails to launch with the message "The procedure entry point
> _ZN23CsoundPerformanceThread10ScoreEventEicPkf could not be located in the
> dynamic link library csnd.dll."

This error occurs when the wrong version of csnd.dll gets loaded (i.e.
the floats version of csnd.dll gets loaded by the doubles version of
QuteCsound, or vice-versa).  Make sure your PATH variable contains
only one Csound path, either the floats or doubles version, then make
sure you only use that version of QuteCsound.

Cheers,
~ andy.f


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-01-26 01:56
FromJim Aikin
Subject[Csnd] Re: The infamous python25.dll problem
Thanks, Andy. I'm keen to give it a try. But ... path variable? I've done
things in years past with paths, but I'm not a Linux guy. I'm sort of stuck
in the gray zone between consumer and propellerhead. Can you tell me how I
would edit path variables in Windows XP?

Thanks!

--JA


andy.f wrote:
> 
> On Sat, Jan 23, 2010 at 1:57 AM, Jim Aikin 
> wrote:
>>
>> Attempting to launch QuteCsound-d says, "The application failed to
>> initialize properly (0xc000005). Click on OK to terminate the
>> application."
>> QuteCsound-f fails to launch with the message "The procedure entry point
>> _ZN23CsoundPerformanceThread10ScoreEventEicPkf could not be located in
>> the
>> dynamic link library csnd.dll."
> 
> This error occurs when the wrong version of csnd.dll gets loaded (i.e.
> the floats version of csnd.dll gets loaded by the doubles version of
> QuteCsound, or vice-versa).  Make sure your PATH variable contains
> only one Csound path, either the floats or doubles version, then make
> sure you only use that version of QuteCsound.
> 
> Cheers,
> ~ andy.f
> 
> 
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
> 
> 

Date2010-01-26 09:10
FromVictor Lazzarini
Subject[Csnd] Re: Re: The infamous python25.dll problem
I think what andy is saying is to get rid of any csnd.dll in your  
system and then install either doubles or floats Csound, then install  
QuteCsound for doubles or for floats matching the Csound you have  
installed.

Victor

On 26 Jan 2010, at 01:56, Jim Aikin wrote:

>
> Thanks, Andy. I'm keen to give it a try. But ... path variable? I've  
> done
> things in years past with paths, but I'm not a Linux guy. I'm sort  
> of stuck
> in the gray zone between consumer and propellerhead. Can you tell me  
> how I
> would edit path variables in Windows XP?
>
> Thanks!
>
> --JA
>
>
> andy.f wrote:
>>
>> On Sat, Jan 23, 2010 at 1:57 AM, Jim Aikin 
>> wrote:
>>>
>>> Attempting to launch QuteCsound-d says, "The application failed to
>>> initialize properly (0xc000005). Click on OK to terminate the
>>> application."
>>> QuteCsound-f fails to launch with the message "The procedure entry  
>>> point
>>> _ZN23CsoundPerformanceThread10ScoreEventEicPkf could not be  
>>> located in
>>> the
>>> dynamic link library csnd.dll."
>>
>> This error occurs when the wrong version of csnd.dll gets loaded  
>> (i.e.
>> the floats version of csnd.dll gets loaded by the doubles version of
>> QuteCsound, or vice-versa).  Make sure your PATH variable contains
>> only one Csound path, either the floats or doubles version, then make
>> sure you only use that version of QuteCsound.
>>
>> Cheers,
>> ~ andy.f
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>> "unsubscribe
>> csound"
>>
>>
>
> -- 
> View this message in context: http://old.nabble.com/The-infamous-python25.dll-problem-tp27283951p27316849.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"



Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-01-26 12:37
Fromandy fillebrown
Subject[Csnd] Re: Re: The infamous python25.dll problem
Hi Jim,

To edit the PATH variable, go to Control Panel -> System to show the
System Properties window, then choose the Advanced tab and there
should be a button towards the bottom that says "Environment
Variables".  The PATH variable can be changed there (a reboot may be
required).

If you installed both the float and double versions of Csound then
there will be two Csound directories listed in the PATH variable,
which is why the wrong version of csnd.dll is getting loaded when you
attempt to use the second Csound installation.  The first
installation's .dll files are getting loaded because the first
installation's directory appears in the PATH variable before the
second installation's directory.  The first installation, however,
should work regardless of how many times Csound is installed after
that, so you may want to try whichever version of QuteCsound was
installed first, again (unless it was uninstalled).

If all else fails, uninstall all versions of QuteCsound and Csound
then remove all references to the Csound directories in your PATH
variable, then reinstall the *one* version you would like to use.

Hope that helps,
~ andy.f



On Mon, Jan 25, 2010 at 8:56 PM, Jim Aikin  wrote:
>
> Thanks, Andy. I'm keen to give it a try. But ... path variable? I've done
> things in years past with paths, but I'm not a Linux guy. I'm sort of stuck
> in the gray zone between consumer and propellerhead. Can you tell me how I
> would edit path variables in Windows XP?
>
> Thanks!
>
> --JA
>
>
> andy.f wrote:
>>
>> On Sat, Jan 23, 2010 at 1:57 AM, Jim Aikin 
>> wrote:
>>>
>>> Attempting to launch QuteCsound-d says, "The application failed to
>>> initialize properly (0xc000005). Click on OK to terminate the
>>> application."
>>> QuteCsound-f fails to launch with the message "The procedure entry point
>>> _ZN23CsoundPerformanceThread10ScoreEventEicPkf could not be located in
>>> the
>>> dynamic link library csnd.dll."
>>
>> This error occurs when the wrong version of csnd.dll gets loaded (i.e.
>> the floats version of csnd.dll gets loaded by the doubles version of
>> QuteCsound, or vice-versa).  Make sure your PATH variable contains
>> only one Csound path, either the floats or doubles version, then make
>> sure you only use that version of QuteCsound.
>>
>> Cheers,
>> ~ andy.f
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>
> --
> View this message in context: http://old.nabble.com/The-infamous-python25.dll-problem-tp27283951p27316849.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"