[contestms] DumpImporter

  • From: Madhavan Mukund <madhavan@xxxxxxxxx>
  • To: contestms@xxxxxxxxxxxxx
  • Date: Tue, 20 Feb 2018 20:06:39 +0530

I'm trying to load a contest dump that I made in May 2017 using
cms-1.3.rc0.  I get the error below.  I get the same error for a dump
from April 2017 which I have imported successfully at that time.  I am
currently able to import an earier dump from 2016 (after using
DumpUpdater).  Any idea what I can do to recover this contest dump?

Traceback (most recent call last):
  File "./cmscontrib/DumpImporter.py", line 472, in <module>
    sys.exit(main())
  File "./cmscontrib/DumpImporter.py", line 467, in main
    success = importer.do_import()
  File "./cmscontrib/DumpImporter.py", line 207, in do_import
    self.objs[id_] = self.import_object(data)
  File "./cmscontrib/DumpImporter.py", line 351, in import_object
    make_datetime(val) if val is not None else None
  File 
"/home/madhavan/cms_venv/local/lib/python2.7/site-packages/cms-1.3rc0-py2.7.egg/cmscommon/datetime.py",
 line 53, in make_datetime
    return datetime.utcfromtimestamp(timestamp)
ValueError: timestamp out of range for platform time_t

--Madhavan

Other related posts: