Ticket #156 (closed Defect: Software changed)
"caladmin resources" raises if not provisioned
| Reported by: | wsanchez@… | Owned by: | dreid@… |
|---|---|---|---|
| Priority: | 2: Expected | Milestone: | CalendarServer-1.0 |
| Component: | Calendar Server | Severity: | Crash/data loss |
| Keywords: | Cc: |
Description
3/30/07 5:11 PM Wilfredo Sanchez: admin% caladmin resources
Traceback (most recent call last):
File "/Users/admin/CalendarServer/../CalendarServer/bin/caladmin", line 29, in ?
run()
File "/Users/admin/CalendarServer/CalendarServer/twistedcaldav/admin/script.py", line 112, in run
adminOptions.parseOptions(sys.argv[1:])
File "/Users/admin/CalendarServer/CalendarServer/twistedcaldav/admin/script.py", line 77, in parseOptions
usage.Options.parseOptions(self, opts)
File "/Users/admin/CalendarServer/Twisted/twisted/python/usage.py", line 199, in parseOptions
self.postOptions()
File "/Users/admin/CalendarServer/CalendarServer/twistedcaldav/admin/script.py", line 100, in postOptions
self.parseOptions(self.params)
File "/Users/admin/CalendarServer/CalendarServer/twistedcaldav/admin/script.py", line 77, in parseOptions
usage.Options.parseOptions(self, opts)
File "/Users/admin/CalendarServer/Twisted/twisted/python/usage.py", line 189, in parseOptions
self.subOptions.parseOptions(rest)
File "/Users/admin/CalendarServer/Twisted/twisted/python/usage.py", line 199, in parseOptions
self.postOptions()
File "/Users/admin/CalendarServer/CalendarServer/twistedcaldav/admin/options.py", line 164, in postOptions
report = reflect.namedAny(self.action)(self, self.name).run()
File "/Users/admin/CalendarServer/CalendarServer/twistedcaldav/admin/principals.py", line 46, in run
disabled=self.config['disabled'])
File "/Users/admin/CalendarServer/CalendarServer/twistedcaldav/admin/util.py", line 62, in getPrincipalList
assert typeRoot.exists(), "Does not exist: %s" % typeRoot.path
AssertionError: Does not exist: /Volumes/data/CalendarServer/work/principals/resources
This shouldn't raise; the resource not having been provisioned yet isn't an error.
Change History
Note: See
TracTickets for help on using
tickets.
