[CalendarServer-users] Issue with Trunk

Jared McIntyre jmcintyre at dfsoftware.com
Sat May 17 13:48:08 PDT 2008


I just updated from trunk for the first time in a little over a 
month, and I'm now having errors loading Twisted. I've deleted all 
the pre-reqs and had the run process reinstall them, and the problem 
continues. I'm adding the error message to the end. I'd appreciate 
any ideas on where to start looking for a fix (I've fixed a few of 
these before, but this doesn't look look like a config file issue).

Thanks,

Jares

$ ./run -v
Traceback (most recent call last):
   File "/DarwinCalendar/Twisted/twisted/application/app.py", line 374, in run
     config.parseOptions()
   File "/DarwinCalendar/Twisted/twisted/application/app.py", line 
354, in parseOptions
     usage.Options.parseOptions(self, options)
   File "/DarwinCalendar/Twisted/twisted/python/usage.py", line 184, 
in parseOptions
     for (cmd, short, parser, doc) in self.subCommands:
   File "/DarwinCalendar/Twisted/twisted/application/app.py", line 
364, in subCommands
     for plug in plugins:
--- <exception caught here> ---
   File "/DarwinCalendar/Twisted/twisted/plugin.py", line 190, in getPlugins
     adapted = interface(plugin, None)
   File 
"/DarwinCalendar/zope.interface-3.3.0/build/lib.macosx-10.3-ppc-2.4/zope/interface/interface.py", 
line 635, in _call_conform
     return conform(self)
   File "/DarwinCalendar/Twisted/twisted/plugin.py", line 74, in __conform__
     return self.load()
   File "/DarwinCalendar/Twisted/twisted/plugin.py", line 69, in load
     return namedAny(self.dropin.moduleName + '.' + self.name)
   File "/DarwinCalendar/Twisted/twisted/python/reflect.py", line 361, 
in namedAny
     topLevelPackage = __import__(trialname)
   File "/DarwinCalendar/CalendarServer/twisted/plugins/caldav.py", line 1, in ?
     from twistedcaldav.tap import CalDAVServiceMaker
   File "/DarwinCalendar/CalendarServer/twistedcaldav/tap.py", line 49, in ?
     from twistedcaldav.root import RootResource
   File "/DarwinCalendar/CalendarServer/twistedcaldav/root.py", line 28, in ?
     from twistedcaldav.cache import ResponseCache, _CachedResponseResource
   File "/DarwinCalendar/CalendarServer/twistedcaldav/cache.py", line 17, in ?
     import uuid
exceptions.ImportError: No module named uuid
Traceback (most recent call last):
   File "/DarwinCalendar/Twisted/twisted/application/app.py", line 376, in run
     print config
   File "/DarwinCalendar/Twisted/twisted/python/usage.py", line 373, in __str__
     return self.getSynopsis() + '\n' + self.getUsage(width=None)
   File "/DarwinCalendar/Twisted/twisted/python/usage.py", line 407, in getUsage
     for (cmd, short, parser, desc) in self.subCommands:
   File "/DarwinCalendar/Twisted/twisted/application/app.py", line 
364, in subCommands
     for plug in plugins:
--- <exception caught here> ---
   File "/DarwinCalendar/Twisted/twisted/plugin.py", line 190, in getPlugins
     adapted = interface(plugin, None)
   File 
"/DarwinCalendar/zope.interface-3.3.0/build/lib.macosx-10.3-ppc-2.4/zope/interface/interface.py", 
line 635, in _call_conform
     return conform(self)
   File "/DarwinCalendar/Twisted/twisted/plugin.py", line 74, in __conform__
     return self.load()
   File "/DarwinCalendar/Twisted/twisted/plugin.py", line 69, in load
     return namedAny(self.dropin.moduleName + '.' + self.name)
   File "/DarwinCalendar/Twisted/twisted/python/reflect.py", line 361, 
in namedAny
     topLevelPackage = __import__(trialname)
   File "/DarwinCalendar/CalendarServer/twisted/plugins/caldav.py", line 1, in ?
     from twistedcaldav.tap import CalDAVServiceMaker
   File "/DarwinCalendar/CalendarServer/twistedcaldav/tap.py", line 49, in ?
     from twistedcaldav.root import RootResource
   File "/DarwinCalendar/CalendarServer/twistedcaldav/root.py", line 28, in ?
     from twistedcaldav.cache import ResponseCache, _CachedResponseResource
   File "/DarwinCalendar/CalendarServer/twistedcaldav/cache.py", line 17, in ?
     import uuid
exceptions.ImportError: No module named uuid
Usage: twistd [options]
Options:
       --savestats        save the Stats object rather than the text output of
                          the profiler.
   -o, --no_save          do not save state on shutdown
   -e, --encrypted        The specified tap/aos/xml file is encrypted.
       --nothotshot       Don't use the 'hotshot' profiler even if it's
                          available.
   -n, --nodaemon         don't daemonize
   -q, --quiet            No-op for backwards compatability.
       --originalname     Don't try to change the process name
       --syslog           Log to syslog, not to file
       --euid             Set only effective user-id rather than real user-id.
                          (This option has no effect unless the server 
is running
                          as root, in which case it means not to shed all
                          privileges after binding ports, retaining 
the option to
                          regain privileges in cases such as spawning processes.
                          Use with caution.)
   -l, --logfile=         log to a specified file, - for stdout
   -p, --profile=         Run in profile mode, dumping results to specified file
   -f, --file=            read the given .tap file [default: twistd.tap]
   -y, --python=          read an application from within a Python file (implies
                          -o)
   -x, --xml=             Read an application from a .tax file (Marmalade
                          format).
   -s, --source=          Read an application from a .tas file (AOT format).
   -d, --rundir=          Change to a supplied directory before 
running [default:
                          .]
       --report-profile=  E-mail address to use when reporting dynamic execution
                          profiler stats. This should not be combined with other
                          profiling options. This will only take effect if the
                          application to be run has an application name.
       --prefix=          use the given prefix when syslogging 
[default: twisted]
       --pidfile=         Name of the pidfile [default: twistd.pid]
       --chroot=          Chroot to a supplied directory before running
   -u, --uid=             The uid to run as.
   -g, --gid=             The gid to run as.
       --help-reactors    Display a list of possibly available reactor names.
       --version          Print version information and exit.
       --spew             Print an insanely verbose log of everything that
                          happens. Useful when debugging freezes or locks in
                          complex code.
   -b, --debug            run the application in the Python Debugger (implies
                          nodaemon), sending SIGUSR2 will drop into debugger
   -r, --reactor=         Which reactor to use (see --help-reactors 
for a list of
                          possibilities)
       --help             Display this help and exit.
Commands:
     web2             An HTTP/1.1 web server that can serve from a filesystem or
                      application resource.
     ftp              An FTP server.
     telnet           A simple, telnet-based remote debugging service.
     socks            A SOCKSv4 proxy service.
     manhole-old      An interactive remote debugger service.
     portforward      A simple port-forwarder.
     web              A general-purpose web server which can serve from a
                      filesystem or application resource.
     inetd            An inetd(8) replacement.
     news             A news server.
     words            A modern words server
     toc              An AIM TOC service.
     dns              A domain name server.
     mail             An email service
     manhole          An interactive remote debugger service accessible via
                      telnet and ssh and providing syntax coloring and 
basic line
                      editing functionality.
     conch            A Conch SSH service.

/DarwinCalendar/Twisted/bin/twistd: Unknown command: caldav


More information about the calendarserver-users mailing list