Re: [CalendarServer-users] Darwin Calendar Server on Linux - Howto
hi, is this howto still actual? if not, please point me to the right place. i followed your howto and everything works fine until the point i start the server: $ sudo ./run Building Zope Interface... Building PyOpenSSL... Building PyKerberos... Building xattr... Building select26... /usr/lib64/python2.5/distutils/dist.py:263: UserWarning: Unknown distribution option: 'include_package_data' warnings.warn(msg) Building PyDirector... Using python as Python Starting server... exec python /mnt/gentoo32/DCS-source/Twisted/bin/twistd -n caldav -f / mnt/gentoo32/DCS-source/CalendarServer/conf/caldavd-dev.plist -o ProcessType=Combined Traceback (most recent call last): File "/mnt/gentoo32/DCS-source/Twisted/bin/twistd", line 21, in <module> run() File "/mnt/gentoo32/DCS-source/Twisted/twisted/scripts/twistd.py", line 27, in run app.run(runApp, ServerOptions) File "/mnt/gentoo32/DCS-source/Twisted/twisted/application/app.py", line 374, in run config.parseOptions() File "/mnt/gentoo32/DCS-source/Twisted/twisted/application/app.py", line 354, in parseOptions usage.Options.parseOptions(self, options) File "/mnt/gentoo32/DCS-source/Twisted/twisted/python/usage.py", line 184, in parseOptions for (cmd, short, parser, doc) in self.subCommands: File "/mnt/gentoo32/DCS-source/Twisted/twisted/application/app.py", line 365, in subCommands self.loadedPlugins[plug.tapname] = plug File "/mnt/gentoo32/DCS-source/CalendarServer/twisted/plugins/ caldav.py", line 13, in getProperty return getattr(reflect.namedClass(self.serviceMakerClass), propname) File "/mnt/gentoo32/DCS-source/Twisted/twisted/python/reflect.py", line 347, in namedObject module = namedModule(string.join(classSplit[:-1], '.')) File "/mnt/gentoo32/DCS-source/Twisted/twisted/python/reflect.py", line 335, in namedModule topLevel = __import__(name) File "/mnt/gentoo32/DCS-source/CalendarServer/twistedcaldav/mail.py", line 47, in <module> from twistedcaldav.scheduling.scheduler import IMIPScheduler File "/mnt/gentoo32/DCS-source/CalendarServer/twistedcaldav/scheduling/ scheduler.py", line 34, in <module> from twistedcaldav.scheduling import addressmapping File "/mnt/gentoo32/DCS-source/CalendarServer/twistedcaldav/scheduling/ addressmapping.py", line 20, in <module> from twistedcaldav.scheduling.caldav import ScheduleViaCalDAV File "/mnt/gentoo32/DCS-source/CalendarServer/twistedcaldav/scheduling/ caldav.py", line 38, in <module> from twistedcaldav.method import report_common File "/mnt/gentoo32/DCS-source/CalendarServer/twistedcaldav/method/ report_common.py", line 59, in <module> from twistedcaldav.index import IndexedSearchException File "/mnt/gentoo32/DCS-source/CalendarServer/twistedcaldav/index.py", line 41, in <module> from pysqlite2 import dbapi2 as sqlite ImportError: No module named pysqlite2 thanks for your help andreas
Quoting "Andreas M. Eberharter" <ame_24@gmx.net>:
ImportError: No module named pysqlite2
I can't speak to the how up-to-date the HOWTO is or how well it applies to linux. However, the error suggests that the python module "pysqlite2" is not installed into python's module search path (see <http://docs.python.org/tutorial/modules.html#the-module-search-path>). If you're trying to install on debian or ubuntu, have you tried installing the Debian package "calendarserver"? <http://packages.debian.org/lenny/calendarserver> -arthur.
thanks, i recompiled python including the sqlite keyword: $ sudo emerge -pv dev-lang/python [ebuild N ] dev-db/sqlite-3.6.6.2 USE="threadsafe -debug -doc - soundex -tcl" 2,250 kB [ebuild R ] dev-lang/python-2.5.2-r7 USE="gdbm ipv6 ncurses readline sqlite* ssl threads xml -berkdb -build -doc -examples -tk - ucs2 -wininst" 0 kB are there some more modules i should active in order for calendarserver to function correctly? now it started fine and i could browse the server pointing to localhost:8009 i do get a warning when starting up: what does this mean? Building select26... /usr/lib64/python2.5/distutils/dist.py:263: UserWarning: Unknown distribution option: 'include_package_data' warnings.warn(msg) are there any howtos out there on how to configure calendarserver the best? i did not find something regarding users, rights... as i'm on gentoo, i could not try the debian package. thanks again for your help andreas On 02.04.2009, at 02:52, arthurp@csail.mit.edu wrote:
Quoting "Andreas M. Eberharter" <ame_24@gmx.net>:
ImportError: No module named pysqlite2
I can't speak to the how up-to-date the HOWTO is or how well it applies to linux. However, the error suggests that the python module "pysqlite2" is not installed into python's module search path (see <http://docs.python.org/tutorial/modules.html#the-module-search-path
).
If you're trying to install on debian or ubuntu, have you tried installing the Debian package "calendarserver"? <http://packages.debian.org/lenny/calendarserver
-arthur. _______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users
participants (2)
-
Andreas M. Eberharter
-
arthurp@csail.mit.edu