Comment 2 for bug 344391

Revision history for this message
Will Seaver (will-seaver) wrote :

svn up completed, ran bin/buildout; however, cannot seem to run bin/start_over right now, because of a calendar error (?). removed api.pyc from its directory, ran everything again (except start_over) and the error is still there.

traceback when running bin/start_over on my machine:

  File "/home/will/osi/karl3/eggs/zope.configuration-3.4.1-py2.5.egg/zope/configuration/xmlconfig.py", line 357, in endElementNS
    self.context.end()
  File "/home/will/osi/karl3/eggs/zope.configuration-3.4.1-py2.5.egg/zope/configuration/config.py", line 541, in end
    self.stack.pop().finish()
  File "/home/will/osi/karl3/eggs/zope.configuration-3.4.1-py2.5.egg/zope/configuration/config.py", line 688, in finish
    args = toargs(context, *self.argdata)
  File "/home/will/osi/karl3/eggs/zope.configuration-3.4.1-py2.5.egg/zope/configuration/config.py", line 1380, in toargs
    args[str(name)] = field.fromUnicode(s)
  File "/home/will/osi/karl3/eggs/zope.configuration-3.4.1-py2.5.egg/zope/configuration/fields.py", line 139, in fromUnicode
    value = self.context.resolve(name)
  File "/home/will/osi/karl3/eggs/zope.configuration-3.4.1-py2.5.egg/zope/configuration/config.py", line 181, in resolve
    mod = __import__(mname, *_import_chickens)
  File "/home/will/osi/karl3/src/karl.content/karl/content/views/calendar_events.py", line 19, in <module>
    calendar.setfirstweekday(6) # Fscking Europeans!
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/home/will/osi/karl3/src/osi/osi/configure.zcml", line 4.2-4.36
    ZopeXMLConfigurationError: File "/home/will/osi/karl3/src/karl.content/karl/content/configure.zcml", line 4.2-4.30
    ZopeXMLConfigurationError: File "/home/will/osi/karl3/src/karl.content/karl/content/views/configure.zcml", line 65.2-69.4
    AttributeError: 'module' object has no attribute 'setfirstweekday'