Ticket #205 (closed Defect: Software changed)
Entering a "0" as the HTTP port crashes calendar server
| Reported by: | dekkerdreyer@… | Owned by: | wsanchez@… |
|---|---|---|---|
| Priority: | 5: Not set | Milestone: | |
| Component: | Calendar Server | Severity: | Crash/data loss |
| Keywords: | Cc: | kurt.leubner@… | |
| Port: |
Description
2007-12-09 01:51:51-0500 [-] twistd 2.5.0+rUnknown (/usr/bin/python 2.5.1) starting up 2007-12-09 01:51:51-0500 [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'> 2007-12-09 01:51:51-0500 [-] 1 processors found, configuring 1 processes. 2007-12-09 01:51:51-0500 [-] Traceback (most recent call last): 2007-12-09 01:51:51-0500 [-] File "/home/Calendar/Twisted/bin/twistd", line 21, in <module> 2007-12-09 01:51:51-0500 [-] run() 2007-12-09 01:51:51-0500 [-] File "/home/Calendar/Twisted/twisted/scripts/twistd.py", line 27, in run 2007-12-09 01:51:51-0500 [-] app.run(runApp, ServerOptions) 2007-12-09 01:51:51-0500 [-] File "/home/Calendar/Twisted/twisted/application/app.py", line 379, in run 2007-12-09 01:51:51-0500 [-] runApp(config) 2007-12-09 01:51:51-0500 [-] File "/home/Calendar/Twisted/twisted/scripts/twistd.py", line 23, in runApp 2007-12-09 01:51:51-0500 [-] _SomeApplicationRunner(config).run() 2007-12-09 01:51:51-0500 [-] File "/home/Calendar/Twisted/twisted/application/app.py", line 157, in run 2007-12-09 01:51:51-0500 [-] self.application = self.createOrGetApplication() 2007-12-09 01:51:51-0500 [-] File "/home/Calendar/Twisted/twisted/application/app.py", line 202, in createOrGetApplication 2007-12-09 01:51:51-0500 [-] ser = plg.makeService(self.config.subOptions) 2007-12-09 01:51:51-0500 [-] File "/home/Calendar/CalendarServer/twistedcaldav/tap.py", line 595, in makeService 2007-12-09 01:51:51-0500 [-] service = serviceMethod(options) 2007-12-09 01:51:51-0500 [-] File "/home/Calendar/CalendarServer/twistedcaldav/cluster.py", line 196, in makeService_Combined 2007-12-09 01:51:51-0500 [-] monitor.addProcess(process.getName(), 2007-12-09 01:51:51-0500 [-] File "/home/Calendar/CalendarServer/twistedcaldav/cluster.py", line 72, in getName 2007-12-09 01:51:51-0500 [-] return '%s-%s' % (self.prefix, self.ports[0]) 2007-12-09 01:51:51-0500 [-] TypeError: 'NoneType' object is unsubscriptable


Fixed in r2110