Csound Csound-dev Csound-tekno Search About

Windows Installer ENV settting bug

Date2016-02-09 18:00
FromCh Lamprecht
SubjectWindows Installer ENV settting bug
Hello to everybody,

I just installed Csound for the first time.
I downloaded Setup_Csound6_6.07.0beta2.exe from 
http://sourceforge.net/projects/csound/files/csound6/Csound6.06/
and installed on a Windows10 Machine.
There seems to be a bug in the installer: The installation requires admin 
rights, which is fine. However, Env variables OPCODE6DIR64 , PYTHONPATH, and 
RAMWAVE_PATH are being set for the admin user only instead of setting them 
system wide.
When trying to use csound from a different user account, this leads to error 
messages like:
...

-odac

...
  unknown rtaudio module: 'PortAudio', using dummy module
...

Moving the Env variables to the System settings solves this problem.

Cheers, Christoph Lamprecht

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-02-09 18:19
FromMichael Gogins
SubjectRe: Windows Installer ENV settting bug
Could you please enter this as an issue in GitHub?

Thanks,
Mike

-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Tue, Feb 9, 2016 at 1:00 PM, Ch Lamprecht  wrote:
> Hello to everybody,
>
> I just installed Csound for the first time.
> I downloaded Setup_Csound6_6.07.0beta2.exe from
> http://sourceforge.net/projects/csound/files/csound6/Csound6.06/
> and installed on a Windows10 Machine.
> There seems to be a bug in the installer: The installation requires admin
> rights, which is fine. However, Env variables OPCODE6DIR64 , PYTHONPATH, and
> RAMWAVE_PATH are being set for the admin user only instead of setting them
> system wide.
> When trying to use csound from a different user account, this leads to error
> messages like:
> ...
> 
> -odac
> 
> ...
>  unknown rtaudio module: 'PortAudio', using dummy module
> ...
>
> Moving the Env variables to the System settings solves this problem.
>
> Cheers, Christoph Lamprecht
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-02-09 23:03
FromOeyvind Brandtsegg
SubjectRe: Windows Installer ENV settting bug
I also had a couple of studens having issues with the python opcodes
on windows 10.
The error was "no module named site"
It seems the problems could be remedied by setting PYTHONPATH to
"C:\Python27\Lib", possibly also needing PYTHONHOME set to
"C:\Python27". By default the PYTHONPATH pointed to the Csound6/bin
dir, which is ok on other win systems.
I'm not really sure of the implications of this, and I don't have win
10 on my system, so I'd rather discuss it here than post an issue
directly.

2016-02-09 19:19 GMT+01:00 Michael Gogins :
> Could you please enter this as an issue in GitHub?
>
> Thanks,
> Mike
>
> -----------------------------------------------------
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
>
> On Tue, Feb 9, 2016 at 1:00 PM, Ch Lamprecht  wrote:
>> Hello to everybody,
>>
>> I just installed Csound for the first time.
>> I downloaded Setup_Csound6_6.07.0beta2.exe from
>> http://sourceforge.net/projects/csound/files/csound6/Csound6.06/
>> and installed on a Windows10 Machine.
>> There seems to be a bug in the installer: The installation requires admin
>> rights, which is fine. However, Env variables OPCODE6DIR64 , PYTHONPATH, and
>> RAMWAVE_PATH are being set for the admin user only instead of setting them
>> system wide.
>> When trying to use csound from a different user account, this leads to error
>> messages like:
>> ...
>> 
>> -odac
>> 
>> ...
>>  unknown rtaudio module: 'PortAudio', using dummy module
>> ...
>>
>> Moving the Env variables to the System settings solves this problem.
>>
>> Cheers, Christoph Lamprecht
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>        https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


Date2016-02-10 09:38
FromCh Lamprecht
SubjectRe: Windows Installer ENV settting bug
I can confirm, that the minimal example from 'Reference Manual - Python Opcodes 
- Orchestra Syntax' crashes with PYTHONPATH set to C:/Csound6/bin
last console output of Csound being 'ImportError: No module named site' and 
Csound.exe crashing.
The example runs fine with PYTHONPATH set to Pythons bin dir (C:/Program 
Files/Python27/bin in my case)
Win 10 / Setup_Csound6_6.07.0beta2.exe



Am 10.02.2016 um 00:03 schrieb Oeyvind Brandtsegg:
> I also had a couple of studens having issues with the python opcodes
> on windows 10.
> The error was "no module named site"
> It seems the problems could be remedied by setting PYTHONPATH to
> "C:\Python27\Lib", possibly also needing PYTHONHOME set to
> "C:\Python27". By default the PYTHONPATH pointed to the Csound6/bin
> dir, which is ok on other win systems.
> I'm not really sure of the implications of this, and I don't have win
> 10 on my system, so I'd rather discuss it here than post an issue
> directly.


>>>
>>> I just installed Csound for the first time.
>>> I downloaded Setup_Csound6_6.07.0beta2.exe from
>>> http://sourceforge.net/projects/csound/files/csound6/Csound6.06/
>>> and installed on a Windows10 Machine.
>>> There seems to be a bug in the installer: The installation requires admin
>>> rights, which is fine. However, Env variables OPCODE6DIR64 , PYTHONPATH, and
>>> RAMWAVE_PATH are being set for the admin user only instead of setting them
>>> system wide.

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here