|
Bugzilla – Full Text Bug Listing |
| Summary: | pytone faild to start | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Pavel Nemec <pnemec> |
| Component: | ConsoleApps | Assignee: | Jan Matejek <jmatejek> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | Beta 3 | ||
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | All | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
Looks like you have to first configure pytone to point to a directory containing your music; have you done that? ok i copied /etc/pytonerc to ~.pytone/ and change some values it run now but i still thing that this is bug apparently not yours Lukas new maintainer actually, it's rather a feature than a bug - the author decided to deliberately re-raise all exceptions instead of catching them. however, that is not nice to do to an end user, so i've made a launcher which catches those runaway exceptions, and submitted it with a new version you could be right, but point is that if you run pyton nothing happends without telling you what to do: pnemec@wintermute: pytone PyTone configuration error: "musicbasedir '' of database main is not a directory." You had to now that you had to create config file. I think python should say this. example: PyTone configuration error: "musicbasedir '' is not set. Check/Create you configuration file see ...bla bla bla how about this: PyTone configuration error: "musicbasedir of database main is not set". PyTone found an error in your configuration. Please check /etc/pytonerc or ~/.pytone/pytonerc do you think it is sufficient? I think corect way is create default cfg file if no one exist. But i think sufficient will be link to help / man page. Man page for pytone do not exist. Only pytone --help. So probably add man page or enhance pyton --help output |
pytone (python jukebox) fail to start output is: nemec@wintermute:~> pytone Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/pytone/pytone.py", line 115, in ? songdbid = songdbmanager.addsongdb(songdbname, config.database[songdbname]) File "/usr/lib/python2.4/site-packages/pytone/services/songdb.py", line 147, in addsongdb songdb = songdbs.local.songdb(id, config, self.songdbhub) File "/usr/lib/python2.4/site-packages/pytone/services/songdbs/local.py", line 151, in __init__ raise errors.configurationerror("musicbasedir '%s' of database %s is not a directory." % (self.basedir, self.id)) errors.configurationerror: PyTone configuration error: "musicbasedir '' of database main is not a directory."