Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
can't find twisted.cred.strcred #261
macosforge@… originally submitted this as ticket:328
Running either './run' or './test twistedcaldav.static', I get:
Starting server... exec python /home/arnouten/dev/calendaring/Twisted/bin/twistd -n caldav -f /home/arnouten/dev/calendaring/CalendarServer/conf/caldavd-dev.plist -o ProcessType=Combined Traceback (most recent call last):
--- <exception caught here> ---
exceptions.ImportError: No module named strcred
Interesting thing is that the lowest entry in the stack is "/usr/share/pyshared/twisted/plugins/cred_anonymous.py", and "/usr/share/pyshared/twisted/cred/strcred.py" actually exists.
macosforge@… originally submitted this as comment:1:ticket:328
This is on ubuntu linux, using latest SVN. These 2 files are from the python-twisted-core package, which 8.1.0.
Removing the python-twisted-core package seems to make the problem go away - "./test twistedcaldav.static" no longer shows stacktraces, though it still reports there are 0 tests.
I'd quite prefer to leave the python-twisted-core package installed, is there any way to tell python only to use CalendarServers `builtin' version?
It shouldn't be looking in
On Mac OS X, I have it pretty reliably only using the "builtin" version, so I don't know what's going on here.