LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-01-2007, 06:43 AM   #1
VanDaMe
LQ Newbie
 
Registered: Apr 2007
Posts: 20

Rep: Reputation: 0
calendarserver problem. need help


when i'm trying to run the application, it's appears error like this

Code:
Traceback (most recent call last):
  File "/home/glen/Desktop/darwin/Twisted/twisted/application/app.py", line 354, in parseOptions
    usage.Options.parseOptions(self, options)
  File "/home/glen/Desktop/darwin/Twisted/twisted/python/usage.py", line 184, in parseOptions
    for (cmd, short, parser, doc) in self.subCommands:
  File "/home/glen/Desktop/darwin/Twisted/twisted/application/app.py", line 364, in subCommands
    for plug in plugins:
  File "/home/glen/Desktop/darwin/Twisted/twisted/plugin.py", line 186, in getPlugins
    allDropins = getCache(package)
--- <exception caught here> ---
  File "/home/glen/Desktop/darwin/Twisted/twisted/plugin.py", line 151, in getCache
    provider = pluginModule.load()
  File "/home/glen/Desktop/darwin/Twisted/twisted/python/modules.py", line 378, in load
    return self.pathEntry.pythonPath.moduleLoader(self.name)
  File "/home/glen/Desktop/darwin/Twisted/twisted/python/modules.py", line 614, in moduleLoader
    return self._moduleLoader(modname)
  File "/home/glen/Desktop/darwin/Twisted/twisted/python/reflect.py", line 361, in namedAny
    topLevelPackage = __import__(trialname)
  File "/home/glen/Desktop/darwin/CalendarServer/twisted/plugins/caldav.py", line 1, in <module>
    from twistedcaldav.tap import CalDAVServiceMaker
  File "/home/glen/Desktop/darwin/CalendarServer/twistedcaldav/tap.py", line 47, in <module>
    from twistedcaldav.resource import CalDAVResource
  File "/home/glen/Desktop/darwin/CalendarServer/twistedcaldav/resource.py", line 37, in <module>
    from twisted.web2.dav.idav import IDAVPrincipalCollectionResource
exceptions.ImportError: cannot import name IDAVPrincipalCollectionResource
Traceback (most recent call last):
  File "/home/glen/Desktop/darwin/Twisted/twisted/application/app.py", line 354, in parseOptions
    usage.Options.parseOptions(self, options)
  File "/home/glen/Desktop/darwin/Twisted/twisted/python/usage.py", line 184, in parseOptions
    for (cmd, short, parser, doc) in self.subCommands:
  File "/home/glen/Desktop/darwin/Twisted/twisted/application/app.py", line 364, in subCommands
    for plug in plugins:
  File "/home/glen/Desktop/darwin/Twisted/twisted/plugin.py", line 186, in getPlugins
    allDropins = getCache(package)
--- <exception caught here> ---
  File "/home/glen/Desktop/darwin/Twisted/twisted/plugin.py", line 151, in getCache
    provider = pluginModule.load()
  File "/home/glen/Desktop/darwin/Twisted/twisted/python/modules.py", line 378, in load
    return self.pathEntry.pythonPath.moduleLoader(self.name)
  File "/home/glen/Desktop/darwin/Twisted/twisted/python/modules.py", line 614, in moduleLoader
    return self._moduleLoader(modname)
  File "/home/glen/Desktop/darwin/Twisted/twisted/python/reflect.py", line 361, in namedAny
    topLevelPackage = __import__(trialname)
  File "/home/glen/Desktop/darwin/Twisted/twisted/plugins/twisted_lore.py", line 4, in <module>
    from twisted.lore.scripts.lore import IProcessor
  File "/home/glen/Desktop/darwin/Twisted/twisted/lore/scripts/lore.py", line 8, in <module>
    from twisted.lore import process, indexer, numberer, htmlbook
  File "/home/glen/Desktop/darwin/Twisted/twisted/lore/process.py", line 7, in <module>
    import tree #todo: get rid of this later
  File "/home/glen/Desktop/darwin/Twisted/twisted/lore/tree.py", line 8, in <module>
    from twisted.web import microdom, domhelpers
  File "/home/glen/Desktop/darwin/Twisted/twisted/web/microdom.py", line 30, in <module>
    from twisted.web.sux import XMLParser, ParseError
  File "/home/glen/Desktop/darwin/Twisted/twisted/web/sux.py", line 23, in <module>
    from twisted.internet.protocol import Protocol, FileWrapper
  File "/home/glen/Desktop/darwin/Twisted/twisted/internet/protocol.py", line 394, in <module>
    interfaces.IConsumer)
  File "/home/glen/Desktop/darwin/Twisted/twisted/python/components.py", line 87, in registerAdapter
    raise ValueError("an adapter (%s) was already registered." % (factory, ))
exceptions.ValueError: an adapter (twisted.internet.protocol.ProtocolToConsumerAdapter) was already registered.
Traceback (most recent call last):
  File "/home/glen/Desktop/darwin/Twisted/twisted/python/usage.py", line 373, in __str__
    return self.getSynopsis() + '\n' + self.getUsage(width=None)
  File "/home/glen/Desktop/darwin/Twisted/twisted/python/usage.py", line 407, in getUsage
    for (cmd, short, parser, desc) in self.subCommands:
  File "/home/glen/Desktop/darwin/Twisted/twisted/application/app.py", line 364, in subCommands
    for plug in plugins:
  File "/home/glen/Desktop/darwin/Twisted/twisted/plugin.py", line 186, in getPlugins
    allDropins = getCache(package)
--- <exception caught here> ---
  File "/home/glen/Desktop/darwin/Twisted/twisted/plugin.py", line 151, in getCache
    provider = pluginModule.load()
  File "/home/glen/Desktop/darwin/Twisted/twisted/python/modules.py", line 378, in load
    return self.pathEntry.pythonPath.moduleLoader(self.name)
  File "/home/glen/Desktop/darwin/Twisted/twisted/python/modules.py", line 614, in moduleLoader
    return self._moduleLoader(modname)
  File "/home/glen/Desktop/darwin/Twisted/twisted/python/reflect.py", line 361, in namedAny
    topLevelPackage = __import__(trialname)
  File "/home/glen/Desktop/darwin/CalendarServer/twisted/plugins/caldav.py", line 1, in <module>
    from twistedcaldav.tap import CalDAVServiceMaker
  File "/home/glen/Desktop/darwin/CalendarServer/twistedcaldav/tap.py", line 39, in <module>
    from twisted.web2.channel import http
  File "/home/glen/Desktop/darwin/Twisted/twisted/web2/channel/__init__.py", line 9, in <module>
    from twisted.web2.channel.http import HTTPFactory
  File "/home/glen/Desktop/darwin/Twisted/twisted/web2/channel/http.py", line 8, in <module>
    from twisted.protocols import policies, basic
  File "/home/glen/Desktop/darwin/Twisted/twisted/protocols/policies.py", line 16, in <module>
    from twisted.internet.protocol import ServerFactory, Protocol, ClientFactory
  File "/home/glen/Desktop/darwin/Twisted/twisted/internet/protocol.py", line 394, in <module>
    interfaces.IConsumer)
  File "/home/glen/Desktop/darwin/Twisted/twisted/python/components.py", line 87, in registerAdapter
    raise ValueError("an adapter (%s) was already registered." % (factory, ))
exceptions.ValueError: an adapter (twisted.internet.protocol.ProtocolToConsumerAdapter) was already registered.
Traceback (most recent call last):
  File "/home/glen/Desktop/darwin/Twisted/twisted/python/usage.py", line 373, in __str__
    return self.getSynopsis() + '\n' + self.getUsage(width=None)
  File "/home/glen/Desktop/darwin/Twisted/twisted/python/usage.py", line 407, in getUsage
    for (cmd, short, parser, desc) in self.subCommands:
  File "/home/glen/Desktop/darwin/Twisted/twisted/application/app.py", line 364, in subCommands
    for plug in plugins:
  File "/home/glen/Desktop/darwin/Twisted/twisted/plugin.py", line 186, in getPlugins
    allDropins = getCache(package)
--- <exception caught here> ---
  File "/home/glen/Desktop/darwin/Twisted/twisted/plugin.py", line 151, in getCache
    provider = pluginModule.load()
  File "/home/glen/Desktop/darwin/Twisted/twisted/python/modules.py", line 378, in load
    return self.pathEntry.pythonPath.moduleLoader(self.name)
  File "/home/glen/Desktop/darwin/Twisted/twisted/python/modules.py", line 614, in moduleLoader
    return self._moduleLoader(modname)
  File "/home/glen/Desktop/darwin/Twisted/twisted/python/reflect.py", line 361, in namedAny
    topLevelPackage = __import__(trialname)
  File "/home/glen/Desktop/darwin/Twisted/twisted/plugins/twisted_lore.py", line 4, in <module>
    from twisted.lore.scripts.lore import IProcessor
  File "/home/glen/Desktop/darwin/Twisted/twisted/lore/scripts/lore.py", line 8, in <module>
    from twisted.lore import process, indexer, numberer, htmlbook
  File "/home/glen/Desktop/darwin/Twisted/twisted/lore/process.py", line 7, in <module>
    import tree #todo: get rid of this later
  File "/home/glen/Desktop/darwin/Twisted/twisted/lore/tree.py", line 8, in <module>
    from twisted.web import microdom, domhelpers
  File "/home/glen/Desktop/darwin/Twisted/twisted/web/microdom.py", line 30, in <module>
    from twisted.web.sux import XMLParser, ParseError
  File "/home/glen/Desktop/darwin/Twisted/twisted/web/sux.py", line 23, in <module>
    from twisted.internet.protocol import Protocol, FileWrapper
  File "/home/glen/Desktop/darwin/Twisted/twisted/internet/protocol.py", line 394, in <module>
    interfaces.IConsumer)
  File "/home/glen/Desktop/darwin/Twisted/twisted/python/components.py", line 87, in registerAdapter
    raise ValueError("an adapter (%s) was already registered." % (factory, ))
exceptions.ValueError: an adapter (twisted.internet.protocol.ProtocolToConsumerAdapter) was already registered.
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.

/home/glen/Twisted/bin/twistd: Unknown command: caldav
i already searched on google but can't found answer until now.. please help


thank's

Last edited by VanDaMe; 12-01-2007 at 07:18 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 08:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration