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

Rafael Moslin rafmoslin at gmail.com
Sat Feb 27 13:09:59 UTC 2010


Thought I would give Jamu a go after making a lot of changes to my videos,
so I think I've set up everything correctly but get this error, I assume its
something I've got wrong so anyone seen this error before and got a resolve
at all?

After running

./jamu.py -l en -C "/home/mythtv/.mythtv/jamu.conf" -MIV

2010-02-27 12:47:05.000 Python Database Connection: Using connection
settings from /home/mythtv/.mythtv/config.xml
Traceback (most recent call last):
  File "/usr/local/share/mythtv/mythvideo/scripts/jamu.py", line 6356, in
<module>
    main()
  File "/usr/local/share/mythtv/mythvideo/scripts/jamu.py", line 6337, in
main
    configuration.validate_setVariables(series_season_ep)
  File "/usr/local/share/mythtv/mythvideo/scripts/jamu.py", line 1723, in
validate_setVariables
    self._getMythtvDirectories()
  File "/usr/local/share/mythtv/mythvideo/scripts/jamu.py", line 1497, in
_getMythtvDirectories
    getStorageGroups()
  File "/usr/local/share/mythtv/mythvideo/scripts/jamu.py", line 761, in
getStorageGroups
    if dirname[-1:] == u'/':
UnboundLocalError: local variable 'dirname' referenced before assignment

Ta in advance,

Rafael.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20100227/044fca9d/attachment.htm>


More information about the mythtv-users mailing list