Skip Menu |

This queue is for tickets about the Test-Corpus-Audio-MPD CPAN distribution.

Report information
The Basics
Id: 67982
Status: resolved
Priority: 0/
Queue: Test-Corpus-Audio-MPD

People
Owner: Nobody in particular
Requestors: KENTNL [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.110710
Fixed in: (no value)



Subject: Loading once causes it not to terminate after perl exists.
perl -MTest::Corpus::Audio::MPD
could not start fake mpd: Failed to load database: Failed to open database file "/tmp/.private/kent/rRggDPHi04/music.db": No such file or directory

Compilation failed in require.
BEGIN failed--compilation aborted.


ps -aux | grep -i mpd
kent     799354  0.0  0.1 246088  7060 ?        Ssl  22:51   0:00 mpd /tmp/.private/kent/wKb312wlUP/mpd.conf
kent     799397  0.0  0.0  11308   900 pts/33   S+   22:51   0:00 grep --colour=auto -i mpd

perl -MTest::Corpus::Audio::MPD
mpd is running
Compilation failed in require.
BEGIN failed--compilation aborted.

If you need more information, feel free to ask =).
thanks for the report. mpd 0.16.x do not have anymore an option to force db creation, yet it complains when the db doesn't exist... but it continues to work, and has a 0 return value. previously, mpd was complaining only when hitting a non-recoverable error, and i was therefore using mpd output to check if it crashed. anyway, i'm now checking $@, and it works fine. v1.111260 on its way.