[mythtv-users] problem with logcleanup.py

Asher Schaffer freedenizen at gmail.com
Tue Dec 27 16:13:13 UTC 2011


Hi All,
I've been having a problem with the logcleanup.py script:
Traceback (most recent call last):
  File "./logcleanup.py", line 133, in <module>
    main(opts)
  File "./logcleanup.py", line 95, in main
    ls = sorted(LogFile.filter(opts.logpath, os.listdir(opts.logpath)))
  File "./logcleanup.py", line 35, in filter
    return [cls(path, f) for f in filelist if r.match(f)]
  File "./logcleanup.py", line 48, in __init__
    self.sequence = int(s[4])
ValueError: invalid literal for int() with base 10: 'gz'

Has anyone else seen this?


More information about the mythtv-users mailing list