Always a need to start fresh?
Alright I'm confused. I check out a fresh version of CalendarSever, configure it then ./run -d everything works great. I decide I want to change the configuration so I kill the daemon with ./run -k when I try to start it again I get no errors, but the request for data silently fails. Even if I make no changes to the configuration. Just killing and trying to start again seem to cause this. What am I doing wrong? Are there some sort of directory permission that get changed that would cause this? -- View this message in context: http://www.nabble.com/Always-a-need-to-start-fresh--tp15389335p15389335.html Sent from the Calendar Server - Users mailing list archive at Nabble.com.
upon further investigation there is indeed an error of some sort. Perhaps someone here could make something of it. The error at the end of this listing is : xml.parsers.expat.ExpatError: mismatched tag ./run -v 2008-02-09 18:31:30-0800 [-] Log opened. 2008-02-09 18:31:30-0800 [-] twistd 2.5.0+rUnknown (/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python 2.5.1) starting up 2008-02-09 18:31:30-0800 [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'> 2008-02-09 18:31:30-0800 [-] 2 processors found, configuring 2 processes. 2008-02-09 18:31:30-0800 [-] Adding pydirector service with configuration: /tmp/pydiriPP55Q 2008-02-09 18:31:30-0800 [-] twistedcaldav.logging.AMPLoggingFactory starting on "'logs/caldavd.sock'" 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] Log opened. 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] twistd 2.5.0+rUnknown (/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python 2.5.1) starting up 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'> 2008-02-09 18:31:31-0800 [-] [caldav-8009] [startup] Configuring directory service of type: twistedcaldav.directory.xmlfile.XMLDirectoryService 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] Traceback (most recent call last): 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] File "../Twisted/bin/twistd", line 21, in <module> 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] run() 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] File "/opt/local/Twisted/twisted/scripts/twistd.py", line 27, in run 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] app.run(runApp, ServerOptions) 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] File "/opt/local/Twisted/twisted/application/app.py", line 379, in run 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] runApp(config) 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] File "/opt/local/Twisted/twisted/scripts/twistd.py", line 23, in runApp 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] _SomeApplicationRunner(config).run() 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] File "/opt/local/Twisted/twisted/application/app.py", line 157, in run 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] self.application = self.createOrGetApplication() 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] File "/opt/local/Twisted/twisted/application/app.py", line 202, in createOrGetApplication 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] ser = plg.makeService(self.config.subOptions) 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] File "/opt/local/CalendarServer/twistedcaldav/tap.py", line 600, in makeService 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] service = serviceMethod(options) 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] File "/opt/local/CalendarServer/twistedcaldav/tap.py", line 364, in makeService_Slave 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] baseDirectory = directoryClass(**config.DirectoryService['params']) 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] File "/opt/local/CalendarServer/twistedcaldav/directory/xmlfile.py", line 51, in __init__ 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] self._accounts() 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] File "/opt/local/CalendarServer/twistedcaldav/directory/xmlfile.py", line 94, in _accounts 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] parser = XMLAccountsParser(self.xmlFile) 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] File "/opt/local/CalendarServer/twistedcaldav/directory/xmlaccountsparser.py", line 80, in __init__ 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] doc = xml.dom.minidom.parse(fd) 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/dom/minidom.py", line 1913, in parse 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] return expatbuilder.parse(file) 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/dom/expatbuilder.py", line 928, in parse 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] result = builder.parseFile(file) 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/dom/expatbuilder.py", line 207, in parseFile 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] parser.Parse(buffer, 0) 2008-02-09 18:31:31-0800 [-] [caldav-8009] [-] xml.parsers.expat.ExpatError: mismatched tag: line 43, column 28 -- View this message in context: http://www.nabble.com/Always-a-need-to-start-fresh--tp15389335p15392687.html Sent from the Calendar Server - Users mailing list archive at Nabble.com.
Cyrus Daboo-3 wrote:
Hi tdog,
--On February 9, 2008 6:34:11 PM -0800 tdog <tgate@mypublic.net> wrote:
xml.parsers.expat.ExpatError: mismatched tag: line 43, column 28
So what is in your XML accounts file at that line?
--
Dough! I guess I did change something. Sorry. In trying to figure out how to get the group calendar to show up as a delegate I added a <guid> tag to the group which, I guess, is a no no. So things seem to be working again. Thank you. But the problem remains, how to properly setup the group calendar? -- View this message in context: http://www.nabble.com/Always-a-need-to-start-fresh--tp15389335p15399416.html Sent from the Calendar Server - Users mailing list archive at Nabble.com.
participants (2)
-
Cyrus Daboo
-
tdog