[mythtv-users] mythvidexport.py and 0.26
Stephen Robertson
stephengrobertson at gmail.com
Sun Sep 2 19:03:31 UTC 2012
On Tue, Aug 28, 2012 at 7:03 PM, Raymond Wagner <raymond at wagnerrp.com> wrote:
> On 8/28/2012 12:06, Stephen Robertson wrote:
>>
>> Hello All,
>>
>> Should I expect mythvidexport 0.7.5 from
>>
>> https://github.com/wagnerrp/mythtv-scripts/blob/master/python/mythvidexport.py
>> to work with 0.26/master?
[trimmed]
> There are currently outstanding issues in the Python bindings, dealing with
> the conversion of MythTV to use UTC internally. They should be fixed by the
> time 0.26 is officially released.
I noticed the two commits relating to the python bindings so I thought
I would experiment with mythvidexport again. I seem to be getting
more or less the same error when running it manually. However when I
run it as a user job then it works(though I've not manged to get
recordings to delete.
I suppose my questions are:
Am I trying to use this from the command line correctly? And if so
what else could be wrong?
and
Where does log output from this end up? Or how do i specify that
location? SO I can try and debug why my recordings don't get deleted
when using that option.
Thanks
Stephen
/home/stephen/mythvidexport.py --verbose all --chanid=1033
--starttime=20120826071000
2012-09-02 19:51:29.657814 I [25896] Python Database Connection
Attempting connection: sql://mythconverg@bressay:3306/
2012-09-02 19:51:29.657917 I [25896] Python Database Connection
Spawning new database connection
2012-09-02 19:51:29.666607 I [25896] Python Database Connection
Spawning new database connection
Traceback (most recent call last):
File "/home/stephen/mythvidexport.py", line 431, in <module>
main()
File "/home/stephen/mythvidexport.py", line 403, in main
export = VIDEO(opts)
File "/home/stephen/mythvidexport.py", line 58, in __init__
self.rec = Recorded((self.chanid,self.starttime), db=self.db)
File "/usr/lib/python2.7/dist-packages/MythTV/dataheap.py", line
259, in __init__
DBDataWrite.__init__(self, data, db)
File "/usr/lib/python2.7/dist-packages/MythTV/database.py", line
303, in __init__
DBData.__init__(self, data, db)
File "/usr/lib/python2.7/dist-packages/MythTV/database.py", line
171, in __init__
self._pull()
File "/usr/lib/python2.7/dist-packages/MythTV/database.py", line 367, in _pull
DBData._pull(self)
File "/usr/lib/python2.7/dist-packages/MythTV/database.py", line 189, in _pull
raise MythError('DBData() could not read from database')
MythTV.exceptions.MythError: DBData() could not read from database
More information about the mythtv-users
mailing list