<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 9/28/20 7:31 AM, Daryl McDonald
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAMwtTBD5q6SQh-RVENsjRgmrXLaKoHjBpSpm=TP9UjkQJ4zANw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">I'm getting an error when I run "./<a
          href="http://find_orphans.pl" moz-do-not-send="true">find_orphans.pl</a>" 
        :
        <div><br>
          <div>the following recordings will be deleted<br>
              trieli: Council of Dads - The Sixth Stage                
                              1321_20200514235900.ts<br>
              trieli: Council of Dads - Heart Medicine                  
                             1321_20200604235900.ts<br>
              trieli: Fruitvale Station                                
                              1002_20200706025900.ts<br>
              trieli: NFL Football - Carolina Panthers at Tampa Bay
            Buccaneers            1171_20200920165900.ts<br>
              trieli: The Code                                          
                             1503_20200711235900.ts<br>
              trieli: The Good, the Bad and the Ugly                    
                             1322_20200607205900.ts<br>
                                                                       
                                  Count:           6<br>
            Are you sure you want to continue?<br>
            > yes<br>
            Traceback (most recent call last):<br>
              File "./find_orphans.py", line 230, in <module><br>
                main()<br>
              File "./find_orphans.py", line 214, in main<br>
                opt[1](opt[2])<br>
              File "./find_orphans.py", line 129, in delete_recs<br>
                rec.delete(True, True)<br>
              File "/usr/lib/python3/dist-packages/MythTV/dataheap.py",
            line 377, in delete<br>
                return self.getProgram().delete(force, rerecord)<br>
              File "/usr/lib/python3/dist-packages/MythTV/mythproto.py",
            line 972, in delete<br>
                res = int(be.deleteRecording(self, force=force))<br>
              File "/usr/lib/python3/dist-packages/MythTV/mythproto.py",
            line 668, in deleteRecording<br>
                [command,program.toString()]))<br>
              File "/usr/lib/python3/dist-packages/MythTV/mythproto.py",
            line 962, in toString<br>
                return BACKEND_SEP.join(self._deprocess())<br>
              File "/usr/lib/python3/dist-packages/MythTV/altdict.py",
            line 178, in _deprocess<br>
                data[i] = self._inv_trans[self._field_type[i]](v)<br>
              File "/usr/lib/python3/dist-packages/MythTV/altdict.py",
            line 113, in <lambda><br>
                lambda x: str(int(x.timestamp())),<br>
              File
            "/usr/lib/python3/dist-packages/MythTV/utility/dt.py", line
            481, in timestamp<br>
                return ((utc_naive - utc_epoch).total_seconds())<br>
            TypeError: can't subtract offset-naive and offset-aware
            datetime<br>
          </div>
          <div><br>
          </div>
          <div>Do I need to "touch" these files then re-try?</div>
        </div>
        <div><br>
        </div>
        <div>If so, would that be "sudo touch
          /drives/storage1/mythtv/recordings/1321_20200514235900.ts" and
          so on for each?</div>
        <div><br>
        </div>
        <div>TIA  Daryl</div>
      </div>
    </blockquote>
    <p><br>
    </p>
    <p>I recently had issues with the find_orphan script after upgrading
      to v31.  If it's the same issue then... The script was identifying
      all my programs as orphans.  It's a script problem. I found this
      edit note in my version of the script.</p>
    <p>#!/usr/bin/python3 <br>
      # modified from v31 original from wiki
      <a class="moz-txt-link-freetext" href="https://www.mythtv.org/wiki/Find_orphans.py">https://www.mythtv.org/wiki/Find_orphans.py</a><br>
      # I replaced 2 occurances of BackendServerIP with
      BackendServerAddr<br>
    </p>
    <p>look at the archive(<a
        href="https://lists.archive.carbon60.com/mythtv/users/">https://lists.archive.carbon60.com/mythtv/users/</a>)
      and search for BackendServerAddr for a discussion on it.</p>
    <p>Jim A</p>
    <p><br>
    </p>
  </body>
</html>