Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] tablew index type error

Date2014-11-05 23:58
FromSteven Yi
SubjectRe: [Cs-dev] tablew index type error
AttachmentsNone  None  
The index type error should now be fixed in the develop branch.

On Tue Nov 04 2014 at 4:19:09 PM Rory Walsh <rorywalsh@ear.ie> wrote:
I see. I hadn't noticed the other error. Glad you were able to find a way back!

On 4 November 2014 20:49, Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no> wrote:
> Update:
> The undefined symbol error happens on the master branch,
> the development branch has the table index type error,
> but I was able to work around by pulling
> dcd3e8ea07b937cc0a2f1a213395a312df09b2e6 (July 9th, just before the
> initial commit of the Runtime Type Identification)
>
>
> 2014-11-04 18:57 GMT+01:00 Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no>:
>> Will do,
>> in the meantime I discovered I was not on branch master but on develop,
>> Thanks Rory for the hint to check that.
>> Now I got the master branch, building fine, but there is something
>> wrong with my python interface (csnd6)
>> I did
>> cmake ./
>> make
>> sudo make install
>> sudo ldconfig /usr/local/lib
>> (and also tried just sudo ldconfig)
>>
>>> python
>> Python 2.7.6 (default, Mar 22 2014, 22:59:56)
>> [GCC 4.8.2] on linux2
>> Type "help", "copyright", "credits" or "license" for more information.
>>>>> import csnd6
>> Traceback (most recent call last):
>>   File "<stdin>", line 1, in <module>
>>   File "/home/self/.local/lib/python2.7/site-packages/csnd6.py", line
>> 28, in <module>
>>     _csnd6 = swig_import_helper()
>>   File "/home/self/.local/lib/python2.7/site-packages/csnd6.py", line
>> 24, in swig_import_helper
>>     _mod = imp.load_module('_csnd6', fp, pathname, description)
>> ImportError: /home/self/.local/lib/python2.7/site-packages/_csnd6.so:
>> undefined symbol: _ZN21CsoundMidiInputBuffer15SendMidiMessageEiiii
>>>>>
>>
>> 2014-11-04 15:32 GMT+01:00 Steven Yi <stevenyi@gmail.com>:
>>> This looks to be related to changes I had done for Runtime Type
>>> Identification. It's looking for xincod and xoutcod values but those are no
>>> longer used.  I'll take a look at this in a moment; could you file a bug in
>>> the issue tracker?
>>>
>>>
>>> On Tue Nov 04 2014 at 9:17:42 AM Oeyvind Brandtsegg
>>> <oyvind.brandtsegg@ntnu.no> wrote:
>>>>
>>>> Thanks so much,
>>>> I'm on the master branch,
>>>> will try to update and rebuild then.
>>>>
>>>>
>>>> 2014-11-04 13:30 GMT+01:00 Rory Walsh <rorywalsh@ear.ie>:
>>>> > I can confirm that this does not happen with the master branch.
>>>> >
>>>> > On 4 November 2014 12:15, Rory Walsh <rorywalsh@ear.ie> wrote:
>>>> >> Snap. Are you on the dev branch? I'm just building the master branch
>>>> >> now to see if the problem can be found there too.
>>>> >>
>>>> >> On 4 November 2014 12:09, Oeyvind Brandtsegg
>>>> >> <oyvind.brandtsegg@ntnu.no> wrote:
>>>> >>> Hello,
>>>> >>> I wonder what this could be:
>>>> >>>
>>>> >>> INIT ERROR in instr 66: table: index type inconsistent with output
>>>> >>>
>>>> >>> The orchestra works fine on windows and on linux on the laptop,
>>>> >>> however, the production machine (Linux) has a slightly more updated
>>>> >>> version of Csound (Oct 14),
>>>> >>> and throws this error.
>>>> >>>
>>>> >>> The offending line of orchestra code is
>>>> >>>                         tablew ks1amp, 2, iwaveamptab
>>>> >>> where ks1amp, is a variable with range 0 to 1
>>>> >>> and the table
>>>> >>>         iwaveamptab     ftgen      0, 0, 32, -2, 0, 0,   1,1,1,1,0
>>>> >>>
>>>> >>> The laptop csound version is from June, so I guess something has
>>>> >>> changed since then?
>>>> >>>
>>>> >>> all best
>>>> >>> Oeyvind
>>>> >>>
>>>> >>> --
>>>> >>>
>>>> >>> Oeyvind Brandtsegg
>>>> >>> Professor of Music Technology
>>>> >>> NTNU
>>>> >>> 7491 Trondheim
>>>> >>> Norway
>>>> >>> Cell: +47 92 203 205
>>>> >>>
>>>> >>> http://flyndresang.no/
>>>> >>> http://www.partikkelaudio.com/
>>>> >>> http://soundcloud.com/brandtsegg
>>>> >>> http://soundcloud.com/t-emp
>>>> >>>
>>>> >>>
>>>> >>> ------------------------------------------------------------------------------
>>>> >>> _______________________________________________
>>>> >>> Csound-devel mailing list
>>>> >>> Csound-devel@lists.sourceforge.net
>>>> >>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>> >
>>>> >
>>>> > ------------------------------------------------------------------------------
>>>> > _______________________________________________
>>>> > Csound-devel mailing list
>>>> > Csound-devel@lists.sourceforge.net
>>>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Oeyvind Brandtsegg
>>>> Professor of Music Technology
>>>> NTNU
>>>> 7491 Trondheim
>>>> Norway
>>>> Cell: +47 92 203 205
>>>>
>>>> http://flyndresang.no/
>>>> http://www.partikkelaudio.com/
>>>> http://soundcloud.com/brandtsegg
>>>> http://soundcloud.com/t-emp
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>> ------------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>>
>>
>> --
>>
>> Oeyvind Brandtsegg
>> Professor of Music Technology
>> NTNU
>> 7491 Trondheim
>> Norway
>> Cell: +47 92 203 205
>>
>> http://flyndresang.no/
>> http://www.partikkelaudio.com/
>> http://soundcloud.com/brandtsegg
>> http://soundcloud.com/t-emp
>
>
>
> --
>
> Oeyvind Brandtsegg
> Professor of Music Technology
> NTNU
> 7491 Trondheim
> Norway
> Cell: +47 92 203 205
>
> http://flyndresang.no/
> http://www.partikkelaudio.com/
> http://soundcloud.com/brandtsegg
> http://soundcloud.com/t-emp
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Date2014-11-06 07:47
FromOeyvind Brandtsegg
SubjectRe: [Cs-dev] tablew index type error
Thanks that is grreat, will test soon.

2014-11-06 0:58 GMT+01:00 Steven Yi :
> The index type error should now be fixed in the develop branch.
>
>
> On Tue Nov 04 2014 at 4:19:09 PM Rory Walsh  wrote:
>>
>> I see. I hadn't noticed the other error. Glad you were able to find a way
>> back!
>>
>> On 4 November 2014 20:49, Oeyvind Brandtsegg 
>> wrote:
>> > Update:
>> > The undefined symbol error happens on the master branch,
>> > the development branch has the table index type error,
>> > but I was able to work around by pulling
>> > dcd3e8ea07b937cc0a2f1a213395a312df09b2e6 (July 9th, just before the
>> > initial commit of the Runtime Type Identification)
>> >
>> >
>> > 2014-11-04 18:57 GMT+01:00 Oeyvind Brandtsegg
>> > :
>> >> Will do,
>> >> in the meantime I discovered I was not on branch master but on develop,
>> >> Thanks Rory for the hint to check that.
>> >> Now I got the master branch, building fine, but there is something
>> >> wrong with my python interface (csnd6)
>> >> I did
>> >> cmake ./
>> >> make
>> >> sudo make install
>> >> sudo ldconfig /usr/local/lib
>> >> (and also tried just sudo ldconfig)
>> >>
>> >>> python
>> >> Python 2.7.6 (default, Mar 22 2014, 22:59:56)
>> >> [GCC 4.8.2] on linux2
>> >> Type "help", "copyright", "credits" or "license" for more information.
>> >>>>> import csnd6
>> >> Traceback (most recent call last):
>> >>   File "", line 1, in 
>> >>   File "/home/self/.local/lib/python2.7/site-packages/csnd6.py", line
>> >> 28, in 
>> >>     _csnd6 = swig_import_helper()
>> >>   File "/home/self/.local/lib/python2.7/site-packages/csnd6.py", line
>> >> 24, in swig_import_helper
>> >>     _mod = imp.load_module('_csnd6', fp, pathname, description)
>> >> ImportError: /home/self/.local/lib/python2.7/site-packages/_csnd6.so:
>> >> undefined symbol: _ZN21CsoundMidiInputBuffer15SendMidiMessageEiiii
>> >>>>>
>> >>
>> >> 2014-11-04 15:32 GMT+01:00 Steven Yi :
>> >>> This looks to be related to changes I had done for Runtime Type
>> >>> Identification. It's looking for xincod and xoutcod values but those
>> >>> are no
>> >>> longer used.  I'll take a look at this in a moment; could you file a
>> >>> bug in
>> >>> the issue tracker?
>> >>>
>> >>>
>> >>> On Tue Nov 04 2014 at 9:17:42 AM Oeyvind Brandtsegg
>> >>>  wrote:
>> >>>>
>> >>>> Thanks so much,
>> >>>> I'm on the master branch,
>> >>>> will try to update and rebuild then.
>> >>>>
>> >>>>
>> >>>> 2014-11-04 13:30 GMT+01:00 Rory Walsh :
>> >>>> > I can confirm that this does not happen with the master branch.
>> >>>> >
>> >>>> > On 4 November 2014 12:15, Rory Walsh  wrote:
>> >>>> >> Snap. Are you on the dev branch? I'm just building the master
>> >>>> >> branch
>> >>>> >> now to see if the problem can be found there too.
>> >>>> >>
>> >>>> >> On 4 November 2014 12:09, Oeyvind Brandtsegg
>> >>>> >>  wrote:
>> >>>> >>> Hello,
>> >>>> >>> I wonder what this could be:
>> >>>> >>>
>> >>>> >>> INIT ERROR in instr 66: table: index type inconsistent with
>> >>>> >>> output
>> >>>> >>>
>> >>>> >>> The orchestra works fine on windows and on linux on the laptop,
>> >>>> >>> however, the production machine (Linux) has a slightly more
>> >>>> >>> updated
>> >>>> >>> version of Csound (Oct 14),
>> >>>> >>> and throws this error.
>> >>>> >>>
>> >>>> >>> The offending line of orchestra code is
>> >>>> >>>                         tablew ks1amp, 2, iwaveamptab
>> >>>> >>> where ks1amp, is a variable with range 0 to 1
>> >>>> >>> and the table
>> >>>> >>>         iwaveamptab     ftgen      0, 0, 32, -2, 0, 0,
>> >>>> >>> 1,1,1,1,0
>> >>>> >>>
>> >>>> >>> The laptop csound version is from June, so I guess something has
>> >>>> >>> changed since then?
>> >>>> >>>
>> >>>> >>> all best
>> >>>> >>> Oeyvind
>> >>>> >>>
>> >>>> >>> --
>> >>>> >>>
>> >>>> >>> Oeyvind Brandtsegg
>> >>>> >>> Professor of Music Technology
>> >>>> >>> NTNU
>> >>>> >>> 7491 Trondheim
>> >>>> >>> Norway
>> >>>> >>> Cell: +47 92 203 205
>> >>>> >>>
>> >>>> >>> http://flyndresang.no/
>> >>>> >>> http://www.partikkelaudio.com/
>> >>>> >>> http://soundcloud.com/brandtsegg
>> >>>> >>> http://soundcloud.com/t-emp
>> >>>> >>>
>> >>>> >>>
>> >>>> >>>
>> >>>> >>> ------------------------------------------------------------------------------
>> >>>> >>> _______________________________________________
>> >>>> >>> Csound-devel mailing list
>> >>>> >>> Csound-devel@lists.sourceforge.net
>> >>>> >>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>> >
>> >>>> >
>> >>>> >
>> >>>> > ------------------------------------------------------------------------------
>> >>>> > _______________________________________________
>> >>>> > Csound-devel mailing list
>> >>>> > Csound-devel@lists.sourceforge.net
>> >>>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>
>> >>>>
>> >>>>
>> >>>> --
>> >>>>
>> >>>> Oeyvind Brandtsegg
>> >>>> Professor of Music Technology
>> >>>> NTNU
>> >>>> 7491 Trondheim
>> >>>> Norway
>> >>>> Cell: +47 92 203 205
>> >>>>
>> >>>> http://flyndresang.no/
>> >>>> http://www.partikkelaudio.com/
>> >>>> http://soundcloud.com/brandtsegg
>> >>>> http://soundcloud.com/t-emp
>> >>>>
>> >>>>
>> >>>>
>> >>>> ------------------------------------------------------------------------------
>> >>>> _______________________________________________
>> >>>> Csound-devel mailing list
>> >>>> Csound-devel@lists.sourceforge.net
>> >>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>
>> >>>
>> >>>
>> >>> ------------------------------------------------------------------------------
>> >>>
>> >>> _______________________________________________
>> >>> Csound-devel mailing list
>> >>> Csound-devel@lists.sourceforge.net
>> >>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >>
>> >> Oeyvind Brandtsegg
>> >> Professor of Music Technology
>> >> NTNU
>> >> 7491 Trondheim
>> >> Norway
>> >> Cell: +47 92 203 205
>> >>
>> >> http://flyndresang.no/
>> >> http://www.partikkelaudio.com/
>> >> http://soundcloud.com/brandtsegg
>> >> http://soundcloud.com/t-emp
>> >
>> >
>> >
>> > --
>> >
>> > Oeyvind Brandtsegg
>> > Professor of Music Technology
>> > NTNU
>> > 7491 Trondheim
>> > Norway
>> > Cell: +47 92 203 205
>> >
>> > http://flyndresang.no/
>> > http://www.partikkelaudio.com/
>> > http://soundcloud.com/brandtsegg
>> > http://soundcloud.com/t-emp
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > _______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 

Oeyvind Brandtsegg
Professor of Music Technology
NTNU
7491 Trondheim
Norway
Cell: +47 92 203 205

http://flyndresang.no/
http://www.partikkelaudio.com/
http://soundcloud.com/brandtsegg
http://soundcloud.com/t-emp

------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net