Csound Csound-dev Csound-tekno Search About

[Csnd-dev] pwd not working any more

Date2016-12-25 21:20
Fromjoachim heintz
Subject[Csnd-dev] pwd not working any more
for instance this instrument
   instr 1
     Swd        pwd
     puts Swd, 1
   endin
started from commandline returns this output:

INIT ERROR in instr 1: cannot determine current directory
Swd	pwd	
hello

(there is no "hello" in the code ...)

this is on debian unstable with current git develop.

Date2016-12-25 23:44
FromJohn ff
SubjectRe: [Csnd-dev] pwd not working any more
Strings are created with a default
value of"hello"

Will look at the PDF issue


Sent from TypeApp
On 25 Dec 2016, at 21:21, joachim heintz <jh@JOACHIMHEINTZ.DE> wrote:
for instance this instrument
instr 1
Swd pwd
puts Swd, 1
endin
started from commandline returns this output:

INIT ERROR in instr 1: cannot determine current directory
Swd pwd
hello

(there is no "hello" in the code ...)

this is on debian unstable with current git develop.

joachim

Date2016-12-26 17:47
Fromjpff
SubjectRe: [Csnd-dev] pwd not working any more
Can you pull/build from git?  I have added better diagnostics

On Sun, 25 Dec 2016, joachim heintz wrote:

> for instance this instrument
>  instr 1
>    Swd        pwd
>    puts Swd, 1
>  endin
> started from commandline returns this output:
>
> INIT ERROR in instr 1: cannot determine current directory
> Swd	pwd 
> hello
>
> (there is no "hello" in the code ...)
>
> this is on debian unstable with current git develop.
>
> 	joachim

Date2016-12-26 21:45
Fromjoachim heintz
SubjectRe: [Csnd-dev] pwd not working any more
thanks; i did, and this is the output now:

INIT ERROR in instr 1: cannot determine current directory: Numerical 
result out of range

Swd	pwd	
**Unk
	  B  0.000 - note deleted.  i1 had 1 init errors

	joachim


On 26/12/16 18:47, jpff wrote:
> Can you pull/build from git?  I have added better diagnostics
>
> On Sun, 25 Dec 2016, joachim heintz wrote:
>
>> for instance this instrument
>>  instr 1
>>    Swd        pwd
>>    puts Swd, 1
>>  endin
>> started from commandline returns this output:
>>
>> INIT ERROR in instr 1: cannot determine current directory
>> Swd    pwd hello
>>
>> (there is no "hello" in the code ...)
>>
>> this is on debian unstable with current git develop.
>>
>>     joachim
>>

Date2016-12-26 22:18
FromDave Seidel
SubjectRe: [Csnd-dev] pwd not working any more
I wonder what would happen if you changed pwd to pwd() 

On Dec 26, 2016 4:45 PM, "joachim heintz" <jh@joachimheintz.de> wrote:
thanks; i did, and this is the output now:

INIT ERROR in instr 1: cannot determine current directory: Numerical result out of range

Swd     pwd     
**Unk
          B  0.000 - note deleted.  i1 had 1 init errors

        joachim


On 26/12/16 18:47, jpff wrote:
Can you pull/build from git?  I have added better diagnostics

On Sun, 25 Dec 2016, joachim heintz wrote:

for instance this instrument
 instr 1
   Swd        pwd
   puts Swd, 1
 endin
started from commandline returns this output:

INIT ERROR in instr 1: cannot determine current directory
Swd    pwd hello

(there is no "hello" in the code ...)

this is on debian unstable with current git develop.

    joachim



Date2016-12-26 22:45
FromVictor Lazzarini
SubjectRe: [Csnd-dev] pwd not working any more
Fixed in git.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 26 Dec 2016, at 21:45, joachim heintz  wrote:
> 
> thanks; i did, and this is the output now:
> 
> INIT ERROR in instr 1: cannot determine current directory: Numerical result out of range
> 
> Swd	pwd	
> **Unk
> 	  B  0.000 - note deleted.  i1 had 1 init errors
> 
> 	joachim
> 
> 
> On 26/12/16 18:47, jpff wrote:
>> Can you pull/build from git?  I have added better diagnostics
>> 
>> On Sun, 25 Dec 2016, joachim heintz wrote:
>> 
>>> for instance this instrument
>>> instr 1
>>>   Swd        pwd
>>>   puts Swd, 1
>>> endin
>>> started from commandline returns this output:
>>> 
>>> INIT ERROR in instr 1: cannot determine current directory
>>> Swd    pwd hello
>>> 
>>> (there is no "hello" in the code ...)
>>> 
>>> this is on debian unstable with current git develop.
>>> 
>>>    joachim
>>> 

Date2016-12-27 17:23
Fromjoachim heintz
SubjectRe: [Csnd-dev] pwd not working any more
thanks victor -  works again now.
	joachim


On 26/12/16 23:45, Victor Lazzarini wrote:
> Fixed in git.
> ========================
> Prof. Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
>> On 26 Dec 2016, at 21:45, joachim heintz  wrote:
>>
>> thanks; i did, and this is the output now:
>>
>> INIT ERROR in instr 1: cannot determine current directory: Numerical result out of range
>>
>> Swd	pwd	
>> **Unk
>> 	  B  0.000 - note deleted.  i1 had 1 init errors
>>
>> 	joachim
>>
>>
>> On 26/12/16 18:47, jpff wrote:
>>> Can you pull/build from git?  I have added better diagnostics
>>>
>>> On Sun, 25 Dec 2016, joachim heintz wrote:
>>>
>>>> for instance this instrument
>>>> instr 1
>>>>   Swd        pwd
>>>>   puts Swd, 1
>>>> endin
>>>> started from commandline returns this output:
>>>>
>>>> INIT ERROR in instr 1: cannot determine current directory
>>>> Swd    pwd hello
>>>>
>>>> (there is no "hello" in the code ...)
>>>>
>>>> this is on debian unstable with current git develop.
>>>>
>>>>    joachim
>>>>
>>>