Page MenuHomePhabricator

Score: Colors names (e.g. #red) are not recognized
Closed, ResolvedPublic


Author: jeanluc.thiebaut


\version "2.14"
  \override NoteHead #'color = #red
\override NoteHead #'color = #'(1 0 0) %red

Version: unspecified
Severity: normal
OS: Linux
Platform: PC

Revisions and Commits

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:25 AM
bzimport set Reference to bz58526.
bzimport added a subscriber: Unknown Object (MLST).

jeanluc.thiebaut wrote:

Sorry unexpected return save it before ending...

I've tried this with fhe EN and FR wikisource sandbox,
OS Linux ; Firefox 24

In the first sequence, "#red" is unknown
error reported :
.../ error: GUILE signaled an error for the expression beginning here

\override NoteHead #'color = #

Interpreting music...
warning: type check for color' failed; value #<unspecified>' must be of type `color'

It can be circumvented via the second sequence
( \override NoteHead #'color = #'(1 0 0) )

This is valid for any color.

This is upstream issue (Color names should be enabled in safe mode but aren't)

Jdforrester-WMF moved this task from Untriaged to Backlog on the Multimedia board.Sep 4 2015, 6:11 PM
Restricted Application added subscribers: Matanya, Aklapper. · View Herald TranscriptSep 4 2015, 6:11 PM
Reedy updated the task description. (Show Details)Aug 5 2017, 1:37 AM
Reedy updated the task description. (Show Details)
Ebe123 claimed this task.Aug 5 2017, 4:29 AM

Change 370306 had a related patch set uploaded (by Ebe123; owner: Ebe123):
[mediawiki/extensions/Score@master] Run lilypond from inside firejail

Change 370306 merged by jenkins-bot:
[mediawiki/extensions/Score@master] Add option to use -dsafe argument in Lilypond command

Ebe123 closed this task as Resolved.Sep 13 2017, 11:35 PM

Resolved with safe mode deactivated.

{ \override NoteHead #'color = #red g'4 }

tstarling reopened this task as Open.Jul 29 2020, 3:08 AM
tstarling added a subscriber: tstarling.

I submitted the merge request for this.

Aklapper removed Ebe123 as the assignee of this task.Oct 15 2020, 1:14 PM
Aklapper removed a project: Patch-For-Review.
Aklapper added a subscriber: Ebe123.
Pppery closed this task as Resolved.Oct 24 2020, 3:55 PM
Pppery added a subscriber: Pppery.

Linked patch was merged.