The code posted here, I tried to compile the program but everytime I do it goves me this traceback:
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/ceradon/cerabot-rewrite/cerabot/tasks/date_templates.py", line 187, in
bot = DateTemplates()
File "/home/ceradon/cerabot-rewrite/cerabot/tasks/date_templates.py", line 19, in __init__
super(DateTemplates, self).__init__()
File "cerabot/bot.py", line 51, in __init__
self.setup()
File "/home/ceradon/cerabot-rewrite/cerabot/tasks/date_templates.py", line 110, in setup
self._load_templates()
File "/home/ceradon/cerabot-rewrite/cerabot/tasks/date_templates.py", line 61, in _load_templates
self._to_date.append(template.get(1).value.lower())
AttributeError: 'DateTemplates' object has no attribute '_to_date'
I'm lost, can anybody help in figuring this out?
_to_datemethod, so you were expecting... what? - mVChrstartnor_load_templatesis even called in the__init__where it says the error is occurring. Very odd. You didn't happen to have renamed thestartmethod tosetup, did you? - mVChr