bugDenemo - Bugs: bug #46428, LilyPond import is broken

 
 

bug #46428: LilyPond import is broken

Submitted by:  Richard Shann <rshann>
Submitted on:  Thu Nov 12 08:49:31 2015  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Postponed
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat Nov 14 16:01:02 2015, comment #3:

The import is only done with all work saved.
now in 2.0.1

The longer term thing would be to examine the possibility of defining #{ etc in the scheme environment which the imput parser is using.... the "etc" in this case might involve a lot of definitions that LilyPond provides, without which there will be no way of swallowing the correct amount of input after the # token is found.

Richard Shann <rshann>
Project Administrator
Sat Nov 14 14:33:29 2015, comment #2:

I've pushed a fix that means that ordinary LilyPond output from Denemo avoids that problematic syntax.
It would be good to add a check that everything was saved before risking the parser hanging (unless the problem could be solved in the parser ... difficult to see how - what does Frescobaldi do to parse over embedded scheme?)

Richard Shann <rshann>
Project Administrator
Sat Nov 14 12:41:03 2015, comment #1:

Not all LilyPond files are failing - Denemo's own ones are and it seems to be this syntax:

DenemoGlobalTranspose = #(define-music-function (parser location arg)(ly:music?) #{\transpose c c #arg #})

That is causing the parsing to hang - my guess is that the first # causes the parser to ask the guile expression reader to exhaust the stuff that follows, but that stuff contains the #{ #} syntax which is not Scheme but special LilyPond syntax. So this then causes guile to throw an error and no recovery appears to be made from it.

Richard Shann <rshann>
Project Administrator
Thu Nov 12 08:49:31 2015, original submission:

It seems to lock in a thread wait.
This seems to be true for several versions past. currently 2.0.1

Richard Shann <rshann>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rshann (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat Nov 14 16:01:02 2015rshannStatusIn Progress=>Postponed
    Sat Nov 14 14:33:29 2015rshannStatusNone=>In Progress

    Back to the top


    Powered by Savane 3.1-cleanup1