[CalendarServer-users] Installation from 3.0 tree problem

Andre LaBranche dre at apple.com
Thu Sep 8 11:59:24 PDT 2011

Hi Jason,

I'm not totally sure what's up with this error, but I'm also not sure if "sudo ./setup.py install" is expected to work as a way of installing all our stuff.

To be totally, brutally honest with you: I have never done a successful 'install' of our software using the only methods supported for open-source use. For my purposes, I either a) use it as distributed in Mac OS X Server, b) run it in 'developer mode', i.e. using the 'run' script from an SVN checkout, c) install a root produced by archiving the results of "run -b <path>", which is not intended for external users, but is how we build linux roots for internal deployment (not supported externally because it assumes some things about our environment). The supported installation process is via the 'run' script, which has a -i and a -I method that are documented thusly:

	-i  Perform a system install into dst; implies -s
	-I  Perform a home install into dst; implies -s

I would try those to see what happens.


On Sep 7, 2011, at 1:57 PM, Jason Miller wrote:

> Afternoon!
> I'm trying to do a raw install of tagged release 3.0 from the svn repo. While running "sudo ./setup.py install" I encounter an error when it tries to copy the egg-info file:
> ...
> copying conf/caldavd.plist -> /usr/local/caldavd
> running install_egg_info
> Removing /usr/local/lib/python2.7/dist-packages/Calendar_and_Contacts_Server-3.0._r8052_.egg-info
> Writing /usr/local/lib/python2.7/dist-packages/Calendar_and_Contacts_Server-3.0._r8052_.egg-info
> Traceback (most recent call last):
>   File "./setup.py", line 139, in <module>
>     root = os.path.normpath(install_obj.root)
>   File "/usr/lib/python2.7/posixpath.py", line 318, in normpath
>     initial_slashes = path.startswith('/')
> AttributeError: 'NoneType' object has no attribute 'startswith'
> Any ideas?
> I'm putting this together on a VM to work on the documentation.
> Thanks!
> --Jason
> ---
> Jason Miller
> Creative Director
> jmiller at red-abstract.com
> m. 256.694.3616
> <raLogo_signature.jpg>
> 3409 Panorama Dr. SE
> Huntsville, AL 35802
> http://www.red-abstract.com
> _______________________________________________
> calendarserver-users mailing list
> calendarserver-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-users/attachments/20110908/0dae343d/attachment.html>

More information about the calendarserver-users mailing list