Re: [lily4jedit-user] Virtual piano doesn't work with Snow Leopard?
Brought to you by:
fodber
From: B2 <b_...@ie...> - 2010-05-13 15:21:25
|
Bad syntax - that was it. I realized that was the case, but didn't know enough about the syntax to verify - it compiled and displayed even with the bad syntax (missing the c' after relative) I suspect your regex pattern matching is a bit overly sensitive. >From the Activity log: - 8:48:50 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: Exception in thread "AWT-EventQueue-0" - 8:48:50 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: java.lang.IllegalStateException: No match found - 8:48:50 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.util.regex.Matcher.group(Matcher.java:468) - 8:48:50 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at lilytool.piano.Piano.createNoteText(Piano.java:403) - 8:48:50 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at lilytool.piano.Piano.createPianoText(Piano.java:304) - 8:48:50 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at lilytool.piano.Piano.writeMusicElements(Piano.java:260) - 8:48:50 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at lilytool.piano.midi.ChordProcessor$1.run(ChordProcessor.java:46) - 8:48:50 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) Separately this: - 8:48:34 AM [AWT-EventQueue-0] [error] JEditTextArea: java.lang.ClassCastException: lilytool.pdf.dockable.DockablePdfViewer cannot be cast to lilytool.pdf.dockable.DockablePdfViewer - 8:48:34 AM [AWT-EventQueue-0] [error] JEditTextArea: at lilytool.LilyToolPlugin.getPdfViewer(LilyToolPlugin.java:537) - 8:48:34 AM [AWT-EventQueue-0] [error] JEditTextArea: at lilytool.LilyToolPlugin$4.caretUpdate(LilyToolPlugin.java:806) - 8:48:34 AM [AWT-EventQueue-0] [error] JEditTextArea: at org.gjt.sp.jedit.textarea.TextArea.fireCaretEvent(TextArea.java:5200) - 8:48:34 AM [AWT-EventQueue-0] [error] JEditTextArea: at org.gjt.sp.jedit.textarea.TextArea._finishCaretUpdate(TextArea.java:5006) - 8:48:34 AM [AWT-EventQueue-0] [error] JEditTextArea: at org.gjt.sp.jedit.textarea.TextArea.finishCaretUpdate(TextArea.java:5186) - 8:48:34 AM [AWT-EventQueue-0] [error] JEditTextArea: at org.gjt.sp.jedit.textarea.TextArea.moveCaretPosition(TextArea.java:2236) - 8:48:34 AM [AWT-EventQueue-0] [error] JEditTextArea: at org.gjt.sp.jedit.textarea.TextArea.moveCaretPosition(TextArea.java:2203) - 8:48:34 AM [AWT-EventQueue-0] [error] JEditTextArea: at org.gjt.sp.jedit.textarea.TextAreaMouseHandler.doSingleClick(TextAreaMouseHandler.java:208) - 8:48:34 AM [AWT-EventQueue-0] [error] JEditTextArea: at org.gjt.sp.jedit.textarea.MouseHandler.mousePressed(MouseHandler.java:121) the dockable pdf viewer does not update automatically after the piano is used. I run lilypond again and then redisplay the viewer. Very very fast of course for just a few notes. Thanks very much for this great tool! B2 On Thu, May 13, 2010 at 8:20 AM, Bertalan Fodor (LilyPondTool) < lil...@or...> wrote: > I hope someone with Snow Leopard can answer this. Look at > Utilities>Troubleshooting>Activity log. Can you see any exceptions? > > Notes are added only if the structure of file is correct, like: > > \relative c' { > <<YOUR CURSOR HERE WHEN OPENING THE VIRTUAL PIANO>> > } > > > B2 wrote: > > Latest Snow Leopard. I just installed Lilypond, jEdit, and the lilypond > plug-in. The Virtual piano displays, I can hear midi notes when I > mouse-click on a key, or when I type, but no notes are added to the text > file. The button panel does work to insert braces, rests and the like. > > Any ideas? I'm a Mac hacker, python/java guy, but a noob to all these new > tools. > > ------------------------------ > > ------------------------------------------------------------------------------ > > > > ------------------------------ > > _______________________________________________ > Lily4jedit-user mailing list > Lil...@li... > https://lists.sourceforge.net/lists/listinfo/lily4jedit-user > > > |