[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#335295: timidity: Misleading error: "Can't read ANY configuration file"?



Package: timidity
Followup-For: Bug #335295


Honorable timiditians, the new error message is better:

    % /etc/init.d/timidity start
    Starting TiMidity++ ALSA midi emulation: /etc/timidity/freepats.cfg: No such file or directory
    timidity: Error reading configuration file.
    Please check /etc/timidity/timidity.cfg
    (failed).

Still, the phrase "Error reading configuration file" is
a trifle vague, (the verb 'reading' seems needless), it might mean:

    1) a file system corruption prevents a file read.
    2) a syntax error in some config file.
    3) a particular setting in a config file caused the error.

In my case I'm sure the answer is #3, but "Aunt Tillie" wouldn't
know what to think.

Suggested revision, which shows the filename and line number that 
confused 'timidity', followed by the resulting error:

    timidity: config file error
    /etc/timidity/timidity.cfg: 33:  source /etc/timidity/freepats.cfg
    No such file or directory as /etc/timidity/freepats.cfg

...or something like that.

HTH...


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-3-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages timidity depends on:
ii  libartsc0                 1.5.5-1        aRts sound system C support librar
ii  libasound2                1.0.13-2       ALSA library
ii  libaudio2                 1.8-4          The Network Audio System (NAS). (s
ii  libaudiofile0             0.2.6-6        Open-source version of SGI's audio
ii  libc6                     2.3.6.ds1-13   GNU C Library: Shared libraries
ii  libesd-alsa0 [libesd0]    0.2.36-3       Enlightened Sound Daemon (ALSA) - 
ii  libflac7                  1.1.2-6        Free Lossless Audio Codec - runtim
ii  libglib2.0-0              2.12.6-2       The GLib library of C routines
ii  libice6                   1:1.0.1-2      X11 Inter-Client Exchange library
ii  libjack0.100.0-0          0.101.1-2      JACK Audio Connection Kit (librari
ii  libncurses5               5.5-5          Shared libraries for terminal hand
ii  libogg0                   1.1.3-2        Ogg Bitstream Library
ii  liboggflac3               1.1.2-6        Free Lossless Audio Codec - runtim
ii  libpng12-0                1.2.15~beta5-1 PNG library - runtime
ii  libsm6                    1:1.0.1-3      X11 Session Management library
ii  libvorbis0a               1.1.2.dfsg-1.2 The Vorbis General Audio Compressi
ii  libvorbisenc2             1.1.2.dfsg-1.2 The Vorbis General Audio Compressi
ii  libx11-6                  2:1.0.3-6      X11 client-side library
ii  libxaw7                   1:1.0.2-4      X11 Athena Widget library
ii  libxext6                  1:1.0.1-2      X11 miscellaneous extension librar
ii  libxmu6                   1:1.0.2-2      X11 miscellaneous utility library
ii  libxt6                    1:1.0.2-2      X11 toolkit intrinsics library
ii  zlib1g                    1:1.2.3-13     compression library - runtime

Versions of packages timidity recommends:
pn  freepats                      <none>     (no description available)

-- no debconf information



Reply to: