<?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>K-Squared Ramblings &#187; error</title>
	<atom:link href="http://www.hyperborea.org/journal/tag/error/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hyperborea.org/journal</link>
	<description>Sci-fi, comics, humor, photos...it&#039;s all fair game.</description>
	<lastBuildDate>Sat, 21 Nov 2009 07:49:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='www.hyperborea.org' port='80' path='/journal/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>Starbuck(&#8217;)s Coffee</title>
		<link>http://www.hyperborea.org/journal/archives/2009/09/25/starbucks-coffee/</link>
		<comments>http://www.hyperborea.org/journal/archives/2009/09/25/starbucks-coffee/#comments</comments>
		<pubDate>Sat, 26 Sep 2009 06:45:17 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[You Must be Mistaken]]></category>
		<category><![CDATA[apostrophe]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[signs]]></category>
		<category><![CDATA[Starbucks]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/?p=5427</guid>
		<description><![CDATA[
I found this sign on the day after National Punctuation Day.  You can still see the residue from the adhesive where the extra apostrophe was attached.
Someone clearly got Starbucks Coffee confused with Starbuck&#8217;s coffee. Of course, in some cases, they could be the same thing:

Flickr photo by amidalasrogue
Copyright &#169; 2009 Kelson Vibber and/or Katherine [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.hyperborea.org/journal/wp-content/uploads/2009/09/Starbuck-s-sign.jpg" alt="Starbucks sign with an apostrophe removed" title="Starbucks sign with an apostrophe removed" width="400" height="252" class="aligncenter size-full wp-image-5428" /></p>
<p>I found this sign on the day <em>after</em> <a href="http://www.nationalpunctuationday.com/">National Punctuation Day</a>.  You can still see the residue from the adhesive where the extra apostrophe was attached.</p>
<p>Someone clearly got <strong>Starbucks Coffee</strong> confused with <strong>Starbuck&#8217;s</strong> coffee. Of course, in some cases, they could be the same thing:</p>
<p align="center"><a href="http://www.flickr.com/photos/9998548@N04/3900604083/"><img alt="The Grail Knight asks Starbuck to choose wisely. She chooses Starbucks." src="http://farm3.static.flickr.com/2464/3900604083_5a31ae43e1_m.jpg" title="The Grail Knight asks Starbuck to choose wisely. She chooses Starbucks." width="240" height="180" /></a><br />
<small>Flickr <a href="http://www.flickr.com/photos/9998548@N04/3900604083/">photo</a> by amidalasrogue</small></p>
<hr /><small>Copyright &copy; 2009 Kelson Vibber and/or Katherine Foreman.<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. Permission granted to Planet Antispam and LiveJournal syndication feed ksquaredramblin.  If this content is not in your news reader or one of the sites listed above, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint: bc1c453a98ff79bab5c4fca2d890469d (38.107.191.94) )</small> <a href="http://www.hudson-family.co.uk/extremecorticate.php?source=673"></a>]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/archives/2009/09/25/starbucks-coffee/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>When digiKam Failed to Connect</title>
		<link>http://www.hyperborea.org/journal/archives/2007/11/14/digikam-permissions/</link>
		<comments>http://www.hyperborea.org/journal/archives/2007/11/14/digikam-permissions/#comments</comments>
		<pubDate>Thu, 15 Nov 2007 06:15:18 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[camera]]></category>
		<category><![CDATA[digikam]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[udev]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/archives/2007/11/14/digikam-permissions/</guid>
		<description><![CDATA[In the decade I&#8217;ve been using Linux, it&#8217;s gone from something that required lots of technical know-how just to set up, to something that (in its major flavors) can auto-detect most hardware and provides friendly GUIs for most configuration tasks.  But every once in a while, I have the kind of experience that would [...]]]></description>
			<content:encoded><![CDATA[<p>In the decade I&#8217;ve been using Linux, it&#8217;s gone from something that required lots of technical know-how just to set up, to something that (in its major flavors) can auto-detect most hardware and provides friendly GUIs for most configuration tasks.  But every once in a while, I have the kind of experience that would turn a new user off of Linux.  Usually because <a href="http://fedoraproject.org/">Fedora</a> has decided to change something during an update.</p>
<p>In this case, it was a <strong>digital camera problem</strong>.  Since we bought our Canon PowerShot SD600 last December, I&#8217;ve used KDE&#8217;s <a href="http://www.digikam.org/">digiKam</a> to transfer and manage the photos.  DigiKam detected the camera and accessed the photos right out of the box, no configuration needed beyond telling it to remember the model.  But something changed in the last two weeks, and last night I started getting an error message: <strong>Failed to connect to the camera</strong>.  Oddly enough, it could still <em>detect</em> the camera when it was connected.  But it couldn&#8217;t display or download the images.</p>
<p>I searched all over, hitting dead end after dead end, until I got a hint that it was a <strong>permissions</strong> problem.  <span id="more-2134"></span>  That&#8217;s when I hit the command line to start troubleshooting.</p>
<p>Digikam uses a library called <strong>gphoto2</strong> to access cameras.  It has utilities that you can run from the command line for testing.  I ran <strong><code>gphoto2 --auto-detect</code></strong>, which dutifully reported the correct camera.  I ran <strong><code>gphoto2 -l</code></strong> to list the folders on the camera, and it spit out an error including the phrase: <strong>Could not claim the USB device</strong>.  The interesting thing was, if I ran the same command <em>as root</em>, it was able to see the folders.</p>
<p>Way back when, Linux used a static list of devices in /dev.  Now that everyone is constantly connecting and disconnecting devices with USB, Firewire, Bluetooth etc., that&#8217;s not practical.  Most modern Linux distributions use one method or another to dynamically build that list from what&#8217;s actually connected to the computer, and react when new devices are plugged in.  Fedora&nbsp;7 uses <strong>udev</strong> to identify and configure devices.  I had to figure out how to tell udev to give me write access.</p>
<p>I finally found the gphoto documentation on <a href="http://www.gphoto.org/doc/manual/permissions-usb.html">setting permissions</a>, and found the command I needed: <code>print-camera-list</code>, which will build a list of rules for udev to use when someone attaches a camera.  Unfortunately, the directions were slightly out of date.  Instead of adding a &#8220;version 0.98&#8243; option, it wanted &#8220;udev-rules-0.98&#8243;.</p>
<p>So the command I used (as root) was this:</p>
<p><strong><code>/usr/lib/libgphoto2/print-camera-list udev-rules-0.98 group users mode 0660 > /etc/udev/rules.d/90-libgphoto2.rules </code></strong></p>
<p>Note that where it says &#8220;users&#8221; you should substitute the name of the group your account belongs to.  (In Fedora, that might actually be the same name as your username, since it likes  to create a group just for you.)</p>
<p>It took me about an hour to track this down, since initial searches sent me looking in the wrong direction.  I&#8217;m hoping this blog post will save someone else a little time and frustration.</p>
<p><b>Update (June 2008)</b></p>
<p>I&#8217;ve run into a <em>different</em> problem with Fedora 9.  In this case, I&#8217;m running digiKam under the GNOME desktop.  GNOME can mount the camera now, so it auto-mounts and pops up a filesystem window. But when I try to access the camera in digiKam, I get the same error message about not being able to connect.</p>
<p>It turns out this one&#8217;s just a conflict: either the virtual filesystem or digiKam can access the camera, but not both at once.  I just right-clicked on the icon on the desktop, unmounted it, and was able to connect in digiKam.</p>
<hr /><small>Copyright &copy; 2009 Kelson Vibber and/or Katherine Foreman.<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. Permission granted to Planet Antispam and LiveJournal syndication feed ksquaredramblin.  If this content is not in your news reader or one of the sites listed above, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint: bc1c453a98ff79bab5c4fca2d890469d (38.107.191.94) )</small> <a href="http://www.hudson-family.co.uk/extremecorticate.php?source=673"></a>]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/archives/2007/11/14/digikam-permissions/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Generic Novel-ty</title>
		<link>http://www.hyperborea.org/journal/archives/2006/06/03/generic-novel-ty/</link>
		<comments>http://www.hyperborea.org/journal/archives/2006/06/03/generic-novel-ty/#comments</comments>
		<pubDate>Sun, 04 Jun 2006 05:24:07 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[You Must be Mistaken]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[NeilGaiman]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/archives/2006/06/03/generic-novel-ty/</guid>
		<description><![CDATA[Found this on Amazon a few months ago while looking for something by Neil Gaiman:

I just checked back and the listing is gone.  I figure it was probably a placeholder or something.
Copyright &#169; 2009 Kelson Vibber and/or Katherine Foreman. This feed is for personal, non-commercial use only.  The use of this feed on [...]]]></description>
			<content:encoded><![CDATA[<p>Found this on Amazon a few months ago while looking for something by <a href="http://www.neilgaiman.com/">Neil Gaiman</a>:</p>
<p><img id="image1356" src="http://www.hyperborea.org/journal/wp-content/uploads/2006/05/gaiman-midgrade-novel.png" alt="Amazon listing for Gaiman Mid Grade Novel" /></p>
<p>I just checked back and the listing is gone.  I figure it was probably a placeholder or something.</p>
<hr /><small>Copyright &copy; 2009 Kelson Vibber and/or Katherine Foreman.<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. Permission granted to Planet Antispam and LiveJournal syndication feed ksquaredramblin.  If this content is not in your news reader or one of the sites listed above, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint: bc1c453a98ff79bab5c4fca2d890469d (38.107.191.94) )</small> <a href="http://www.hudson-family.co.uk/extremecorticate.php?source=673"></a>]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/archives/2006/06/03/generic-novel-ty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Expected dict&#8221; Errors in FDF Acrobat Forms</title>
		<link>http://www.hyperborea.org/journal/archives/2005/10/24/fdf-errors/</link>
		<comments>http://www.hyperborea.org/journal/archives/2005/10/24/fdf-errors/#comments</comments>
		<pubDate>Mon, 24 Oct 2005 22:11:43 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Acrobat]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[FDF]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[PDF]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/?p=1103</guid>
		<description><![CDATA[Today I was trying to fix a problem in a section of a website that hadn&#8217;t been changed in roughly 5 years.  The page in question retrieved data from a database and filled out an Acrobat form using FDF.  Under some circumstances, Adobe Reader would generate an error message, &#8220;Expected a dict object.&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>Today I was trying to fix a problem in a section of a website that hadn&#8217;t been changed in roughly 5 years.  The page in question retrieved data from a database and filled out an Acrobat form using FDF.  Under some circumstances, Adobe Reader would generate an error message, &#8220;Expected a dict object.&#8221;  Then it would freeze, and crash the web browser for good measure.</p>
<p>This site was built with ColdFusion, and used a then-freely-available library called PDFFormFiller.cfm (I can&#8217;t find any sign of it now) to generate the FDF code.  After saving the offending FDF to a file (eliminating the browser as a factor), I started manually editing the code to see what happened.</p>
<p>The problem turned out to be parentheses appearing in the form data.  FDF uses parentheses-delimited strings, and it was finding <code>)</code> in the code and trying to parse what was left as FDF tokens.  The solution was simple: just escape the parentheses as <code>\(</code> or <code>\)</code>.<span id="more-1103"></span></p>
<p>In this case, I changed this expression:</p>
<blockquote><p><code>#Evaluate("VarStruct.#VarName#")#</code></p></blockquote>
<p>to</p>
<blockquote><p><code>#ReplaceList(Evaluate("VarStruct.#VarName#"),"(,)","\(,\)")#</code></p></blockquote>
<p>I don&#8217;t know whether older versions of Acrobat Reader were more lenient about this or whether this site just never ran into anyone using parentheses before.  Either way, there&#8217;s precious little useful information about this problem online.  In case anyone else runs into it, this entry should help.</p>
<hr /><small>Copyright &copy; 2009 Kelson Vibber and/or Katherine Foreman.<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. Permission granted to Planet Antispam and LiveJournal syndication feed ksquaredramblin.  If this content is not in your news reader or one of the sites listed above, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint: bc1c453a98ff79bab5c4fca2d890469d (38.107.191.94) )</small> <a href="http://www.hudson-family.co.uk/extremecorticate.php?source=673"></a>]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/archives/2005/10/24/fdf-errors/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Apache, mod_ssl, and syntax errors in krb5.h</title>
		<link>http://www.hyperborea.org/journal/archives/2005/10/18/apache-ssl-errors/</link>
		<comments>http://www.hyperborea.org/journal/archives/2005/10/18/apache-ssl-errors/#comments</comments>
		<pubDate>Tue, 18 Oct 2005 18:37:45 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/?p=1092</guid>
		<description><![CDATA[Upgraded the Apache web server today.  I&#8217;d forgotten about a problem compiling mod_ssl on some systems.  Fortunately I had left myself a note about it.
If you get syntax errors in krb5.h while trying to build Apache with mod_ssl, it&#8217;s probably because your Linux distribution puts the Kerberos include files in their own subdirectory [...]]]></description>
			<content:encoded><![CDATA[<p>Upgraded the Apache web server today.  I&#8217;d forgotten about a problem compiling mod_ssl on some systems.  Fortunately I had left myself a note about it.</p>
<p>If you get syntax errors in krb5.h while trying to build Apache with mod_ssl, it&#8217;s probably because your Linux distribution puts the Kerberos include files in their own subdirectory (Red Hat/Fedora and derivatives do this), and the configure script has somehow missed them.</p>
<p><b>Solution:</b>  Configure mod_ssl and Apache as normal.  Then edit the file <code>path_to_apache_source/src/modules/ssl/Makefile</code>.  Look for the <code>CFLAGS1</code> line and add <code>-I/usr/kerberos/include</code> to it.</p>
<p>Then continue with the build as normal.</p>
<p>We now return you to your regularly scheduled blog.</p>
<hr /><small>Copyright &copy; 2009 Kelson Vibber and/or Katherine Foreman.<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. Permission granted to Planet Antispam and LiveJournal syndication feed ksquaredramblin.  If this content is not in your news reader or one of the sites listed above, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint: bc1c453a98ff79bab5c4fca2d890469d (38.107.191.94) )</small> <a href="http://www.hudson-family.co.uk/extremecorticate.php?source=673"></a>]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/archives/2005/10/18/apache-ssl-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open Letter to WordPress Plugin Authors</title>
		<link>http://www.hyperborea.org/journal/archives/2005/05/25/open-letter-to-wordpress-plugin-authors/</link>
		<comments>http://www.hyperborea.org/journal/archives/2005/05/25/open-letter-to-wordpress-plugin-authors/#comments</comments>
		<pubDate>Wed, 25 May 2005 15:12:47 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Computers/Internet]]></category>
		<category><![CDATA[authors]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/?p=883</guid>
		<description><![CDATA[Please, when developing your plugins, be sure to always use the full opening tag for PHP:
&#60;?php code goes here ?&#62;
On some servers&#8212;maybe even your own&#8212;you can shorten this to just the opening &#60;?.  The following line in php.ini will disable this &#8220;feature,&#8221; and many web server administrators do so to simplify things like generating [...]]]></description>
			<content:encoded><![CDATA[<p>Please, when developing your plugins, be sure to always use the full opening tag for PHP:</p>
<p><code>&lt;?php code goes here ?&gt;</code></p>
<p>On <em>some</em> servers&#8212;maybe even your own&#8212;you can shorten this to just the opening <code>&lt;?</code>.  The following line in php.ini will disable this &#8220;feature,&#8221; and many web server administrators do so to simplify things like generating XML with PHP:</p>
<p><code>short_open_tag = Off</code></p>
<p>When this option is set, PHP will ignore <code>&lt;?</code> and assume it&#8217;s simply part of the template&#8230; along with all the code following it.  If you&#8217;re lucky, it means a bunch of PHP code gets sent to the web browser.  If you&#8217;re not lucky, it results in invalid syntax, and PHP grinds to a halt, spitting out a blank page and a PHP Parse Error.</p>
<p>So please make sure you always use the full opening tag so that your plugin will be compatible with <em>everyone&#8217;s</em> system.  If you run your own server, set that option in php.ini so that if you miss one, you can catch it before you post it.</p>
<hr /><small>Copyright &copy; 2009 Kelson Vibber and/or Katherine Foreman.<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. Permission granted to Planet Antispam and LiveJournal syndication feed ksquaredramblin.  If this content is not in your news reader or one of the sites listed above, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint: bc1c453a98ff79bab5c4fca2d890469d (38.107.191.94) )</small> <a href="http://www.hudson-family.co.uk/extremecorticate.php?source=673"></a>]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/archives/2005/05/25/open-letter-to-wordpress-plugin-authors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
