Ticket #7 (closed task: fixed)
Museekd crash when conf files doesn't exist
| Reported by: | gandalf | Owned by: | daelstorm |
|---|---|---|---|
| Priority: | trivial | Milestone: | Release 0.1.10 |
| Component: | museekd | Version: | 0.1.9 |
| Keywords: | Cc: |
Description
If you run museekd without having run musetup first, the daemon crash and print the python traceback to stdout :
gandalf@rexxar:/etc/apache2$ museekd museekd :: Version 0.1.9 :: Museek Daemon Plus
[Museekal.CM.DBG] error creating epoll fd I/O warning : failed to load external entity "/home/gandalf/.museekd/config.xml" [Muconf.NC.DBG] Exception (Couldn't create parsing context) caught while parsing configuration database I/O warning : failed to load external entity "/home/gandalf/.museekd/config.xml" [Muconf.NC.DBG] Exception (Couldn't create parsing context) caught while parsing configuration database I/O error : No such file or directory terminate called after throwing an instance of 'xmlpp::exception'
what(): do_write_to_file() failed.
Aborted
It should be nicer to get a message like "No configuration file found. You may consider running musetup (musetup(1)) or run museekd with --config /path/to/conf/file."
