Ticket #7 (closed task: fixed)

Opened 2 years ago

Last modified 23 months ago

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."

Attachments

Change History

Changed 2 years ago by gandalf

  • version set to 0.1.9

Changed 2 years ago by daelstorm

  • status changed from new to assigned

Modified the failed loading config message to include some advice about using musetup.

Changed 2 years ago by gandalf

  • component changed from museek_general to museekd
  • milestone set to Next release

Changed 23 months ago by gandalf

  • status changed from assigned to closed
  • resolution set to fixed

Add/Change #7 (Museekd crash when conf files doesn't exist)

Author



Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.