[CalendarServer-users] AttributeError: 'list' object has no attribute 'iteritems'
Morgen Sagen
sagen at apple.com
Fri Nov 28 09:18:31 PST 2008
The format of caldavd*.plist changed slightly. See conf/caldavd-
test.plist -- in the "Notifications" section, "Services" has changed
from an array to a dictionary.
On Nov 27, 2008, at 12:57 PM, Helge Heß wrote:
> 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/
> _______________________________________________
> calendarserver-users mailing list
> calendarserver-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users
More information about the calendarserver-users
mailing list