Csound Csound-dev Csound-tekno Search About

[Csnd] Csound 5.08 gives "illegal character .," messages

Date2008-03-22 00:06
FromBernard Hurley
Subject[Csnd] Csound 5.08 gives "illegal character .," messages
Hi,

I have just installed Csound 5.08 on my Linux machine. The following minimal
CSD file:

========= begin ==========


sr=44100
ksmps=1
nchnls=2

gi_701a	ftgen	0, 0, 4096, 10, 1, 0, 0.1, 0, 0.95, 0,  0.05, 0, 0.01, 0,
0.301





==================  end ======

results in the error messages:
===============================
/usr/local/bin/csound: line 2: export:
`/usr/local/share/locale=/usr/local/csound/plugins64': not a valid
identifier
0dBFS level = 32768.0
Csound version 5.08 (double samples) Mar 16 2008
libsndfile-1.0.17
UnifiedCSD:  legato2.csd
STARTING FILE
Creating orchestra
Creating score
orchname:  /tmp/fileLKSIRX.orc
scorename: /tmp/fileUB7xXe.sco
orch compiler:
6 lines read
error:  illegal character ., line 9:
gi_701a ftgen   0, 0, 4096, 10, 1, 0, 0.1, 0, 0.95, 0,  0.05, 0, 0.01, 0,
0.301
                                       ^
error:  illegal character ., line 9:
gi_701a ftgen   0, 0, 4096, 10, 1, 0, 0.1, 0, 0.95, 0,  0.05, 0, 0.01, 0,
0.301
                                               ^
error:  illegal character ., line 9:
gi_701a ftgen   0, 0, 4096, 10, 1, 0, 0.1, 0, 0.95, 0,  0.05, 0, 0.01, 0,
0.301
                                                         ^
error:  illegal character ., line 9:
gi_701a ftgen   0, 0, 4096, 10, 1, 0, 0.1, 0, 0.95, 0,  0.05, 0, 0.01, 0,
0.301
                                                                  ^
error:  illegal character ., line 9:
gi_701a ftgen   0, 0, 4096, 10, 1, 0, 0.1, 0, 0.95, 0,  0.05, 0, 0.01, 0,
0.301
                                                                           ^
error:  no legal opcode, line 9:
gi_701a ftgen   0, 0, 4096, 10, 1, 0, 0.1, 0, 0.95, 0,  0.05, 0, 0.01, 0,
0.301
error:  Missing endin
7 syntax errors in orchestra.  compilation invalid
===========================

This did not happen with 5.06. I have just trashed 5.08 and installed 5.07
and I don't have this problem!

Regards

Bernard




-- 
View this message in context: http://www.nabble.com/Csound-5.08-gives-%22illegal-character-.%2C%22-messages-tp16191169p16191169.html
Sent from the Csound - General mailing list archive at Nabble.com.


Date2008-03-22 00:18
From"Steven Yi"
Subject[Csnd] Re: Csound 5.08 gives "illegal character .," messages
AttachmentsNone  

Date2008-03-22 01:09
FromBernard Hurley
Subject[Csnd] Re: Csound 5.08 gives "illegal character .," messages
Hi Steven,

I am running UbuntuStudio  version 7.10 (Gutsy Gibbon), but I do not have
the Ubuntu Csound package installed - it has been purged from my system.

I installed Csound from Csound5.08-i386d.tar.gz, which I downloaded from
sourceforge using its custom installer. I then tried out
Csound5.08-i386f.tar.gz and got the same problem. I then tried
Csound5.07-i386d.tar.gz and everything worked OK! Up to yesterday I was
using Csound 5.06 (installed from Csound5.06-i386d.tar.gz and did not have
this problem.

I first noticed the problem when trying to render a blue project, so I took
the CSD file that blue generated and cut it down to a minimal csd file that
still produces the problem when processed by Csound. I had included the text
of the csd in my original message, but I will see if I can attach it in
Nabble - presumably "upload file" works!

I can't see how the problem can arise from the way I have set up Csound, as
I did the same thing for each version (except for setting OPCODEDIR instead
of  OPCODEDIR64 for the float vesion).

I suspect the problem has something to do with localization. There is
definitely something fishy going on as the installer for 5.08 puts the line:

export /usr/local/share/locale=/usr/local/csound/plugins64

into the shell script that calls Csound! This explains the error message:

/usr/local/bin/csound: line 2: export:
 `/usr/local/share/locale=/usr/local/csound/plugins64': not a valid 
identifier 

Thanks
Bernard

http://www.nabble.com/file/p16213217/test.csd test.csd 


Steven Yi wrote:
> 
> Hi Bernard,
> 
> What Linux package did you use to install?  What distribution?  And do
> you have an example file we can use to test?
> 
> Thanks,
> steven
> 
> 

-- 
View this message in context: http://www.nabble.com/Csound-5.08-gives-%22illegal-character-.%2C%22-messages-tp16191169p16213217.html
Sent from the Csound - General mailing list archive at Nabble.com.