Thread:Extension talk:Score/Troubleshooting Help

I installed a fresh version of mediawiki 1.23.5 and the Score Extension from Score-REL1_23-61b056b.tar.gz, mwEmbedSupport, and TimedMediaHandler. lilypond exists on my system. I added these lines to my LocalSettings.php:

umask(0022); // suphp per https://www.mediawiki.org/wiki/Manual_talk:Configuring_file_uploads#Folder_permissions_.26_SUPHP $wgMaxShellMemory = 0; require_once("$IP/extensions/Score/Score.php"); $wgScoreLilyPond = '/usr/local/bin/lilypond'; /* required */ $wgScoreAbc2Ly = '/usr/local/bin/abc2ly'; /* if you want ABC to LilyPond conversion */ $wgScoreTimidity = '/usr/bin/timidity'; /* if you want MIDI to Vorbis conversion */ $wgScoreTrim = true; /* Set to false if you don't want score trimming */ // TimedMediaHandler is dependent on mwEmbedSupport require_once( "$IP/extensions/MwEmbedSupport/MwEmbedSupport.php" ); // TimedMediaHandler require_once( "$IP/extensions/TimedMediaHandler/TimedMediaHandler.php" );

I did not create a lilypond directly inside the Upload Directory because I wanted the Score extension to attempt to create it for me with the rights available to it (per the README). I created a new page and added this:

LilyPond Rendering:

I save the page, and it doesn't have the lilypond image, only the error ''No MIDI file generated despite being requested. If you are working in raw LilyPond mode, make sure to provide a proper \midi block.'' I can find both file.png and file.midi in the root htdocs folder: https://wiki.jeffharris.us/file.png which doesn't appear to be trimmed, and my images folder is empty.

I turned on a debug log and I see this: MessageCache::load: Loading en... global cache is empty, loading from database EditPage::importFormData: Passed token check. User::getBlockedStatus: checking... timestamp: 20141015190143, edittime: 20141015190143 EditPage::internalAttemptSave: getting section '' Unstubbing $wgParser on call of $wgParser::preSaveTransform from WikitextContent::preSaveTransform Parser: using preprocessor: Preprocessor_DOM Unstubbing $wgLang on call of $wgLang::_unstub from ParserOptions::__construct FSFileBackend::getFileListInternal given directory does not exist: '/var/www/us/jeffharris/wiki/htdocs/images/lilypond/d/5/d5cbwb05lck0wyiyztgm90ot8ty9swf' Score::createDirectory: called wfMkdirParents(/tmp/MWLP.b937de0e612e5c16f88cd2d14a3f0540) wfShellExec: /bin/bash '/var/www/us/jeffharris/wiki/htdocs/includes/limit.sh' \/usr/local/bin/lilypond'\ --version 2>&1' 'MW_INCLUDE_STDERR=;MW_CPU_LIMIT=180; MW_CGROUP='\'\''; MW_MEM_LIMIT=0; MW_FILE_SIZE_LIMIT=102400; MW_WALL_CLOCK_LIMIT=180; MW_USE_LOG_PIPE=yes' wfShellExec: /bin/bash '/var/www/us/jeffharris/wiki/htdocs/includes/limit.sh' 'LILYPOND_GC_YIELD='\25'\ '\/usr/local/bin/lilypond'\ '\-dsafe=#t'\ -dbackend=ps --png --header=texidoc '\/tmp/MWLP.b937de0e612e5c16f88cd2d14a3f0540/file.ly'\ 2>&1' 'MW_INCLUDE_STDERR=;MW_CPU_LIMIT=180; MW_CGROUP='\'\; MW_MEM_LIMIT=0; MW_FILE_SIZE_LIMIT=102400; MW_WALL_CLOCK_LIMIT=180; MW_USE_LOG_PIPE=yes' DatabaseBase::query: Writes done: INSERT INTO `text` (old_id,old_text,old_flags) VALUES (NULL,'LilyPond Rendering:\n\n ','utf-8') WikiPage::doEditUpdates: No vary-revision, using prepared edit... Saved in parser cache with key my_wiki:pcache:idhash:2-0!*!*!*!*!*!* and timestamp 20141015193403 and revision id 3 BacklinkCache::queryLinks: got results from DB [cookie] setcookie: "my_wikiPostEditRevision3", "1", "1413402847", "/", "", "1", "" OutputPage::sendCacheControl: private caching; ** LoadBalancer::reuseConnection: this connection was not opened as a foreign connection Title::getRestrictionTypes: applicable restrictions to Shave and a Haircut are {edit,move} BacklinkCache::partition: got from full result cache BacklinkCache::queryLinks: got results from DB BacklinkCache::partition: got from full result cache Request ended normally

Where do I begin troubleshooting this?