[mythtv-users] Silence.py Errors since 14.04 to 16.04 upgrade
Anthony Giggins
seven at seven.dorksville.net
Thu Apr 20 01:48:06 UTC 2017
On 20 April 2017 at 11:33, Anthony Giggins <seven at seven.dorksville.net>
wrote:
> Are there any python guru's out there that can help diagnose this error
> since upgrading from 14.04 to 16.04 (Both running 0.28)?
>
> $ env TZ=UTC silence.py --chanid=4009 --starttime=2017-04-19T09:20:00
> --loglevel=debug
> 2017-04-20 01:19:19.938913 I [23934] m mythcommflag:
> 2017-04-20 01:19:19.939426 I [23934] m mythcommflag: Processing: Channel 9
> Brisbane, 2017-04-19 09:20:00+00:00, "Spy in the Wild - Mischief"
> Traceback (most recent call last):
> File "/usr/local/bin/silence.py", line 224, in <module>
> main()
> File "/usr/local/bin/silence.py", line 171, in main
> rec.update()
> File "/usr/lib/python2.7/dist-packages/MythTV/database.py", line 429,
> in update
> self._push()
> File "/usr/lib/python2.7/dist-packages/MythTV/dataheap.py", line 351,
> in _push
> DBDataWrite._push(self)
> File "/usr/lib/python2.7/dist-packages/MythTV/database.py", line 408,
> in _push
> % (self._table, format_string, self._where), sql_values)
> File "/usr/lib/python2.7/dist-packages/MythTV/_conn_mysqldb.py", line
> 71, in execute
> raise MythDBError(MythDBError.DB_RAW, e.args)
> MythTV.exceptions.MythDBError: MySQL error 1292: Incorrect datetime value:
> '0' for column 'bookmarkupdate' at row 1
>
> I'm guessing I'm either missing some module or package, although I was
> originally getting errors about unable to get DB config from the config.xml
> those issues stopped appearing
>
> I tried the gaps.py which was recently posted here and that appears to be
> working without any issue.
>
> Cheers,
>
> Anthony
>
Ignore me, grabbed the latest version from
https://www.mythtv.org/wiki/Commercial_detection_with_silences
(added v5.1 of silence.py to set the bookmarkupdate value explicitly (and
import datetime))
And all is working again.
Cheers,
Anthony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20170420/f4acc28a/attachment.html>
More information about the mythtv-users
mailing list