[CalendarServer-users] AttributeError: 'list' object has no attribute 'iteritems'

Helge Heß me at helgehess.eu
Thu Nov 27 12:57:50 PST 2008


Hi,

I get this when trying to run trunk. Wrong Python version or something?

---snip---
helge at mbp$ ./run
Using python as Python

exec python /Users/helge/Developer/Collaboration/Twisted/bin/twistd  - 
n caldav -f /Users/helge/Developer/Collaboration/CalendarServer/conf/ 
caldavd-dev.plist -o ProcessType=Combined
Traceback (most recent call last):
   File "/Users/helge/Developer/Collaboration/Twisted/bin/twistd",  
line 21, in <module>
     run()
   File "/Users/helge/Developer/Collaboration/Twisted/twisted/scripts/ 
twistd.py", line 27, in run
     app.run(runApp, ServerOptions)
   File "/Users/helge/Developer/Collaboration/Twisted/twisted/ 
application/app.py", line 374, in run
     config.parseOptions()
   File "/Users/helge/Developer/Collaboration/Twisted/twisted/ 
application/app.py", line 354, in parseOptions
     usage.Options.parseOptions(self, options)
   File "/Users/helge/Developer/Collaboration/Twisted/twisted/python/ 
usage.py", line 189, in parseOptions
     self.subOptions.parseOptions(rest)
   File "/Users/helge/Developer/Collaboration/Twisted/twisted/python/ 
usage.py", line 199, in parseOptions
     self.postOptions()
   File "/Users/helge/Developer/Collaboration/CalendarServer/ 
calendarserver/tap/caldav.py", line 173, in postOptions
     parseConfig(self["config"])
   File "/Users/helge/Developer/Collaboration/CalendarServer/ 
twistedcaldav/config.py", line 698, in parseConfig
     config.loadConfig(configFile)
   File "/Users/helge/Developer/Collaboration/CalendarServer/ 
twistedcaldav/config.py", line 615, in loadConfig
     self.update(ConfigDict(configDict))
   File "/Users/helge/Developer/Collaboration/CalendarServer/ 
twistedcaldav/config.py", line 432, in update
     hook(self, items)
   File "/Users/helge/Developer/Collaboration/CalendarServer/ 
twistedcaldav/config.py", line 624, in updateNotifications
     for key, service in self.Notifications["Services"].iteritems():
AttributeError: 'list' object has no attribute 'iteritems'
launchctl bsexec failed: No such file or directory
---snap---

Thanks,
   Helge
-- 
Helge Hess
http://zideone.com/


More information about the calendarserver-users mailing list