[mythtv-users] mythvidexport: TypeError: cannot concatenate 'str' and 'int' objects

Ian Evans dheianevans at gmail.com
Sun Feb 9 00:05:00 UTC 2014


On Sat, Feb 8, 2014 at 4:52 PM, Dustin Oprea <myselfasunder at gmail.com>wrote:

> On Sat, Feb 8, 2014 at 4:35 PM, Ian Evans <dheianevans at gmail.com> wrote:
>
>> Have used mythvidexport quite successfully before. Tried to use it today
>> and it failed. Ran from the command line and got this:
>>
>> sudo su - mythtv -c "/usr/share/mythtv/mythvidexport.py --seekdata
>> --delete 23745"
>> mythvidexport.py Using recording -- 19th Annual Screen Actors Guild
>> Awards -
>> mythvidexport.py Performing TV export with local data.
>> mythvidexport.py Import complete
>> mythvidexport.py Copying myth://Default@buster/1665_20130128005800.mp4
>> to myth://Videos@buster/Television/19th Annual Screen Actors Guild
>> Awards/Season 1/19th Annual Screen Actors Guild Awards - S1E19 - .mp4
>> Traceback (most recent call last):
>>   File "/usr/share/mythtv/mythvidexport.py", line 431, in <module>
>>     main()
>>   File "/usr/share/mythtv/mythvidexport.py", line 409, in main
>>     'comment':'ERROR: '+e.args[0]})
>> TypeError: cannot concatenate 'str' and 'int' objects
>>
>> I think this is the correct tech term to use: Wassup?
>>
>>
> Add a line before, to print e.args (make sure the amount of spacing, at
> the front, matches):
>
>
> *print(e.args) *Job(int(args[0])).update({'status':Job.ERRORED,
>
>                           'comment':'ERROR: '+e.args[0]})
>
> I'm not in a place where I can directly test it, right now.
>
>
Ah...the old permissions issue. Kinda wish mythtv-setup would warn you
about chmod'ing/chown'ing when ya add a new drive. :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140208/11cd5882/attachment.html>


More information about the mythtv-users mailing list