[CalendarServer-users] installing on Ubuntu, error...
jean
jduffas1 at free.fr
Mon Jan 7 06:57:14 PST 2008
hello,
I understood the problem :
i didn' t install "patch" ... sorry, I' m not very good on linux ;-)
now I can install the app, but I got an other error when trying to use
the test config...
here it is :
any idea ?
$ ./run
2008-01-07 09:53:06-0500 [-] Log opened.
2008-01-07 09:53:06-0500 [-] twistd 2.5.0+rUnknown (/usr/bin/python
2.5.1) starting up
2008-01-07 09:53:06-0500 [-] reactor class: <class
'twisted.internet.selectreactor.SelectReactor'>
2008-01-07 09:53:06-0500 [-] 1 processors found, configuring 1
processes.
2008-01-07 09:53:06-0500 [-] twistedcaldav.logging.AMPLoggingFactory
starting on "'logs/caldavd.sock'"
2008-01-07 09:53:08-0500 [-] [caldav-8008] [-] Log opened.
2008-01-07 09:53:08-0500 [-] [caldav-8008] [-] twistd 2.5.0+rUnknown
(/usr/bin/python 2.5.1) starting up
2008-01-07 09:53:08-0500 [-] [caldav-8008] [-] reactor class: <class
'twisted.internet.selectreactor.SelectReactor'>
2008-01-07 09:53:08-0500 [-] [caldav-8008] [startup] Configuring
directory service of type:
twistedcaldav.directory.xmlfile.XMLDirectoryService
2008-01-07 09:53:09-0500 [-] [caldav-8008] [startup] Configuring
SudoDirectoryService with file: conf/sudoers.plist
2008-01-07 09:53:09-0500 [-] [caldav-8008] [startup] Setting up
document root at: twistedcaldav/test/data/
2008-01-07 09:53:09-0500 [-] [caldav-8008] [startup] Setting up
principal collection: <class
'twistedcaldav
.directory.principal.DirectoryPrincipalProvisioningResource'>
2008-01-07 09:53:09-0500 [-] [caldav-8008] [startup] Setting up
calendar collection: <class
'twistedcaldav.static.CalendarHomeProvisioningFile'>
2008-01-07 09:53:09-0500 [-] [caldav-8008] [startup] Setting up root
resource: <class 'twistedcaldav.root.RootResource'>
2008-01-07 09:53:09-0500 [-] [caldav-8008] [startup] Setting up
default ACEs on root resource
2008-01-07 09:53:09-0500 [-] [caldav-8008] [startup] Setting up
AdminPrincipals
2008-01-07 09:53:09-0500 [-] [caldav-8008] [startup] Added /
principals/__uids__/admin/ as admin principal
2008-01-07 09:53:09-0500 [-] [caldav-8008] [startup] Setting root ACL
2008-01-07 09:53:09-0500 [-] [caldav-8008] [-] Traceback (most recent
call last):
2008-01-07 09:53:09-0500 [-] [caldav-8008] [-] File "../Twisted/bin/
twistd", line 21, in <module>
2008-01-07 09:53:09-0500 [-] [caldav-8008] [-] run()
2008-01-07 09:53:09-0500 [-] [caldav-8008] [-] File "/home/fit/
Twisted/twisted/scripts/twistd.py", line 27, in run
2008-01-07 09:53:09-0500 [-] [caldav-8008] [-] app.run(runApp,
ServerOptions)
2008-01-07 09:53:09-0500 [-] [caldav-8008] [-] File "/home/fit/
Twisted/twisted/application/app.py", line 379, in run
2008-01-07 09:53:09-0500 [-] [caldav-8008] [-] runApp(config)
2008-01-07 09:53:09-0500 [-] [caldav-8008] [-] File "/home/fit/
Twisted/twisted/scripts/twistd.py", line 23, in runApp
2008-01-07 09:53:09-0500 [-] [caldav-8008] [-]
_SomeApplicationRunner(config).run()
2008-01-07 09:53:09-0500 [-] [caldav-8008] [-] File "/home/fit/
Twisted/twisted/application/app.py", line 157, in run
2008-01-07 09:53:09-0500 [-] [caldav-8008] [-] self.application =
self.createOrGetApplication()
2008-01-07 09:53:09-0500 [-] [caldav-8008] [-] File "/home/fit/
Twisted/twisted/application/app.py", line 202, in createOrGetApplication
2008-01-07 09:53:09-0500 [-] [caldav-8008] [-] ser =
plg.makeService(self.config.subOptions)
2008-01-07 09:53:09-0500 [-] [caldav-8008] [-] File "/home/fit/
CalendarServer/twistedcaldav/tap.py", line 600, in makeService
2008-01-07 09:53:09-0500 [-] [caldav-8008] [-] service =
serviceMethod(options)
2008-01-07 09:53:09-0500 [-] [caldav-8008] [-] File "/home/fit/
CalendarServer/twistedcaldav/tap.py", line 448, in makeService_Slave
2008-01-07 09:53:09-0500 [-] [caldav-8008] [-]
root.setAccessControlList(davxml.ACL(*rootACEs))
2008-01-07 09:53:09-0500 [-] [caldav-8008] [-] File "/home/fit/
Twisted/twisted/web2/dav/resource.py", line 790, in setAccessControlList
2008-01-07 09:53:09-0500 [-] [caldav-8008] [-]
self.writeDeadProperty(acl)
2008-01-07 09:53:09-0500 [-] [caldav-8008] [-] File "/home/fit/
Twisted/twisted/web2/dav/resource.py", line 497, in writeDeadProperty
2008-01-07 09:53:09-0500 [-] [caldav-8008] [-]
self.deadProperties().set(property)
2008-01-07 09:53:09-0500 [-] [caldav-8008] [-] File "/home/fit/
Twisted/twisted/web2/dav/xattrprops.py", line 124, in set
2008-01-07 09:53:09-0500 [-] [caldav-8008] [-]
self.attrs[self._encode(property.qname())] = compress(property.toxml())
2008-01-07 09:53:09-0500 [-] [caldav-8008] [-] File "/home/fit/
xattr/build/lib.linux-i586-2.5/xattr/__init__.py", line 115, in
__setitem__
2008-01-07 09:53:09-0500 [-] [caldav-8008] [-] self.set(item,
value)
2008-01-07 09:53:09-0500 [-] [caldav-8008] [-] File "/home/fit/
xattr/build/lib.linux-i586-2.5/xattr/__init__.py", line 81, in set
2008-01-07 09:53:09-0500 [-] [caldav-8008] [-] self._set(name,
value, 0, options | self.options)
2008-01-07 09:53:09-0500 [-] [caldav-8008] [-] File "/home/fit/
xattr/build/lib.linux-i586-2.5/xattr/__init__.py", line 16, in _func
2008-01-07 09:53:09-0500 [-] [caldav-8008] [-] return func(first,
*args)
2008-01-07 09:53:09-0500 [-] [caldav-8008] [-] IOError: [Errno 95]
Operation not supported: '/home/fit/CalendarServer/twistedcaldav/test/
data'
Le 7 janv. 08 à 15:52, mwacker at linagora.com a écrit :
> Hi,
> I'm the humble author of the Linux Howto Tuto you mentioned.
>
> I can't correctly help you since your problem seems to be a twisted
> configuration realted (As far as i can read the log).
> I don't think it's even Linux related (the only non trivial part of
> the
> howto is correct File System configuration, with meta-data
> extensions).
>
> I hope some python/twisted specialist on this list (i'm not) will
> easily
> find what's your problem.
>
> If not, i plan to upgrade my own ubuntu to 7.10 in short delay and
> i'll
> update the howto, if needed.
>
>
>
>> hi !
>>
>> trying to install Calendar Server on Ubuntu 7.10
>>
>> I used this tutorial :
>> http://trac.calendarserver.org/projects/calendarserver/wiki/
>> QuickStart
>>
>> and this one :
>> http://www.mail-archive.com/calendarserver-users@lists.macosforge.org/msg00195/LinuxBuildAndRun-DarwinCalendarServer
>>
>> when doing ./run -s everything seems to be ok.
>>
>> then when doing ./run I got this error, any idea ?
>>
>> thank you.
>>
>> jean duffas
>>
>>
>>
>>
>> fit at fit-PC:~/CalendarServer$ ./run
>> Traceback (most recent call last):
>> File "/home/fit/Twisted/twisted/application/app.py", line 354, in
>> parseOptions
>> usage.Options.parseOptions(self, options)
>> File "/home/fit/Twisted/twisted/python/usage.py", line 184, in
>> parseOptions
>> for (cmd, short, parser, doc) in self.subCommands:
>> File "/home/fit/Twisted/twisted/application/app.py", line 364, in
>> subCommands
>> for plug in plugins:
>> File "/home/fit/Twisted/twisted/plugin.py", line 186, in getPlugins
>> allDropins = getCache(package)
>> --- <exception caught here> ---
>> File "/home/fit/Twisted/twisted/plugin.py", line 151, in getCache
>> provider = pluginModule.load()
>> File "/home/fit/Twisted/twisted/python/modules.py", line 378, in
>> load
>> return self.pathEntry.pythonPath.moduleLoader(self.name)
>> File "/home/fit/Twisted/twisted/python/modules.py", line 614, in
>> moduleLoader
>> return self._moduleLoader(modname)
>> File "/home/fit/Twisted/twisted/python/reflect.py", line 361, in
>> namedAny
>> topLevelPackage = __import__(trialname)
>> File "/home/fit/CalendarServer/twisted/plugins/caldav.py", line 1,
>> in <module>
>> from twistedcaldav.tap import CalDAVServiceMaker
>> File "/home/fit/CalendarServer/twistedcaldav/tap.py", line 45, in
>> <module>
>> from twistedcaldav.resource import CalDAVResource
>> File "/home/fit/CalendarServer/twistedcaldav/resource.py", line 35,
>> in <module>
>> from twisted.web2.dav.idav import IDAVPrincipalCollectionResource
>> exceptions.ImportError: cannot import name
>> IDAVPrincipalCollectionResource
>> Traceback (most recent call last):
>> File "/home/fit/Twisted/twisted/python/usage.py", line 373, in
>> __str__
>> return self.getSynopsis() + '\n' + self.getUsage(width=None)
>> File "/home/fit/Twisted/twisted/python/usage.py", line 407, in
>> getUsage
>> for (cmd, short, parser, desc) in self.subCommands:
>> File "/home/fit/Twisted/twisted/application/app.py", line 364, in
>> subCommands
>> for plug in plugins:
>> File "/home/fit/Twisted/twisted/plugin.py", line 186, in getPlugins
>> allDropins = getCache(package)
>> --- <exception caught here> ---
>> File "/home/fit/Twisted/twisted/plugin.py", line 151, in getCache
>> provider = pluginModule.load()
>> File "/home/fit/Twisted/twisted/python/modules.py", line 378, in
>> load
>> return self.pathEntry.pythonPath.moduleLoader(self.name)
>> File "/home/fit/Twisted/twisted/python/modules.py", line 614, in
>> moduleLoader
>> return self._moduleLoader(modname)
>> File "/home/fit/Twisted/twisted/python/reflect.py", line 361, in
>> namedAny
>> topLevelPackage = __import__(trialname)
>> File "/home/fit/CalendarServer/twisted/plugins/caldav.py", line 1,
>> in <module>
>> from twistedcaldav.tap import CalDAVServiceMaker
>> File "/home/fit/CalendarServer/twistedcaldav/__init__.py", line 59,
>> in <module>
>> import twistedcaldav.customxml
>> File "/home/fit/CalendarServer/twistedcaldav/customxml.py", line 26,
>> in <module>
>> from twisted.web2.dav.resource import twisted_dav_namespace
>> File "/home/fit/Twisted/twisted/web2/dav/resource.py", line 51, in
>> <module>
>> from twisted.web2.http import HTTPError, RedirectResponse,
>> StatusResponse
>> File "/home/fit/Twisted/twisted/web2/http.py", line 462, in <module>
>> components.registerAdapter(compat.makeOldRequestAdapter,
>> iweb.IRequest, iweb.IOldRequest)
>> File "/home/fit/Twisted/twisted/python/components.py", line 87, in
>> registerAdapter
>> raise ValueError("an adapter (%s) was already registered." %
>> (factory, ))
>> exceptions.ValueError: an adapter (<function makeOldRequestAdapter at
>> 0x84acf0c>) 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.
>> 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.
>>
>> /home/fit/Twisted/bin/twistd: Unknown command: caldav
>> _______________________________________________
>> calendarserver-users mailing list
>> calendarserver-users at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo/calendarserver-users
>>
>
>
>
More information about the calendarserver-users
mailing list