Page MenuHomePhabricator

ext:Score can't create a vorbis file
Closed, ResolvedPublic

Description

HI. When a new score was create as in [[ v:fr:Recherche:Combinatoire & pratique instrumentale/Résultats | fr.wikiversity ]]. The vorbis file is not created and the response is :

/etc/timidity/freepats.cfg: No such file or directory
timidity: Error reading configuration file.
Please check /etc/timidity/timidity.cfg

no problem with the on_the_fly midi creation.
Thanks.

Details

Related Changes in Gerrit:

Event Timeline

Crochet.david raised the priority of this task from to Needs Triage.
Crochet.david updated the task description. (Show Details)
Crochet.david subscribed.
Aklapper triaged this task as Lowest priority.Jan 6 2015, 7:18 PM

Change 183075 had a related patch set uploaded (by Reedy):
Add freepats for Score usage

https://gerrit.wikimedia.org/r/183075

Patch-For-Review

I think this was broken by the 14.04 upgrade. We need the freepats package installing

reedy@mw1203:~$ dpkg -l | grep timidity
ii  timidity                             2.13.2-40.2                          amd64        Software sound renderer (MIDI sequencer, MOD player)
reedy@mw1203:~$ dpkg -l | grep freepats
reedy@mw1203:~$ grep freepats /etc/timidity/timidity.cfg
# By default, try to use the instrument patches from freepats:
source /etc/timidity/freepats.cfg
reedy@mw1203:~$ apt-get install -s freepats
NOTE: This is only a simulation!
      apt-get needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  freepats
0 upgraded, 1 newly installed, 0 to remove and 31 not upgraded.
Inst freepats (20060219-1 Ubuntu:14.04/trusty [all])
Conf freepats (20060219-1 Ubuntu:14.04/trusty [all])
reedy@mw1203:~$
Reedy raised the priority of this task from Lowest to High.Jan 6 2015, 7:31 PM
Reedy added a project: acl*sre-team.
Reedy set Security to None.

Change 183075 merged by Rush:
Add freepats for Score usage

https://gerrit.wikimedia.org/r/183075

I merged this based on my understanding of the problem and the fact that freepats is listed as "recommends` for timidity and our case seems to imply the need.

@Reedy to confirm the fix (should take a bit to roll out over the cluster tho)