id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,mlocked 11951,MythTV 0.26 find_orphans.py not working,bob.havlin@…,sphery,"I have previously used this script successfully, and it worked well (even on 0.26). This time, after a drive failure, I have a lot of missing recordings that I wanted to clean up. I run the script and get the following message: ./find_orphans.py {{{#!python Traceback (most recent call last): File ""./find_orphans.py"", line 230, in main() File ""./find_orphans.py"", line 166, in main recs, zerorecs, orphvids, orphimgs, dbbackup, unfiltered = populate(host) File ""./find_orphans.py"", line 84, in populate recs = list(DB.searchRecorded(**kwargs)) File ""/usr/lib/python2.7/dist-packages/MythTV/utility/other.py"", line 180, in __call__ yield self.handler.fromRaw(row, db=self.inst) File ""/usr/lib/python2.7/dist-packages/MythTV/database.py"", line 131, in fromRaw dbdata._evalwheredat() File ""/usr/lib/python2.7/dist-packages/MythTV/database.py"", line 307, in _evalwheredat DBData._evalwheredat(self, wheredat) File ""/usr/lib/python2.7/dist-packages/MythTV/database.py"", line 145, in _evalwheredat self._wheredat = eval(self._setwheredat) File """", line 0 ^ SyntaxError: unexpected EOF while parsing }}} Looks like there is a python issue - this is also supported by the fact that I get an error when I run mythpython --version: /usr/bin/mythpython --version {{{#!python Traceback (most recent call last): File ""/usr/bin/mythpython"", line 15, in import MythTV.tmdb.tmdb_api ImportError: No module named tmdb.tmdb_api }}} If I change the following lines to include the ""3"" in tmdb (as is the proper directory name for: /usr/lib/python2.7/dist-packages/MythTV/tmdb3/) - it works as is shown in attached. ''import MythTV.tmdb'''3'''.tmdb_api ... print_version('tmdb version', MythTV.tmdb'''3'''.tmdb_api.__version__)'' Nevertheless, the original problem of find_orphans.py remains and the offending ''recs = list(DB.searchRecorded(* *kwargs))'' statement Any ideas what is the problem here? ",Bug Report - General,closed,minor,unknown,Contributed Scripts & Apps,0.26-fixes,medium,Unverified,find_orphans.py python orphans,,0