[mythtv-users] mythvidexport.py 0.7.5 issue with 0.25

Chris Watson mythtv-users at needhammarket.co.uk
Thu May 24 13:06:36 UTC 2012


I am running 0.25+fixes and having an issue with the 0.7.5 version of
the mythvidexport.py script provided by Raymond Wagner for 0.25
available at https://github.com/wagnerrp/mythtv-scripts/blob/master/python/mythvidexport.py

The script seems to always fail for my recordings.  An example of the
output is given below:

/home/mythtv/scripts/mythvidexport.py --chanid 1003 --starttime
20110829152800 --logfile /var/log/mythtv/mythvidexport.log
Traceback (most recent call last):
  File "/home/mythtv/scripts/mythvidexport.py", line 431, in <module>
    main()
  File "/home/mythtv/scripts/mythvidexport.py", line 403, in main
    export = VIDEO(opts)
  File "/home/mythtv/scripts/mythvidexport.py", line 65, in __init__
    self.get_meta()
  File "/home/mythtv/scripts/mythvidexport.py", line 128, in get_meta
    metadata = self.rec.exportMetadata()
  File "/usr/lib/python2.7/dist-packages/MythTV/dataheap.py", line
426, in exportMetadata
    metadata[tag] = self[tag]
  File "/usr/lib/python2.7/dist-packages/MythTV/altdict.py", line 127,
in __setitem__
    raise KeyError(str(name))
NameError: global name 'name' is not defined


More information about the mythtv-users mailing list