[mythtv-users] Jamu errors with local variable 'dirname' referenced before assignment

Doug Vaughan r.d.vaughan at rogers.com
Sat Feb 27 16:27:59 UTC 2010


Rafael,
    Congratulations, you have found a code bug. I will create a patch 
for this problem.

Now the bug is likely caused by an issue with your set up which will 
cause other non-bug related problems. I do not think you are running 
with a locale of utf-8. Please read specifically #5 and #6:
http://www.mythtv.org/wiki/Jamu#This_stupid_thing_does_not_work.21

The issue is that one or more of your storage group directories names 
contained Unicode characters that could not be encoded/decoded with 
utf-8. The jamu code should have handled this situation differently. If 
the issue is with your set up then once changed it will likely also get 
around the bug.

If this is not the problem please reply to this email with the output of 
you locale.
 > locale

and also your storage group directory names.

Thanks

Doug


More information about the mythtv-users mailing list