Hi Jörg, today I had time to get a little bit deeper into pytone code to fix a bug that anoyes me for ages. Pytone throws an hard to read exception if you don't set "musicbasedir", after looking into config.py I detected that there is check code for this case, but the code is broken :). if songdb == "local" and songdb.musicbasedir == "": in Line 895 has to be: if songdb.type == "local" and songdb.musicbasedir == "": After this change the code will behave as expected and we get a nice errormessage ;). Alex
Hi Alex, Late, but I did not forget your bug report ;-). On 29.09.06, Alexander Wirt wrote:
today I had time to get a little bit deeper into pytone code to fix a bug that anoyes me for ages. Pytone throws an hard to read exception if you don't set "musicbasedir", after looking into config.py I detected that there is check code for this case, but the code is broken :).
if songdb == "local" and songdb.musicbasedir == "": in Line 895 has to be: if songdb.type == "local" and songdb.musicbasedir == "":
After this change the code will behave as expected and we get a nice errormessage ;).
Thanks, the fix is checked in to the currently active branch. Joerg
participants (2)
-
Alexander Wirt -
Joerg Lehmann