Csound Csound-dev Csound-tekno Search About

[Cs-dev] .csd to .csd.xml

Date2015-03-26 15:25
Fromjpff
Subject[Cs-dev] .csd to .csd.xml
fails for padsynth_gen.csd

Traceback (most recent call last):
   File "csd2docbook2.py", line 325, in 
     main()
   File "csd2docbook2.py", line 305, in main
     CsdTransform().transform(a)
   File "csd2docbook2.py", line 251, in transform
     csddoc = minidom.parseString(s)
   File "/usr/lib64/python2.7/xml/dom/minidom.py", line 1928, in 
parseString
     return expatbuilder.parseString(string)
   File "/usr/lib64/python2.7/xml/dom/expatbuilder.py", line 940, in 
parseString
     return builder.parseString(string)
   File "/usr/lib64/python2.7/xml/dom/expatbuilder.py", line 223, in 
parseString
     parser.Parse(string, True)
xml.parsers.expat.ExpatError: junk after document element: line 127, 
column 0

I have no idea what this means -- all python to me
==John


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-03-26 15:29
FromVictor Lazzarini
SubjectRe: [Cs-dev] .csd to .csd.xml
Check if there are no spurious tags etc beyond the csound ones. That usually chokes the script.
========================
Dr 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 Mar 2015, at 15:25, jpff  wrote:
> 
> fails for padsynth_gen.csd
> 
> Traceback (most recent call last):
>   File "csd2docbook2.py", line 325, in 
>     main()
>   File "csd2docbook2.py", line 305, in main
>     CsdTransform().transform(a)
>   File "csd2docbook2.py", line 251, in transform
>     csddoc = minidom.parseString(s)
>   File "/usr/lib64/python2.7/xml/dom/minidom.py", line 1928, in 
> parseString
>     return expatbuilder.parseString(string)
>   File "/usr/lib64/python2.7/xml/dom/expatbuilder.py", line 940, in 
> parseString
>     return builder.parseString(string)
>   File "/usr/lib64/python2.7/xml/dom/expatbuilder.py", line 223, in 
> parseString
>     parser.Parse(string, True)
> xml.parsers.expat.ExpatError: junk after document element: line 127, 
> column 0
> 
> I have no idea what this means -- all python to me
> ==John
> 
> 
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the 
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-03-26 17:40
Fromjpff
SubjectRe: [Cs-dev] .csd to .csd.xml
Thanks; that fixes it


On Thu, 26 Mar 2015, Victor Lazzarini wrote:

> Check if there are no spurious tags etc beyond the csound ones. That usually chokes the script.
> ========================
> Dr 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 Mar 2015, at 15:25, jpff  wrote:
>>
>> fails for padsynth_gen.csd
>>
>> Traceback (most recent call last):
>>   File "csd2docbook2.py", line 325, in 
>>     main()
>>   File "csd2docbook2.py", line 305, in main
>>     CsdTransform().transform(a)
>>   File "csd2docbook2.py", line 251, in transform
>>     csddoc = minidom.parseString(s)
>>   File "/usr/lib64/python2.7/xml/dom/minidom.py", line 1928, in
>> parseString
>>     return expatbuilder.parseString(string)
>>   File "/usr/lib64/python2.7/xml/dom/expatbuilder.py", line 940, in
>> parseString
>>     return builder.parseString(string)
>>   File "/usr/lib64/python2.7/xml/dom/expatbuilder.py", line 223, in
>> parseString
>>     parser.Parse(string, True)
>> xml.parsers.expat.ExpatError: junk after document element: line 127,
>> column 0
>>
>> I have no idea what this means -- all python to me
>> ==John
>>
>>
>> ------------------------------------------------------------------------------
>> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
>> by Intel and developed in partnership with Slashdot Media, is your hub for all
>> things parallel software development, from weekly thought leadership blogs to
>> news, videos, case studies, tutorials and more. Take a look and join the
>> conversation now. http://goparallel.sourceforge.net/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net