Skip to content

crash on 2.6.0 with python 2.7

crash on python-crontab 2.6.0 with python 2.7

  File "/myapp/src/SearchSchedule.py", line 39, in setConfirmed
    cron = CronTab(tabfile=os.path.join(path, 'root'), user=None)
  File "/usr/local/lib/python2.7/site-packages/crontab.py", line 216, in __init__
    self.lines = None
  File "/usr/local/lib/python2.7/site-packages/crontab.py", line 270, in __setattr__
    super(CronTab, self).__setattr__(name, value)
TypeError: super() argument 1 must be type, not classobj

Not much to be said. /path/root is a regular crontab text file with a few lines. Harcoding plugin to 2.5.1 fixes the issue.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information