Ticket #12947: pythonlog.txt

File pythonlog.txt, 1.3 KB (added by craig@…, 6 years ago)

python log

Line 
1craig-nuc.craig 4098> python
2Python 2.7.12 (default, Nov 19 2016, 06:48:10)
3[GCC 5.4.0 20160609] on linux2
4Type "help", "copyright", "credits" or "license" for more information.
5>>> from MythTV import Job, Recorded, System, MythDB, findfile, MythError, MythLog, datetime
6>>> from optparse import OptionParser
7>>> from glob import glob
8>>> from shutil import copyfile
9>>> import sys
10>>> import os
11>>> import errno
12>>> import time
13>>> db = MythDB()
14>>> job = Job(2057, db=db)
15>>> chanid = job.chanid
16>>> starttime = job.starttime
17>>> rec = Recorded((chanid, starttime), db=db)
18>>> rec.update()
19Traceback (most recent call last):
20  File "<stdin>", line 1, in <module>
21  File "/usr/lib/python2.7/dist-packages/MythTV/database.py", line 429, in update
22    self._push()
23  File "/usr/lib/python2.7/dist-packages/MythTV/dataheap.py", line 351, in _push
24    DBDataWrite._push(self)
25  File "/usr/lib/python2.7/dist-packages/MythTV/database.py", line 408, in _push
26    % (self._table, format_string, self._where), sql_values)
27  File "/usr/lib/python2.7/dist-packages/MythTV/_conn_mysqldb.py", line 71, in execute
28    raise MythDBError(MythDBError.DB_RAW, e.args)
29MythTV.exceptions.MythDBError: MySQL error 1292: Incorrect datetime value: '0' for column 'bookmarkupdate' at row 1
30>>>