Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#47508 - [wildmidi] no default configuration installed, but one is required

Attached to Project: Arch Linux
Opened by Ramana Kumar (xrchz) - Wednesday, 23 December 2015, 21:36 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 25 December 2015, 15:40 GMT
Task Type Bug Report
Category Packages: Extra
Status Assigned
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 3
Private No

Details

Description: If one installs wildmidi and tries to run it, it complains as follows:

libWildMidi(_WM_BufferFile:132): ERROR Unable to stat /etc/wildmidi/wildmidi.cfg (No such file or directory)

I believe a default wildmidi.cfg is provided with the upstream sources, and so it should probably be installed at that location. It may require additional dependencies (e.g., timidity-freepats).
This task depends upon

Comment by Colin Heinzmann (DepthDeluxe) - Tuesday, 05 January 2016, 19:41 GMT
Confirmed, it appears your diagnosis is correct. Wildmidi wants to have a configuration file at /etc/wildmidi/wildmidi.cfg in order to run properly. I'm not sure if it is a good idea to add the upstream configuration file directly as it requires that freepats is on the system. What we could do is add timidy-freepats to the optional dependency list, create a configuration file for freepats support in the /etc/wildmidi folder, and add an /etc/wildmidi/wildmidi.cfg as default configuration just to make the program happy (wildmidi runs fine if the configuration file exists but is empty).
Comment by Colin Heinzmann (DepthDeluxe) - Tuesday, 05 January 2016, 20:40 GMT
I have attached my proposed fix for the problem. I have added two configuration files "wildmidi.cfg" and "freepats.cfg". The first is a blank configuration file to fix the error message and the second is a configuration file that will work with timidity-freepats. Clarifying instructions are commented in the configuration files. In addition, I have added timidity-freepats to the optional dependency list.


Edit: sorry, use the second download. Made a typo in one of the configuration files and it is fixed in that one. Interface won't let me delete the first one...
Comment by Stefan Schick (pommes_) - Saturday, 27 July 2019, 17:59 GMT
Problem still occurs with WildMidi 0.4.3

System Error (_WM_BufferFileImpl:218) /etc/wildmidi/wildmidi.cfg (Unable to stat) : No such file or directory

I am wondering: If as you say, the program is working fine with an empty config file, shouldn't the config file then be optional in the first place?

I opened an upstream issue to resolve this question.
https://github.com/Mindwerks/wildmidi/issues/209

Loading...