[prev in list] [next in list] [prev in thread] [next in thread] 

List:       calendarserver-users
Subject:    Re: [CalendarServer-users] Installation from 3.0 tree problem
From:       Andre LaBranche <dre () apple ! com>
Date:       2011-09-08 18:59:24
Message-ID: 9042197E-F68E-477F-B568-E0DA0FE1F57C () apple ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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.

-dre

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@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@lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users


[Attachment #5 (text/html)]

<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
-webkit-line-break: after-white-space; ">Hi Jason,<div><br></div><div>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.</div><div><br></div><div>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 &lt;path&gt;", 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:</div><div><br></div><div><div><span class="Apple-tab-span" \
style="white-space:pre">	</span>-i &nbsp;Perform a system install into dst; implies \
-s</div><div><span class="Apple-tab-span" style="white-space:pre">	</span>-I \
&nbsp;Perform a home install into dst; implies -s</div></div><div><br></div><div>I \
would try those to see what \
happens.</div><div><br></div><div>-dre</div><div><br><div><div>On Sep 7, 2011, at \
1:57 PM, Jason Miller wrote:</div><br class="Apple-interchange-newline"><blockquote \
type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; \
-webkit-line-break: after-white-space; ">Afternoon!<div><br></div><div>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:</div><div><br></div><div>...</div><div><div>copying conf/caldavd.plist -&gt; \
/usr/local/caldavd</div><div>running install_egg_info</div><div>Removing \
/usr/local/lib/python2.7/dist-packages/Calendar_and_Contacts_Server-3.0._r8052_.egg-info</div><div>Writing \
/usr/local/lib/python2.7/dist-packages/Calendar_and_Contacts_Server-3.0._r8052_.egg-info</div><div>Traceback \
(most recent call last):</div><div>&nbsp; File "./setup.py", line 139, in \
&lt;module&gt;</div><div>&nbsp; &nbsp; root = \
os.path.normpath(install_obj.root)</div><div>&nbsp; File \
"/usr/lib/python2.7/posixpath.py", line 318, in normpath</div><div>&nbsp; &nbsp; \
initial_slashes = path.startswith('/')</div><div>AttributeError: 'NoneType' object \
has no attribute 'startswith'</div><div><br></div><div>Any \
ideas?</div><div><br></div><div>I'm putting this together on a VM to work on the \
documentation.</div><div><br></div><div>Thanks!</div><div><br></div><div>--Jason</div><div>
 <span class="Apple-style-span" style="border-collapse: separate; font-family: \
Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: \
normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; \
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; \
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; \
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; \
-webkit-text-stroke-width: 0px; "><span class="Apple-style-span" \
style="border-collapse: separate; font-family: Helvetica; font-size: medium; \
font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: \
normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; \
white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: \
0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; \
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div \
style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: \
after-white-space; "><div><p align="left">---<br>Jason Miller<br>Creative \
Director<br><a href="mailto:jmiller@red-abstract.com">jmiller@red-abstract.com</a><br>m. \
256.694.3616</p></div></div></span></span><span></span><br \
class="Apple-interchange-newline"><span></span><span><span>&lt;raLogo_signature.jpg&gt;</span></span><span \
class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; \
font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: \
normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; \
white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: \
0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; \
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; \
"><span class="Apple-style-span" style="border-collapse: separate; font-family: \
Helvetica; font-style: normal; font-variant: normal; font-weight: normal; \
letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; \
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; \
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; \
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; \
-webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" \
style="border-collapse: separate; font-family: Helvetica; font-size: medium; \
font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: \
normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; \
white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: \
0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; \
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span \
class="Apple-style-span" style="text-align: -webkit-left; "><br \
class="Apple-interchange-newline">3409 Panorama Dr. SE<br>Huntsville, AL 35802<br><a \
href="http://www.red-abstract.com/">http://www.red-abstract.com</a></span></span></span></span>
 </div>
<br></div></div>_______________________________________________<br>calendarserver-users \
mailing list<br><a href="mailto:calendarserver-users@lists.macosforge.org">calendarser \
ver-users@lists.macosforge.org</a><br>http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users<br></blockquote></div><br></div></body></html>




_______________________________________________
calendarserver-users mailing list
calendarserver-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic