<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>Useless error message &#8211; Wade Tregaskis</title>
	<atom:link href="https://wadetregaskis.com/tags/useless-error-message/feed/" rel="self" type="application/rss+xml" />
	<link>https://wadetregaskis.com</link>
	<description></description>
	<lastBuildDate>Fri, 01 Feb 2019 19:44:36 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://wadetregaskis.com/wp-content/uploads/2016/03/Stitch-512x512-1-256x256.png</url>
	<title>Useless error message &#8211; Wade Tregaskis</title>
	<link>https://wadetregaskis.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">226351702</site>	<item>
		<title>iCloud ‘Optimize Mac Storage’ breaks the Mojave installer</title>
		<link>https://wadetregaskis.com/icloud-optimize-mac-storage-breaks-the-mojave-installer/</link>
					<comments>https://wadetregaskis.com/icloud-optimize-mac-storage-breaks-the-mojave-installer/#respond</comments>
		
		<dc:creator><![CDATA[]]></dc:creator>
		<pubDate>Fri, 01 Feb 2019 19:42:00 +0000</pubDate>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Bugs!]]></category>
		<category><![CDATA[High Sierra]]></category>
		<category><![CDATA[iCloud]]></category>
		<category><![CDATA[macOS]]></category>
		<category><![CDATA[Mojave]]></category>
		<category><![CDATA[NTP]]></category>
		<category><![CDATA[Optimize Mac Storage]]></category>
		<category><![CDATA[Sad]]></category>
		<category><![CDATA[Snafu]]></category>
		<category><![CDATA[Useless error message]]></category>
		<guid isPermaLink="false">https://blog.wadetregaskis.com/icloud-optimize-mac-storage-breaks-the-mojave-installer/</guid>

					<description><![CDATA[Yet another example of a really bizarre macOS bug that&#8217;s pretty inexcusable as a test escape, given it occurs with the default installation settings on a completely clean OS install. In short, the Mojave update installer does not work (on High Sierra at least) if you have &#8216;Optimize Mac Storage&#8217; enabled for iCloud Drive (System&#8230; <a class="read-more-link" href="https://wadetregaskis.com/icloud-optimize-mac-storage-breaks-the-mojave-installer/" data-wpel-link="internal">Read more</a>]]></description>
										<content:encoded><![CDATA[<p>Yet another example of a really bizarre macOS bug that&#8217;s pretty inexcusable as a test escape, given it occurs with the default installation settings on a completely clean OS install.</p>
<p>In short, the Mojave update installer does not work (on High Sierra at least) if you have &#8216;Optimize Mac Storage&#8217; enabled for iCloud Drive (System Preferences &gt; iCloud pane &gt; iCloud Drive Options… button &gt; Documents tab &gt; Optimize Mac Storage checkbox).</p>
<p>Specifically, the installer reports:</p>
<blockquote><p>Installation requires downloading important content. That content can&#8217;t be downloaded at this time. Try again later.</p>
</blockquote>
<p>…and indeed fails to download the actual Mojave update files (the installer app as &#8216;installed&#8217; via the App Store is merely a 22 MB bootstrapping app, that downloads the actual image only after you run it &amp; start the installation).</p>
<p>Even more obnoxiously, if you use the <a href="https://dosdude1.com/mojave/" data-wpel-link="external" target="_blank" rel="external noopener">dosdude1 Mojave Patcher Tool</a> to force-download the entire installer, as soon as it completes the 6.5 GB download and produces the &#8216;Install macOS Mojave&#8217; app in /Applications, the system deletes the downloaded installation files out from under that app, rendering it just as broken as the official App Store version. Infuriating.</p>
<p>Aside: to be clear, turning off &#8216;Optimize Mac Storage&#8217; enabled me to produce &#8211; and <em>keep</em> &#8211; a working installer as downloaded by dosdude1&#8217;s tool. I did not verify that it also fixes the regular installer as downloaded via the App Store.</p>
<p>I also ran into the &#8220;The recovery server could not be contacted&#8221; error message even before all the above, but thankfully that was fixable via the means normally prescribed online &#8211; running &#8220;sudo ntpdate -u time.apple.com&#8221;.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wadetregaskis.com/icloud-optimize-mac-storage-breaks-the-mojave-installer/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">4337</post-id>	</item>
		<item>
		<title>SQLite table constraints must be specified after all columns</title>
		<link>https://wadetregaskis.com/sqlite-table-constraints-must-be-specified-after-all-columns/</link>
					<comments>https://wadetregaskis.com/sqlite-table-constraints-must-be-specified-after-all-columns/#respond</comments>
		
		<dc:creator><![CDATA[]]></dc:creator>
		<pubDate>Sat, 03 Dec 2016 03:53:25 +0000</pubDate>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQLite]]></category>
		<category><![CDATA[Useless error message]]></category>
		<guid isPermaLink="false">https://blog.wadetregaskis.com/?p=3747</guid>

					<description><![CDATA[Marking this one for future reference. TL;DR:  You have to specify all the columns in your table, in a CREATE TABLE statement, before you specify table constraints like primary or foreign keys. SQLite gives the most useless error messages most of the time.  Case in point: CREATE TABLE "Foo" ( "ColumnA" TEXT NOT NULL UNIQUE, "ColumnB"&#8230; <a class="read-more-link" href="https://wadetregaskis.com/sqlite-table-constraints-must-be-specified-after-all-columns/" data-wpel-link="internal">Read more</a>]]></description>
										<content:encoded><![CDATA[<p>Marking this one for future reference.</p>
<p>TL;DR:  You have to specify all the columns in your table, in a CREATE TABLE statement, <em>before</em> you specify table constraints like primary or foreign keys.</p>
<p>SQLite gives the most useless error messages most of the time.  Case in point:</p>
<pre><span style="color: #003300;"><strong>CREATE TABLE</strong></span> "Foo" (
    "ColumnA" <span style="color: #003300;"><strong>TEXT NOT NULL UNIQUE</strong></span>,
    "ColumnB" <span style="color: #003300;"><strong>TEXT</strong></span>)
<span style="color: #003300;"><strong>CREATE TABLE</strong></span> "Bar" (
    "Column0" <span style="color: #003300;"><strong>TEXT NOT NULL</strong></span>,
    <span style="color: #003300;"><strong>PRIMARY KEY</strong></span> ("Column0"),
    "Column1" <span style="color: #003300;"><strong>INTEGER NOT NULL UNIQUE</strong></span>,
    <span style="color: #003300;"><strong>FOREIGN KEY</strong></span> ("Column1") <span style="color: #003300;"><strong>REFERENCES</strong></span> "Foo" ("ROWID"))</pre>
<p>That yields the <em>incredibly</em> helpful error message:</p>
<blockquote><p>near &#8220;&#8221;Column1&#8243;&#8221;: syntax error</p></blockquote>
<p>Cool story bro.</p>
<p>What it&#8217;s trying to say is that it wasn&#8217;t expecting any more column definitions after that PRIMARY KEY table constraint.  If you simply declare Column1 before the PRIMARY KEY, it works just fine.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wadetregaskis.com/sqlite-table-constraints-must-be-specified-after-all-columns/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3747</post-id>	</item>
	</channel>
</rss>
