<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Preston Lee&#039;s Blog &#187; bug</title>
	<atom:link href="http://www.prestonlee.com/tag/bug/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.prestonlee.com</link>
	<description>Technologist, businessman and entrepreneur.</description>
	<lastBuildDate>Tue, 24 Aug 2010 18:41:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>iCal Domain Account Errors For New Events</title>
		<link>http://www.prestonlee.com/2009/06/25/ical-domain-account-errors-for-new-events/</link>
		<comments>http://www.prestonlee.com/2009/06/25/ical-domain-account-errors-for-new-events/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 21:14:42 +0000</pubDate>
		<dc:creator>preston.lee</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[ical]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://www.prestonlee.com/?p=652</guid>
		<description><![CDATA[Over the past couple weeks I&#8217;ve had issues getting my OSX 10.5 iCal client to continue working properly with our centralized CalDav server. I stopped being able to invite other domain users to my events as well as reserve &#8220;locations&#8221;, despite all my personal (non-domain) calendars continuing to work properly. I noted these iCal errors [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Over the past couple weeks I&#8217;ve had issues getting my OSX 10.5 iCal client to continue working properly with our centralized CalDav server. I stopped being able to invite other domain users to my events as well as reserve &#8220;locations&#8221;, despite all my personal (non-domain) calendars continuing to work properly. I noted these iCal errors in Console.app&#8230;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">*** -[NSConcreteTextStorage attributesAtIndex:longestEffectiveRange:inRange:]: Range or index out of bounds</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">CalDAVOperationQueue tried to dequeue operation &lt;CalDAVScanDropBoxQueueableOperation: 0x174eb6a0&gt; but it was not at the front of the queue.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">When I tried to delete my domain account within iCal&#8217;s preferences, the application hung. When restarted I could no longer bring up the preference dialog and saw this error repeated in Console&#8230;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">*** -[NSURL initWithString:relativeToURL:]: nil string parameter</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Apparently deleting everything in ~/Library/Calendars and starting fresh is one solution. I have years worth of notes and interesting tidbits that I need to keep, however, so simply deleting all my data was not an option. With some educated guesswork, trial and error, I discovered that the following steps seems to make everything work without apparent data loss or corruption..</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Quit iCal.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Go to ~/Library/Calendars and backup the entire directory, just in case.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Delete all &#8220;Calendar Cache&#8221; files as well as any directory ending in &#8220;.caldav&#8221;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Start iCal. It may give you a progress dialog about &#8220;Upgrading Calendars&#8221;. I think this means it&#8217;s rebuilding the cache file.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Go to &#8220;iCal -&gt; Preferences&#8230;&#8221; and delete/readd your domain account.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Wait for the domain account to resync and you should be go to go.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Hope this helps!</div>
<p><a href="http://www.prestonlee.com/wp-content/uploads/2008/05/apple.jpeg"><img class="alignright size-full wp-image-240" title="apple" src="http://www.prestonlee.com/wp-content/uploads/2008/05/apple.jpeg" alt="apple" width="120" height="133" /></a>Over the past couple weeks I&#8217;ve had issues getting my OSX 10.5 iCal client to continue working properly with our centralized CalDav server. I stopped being able to invite other domain users to my events as well as reserve &#8220;locations&#8221;, despite all my personal (non-domain) calendars continuing to work properly. I noted these iCal errors in Console.app&#8230;</p>
<blockquote><p>*** -[NSConcreteTextStorage attributesAtIndex:longestEffectiveRange:inRange:]: Range or index out of bounds</p>
<p>CalDAVOperationQueue tried to dequeue operation &lt;CalDAVScanDropBoxQueueableOperation: 0x174eb6a0&gt; but it was not at the front of the queue.</p></blockquote>
<p>When I tried to delete my domain account within iCal&#8217;s preferences, the application hung. When restarted, I could no longer bring up the preference dialog and saw this error repeated in Console&#8230;</p>
<blockquote><p>*** -[NSURL initWithString:relativeToURL:]: nil string parameter</p></blockquote>
<p>Apparently deleting everything in ~/Library/Calendars and starting fresh is the easiest solution. I have years worth of notes and interesting tidbits that I need to keep, however, so simply deleting all my data was not an option. With some educated guesswork, trial and error, I discovered that the following steps seems to make everything work again without apparent data loss or corruption..</p>
<ol>
<li>Quit iCal.</li>
<li>Go to ~/Library/Calendars and <strong>backup the entire directory</strong>, just in case.</li>
<li>Delete all &#8220;Calendar Cache&#8221; files as well as any directory ending in &#8220;.caldav&#8221;.</li>
<li>Start iCal.</li>
<li>It may give you a progress dialog about &#8220;Upgrading Calendars&#8221;. I think this means it&#8217;s rebuilding the cache file.</li>
<li>Go to &#8220;iCal -&gt; Preferences&#8230;&#8221; and delete/readd your domain account.</li>
<li>Wait for the domain account to resync and you should be go to go.</li>
</ol>
<p>Hope this helps!</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.prestonlee.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.prestonlee.com/2009/06/25/ical-domain-account-errors-for-new-events/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
