[mythtv-users] orphans

Daryl McDonald darylangela at gmail.com
Mon Sep 28 11:31:30 UTC 2020


I'm getting an error when I run "./find_orphans.pl"  :

the following recordings will be deleted
  trieli: Council of Dads - The Sixth Stage
  1321_20200514235900.ts
  trieli: Council of Dads - Heart Medicine
   1321_20200604235900.ts
  trieli: Fruitvale Station
  1002_20200706025900.ts
  trieli: NFL Football - Carolina Panthers at Tampa Bay Buccaneers
   1171_20200920165900.ts
  trieli: The Code
   1503_20200711235900.ts
  trieli: The Good, the Bad and the Ugly
   1322_20200607205900.ts

      Count:           6
Are you sure you want to continue?
> yes
Traceback (most recent call last):
  File "./find_orphans.py", line 230, in <module>
    main()
  File "./find_orphans.py", line 214, in main
    opt[1](opt[2])
  File "./find_orphans.py", line 129, in delete_recs
    rec.delete(True, True)
  File "/usr/lib/python3/dist-packages/MythTV/dataheap.py", line 377, in
delete
    return self.getProgram().delete(force, rerecord)
  File "/usr/lib/python3/dist-packages/MythTV/mythproto.py", line 972, in
delete
    res = int(be.deleteRecording(self, force=force))
  File "/usr/lib/python3/dist-packages/MythTV/mythproto.py", line 668, in
deleteRecording
    [command,program.toString()]))
  File "/usr/lib/python3/dist-packages/MythTV/mythproto.py", line 962, in
toString
    return BACKEND_SEP.join(self._deprocess())
  File "/usr/lib/python3/dist-packages/MythTV/altdict.py", line 178, in
_deprocess
    data[i] = self._inv_trans[self._field_type[i]](v)
  File "/usr/lib/python3/dist-packages/MythTV/altdict.py", line 113, in
<lambda>
    lambda x: str(int(x.timestamp())),
  File "/usr/lib/python3/dist-packages/MythTV/utility/dt.py", line 481, in
timestamp
    return ((utc_naive - utc_epoch).total_seconds())
TypeError: can't subtract offset-naive and offset-aware datetime

Do I need to "touch" these files then re-try?

If so, would that be "sudo touch
/drives/storage1/mythtv/recordings/1321_20200514235900.ts" and so on for
each?

TIA  Daryl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20200928/e612299e/attachment.htm>


More information about the mythtv-users mailing list