Skip to content
This repository has been archived by the owner. It is now read-only.

Error when trying to add new event in calendar through ThunderBird #232

Closed
macosforgebot opened this issue Jul 17, 2008 · 3 comments
Closed

Error when trying to add new event in calendar through ThunderBird #232

macosforgebot opened this issue Jul 17, 2008 · 3 comments

Comments

@macosforgebot
Copy link

@macosforgebot macosforgebot commented Jul 17, 2008

filippos@… originally submitted this as ticket:294

  • Version: trunk
  • Keywords: ThunderBird, twisted

[Uninitialized] [twistedcaldav.memcachepool.MemCacheClientFactory#error] MemCache connection failed: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionRefusedError'>: Connection was refused by other side: 111: Connection refused.

@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Jul 17, 2008

filippos@… originally submitted this as comment:1:⁠ticket:294


This is he output of ./run

exec python /usr/src/packages/SOURCES/Twisted/bin/twistd  -n caldav -f /usr/src/packages/SOURCES/CalendarServer/conf/caldavd-dev.plist -o ProcessType=Combined
/usr/src/packages/SOURCES/CalendarServer/twistedcaldav/authkerb.py:41: RuntimeWarning: Python C API version mismatch for module kerberos: This Python has API version 1013, module kerberos has version 1012.
  import kerberos
2008-07-17 09:12:47+0300 [-] Log opened.
2008-07-17 09:12:47+0300 [-] twistd 2.5.0+rUnknown (/usr/local/bin/python 2.5.2) starting up
2008-07-17 09:12:47+0300 [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'>
2008-07-17 09:12:47+0300 [-] [twistedcaldav.cluster#info] 1 processors found, configuring 1 processes.
2008-07-17 09:12:47+0300 [-] [twistedcaldav.cluster#info] Adding memcached service
2008-07-17 09:12:47+0300 [-] twistedcaldav.accesslog.AMPLoggingFactory starting on "'logs/caldavd.sock'"
2008-07-17 09:12:48+0300 [-] [memcached] Upon execvpe ../memcached-1.2.5/_root/bin/memcached ['../memcached-1.2.5/_root/bin/memcached', '-p', '11211', '-l', '127.0.0.1'] in environment id 1086537772
2008-07-17 09:12:48+0300 [-] [memcached] :Traceback (most recent call last):
2008-07-17 09:12:48+0300 [-] [memcached]   File "/usr/src/packages/SOURCES/Twisted/twisted/internet/process.py", line 359, in __init__
2008-07-17 09:12:48+0300 [-] [memcached]     command, args, environment)
2008-07-17 09:12:48+0300 [-] [memcached]   File "/usr/src/packages/SOURCES/Twisted/twisted/internet/process.py", line 521, in _execChild
2008-07-17 09:12:48+0300 [-] [memcached]     os.execvpe(command, args, environment)
2008-07-17 09:12:48+0300 [-] [memcached]   File "/usr/local/lib/python2.5/os.py", line 362, in execvpe
2008-07-17 09:12:48+0300 [-] [memcached]     _execvpe(file, args, env)
2008-07-17 09:12:48+0300 [-] [memcached]   File "/usr/local/lib/python2.5/os.py", line 377, in _execvpe
2008-07-17 09:12:48+0300 [-] [memcached]     func(file, *argrest)
2008-07-17 09:12:48+0300 [-] [memcached] OSError: [Errno 2] No such file or directory
2008-07-17 09:12:48+0300 [-] [caldav-8008] /usr/src/packages/SOURCES/CalendarServer/twistedcaldav/authkerb.py:41: RuntimeWarning: Python C API version mismatch for module kerberos: This Python has API version 1013, module kerberos has version 1012.
2008-07-17 09:12:48+0300 [-] [caldav-8008]   import kerberos
2008-07-17 09:12:48+0300 [-] [caldav-8008]  [-] Log opened.
2008-07-17 09:12:48+0300 [-] [caldav-8008]  [-] twistd 2.5.0+rUnknown (/usr/local/bin/python 2.5.2) starting up
2008-07-17 09:12:48+0300 [-] [caldav-8008]  [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'>
2008-07-17 09:12:48+0300 [-] [caldav-8008]  [-] [twistedcaldav.tap#info] Configuring directory service of type: twistedcaldav.directory.xmlfile.XMLDirectoryService
2008-07-17 09:12:48+0300 [-] [caldav-8008]  [-] [twistedcaldav.tap#info] Configuring SudoDirectoryService with file: conf/sudoers.plist
2008-07-17 09:12:48+0300 [-] [caldav-8008]  [-] [twistedcaldav.tap#info] Setting up document root at: twistedcaldav/test/data/
2008-07-17 09:12:48+0300 [-] [caldav-8008]  [-] [twistedcaldav.tap#info] Setting up principal collection: <class 'twistedcaldav.directory.principal.DirectoryPrincipalProvisioningResource'>
2008-07-17 09:12:48+0300 [-] [caldav-8008]  [-] [twistedcaldav.tap#info] Setting up calendar collection: <class 'twistedcaldav.static.CalendarHomeProvisioningFile'>
2008-07-17 09:12:48+0300 [-] [caldav-8008]  [-] [twistedcaldav.tap#info] Setting up root resource: <class 'twistedcaldav.root.RootResource'>
2008-07-17 09:12:48+0300 [-] [caldav-8008]  [-] [twistedcaldav.tap#info] Setting up Timezone Cache
2008-07-17 09:12:48+0300 [-] [caldav-8008]  [-] [twistedcaldav.tap#info] Configuring authentication for realm: Test Realm
2008-07-17 09:12:48+0300 [-] [caldav-8008]  [-] [twistedcaldav.tap#info] Setting up scheme: digest
2008-07-17 09:12:48+0300 [-] [caldav-8008]  [-] [twistedcaldav.tap#info] Setting up scheme: basic
2008-07-17 09:12:48+0300 [-] [caldav-8008]  [-] [twistedcaldav.tap#info] Configuring authentication wrapper
2008-07-17 09:12:48+0300 [-] [caldav-8008]  [-] [twistedcaldav.tap#info] Setting up service
2008-07-17 09:12:48+0300 [-] [caldav-8008]  [-] [twistedcaldav.tap#info] Configuring log observer: <twistedcaldav.accesslog.AMPCommonAccessLoggingObserver object at 0x40d25b4c>
2008-07-17 09:12:48+0300 [-] [caldav-8008]  [-] [twistedcaldav.tap#info] Adding server at :8008
2008-07-17 09:12:48+0300 [-] [caldav-8008]  [-] [twistedcaldav.tap#info] Adding SSL server at :8443
2008-07-17 09:12:48+0300 [-] [caldav-8008]  [-] twisted.web2.channel.http.HTTPFactory starting on 8008
2008-07-17 09:12:48+0300 [-] [caldav-8008]  [-] Starting factory <twisted.web2.channel.http.HTTPFactory instance at 0x40d25bec>
2008-07-17 09:12:48+0300 [-] [caldav-8008]  [-] twisted.web2.channel.http.HTTPFactory starting on 8443
2008-07-17 09:12:48+0300 [twistedcaldav.accesslog.AMPLoggingFactory] AMPLoggingProtocol connection established (HOST:UNIXSocket('logs/caldavd.sock') PEER:UNIXSocket(''))
2008-07-17 09:12:48+0300 [-] [caldav-8008]  [-] AMP connection established (HOST:UNIXSocket(None) PEER:UNIXSocket('logs/caldavd.sock'))
2008-07-17 09:12:49+0300 [-] [memcached] Upon execvpe ../memcached-1.2.5/_root/bin/memcached ['../memcached-1.2.5/_root/bin/memcached', '-p', '11211', '-l', '127.0.0.1'] in environment id 1086533116
2008-07-17 09:12:49+0300 [-] [memcached] :Traceback (most recent call last):
2008-07-17 09:12:49+0300 [-] [memcached]   File "/usr/src/packages/SOURCES/Twisted/twisted/internet/process.py", line 359, in __init__
2008-07-17 09:12:49+0300 [-] [memcached]     command, args, environment)
2008-07-17 09:12:49+0300 [-] [memcached]   File "/usr/src/packages/SOURCES/Twisted/twisted/internet/process.py", line 521, in _execChild
2008-07-17 09:12:49+0300 [-] [memcached]     os.execvpe(command, args, environment)
2008-07-17 09:12:49+0300 [-] [memcached]   File "/usr/local/lib/python2.5/os.py", line 362, in execvpe
2008-07-17 09:12:49+0300 [-] [memcached]     _execvpe(file, args, env)
2008-07-17 09:12:49+0300 [-] [memcached]   File "/usr/local/lib/python2.5/os.py", line 377, in _execvpe
2008-07-17 09:12:49+0300 [-] [memcached]     func(file, *argrest)
2008-07-17 09:12:49+0300 [-] [memcached] OSError: [Errno 2] No such file or directory
2008-07-17 09:12:52+0300 [-] [memcached] Upon execvpe ../memcached-1.2.5/_root/bin/memcached ['../memcached-1.2.5/_root/bin/memcached', '-p', '11211', '-l', '127.0.0.1'] in environment id 1086540900
2008-07-17 09:12:52+0300 [-] [memcached] :Traceback (most recent call last):
2008-07-17 09:12:52+0300 [-] [memcached]   File "/usr/src/packages/SOURCES/Twisted/twisted/internet/process.py", line 359, in __init__
2008-07-17 09:12:52+0300 [-] [memcached]     command, args, environment)
2008-07-17 09:12:52+0300 [-] [memcached]   File "/usr/src/packages/SOURCES/Twisted/twisted/internet/process.py", line 521, in _execChild
2008-07-17 09:12:52+0300 [-] [memcached]     os.execvpe(command, args, environment)
2008-07-17 09:12:52+0300 [-] [memcached]   File "/usr/local/lib/python2.5/os.py", line 362, in execvpe
2008-07-17 09:12:52+0300 [-] [memcached]     _execvpe(file, args, env)
2008-07-17 09:12:52+0300 [-] [memcached]   File "/usr/local/lib/python2.5/os.py", line 377, in _execvpe
2008-07-17 09:12:52+0300 [-] [memcached]     func(file, *argrest)
2008-07-17 09:12:52+0300 [-] [memcached] OSError: [Errno 2] No such file or directory
2008-07-17 09:12:59+0300 [-] [memcached] Upon execvpe ../memcached-1.2.5/_root/bin/memcached ['../memcached-1.2.5/_root/bin/memcached', '-p', '11211', '-l', '127.0.0.1'] in environment id 1086558524
2008-07-17 09:12:59+0300 [-] [memcached] :Traceback (most recent call last):
2008-07-17 09:12:59+0300 [-] [memcached]   File "/usr/src/packages/SOURCES/Twisted/twisted/internet/process.py", line 359, in __init__
2008-07-17 09:12:59+0300 [-] [memcached]     command, args, environment)
2008-07-17 09:12:59+0300 [-] [memcached]   File "/usr/src/packages/SOURCES/Twisted/twisted/internet/process.py", line 521, in _execChild
2008-07-17 09:12:59+0300 [-] [memcached]     os.execvpe(command, args, environment)
2008-07-17 09:12:59+0300 [-] [memcached]   File "/usr/local/lib/python2.5/os.py", line 362, in execvpe
2008-07-17 09:12:59+0300 [-] [memcached]     _execvpe(file, args, env)
2008-07-17 09:12:59+0300 [-] [memcached]   File "/usr/local/lib/python2.5/os.py", line 377, in _execvpe
2008-07-17 09:12:59+0300 [-] [memcached]     func(file, *argrest)
2008-07-17 09:12:59+0300 [-] [memcached] OSError: [Errno 2] No such file or directory
@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Jul 17, 2008

filippos@… originally submitted this as comment:2:⁠ticket:294


./test output

Reason: 'recurrance expansion'
Traceback (most recent call last):
  File "/usr/src/packages/SOURCES/CalendarServer/twistedcaldav/test/test_xml.py", line 137, in test_TimeRange
    self.fail("Calendar has %sVEVENT with timerange %s?" % (no, (start, end)))
twisted.trial.unittest.FailTest: Calendar has no VEVENT with timerange ('20020101T000000Z', '20020101T000000Z')?
===============================================================================
[FAIL]: twisted.web2.test.test_http.CoreHTTPTestCase.testHTTP1_1_expect_continue_early_reply

Traceback (most recent call last):
  File "/usr/src/packages/SOURCES/Twisted/twisted/web2/test/test_http.py", line 715, in testHTTP1_1_expect_continue_early_reply
    self.compareResult(cxn, cmds, data)
  File "/usr/src/packages/SOURCES/Twisted/twisted/web2/test/test_http.py", line 417, in compareResult
    self.assertEquals(cxn.client.data, data)
twisted.trial.unittest.FailTest: 'HTTP/1.1 200 OK\r\nContent-Length: 6\r\nConnection: close\r\n\r\nOutputHTTP/1.1 100 Continue\r\n\r\n' != 'HTTP/1.1 200 OK\r\nContent-Length: 6\r\nConnection: close\r\n\r\nOutput'
===============================================================================
[FAIL]: twisted.web2.test.test_http.CoreHTTPTestCase.testHTTP1_1_chunking

Traceback (most recent call last):
  File "/usr/src/packages/SOURCES/Twisted/twisted/web2/test/test_http.py", line 663, in testHTTP1_1_chunking
    self.compareResult(cxn, cmds, data)
  File "/usr/src/packages/SOURCES/Twisted/twisted/web2/test/test_http.py", line 417, in compareResult
    self.assertEquals(cxn.client.data, data)
twisted.trial.unittest.FailTest: 'HTTP/1.1 200 OK\r\nTransfer-Encoding: chunked\r\n\r\n6\r\nOutput\r\nC\r\nblahblahblah\r\n' != 'HTTP/1.1 200 OK\r\nTransfer-Encoding: chunked\r\n\r\n6\r\nOutput\r\nC\r\nblahblahblah\r\n0\r\n\r\n'
===============================================================================
[FAIL]: twisted.web2.test.test_http.CoreHTTPTestCase.testHTTP1_0

Traceback (most recent call last):
  File "/usr/src/packages/SOURCES/Twisted/twisted/web2/test/test_http.py", line 493, in testHTTP1_0
    self.assertDone(cxn)
  File "/usr/src/packages/SOURCES/Twisted/twisted/web2/test/test_http.py", line 421, in assertDone
    self.assertEquals(cxn.client.done, done)
twisted.trial.unittest.FailTest: False != True
===============================================================================
[ERROR]: twisted.web2.test.test_http.CoreHTTPTestCase.testHTTP1_1_pipelining

Traceback (most recent call last):
  File "/usr/src/packages/SOURCES/Twisted/twisted/web2/test/test_http.py", line 588, in testHTTP1_1_pipelining
    self.compareResult(cxn, cmds, data)
  File "/usr/src/packages/SOURCES/Twisted/twisted/web2/test/test_http.py", line 416, in compareResult
    self.assertEquals(receivedRequest.cmds, sortedHeaderCommands)
exceptions.AttributeError: 'NoneType' object has no attribute 'cmds'
===============================================================================
[ERROR]: twisted.web2.test.test_http.CoreHTTPTestCase.testHTTP1_0_keepalive

Traceback (most recent call last):
  File "/usr/src/packages/SOURCES/Twisted/twisted/web2/test/test_http.py", line 530, in testHTTP1_0_keepalive
    self.compareResult(cxn, cmds, data)
  File "/usr/src/packages/SOURCES/Twisted/twisted/web2/test/test_http.py", line 416, in compareResult
    self.assertEquals(receivedRequest.cmds, sortedHeaderCommands)
exceptions.AttributeError: 'NoneType' object has no attribute 'cmds'
===============================================================================
[SUCCESS!?!]: twisted.test.test_tcp.HalfClose3TestCase.testReadNotificationRaises

Reason: 'self.f.protocol is None'
===============================================================================
[SUCCESS!?!]: twistedcaldav.test.test_config.ConfigTests.testDirectoryService_unknownType

Reason: 'unimplemented'
-------------------------------------------------------------------------------
Ran 3557 tests in 1075.313s

FAILED (skips=140, expectedFailures=34, failures=3, errors=2, unexpectedSuccesses=2, successes=3375)
@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Jul 17, 2008

@wsanchez originally submitted this as comment:3:⁠ticket:294

  • Status changed from new to closed
  • Resolution set to fixed

The problem here is that the server can't find the memcached executable. This should be fixed now, as of r2702.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.