Last modified: 2013-12-18 19:11:07 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T49571, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47571 - Score needs better error differentiation
Score needs better error differentiation
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
Score (Other open bugs)
unspecified
All All
: High enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 47351
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-23 20:30 UTC by Sam Reed (reedy)
Modified: 2013-12-18 19:11 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sam Reed (reedy) 2013-04-23 20:30:28 UTC
In the case of lilypond syntax errors, it really shouldn't carry on and try and push it through ghostscript. Extracting the error and showing it to the user would be good

e.g. from bug 47534

Processing `.../file.ly'
Parsing...
.../file.ly:14:0: error: syntax error, unexpected \header

\header {
.../file.ly:34:24: error: syntax error, unexpected '}'

                        }Interpreting music... [8]
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `file.eps'...
Converting to PNG...GS exited with status: 9
Comment 1 Peter Gervai (grin) 2013-04-23 21:30:11 UTC
I guess if reedy fixes up the mediawiki install and fix GS error 9 all the error message will be invisible. Good question _how_ should the extension notify the user if there's seemingly some useful score output emitted...
Comment 2 Bawolff (Brian Wolff) 2013-05-11 09:42:13 UTC
Note, the random syntax errors I have made don't have the GS error 9, but instead look something like:

 Processing `/tmp/MWLP.ebe90cf9bcc69ad96d400911052e46f2/file.ly'
 Parsing...
 /tmp/MWLP.ebe90cf9bcc69ad96d400911052e46f2/file.ly:12:1: error: syntax error,  unexpected SCM_TOKEN
 
 #(set-global-staff-size 14)
 /tmp/MWLP.ebe90cf9bcc69ad96d400911052e46f2/file.ly:25:24: error: syntax error, unexpected '}'
                        
                        }Interpreting music... 
 Preprocessing graphical objects...
 Finding the ideal number of pages...
 Fitting music on 1 page...
 Drawing systems...
 Layout output to `file.ps'...
 Converting to PNG...
 error: failed files: "/tmp/MWLP.ebe90cf9bcc69ad96d400911052e46f2/file.ly"

 exited with status: 1
Comment 3 Bawolff (Brian Wolff) 2013-08-22 22:09:32 UTC
I'm going to mark wontfix. All the GS status 9 are all the same error (out of memory)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links