cldi / CanLink

Contains code and tools used to public the Canadian thesis list.
http://canlink.library.ualberta.ca/
3 stars 1 forks source link

Error Processing File #434

Open cldirobot opened 6 years ago

cldirobot commented 6 years ago

File: 902006daef21528fec5706c9471f4000.mrc Python Stacktrace:

Traceback (most recent call last): File "/home/ubuntu/CanLink/code/website/views.py", line 119, in processRecords response = process(records_file, lac_upload, silent_output) File "/home/ubuntu/CanLink/code/website/processing/processing.py", line 762, in process thesis = Thesis(record, universities_dbpedia, university_uri_cache, subjects, degrees, silent_output) File "/home/ubuntu/CanLink/code/website/processing/processing.py", line 63, in init self.date = self.getDate() File "/home/ubuntu/CanLink/code/website/processing/processing.py", line 214, in getDate return(int(''.join(c for c in date if str(c).isdigit()))) ValueError: invalid literal for int() with base 10: ''