On 3/14/19 9:32 AM, Richard Shann wrote: > On Wed, 2019-03-13 at 23:29 +0100, Andreas Schneider wrote: >> On 3/13/19 9:36 AM, Richard Shann wrote: >>> On Tue, 2019-03-12 at 21:30 +0100, Andreas Schneider wrote: >>>> On 3/12/19 10:00 AM, Richard Shann wrote: >>>>> On Mon, 2019-03-11 at 20:54 +0100, Andreas Schneider wrote: >>>>>> Hi, >>>>>> >>>>>> Edit > Paste Lilypond notes does not work for me. After >>>>>> answering >>>>>> yes >>>>>> to >>>>>> the question "Paste from Selection", >>>>> >>>>> What is in the Denemo Display when you get this dialog? It >>>>> should >>>>> be >>>>> showing a new, (*Untitled), tab containing just the notes that >>>>> you >>>>> have >>>>> tried to paste from the system clipboard (not, of course, >>>>> Denemo's >>>>> own >>>>> clipboard of Denemo Objects). (I expected it to show them >>>>> already >>>>> selected, but they appear un-selected, however, they do then >>>>> get >>>>> copied >>>>> and pasted into the original tab if you respond with "Yes" to >>>>> the >>>>> dialog. Which means the wording of the dialog is bad :( ...) >>>> >>>> Attached you find two screenshots of a simple test. The first >>>> shows >>>> the >>>> test file before I Paste Lilypond notes. The second one shows >>>> what it >>>> looks like directly after invoking the command, and after >>>> selecting >>>> yes >>>> from the dialog it goes back to the first screenshot. The text in >>>> the >>>> clipboard was "f2" (without the quotes). >>> >>> What is being output to the terminal? The first time I used it I >>> got a >>> lot of stuff from the Guile interpreter commenting on the compiling >>> of >>> the script into bytecode (I'm running Guile version 2) but >>> subsequent >>> use gives this output: >>> >>> 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8 >>>> <8> >>> Using existing lexer file >>> Using existing lexer file >>> Using existing lexer file >>> Using existing lexer file >>> >>> :::::::: Parser Start :::::::::: >>> ((x_CHORD (x_NOTE ("d" . 0) "" "" "" "" "") . "")) >>> >>> :::::::: Parser Finished :::::::::: >>> >>> ============= Here is the final list ============= >>> ============= ====================== ============= >>> ((x_MOVEMENT >>> (((x_SEQUENTIAL >>> (x_CHORD (x_NOTE ("d" . 0) "" "" "" "" "") . "")))))) >>> >>> ============= ====================== ============= >>> >>> Now to execute the creation script >>> >>> 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8 >>>> <8> >>> >>> This is with "d" on the system clipboard. >>> >>> What do you have? >> >> With "f4" on the clipboard, I get the following: >> >> <8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8> >> <8> >> Lex error: >> /usr/share/denemo/actions/notes.l:1: >> 2: white space expected. > > Can you post your file > /usr/share/denemo/actions/notes.l > it should be a copy of > > http://git.savannah.gnu.org/gitweb/?p=denemo.git;a=blob_plain;f=actions/notes.l;hb=HEAD > > which does have whitespace at line 1 column 2.
The file /usr/share/denemo/actions/notes.l is identical to the one downloaded from the online git at the given link. It contains a tab at line 1 column 2. >> Lex error: >> /usr/share/denemo/actions/quote.l:1:2: white space expected. >> >> Lex error: >> /usr/share/denemo/actions/block.l:1:2: white space expected. >> >> Lex error: >> /usr/share/denemo/actions/incl.l:1:2: white space expected. >> >> ;;; Stat of /home/andreas/.denemo-2.2.11/actions/notes.l.scm failed: > > presumably the Lex failure meant it didn't create > > /home/andreas/.denemo-2.2.11/actions/notes.l.scm > > and so nothing came of it all. > > If you get up the Scheme Script Window and put > > (version) > > in the CLI and hit <Return> it should output to the terminal the Guile > version you are running inside Denemo. (Not that there is any reason > Guile 1.8 shouldn't be just fine as that was the version this LilyPond > importer was last developed with). => 2.0.13 > If the notes.l file is not corrupt I'll have to dig down into the > script that reads it (things like actions/lalr.scm ...) If you want to debug with my Debian build, you know where to find the packages ... Andreas _______________________________________________ Denemo-devel mailing list Denemo-devel@gnu.org https://lists.gnu.org/mailman/listinfo/denemo-devel