<?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>beer planet &#187; problem</title> <atom:link href="http://beerpla.net/tag/problem/feed/" rel="self" type="application/rss+xml" /><link>http://beerpla.net</link> <description>where things have nothing to do with beer - tutorials, tips, how-tos, thoughts, hacks, and other techy nonsense</description> <lastBuildDate>Fri, 06 Jan 2012 08:50:59 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel='hub' href='http://beerpla.net/?pushpress=hub'/> <item><title>How To Fix ERROR_NOT_FOUND 0&#215;80070490 During Windows 7 SP1 Installation</title><link>http://beerpla.net/2011/05/06/how-to-fix-error_not_found-0x80070490-during-windows-7-sp1-installation/</link> <comments>http://beerpla.net/2011/05/06/how-to-fix-error_not_found-0x80070490-during-windows-7-sp1-installation/#comments</comments> <pubDate>Fri, 06 May 2011 18:21:20 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Technology]]></category> <category><![CDATA[Tutorials]]></category> <category><![CDATA[0x80070490]]></category> <category><![CDATA[490]]></category> <category><![CDATA[64 bit]]></category> <category><![CDATA[7]]></category> <category><![CDATA[ERROR_NOT_FOUND]]></category> <category><![CDATA[fix]]></category> <category><![CDATA[install]]></category> <category><![CDATA[installation]]></category> <category><![CDATA[problem]]></category> <category><![CDATA[solve]]></category> <category><![CDATA[SP1]]></category> <category><![CDATA[windows]]></category> <category><![CDATA[windows 7]]></category> <category><![CDATA[x64]]></category> <guid
isPermaLink="false">http://beerpla.net/2011/05/06/how-to-fix-error_not_found-0x80070490-during-windows-7-sp1-installation/</guid> <description><![CDATA[<p><a
href="http://beerpla.net/wp-content/uploads/2011/05/image.png" class="lightview" rel="gallery['1583']" title="image"><img
style="margin: 0px 10px 10px 0px; display: inline; float: left" title="image" alt="image" align="left" src="http://beerpla.net/wp-content/uploads/2011/05/image_thumb.png" width="150" height="150" /></a>Well, this one took ages. And whenever something takes me ages, rather than write it down in my personal notes, I prefer to put it out online for everyone with the same problem to easily find and benefit from.</p><p>The problem I&#039;m talking about today is trying to upgrade your Windows 7 installation to SP1 by applying Microsoft&#039;s update KB976932, called &#34;Windows 7 Service Pack 1 for x64-based Systems&#34; and getting nothing but a failure every time. The same problem may affect 32-bit systems as well, and I&#039;m not sure what the update number for that would be, but the solution should work for either one.</p><p><a
href="http://beerpla.net/wp-content/uploads/2011/05/SNAGHTML3837080.png" class="lightview" rel="gallery['1583']" title="SNAGHTML3837080"><img
style="margin: 0px auto; display: block; float: none" title="SNAGHTML3837080" alt="SNAGHTML3837080" src="http://beerpla.net/wp-content/uploads/2011/05/SNAGHTML3837080_thumb.png" width="566" height="395" /></a></p><p>The update starts just fine, chugs along for 10 minutes or so, then...<div
class=clear></div> <a
href="http://beerpla.net/2011/05/06/how-to-fix-error_not_found-0x80070490-during-windows-7-sp1-installation/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<p><a
href="http://beerpla.net/wp-content/uploads/2011/05/image.png" class="lightview" rel="gallery['1583']" title="image"><img
style="margin: 0px 10px 10px 0px; display: inline; float: left" title="image" alt="image" align="left" src="http://beerpla.net/wp-content/uploads/2011/05/image_thumb.png" width="150" height="150" /></a>Well, this one took ages. And whenever something takes me ages, rather than write it down in my personal notes, I prefer to put it out online for everyone with the same problem to easily find and benefit from.</p><p>The problem I&#039;m talking about today is trying to upgrade your Windows 7 installation to SP1 by applying Microsoft&#039;s update KB976932, called &quot;Windows 7 Service Pack 1 for x64-based Systems&quot; and getting nothing but a failure every time. The same problem may affect 32-bit systems as well, and I&#039;m not sure what the update number for that would be, but the solution should work for either one.</p><p><a
href="http://beerpla.net/wp-content/uploads/2011/05/SNAGHTML3837080.png" class="lightview" rel="gallery['1583']" title="SNAGHTML3837080"><img
style="margin: 0px auto; display: block; float: none" title="SNAGHTML3837080" alt="SNAGHTML3837080" src="http://beerpla.net/wp-content/uploads/2011/05/SNAGHTML3837080_thumb.png" width="566" height="395" /></a></p><p>The update starts just fine, chugs along for 10 minutes or so, then reboots the system and starts performing more operations, when suddenly one of them fails about 10% down the road, reboots, and reverts the whole process. You end up with this message (code 80070490) and a failure for which there are a lot of useless &quot;solutions&quot; on the web that just don&#039;t work.</p><p>Except for one. I can&#039;t take credit for it &#8211; all I did was spend a month weeding through the crap, retrying, and getting nowhere, until a genius by the name <a
href="http://social.technet.microsoft.com/profile/ben-is/?type=forum">Ben-IS</a> came up with exactly the right diagnosis and <a
href="http://social.technet.microsoft.com/Forums/en-US/w7itproinstall/thread/bfb3e5b5-a3bd-4124-b4d6-7fb437ac7b74/">provided exactly the right solution</a>. This solution, in my own interpretation, is below.</p><h2>Step 1</h2><p>We are going to use a utility called <a
href="http://en.wikipedia.org/wiki/System_File_Checker">SFC</a> (System File Checker or Windows Resource Checker), which is part of the Windows installation. It will help diagnose the problem.</p><p>Open up a command prompt (cmd) as administrator and run</p><blockquote><p>sfc /scannow</p></blockquote><p>This will run for a while and produce a file called CBS.log which you can find in %WINDIR%\Logs\CBS (usually C:\Windows\Logs\CBS). See this <a
href="http://support.microsoft.com/kb/929833">KB929833</a> for more info on SFC and CBS (Component Based Servicing).</p><blockquote><p>sfc /scannow</p><p>Beginning system scan.&#160; This process will take some time.</p><p>Beginning verification phase of system scan. <br
/>Verification 100% complete.</p><p>Windows Resource Protection did not find any integrity violations.</p></blockquote><p>Even though there are no integrity violations, we should have enough info in the log to diagnose the problem.</p><h2>Step 2</h2><p>Unfortunately, Windows overwrote my CBS.log, so I&#039;ll go by the one Ben-IS provided.</p><p>Open up CBS.log and look for something like <strong>Failed uninstalling driver updates</strong> or <strong>0&#215;80070490 &#8211; ERROR_NOT_FOUND.</strong></p><p>If you have this line, which you should if you&#039;re reading this post, you should also see lines similar to these a few lines above:</p><blockquote><p>2011-04-14 12:02:33, Info CBS Doqe: q-uninstall: Inf: usbvideo.inf, Ranking: 2, Device-Install: 0, Key: 598, Identity: <strong>usbvideo.inf</strong>, Culture=neutral, Type=driverUpdate, Version=6.1.7600.16543, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS</p><p>2011-04-14 12:02:33, Info CBS Doqe: q-uninstall: Inf: sffdisk.inf, Ranking: 2, Device-Install: 0, Key: 599, Identity: sffdisk.inf, Culture=neutral, Type=driverUpdate, Version=6.1.7600.16438, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS</p><p>2011-04-14 12:02:33, Info CBS Doqe: q-uninstall: Inf: sdbus.inf, Ranking: 2, Device-Install: 0, Key: 600, Identity: sdbus.inf, Culture=neutral, Type=driverUpdate, Version=6.1.7600.16438, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS</p></blockquote><p>One of these .inf files is the culprit, and we&#039;re going to find out which one in the next step.</p><h2>Step 3</h2><p>Now open up a different log file located at <strong>%WINDIR%\inf\setupapi.dev.log </strong>(normally c:\Windows\inf\setupapi.dev.log).</p><p>Look for a line that contains <strong>Failed to find driver update</strong> or <strong>FAILURE(0&#215;00000490)</strong>.</p><p>Note the exact path to the .inf file that failed. In my case, it was:</p><blockquote><p>sto: Failed to find driver update &#039;<strong>C:\Windows\WinSxS\amd64_usbvideo.inf_31bf3856ad364e35_6.1.7600.16543_none_8a1a2513d42628c3\usbvideo.inf</strong>&#039; in Driver Store. Error = 0&#215;00000490</p></blockquote><h2>Step 4</h2><p>This is the key to the whole operation. Open up the command prompt again (cmd) as administrator and run</p><blockquote><p>pnputil &#8211; a INSERT_FILE_NAME_FROM_STEP_3</p></blockquote><p>For example, I ran</p><blockquote><p>pnputil -a C:\Windows\WinSxS\amd64_usbvideo.inf_31bf3856ad364e35_6.1.7600.16543_none_8a1a2513d42628c3\usbvideo.inf</p></blockquote><p>You should see the following dialog:</p><p><a
href="http://beerpla.net/wp-content/uploads/2011/05/SNAGHTML3a03ec7.png" class="lightview" rel="gallery['1583']" title="SNAGHTML3a03ec7"><img
style="margin: 0px auto; display: block; float: none" title="SNAGHTML3a03ec7" alt="SNAGHTML3a03ec7" src="http://beerpla.net/wp-content/uploads/2011/05/SNAGHTML3a03ec7_thumb.png" width="516" height="308" /></a></p><p>Choose <strong>Install this driver software anyway</strong>.</p><p>The end result should be something like this:</p><blockquote><p>pnputil -a C:\Windows\WinSxS\amd64_usbvideo.inf_31bf3856ad364e35_6.1.7600.16543_none_8a1a2513d42628c3\usbvideo.inf <br
/>Microsoft PnP Utility</p><p>Processing inf :&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; usbvideo.inf <br
/>Driver package added successfully. <br
/>Published name :&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; oem69.inf</p><p>Total attempted:&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 1 <br
/>Number successfully imported: 1</p></blockquote><p>Repeat this step for any failures found in step 3.</p><h2>Step 5</h2><p>Apply the SP1 Windows Update again &#8211; it should now install successfully.</p><p>And voila &#8211; enjoy your SP1!</p><p>Microsoft has failed to fix this incredibly cryptic problem, leaving it up to the users to figure out why their SP1 updates are not installing. Thanks to people like Ben-IS, solutions no longer involve head-banging, postal rage, and <a
href="http://www.reddit.com/r/fffffffuuuuuuuuuuuu/">f7u12</a>.</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+ERROR_NOT_FOUND+0x80070490+During+Windows+7+SP1+Installation&amp;link=http://beerpla.net/2011/05/06/how-to-fix-error_not_found-0x80070490-during-windows-7-sp1-installation/&amp;notes=Well%2C%20this%20one%20took%20ages.%20And%20whenever%20something%20takes%20me%20ages%2C%20rather%20than%20write%20it%20down%20in%20my%20personal%20notes%2C%20I%20prefer%20to%20put%20it%20out%20online%20for%20everyone%20with%20the%20same%20problem%20to%20easily%20find%20and%20benefit%20from.%20%20The%20problem%20I%27m%20talking%20about%20today%20is%20trying%20to%20upgrade%20your%20Windows%207%20installation%20to%20S&amp;short_link=http://bit.ly/kX8eQf&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+ERROR_NOT_FOUND+0x80070490+During+Windows+7+SP1+Installation&amp;link=http://beerpla.net/2011/05/06/how-to-fix-error_not_found-0x80070490-during-windows-7-sp1-installation/&amp;notes=Well%2C%20this%20one%20took%20ages.%20And%20whenever%20something%20takes%20me%20ages%2C%20rather%20than%20write%20it%20down%20in%20my%20personal%20notes%2C%20I%20prefer%20to%20put%20it%20out%20online%20for%20everyone%20with%20the%20same%20problem%20to%20easily%20find%20and%20benefit%20from.%20%20The%20problem%20I%27m%20talking%20about%20today%20is%20trying%20to%20upgrade%20your%20Windows%207%20installation%20to%20S&amp;short_link=http://bit.ly/kX8eQf&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+ERROR_NOT_FOUND+0x80070490+During+Windows+7+SP1+Installation&amp;link=http://beerpla.net/2011/05/06/how-to-fix-error_not_found-0x80070490-during-windows-7-sp1-installation/&amp;notes=Well%2C%20this%20one%20took%20ages.%20And%20whenever%20something%20takes%20me%20ages%2C%20rather%20than%20write%20it%20down%20in%20my%20personal%20notes%2C%20I%20prefer%20to%20put%20it%20out%20online%20for%20everyone%20with%20the%20same%20problem%20to%20easily%20find%20and%20benefit%20from.%20%20The%20problem%20I%27m%20talking%20about%20today%20is%20trying%20to%20upgrade%20your%20Windows%207%20installation%20to%20S&amp;short_link=http://bit.ly/kX8eQf&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+ERROR_NOT_FOUND+0x80070490+During+Windows+7+SP1+Installation&amp;link=http://beerpla.net/2011/05/06/how-to-fix-error_not_found-0x80070490-during-windows-7-sp1-installation/&amp;notes=Well%2C%20this%20one%20took%20ages.%20And%20whenever%20something%20takes%20me%20ages%2C%20rather%20than%20write%20it%20down%20in%20my%20personal%20notes%2C%20I%20prefer%20to%20put%20it%20out%20online%20for%20everyone%20with%20the%20same%20problem%20to%20easily%20find%20and%20benefit%20from.%20%20The%20problem%20I%27m%20talking%20about%20today%20is%20trying%20to%20upgrade%20your%20Windows%207%20installation%20to%20S&amp;short_link=http://bit.ly/kX8eQf&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+ERROR_NOT_FOUND+0x80070490+During+Windows+7+SP1+Installation&amp;link=http://beerpla.net/2011/05/06/how-to-fix-error_not_found-0x80070490-during-windows-7-sp1-installation/&amp;notes=Well%2C%20this%20one%20took%20ages.%20And%20whenever%20something%20takes%20me%20ages%2C%20rather%20than%20write%20it%20down%20in%20my%20personal%20notes%2C%20I%20prefer%20to%20put%20it%20out%20online%20for%20everyone%20with%20the%20same%20problem%20to%20easily%20find%20and%20benefit%20from.%20%20The%20problem%20I%27m%20talking%20about%20today%20is%20trying%20to%20upgrade%20your%20Windows%207%20installation%20to%20S&amp;short_link=http://bit.ly/kX8eQf&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+ERROR_NOT_FOUND+0x80070490+During+Windows+7+SP1+Installation&amp;link=http://beerpla.net/2011/05/06/how-to-fix-error_not_found-0x80070490-during-windows-7-sp1-installation/&amp;notes=Well%2C%20this%20one%20took%20ages.%20And%20whenever%20something%20takes%20me%20ages%2C%20rather%20than%20write%20it%20down%20in%20my%20personal%20notes%2C%20I%20prefer%20to%20put%20it%20out%20online%20for%20everyone%20with%20the%20same%20problem%20to%20easily%20find%20and%20benefit%20from.%20%20The%20problem%20I%27m%20talking%20about%20today%20is%20trying%20to%20upgrade%20your%20Windows%207%20installation%20to%20S&amp;short_link=http://bit.ly/kX8eQf&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+ERROR_NOT_FOUND+0x80070490+During+Windows+7+SP1+Installation&amp;link=http://beerpla.net/2011/05/06/how-to-fix-error_not_found-0x80070490-during-windows-7-sp1-installation/&amp;notes=Well%2C%20this%20one%20took%20ages.%20And%20whenever%20something%20takes%20me%20ages%2C%20rather%20than%20write%20it%20down%20in%20my%20personal%20notes%2C%20I%20prefer%20to%20put%20it%20out%20online%20for%20everyone%20with%20the%20same%20problem%20to%20easily%20find%20and%20benefit%20from.%20%20The%20problem%20I%27m%20talking%20about%20today%20is%20trying%20to%20upgrade%20your%20Windows%207%20installation%20to%20S&amp;short_link=http://bit.ly/kX8eQf&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=How%20To%20Fix%20ERROR_NOT_FOUND%200x80070490%20During%20Windows%207%20SP1%20Installation&amp;link=http://beerpla.net/2011/05/06/how-to-fix-error_not_found-0x80070490-during-windows-7-sp1-installation/&amp;notes=Well%2C%20this%20one%20took%20ages.%20And%20whenever%20something%20takes%20me%20ages%2C%20rather%20than%20write%20it%20down%20in%20my%20personal%20notes%2C%20I%20prefer%20to%20put%20it%20out%20online%20for%20everyone%20with%20the%20same%20problem%20to%20easily%20find%20and%20benefit%20from.%20%20The%20problem%20I%27m%20talking%20about%20today%20is%20trying%20to%20upgrade%20your%20Windows%207%20installation%20to%20S&amp;short_link=http://bit.ly/kX8eQf&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2007/07/09/how-to-download-and-install-windows-media-player-11-bypassing-wga/" rel="bookmark" title="July 9, 2007">How To Download And Install Windows Media Player 11 Bypassing WGA</a></li><li><a
href="http://beerpla.net/2008/07/23/how-to-check-if-the-local-svn-revision-is-up-to-date/" rel="bookmark" title="July 23, 2008">How To Check If The Local SVN Revision Is Up-To-Date</a></li><li><a
href="http://beerpla.net/2009/05/18/how-to-fix-redrawing-problems-in-your-vnc/" rel="bookmark" title="May 18, 2009">How To Fix Redrawing Problems In Your VNC</a></li><li><a
href="http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/" rel="bookmark" title="January 5, 2010">How To Fix Intermittent MySQL Errcode 13 Errors On Windows</a></li><li><a
href="http://beerpla.net/2007/07/09/the-repositories-for-apt-get-in-suse-102/" rel="bookmark" title="July 9, 2007">The Repositories For apt-get In SUSE 10.2</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2011%2F05%2F06%2Fhow-to-fix-error_not_found-0x80070490-during-windows-7-sp1-installation%2F&amp;title=How%20To%20Fix%20ERROR_NOT_FOUND%200%26%23215%3B80070490%20During%20Windows%207%20SP1%20Installation" id="wpa2a_2"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2011/05/06/how-to-fix-error_not_found-0x80070490-during-windows-7-sp1-installation/feed/</wfw:commentRss> <slash:comments>50</slash:comments> </item> <item><title>Is Your Simplifymedia For Winamp Broken On A 64 Bit Windows 7? Here&#039;s How To Fix It</title><link>http://beerpla.net/2009/11/17/is-your-simplifymedia-for-winamp-broken-on-a-64-bit-windows-7-heres-how-to-fix-it/</link> <comments>http://beerpla.net/2009/11/17/is-your-simplifymedia-for-winamp-broken-on-a-64-bit-windows-7-heres-how-to-fix-it/#comments</comments> <pubDate>Tue, 17 Nov 2009 23:18:16 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Tips]]></category> <category><![CDATA[64]]></category> <category><![CDATA[64 bit]]></category> <category><![CDATA[fix]]></category> <category><![CDATA[media]]></category> <category><![CDATA[problem]]></category> <category><![CDATA[simplify]]></category> <category><![CDATA[simplifymedia]]></category> <category><![CDATA[solution]]></category> <category><![CDATA[winamp]]></category> <category><![CDATA[windows]]></category> <guid
isPermaLink="false">http://beerpla.net/2009/11/17/is-your-simplifymedia-for-winamp-broken-on-a-64-bit-windows-7-heres-how-to-fix-it/</guid> <description><![CDATA[<p><img
style="margin: 0px 10px 10px 0px; display: inline" title="image" alt="image" align="left" src="http://beerpla.net/wp-content/uploads/IsYourSimplifymediaForWinampBrokenOnWind_D231/image.png" width="150" height="62" /></p><p><a
href="http://www.simplifymedia.com/">SimplifyMedia</a> is an extremely useful program, which allows super easy song and playlist sharing via streaming between multiple computers. It also works as a Winamp plugin, so the shared songs simply show up inside Winamp&#039;s own media library &#8211; each computer sharing music appears under the special &#34;Shared&#34; tab. And the beauty is &#8211; there is no need to muck around with network settings, open ports, or even touch your router.</p><p>Here&#039;s a screenshot of how it&#039;s supposed to work:</p><p><img
style="display: block; float: none; margin-left: auto; margin-right: auto" title="image" alt="image" src="http://beerpla.net/wp-content/uploads/IsYourSimplifymediaForWinampBrokenOnWind_D231/image_thumb.png" width="143" height="167" /></p><h2>The Problem</h2><p>Since I recently installed Windows 7 64bit on my laptop, I wanted to set up SimplifyMedia on it and listen to some tracks in my favorite music player <a
href="http://www.winamp.com/">Winamp</a>. However, after I downloaded and...<div
class=clear></div> <a
href="http://beerpla.net/2009/11/17/is-your-simplifymedia-for-winamp-broken-on-a-64-bit-windows-7-heres-how-to-fix-it/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<p><img
style="margin: 0px 10px 10px 0px; display: inline" title="image" alt="image" align="left" src="http://beerpla.net/wp-content/uploads/IsYourSimplifymediaForWinampBrokenOnWind_D231/image.png" width="150" height="62" /></p><p><a
href="http://www.simplifymedia.com/">SimplifyMedia</a> is an extremely useful program, which allows super easy song and playlist sharing via streaming between multiple computers. It also works as a Winamp plugin, so the shared songs simply show up inside Winamp&#039;s own media library &#8211; each computer sharing music appears under the special &quot;Shared&quot; tab. And the beauty is &#8211; there is no need to muck around with network settings, open ports, or even touch your router.</p><p>Here&#039;s a screenshot of how it&#039;s supposed to work:</p><p><img
style="display: block; float: none; margin-left: auto; margin-right: auto" title="image" alt="image" src="http://beerpla.net/wp-content/uploads/IsYourSimplifymediaForWinampBrokenOnWind_D231/image_thumb.png" width="143" height="167" /></p><h2>The Problem</h2><p>Since I recently installed Windows 7 64bit on my laptop, I wanted to set up SimplifyMedia on it and listen to some tracks in my favorite music player <a
href="http://www.winamp.com/">Winamp</a>. However, after I downloaded and installed it and restarted Winamp, the Shared tab did not show up. The SimplifyMedia installer did tell me that a 64 bit version of Windows isn&#039;t explicitly supported but mentioned it should still work fine.</p><h2>The Solution</h2><p>After reinstalling, analyzing, and comparing with my other computers, I found that the SimplifyMedia installer didn&#039;t copy the needed Winamp plugin files, namely ml_simplify.dll and ml_simplifyexp.dll. After I copied them over into the Winamp/Plugins directory and restarted Winamp, the Shared tab showed up like a charm.</p><p><div
class="note"><div
class="notetip">If you are having the same problem, just copy the mentioned files from a known working SimplifyMedia installation or download them from here:</p><p><a
href="http://beerpla.net/wp-content/uploads/ml_simplify.dll">ml_simplify.dll</a></p><p><a
href="http://beerpla.net/wp-content/uploads/ml_simplifyexp.dll">ml_simplifyexp.dll</a></div></div></p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=Is+Your+Simplifymedia+For+Winamp+Broken+On+A+64+Bit+Windows+7%3F+Here%27s+How+To+Fix+It&amp;link=http://beerpla.net/2009/11/17/is-your-simplifymedia-for-winamp-broken-on-a-64-bit-windows-7-heres-how-to-fix-it/&amp;notes=%20%20%20SimplifyMedia%20is%20an%20extremely%20useful%20program%2C%20which%20allows%20super%20easy%20song%20and%20playlist%20sharing%20via%20streaming%20between%20multiple%20computers.%20It%20also%20works%20as%20a%20Winamp%20plugin%2C%20so%20the%20shared%20songs%20simply%20show%20up%20inside%20Winamp%27s%20own%20media%20library%20-%20each%20computer%20sharing%20music%20appears%20under%20the%20special%20&amp;short_link=http://bit.ly/ctBiLw&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=Is+Your+Simplifymedia+For+Winamp+Broken+On+A+64+Bit+Windows+7%3F+Here%27s+How+To+Fix+It&amp;link=http://beerpla.net/2009/11/17/is-your-simplifymedia-for-winamp-broken-on-a-64-bit-windows-7-heres-how-to-fix-it/&amp;notes=%20%20%20SimplifyMedia%20is%20an%20extremely%20useful%20program%2C%20which%20allows%20super%20easy%20song%20and%20playlist%20sharing%20via%20streaming%20between%20multiple%20computers.%20It%20also%20works%20as%20a%20Winamp%20plugin%2C%20so%20the%20shared%20songs%20simply%20show%20up%20inside%20Winamp%27s%20own%20media%20library%20-%20each%20computer%20sharing%20music%20appears%20under%20the%20special%20&amp;short_link=http://bit.ly/ctBiLw&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=Is+Your+Simplifymedia+For+Winamp+Broken+On+A+64+Bit+Windows+7%3F+Here%27s+How+To+Fix+It&amp;link=http://beerpla.net/2009/11/17/is-your-simplifymedia-for-winamp-broken-on-a-64-bit-windows-7-heres-how-to-fix-it/&amp;notes=%20%20%20SimplifyMedia%20is%20an%20extremely%20useful%20program%2C%20which%20allows%20super%20easy%20song%20and%20playlist%20sharing%20via%20streaming%20between%20multiple%20computers.%20It%20also%20works%20as%20a%20Winamp%20plugin%2C%20so%20the%20shared%20songs%20simply%20show%20up%20inside%20Winamp%27s%20own%20media%20library%20-%20each%20computer%20sharing%20music%20appears%20under%20the%20special%20&amp;short_link=http://bit.ly/ctBiLw&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=Is+Your+Simplifymedia+For+Winamp+Broken+On+A+64+Bit+Windows+7%3F+Here%27s+How+To+Fix+It&amp;link=http://beerpla.net/2009/11/17/is-your-simplifymedia-for-winamp-broken-on-a-64-bit-windows-7-heres-how-to-fix-it/&amp;notes=%20%20%20SimplifyMedia%20is%20an%20extremely%20useful%20program%2C%20which%20allows%20super%20easy%20song%20and%20playlist%20sharing%20via%20streaming%20between%20multiple%20computers.%20It%20also%20works%20as%20a%20Winamp%20plugin%2C%20so%20the%20shared%20songs%20simply%20show%20up%20inside%20Winamp%27s%20own%20media%20library%20-%20each%20computer%20sharing%20music%20appears%20under%20the%20special%20&amp;short_link=http://bit.ly/ctBiLw&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=Is+Your+Simplifymedia+For+Winamp+Broken+On+A+64+Bit+Windows+7%3F+Here%27s+How+To+Fix+It&amp;link=http://beerpla.net/2009/11/17/is-your-simplifymedia-for-winamp-broken-on-a-64-bit-windows-7-heres-how-to-fix-it/&amp;notes=%20%20%20SimplifyMedia%20is%20an%20extremely%20useful%20program%2C%20which%20allows%20super%20easy%20song%20and%20playlist%20sharing%20via%20streaming%20between%20multiple%20computers.%20It%20also%20works%20as%20a%20Winamp%20plugin%2C%20so%20the%20shared%20songs%20simply%20show%20up%20inside%20Winamp%27s%20own%20media%20library%20-%20each%20computer%20sharing%20music%20appears%20under%20the%20special%20&amp;short_link=http://bit.ly/ctBiLw&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=Is+Your+Simplifymedia+For+Winamp+Broken+On+A+64+Bit+Windows+7%3F+Here%27s+How+To+Fix+It&amp;link=http://beerpla.net/2009/11/17/is-your-simplifymedia-for-winamp-broken-on-a-64-bit-windows-7-heres-how-to-fix-it/&amp;notes=%20%20%20SimplifyMedia%20is%20an%20extremely%20useful%20program%2C%20which%20allows%20super%20easy%20song%20and%20playlist%20sharing%20via%20streaming%20between%20multiple%20computers.%20It%20also%20works%20as%20a%20Winamp%20plugin%2C%20so%20the%20shared%20songs%20simply%20show%20up%20inside%20Winamp%27s%20own%20media%20library%20-%20each%20computer%20sharing%20music%20appears%20under%20the%20special%20&amp;short_link=http://bit.ly/ctBiLw&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=Is+Your+Simplifymedia+For+Winamp+Broken+On+A+64+Bit+Windows+7%3F+Here%27s+How+To+Fix+It&amp;link=http://beerpla.net/2009/11/17/is-your-simplifymedia-for-winamp-broken-on-a-64-bit-windows-7-heres-how-to-fix-it/&amp;notes=%20%20%20SimplifyMedia%20is%20an%20extremely%20useful%20program%2C%20which%20allows%20super%20easy%20song%20and%20playlist%20sharing%20via%20streaming%20between%20multiple%20computers.%20It%20also%20works%20as%20a%20Winamp%20plugin%2C%20so%20the%20shared%20songs%20simply%20show%20up%20inside%20Winamp%27s%20own%20media%20library%20-%20each%20computer%20sharing%20music%20appears%20under%20the%20special%20&amp;short_link=http://bit.ly/ctBiLw&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=Is%20Your%20Simplifymedia%20For%20Winamp%20Broken%20On%20A%2064%20Bit%20Windows%207%3F%20Here%27s%20How%20To%20Fix%20It&amp;link=http://beerpla.net/2009/11/17/is-your-simplifymedia-for-winamp-broken-on-a-64-bit-windows-7-heres-how-to-fix-it/&amp;notes=%20%20%20SimplifyMedia%20is%20an%20extremely%20useful%20program%2C%20which%20allows%20super%20easy%20song%20and%20playlist%20sharing%20via%20streaming%20between%20multiple%20computers.%20It%20also%20works%20as%20a%20Winamp%20plugin%2C%20so%20the%20shared%20songs%20simply%20show%20up%20inside%20Winamp%27s%20own%20media%20library%20-%20each%20computer%20sharing%20music%20appears%20under%20the%20special%20&amp;short_link=http://bit.ly/ctBiLw&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2009/10/06/supercharge-your-gnu-screen-with-a-power-taskbar-and-never-feel-lost-again/" rel="bookmark" title="October 6, 2009">Supercharge Your GNU Screen With A Power &quot;Taskbar&quot; And Never Feel Lost Again</a></li><li><a
href="http://beerpla.net/2007/07/09/how-to-download-and-install-windows-media-player-11-bypassing-wga/" rel="bookmark" title="July 9, 2007">How To Download And Install Windows Media Player 11 Bypassing WGA</a></li><li><a
href="http://beerpla.net/2010/09/29/how-to-update-eclipse-from-galileo-3-5-to-helios-3-6-in-place-without-reinstalling/" rel="bookmark" title="September 29, 2010">How To Update Eclipse From Galileo (3.5) To Helios (3.6) In-Place Without Reinstalling</a></li><li><a
href="http://beerpla.net/2008/11/16/jocko-sims-panics-rap-on-starz-show-crash-head-up-mp3/" rel="bookmark" title="November 16, 2008">Jocko Sims’ (Panic’s) Rap On Starz Show Crash &#8211; Head Up (MP3)</a></li><li><a
href="http://beerpla.net/2010/02/20/how-to-view-a-specific-svn-revision-in-your-browser/" rel="bookmark" title="February 20, 2010">How To View A Specific SVN Revision In Your Browser</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2009%2F11%2F17%2Fis-your-simplifymedia-for-winamp-broken-on-a-64-bit-windows-7-heres-how-to-fix-it%2F&amp;title=Is%20Your%20Simplifymedia%20For%20Winamp%20Broken%20On%20A%2064%20Bit%20Windows%207%3F%20Here%26%23039%3Bs%20How%20To%20Fix%20It" id="wpa2a_4"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2009/11/17/is-your-simplifymedia-for-winamp-broken-on-a-64-bit-windows-7-heres-how-to-fix-it/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>The Not So Good, The Bad, And The Ugly: My List Of 20+ Problems With HTC Hero</title><link>http://beerpla.net/2009/11/16/the-not-so-good-the-bad-and-the-ugly-my-list-of-20-problems-with-htc-hero/</link> <comments>http://beerpla.net/2009/11/16/the-not-so-good-the-bad-and-the-ugly-my-list-of-20-problems-with-htc-hero/#comments</comments> <pubDate>Mon, 16 Nov 2009 17:30:00 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Android]]></category> <category><![CDATA[application]]></category> <category><![CDATA[battery]]></category> <category><![CDATA[boot]]></category> <category><![CDATA[browser]]></category> <category><![CDATA[bug]]></category> <category><![CDATA[calendar]]></category> <category><![CDATA[hero]]></category> <category><![CDATA[htc]]></category> <category><![CDATA[lag]]></category> <category><![CDATA[life]]></category> <category><![CDATA[problem]]></category> <category><![CDATA[slow]]></category> <category><![CDATA[sms]]></category> <category><![CDATA[sprint]]></category> <category><![CDATA[time]]></category> <category><![CDATA[voicemail]]></category> <guid
isPermaLink="false">http://beerpla.net/2009/11/16/the-not-so-good-the-bad-and-the-ugly-my-list-of-20-problems-with-htc-hero/</guid> <description><![CDATA[<p><img
style="margin: 0px 10px 10px 0px; display: inline" title="image" alt="image" align="left" src="http://beerpla.net/wp-content/uploads/TheNotGoodTheBadAndTheUglyMyListOfProble_C/image.png" width="150" height="279" />Alright, <a
href="http://beerpla.net/2009/09/03/htc-hero-coming-to-sprint-october-11th-179-99-powerful-and-sexy-here-is-why-you-need-to-own-it/" rel="nofollow">I was really excited</a> to get the HTC Hero. REALLY. I had extremely high hopes for the Hero (those are long gone) and Android (which I still do &#8211; I even began developing for it) but the Hero has so many ridiculous bugs that I am <em>*this*</em> close to bringing it down to the Pre level (I&#039;m not going to dare though &#8211; Pre still leads in the &#34;I Want To Smash This Phone Into A Wall&#34; category).</p><p>HTC, first of all, what. the. fuck. The idea of a more attractive UI was great, by all means, but did it really have to come at the expense of lagging down the whole phone? And by that I...<div
class=clear></div> <a
href="http://beerpla.net/2009/11/16/the-not-so-good-the-bad-and-the-ugly-my-list-of-20-problems-with-htc-hero/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<p><img
style="margin: 0px 10px 10px 0px; display: inline" title="image" alt="image" align="left" src="http://beerpla.net/wp-content/uploads/TheNotGoodTheBadAndTheUglyMyListOfProble_C/image.png" width="150" height="279" />Alright, <a
href="http://beerpla.net/2009/09/03/htc-hero-coming-to-sprint-october-11th-179-99-powerful-and-sexy-here-is-why-you-need-to-own-it/" rel="nofollow">I was really excited</a> to get the HTC Hero. REALLY. I had extremely high hopes for the Hero (those are long gone) and Android (which I still do &#8211; I even began developing for it) but the Hero has so many ridiculous bugs that I am <em>*this*</em> close to bringing it down to the Pre level (I&#039;m not going to dare though &#8211; Pre still leads in the &quot;I Want To Smash This Phone Into A Wall&quot; category).</p><p>HTC, first of all, what. the. fuck. The idea of a more attractive UI was great, by all means, but did it really have to come at the expense of lagging down the whole phone? And by that I mean LAGGING. I would much rather have no added pwetty fluff than to literally be amazed when using my <a
href="http://www.amazon.com/dp/B0011ULQNI/?tag=beepla-20">Garmin GPS</a> because its UI is so responsive (until I got the Hero, this thought would have never crossed my mind).</p><p>Why is it that I have to miss phone calls because the Hero only gives me one or two rings before they go to voicemail? And half the time, right as I pull down the message on the screen that tells me that&#039;s what I have to do to answer the call, it doesn&#039;t pick up. Instead, I&#039;m staring at a missed call.</p><p>Before I go on, I&#039;d like to clarify that I&#039;m still enjoying the Hero, mostly for making me feel a lot more connected on the go. However, the experience could have been a lot more enjoyable had HTC done a better job on the polish of the Hero core.</p><p>Some of these issues might be caused by Android, some might be caused by the fact that even though Android 2.0 has been available for a few weeks and 1.6 for a few months, the Hero is still running 1.5 &#8211; all thanks to the Sense UI.</p><p>But let me organize my thoughts in a nice numbered list. Everyone likes those, right? Be prepared &#8211; when a device affects me so much, I&#039;ve got a lot to say.</p><p><div
class="note"><div
class="notetip">Some of these problems, including some of the lag and battery life issues, have been solved by the recent HTC firmware update. See the details of the update here: <a
href="http://beerpla.net/2009/11/18/sprint-and-htc-release-the-first-htc-hero-firmware-update-1-56-fixes-major-bugs-adds-small-tweaks/">Sprint And HTC Release The First HTC Hero Firmware Update 1.56: Fixes Major Bugs, Adds Small Tweaks</a></div></div></p><p><div
class="note"><div
class="notewarning">I realize the title of the article may be a bit provoking and can be misconstrued for something it&#039;s not.</p><p>To set the record straight, the title was meant to be simply a description of what the article is about &#8211; it&#039;s not meant to be read as my full opinion on the Hero. Think of this post as a &quot;Hero&#039;s Problems&quot; one, with a 2nd &quot;Hero Is Awesome&quot; post coming in the future.</div></div></p><h1 align="center">My List Of Problems</h1><h2>1. Lag</h2><p><div
class="note"><div
class="notetip"><strong>Update:</strong> the lag situation has been significantly improved in the <a
href="http://beerpla.net/2009/11/18/sprint-and-htc-release-the-first-htc-hero-firmware-update-1-56-fixes-major-bugs-adds-small-tweaks/">1.56 firmware update</a>, although still noticeable, especially in the dialer and browser.</div></div></p><p>This phone lags. At least the Sprint version of it, running Sense UI. And by lags, I mean most of the time it&#039;s worse than the Pre. Yeah, I <em><a
href="http://jwz.livejournal.com/1108212.html" rel="nofollow">went there</a></em>. If you love lag, you will adore the Hero.</p><p>I&#039;m not going to argue about rooting it or not using Sense. No. This is what HTC is making thousands of consumers use &#8211; and most of them won&#039;t ever consider touching the underlying OS. If you have an underpowered processor, HTC, don&#039;t you think the best thing you could have done is to try to compensate for it by making things faster instead of bloating it with garbage? Sprint, you didn&#039;t help either with your force-fed Nascar and NFL Mobile Live that <a
href="http://androidforums.com/htc-hero/12241-possible-delete-apps-came-hero.html" rel="nofollow">we can&#039;t remove</a>.</p><p>The browser lag is just beyond bearable. 16 seconds on average to load my plain Google.com homepage (not even iGoogle &#8211; just google.com). That&#039;s 10 seconds of staring at a blank screen, 4 more of staring at &quot;getting sign-in details&quot; and 4 more of loading the webpage. This is compared to 4 seconds on the Motorola Droid, side by side.</p><p>The keyboard lags. Often. Both typing and flipping.</p><p>Flash (the Adobe one) is cool but its performance on the Hero is pretty much unusable most of the time.</p><p><a
href="http://androidforums.com/sprint-htc-hero/16727-umm-hero-supposed-multitasking-device.html" rel="nofollow">The lag is everywhere</a> but this one takes the cake &#8211; the lag operating the dialer and the phone in general. Because each button press is unpredictable and can take between 0.5 and 5 seconds, there is no way to tell if the screen just didn&#039;t register the click or if it&#039;s just lagging behind. Thanks to this, I&#039;ve dialed wrong numbers, hung up, and performed wrong functions multiple times.</p><p>My favorite is that it takes about 2-3 seconds for the last dialed number to show up in the recent numbers list after I finish the call, which means it then pushes all of the recent numbers down by one. So if I click a number I want to dial during that period of time, after the lag settles I will find that I actually just pressed a number above the one I wanted.</p><p><a
href="http://androidforums.com/sprint-htc-hero/15490-2-0-gonna-make-phone-less-laggy.html?highlight=hero" rel="nofollow">This list goes on</a>.</p><h2>2. Bad Battery Life</h2><p><div
class="note"><div
class="notetip"><strong>Update:</strong> I was able to <a
href="http://beerpla.net/2009/11/26/how-i-doubled-my-android-phones-htc-hero-battery-life-or-just-how-much-email-polling-affects-your-battery">double my battery life by adjusting the email polling settings</a> that were set too aggressively. While I realize it&#039;s obvious that polling more frequently will run down the battery faster, I was shocked to find just how much faster. The battery life is now a lot better, though I would still love even more juice.</div></div></p><p>I thought the 1500mAh battery would give me plenty of juice. How foolish of me.</p><p>Between such battery draining bugs as <a
href="http://community.sprint.com/baw/message/122485#122485">letting your phone go to sleep when first turning it on</a>, <a
href="http://androidforums.com/sprint-htc-hero/11230-source-poor-battery-life-not-lets-fix.html" rel="nofollow">simply sending an SMS message</a>, and using the Hero for email a few times a day, I&#039;m left with 0-15% battery life by 10pm (even after applying known fixes).</p><p>In the morning, between the time I wake up and the time I get in the car, my battery would sometimes run down to 85%. Sometimes, however, it would still be at 98%, without doing anything differently. Does that make sense to you?</p><h2>3. Long Bootup Time</h2><p>There&#039;s nothing better than staring at the bootup screen for good 3-4 minutes before the phone becomes usable. If you think the Pre load time is bad, check out the Hero for some added fun.</p><p>Fine &#8211; it loads a pretty complex Linux based OS, I get it. But damn &#8211; it sure takes its time doing so.</p><p>Well, at least it doesn&#039;t say &quot;Droid&quot; in a robotic voice.</p><h2>4. Application Chaos</h2><p><div
class="note"><div
class="notetip"><strong>Update:</strong> the first 2 issues have been fixed in the <a
href="http://beerpla.net/2009/11/18/sprint-and-htc-release-the-first-htc-hero-firmware-update-1-56-fixes-major-bugs-adds-small-tweaks/">1.56 firmware update</a>.</div></div></p><p>Some applications&#039; names change to their <a
href="http://androidforums.com/sprint-htc-hero/12484-apps-slowly-losing-their-proper-names-turning-into-their-java-ones.html" rel="nofollow">Java versions</a> (such as com.p1.chompsms). Without me touching or updating them &#8211; it just happens over time. Some examples include Unit Converter (FCs upon start), Astro File Manager, Estos, ChompSMS, and Voice Caller ID.</p><p>Some applications&#039; icons are <a
href="http://androidforums.com/sprint-htc-hero/13246-problem-hero-icons.html" rel="nofollow">randomly changed and mutilated</a> (for example, Remember The Milk and Flixster).</p><p>Some applications stop working and start force closing (for example, Flixster, WP To Go, Unit Converter).</p><p>Some applications say &quot;shortcut is no longer available&quot; when clicked from the home screen or the All Programs list (for example, Twidroid). This seems to sometimes go away after a restart but surely comes back upon the next program update.</p><p>Not sure who to blame for all these but it seems like non-Hero owners don&#039;t seem to be experiencing such issues.</p><p>And the solution? &quot;Without rooting, the only workaround for the issue is to uninstall the app and reinstall it. Still, after rebooting, you may have the same issues. Again, a reinstall is the only fix,&quot; suggests a <a
href="http://androidforums.com/sprint-htc-hero/12652-confirmed-issues-workarounds-updated-nov-12-2009-a.html" rel="nofollow">post</a> on AndroidForums.</p><p>Someone on the XDA-Developers forums <a
href="http://forum.xda-developers.com/showthread.php?t=582176">provides more details</a> &#8211; this is, apparently, due to a mismanaged boot cache.</p><h2>5. Voicemail/SMS Problems</h2><p><div
class="note"><div
class="notetip"><strong>Update:</strong> these issues have been fixed in the <a
href="http://beerpla.net/2009/11/18/sprint-and-htc-release-the-first-htc-hero-firmware-update-1-56-fixes-major-bugs-adds-small-tweaks/">1.56 firmware update</a>.</div></div></p><p>Problem &#8211; &quot;after Internal Memory reaches a certain low level of free space (one user heard around around 40MB free from HTC Support), you may stop receiving SMS messages and voicemail. No amount of clearing space will allow messages to resume&quot; &#8211; <a
href="http://androidforums.com/sprint-htc-hero/12652-confirmed-issues-workarounds-updated-nov-12-2009-a.html" rel="nofollow">description credit AndroidForums</a>.</p><p>Solution? &quot;The best method of prevention currently is to ensure adequate memory is available on the device to prevent the flag from being set&quot; &#8211; <a
href="http://www.sprintusers.com/forum/showthread.php?t=197099%29" rel="nofollow">SprintUsers forum</a>.</p><p>On a related note, the following bug has also <a
href="http://community.sprint.com/baw/message/127379#127379" rel="nofollow">been</a> <a
href="http://androidforums.com/sprint-htc-hero/12777-serious-rom-leak-documented-video-may-cause-fatal-sms-issue.html" rel="nofollow">reported</a>: &quot;Over time, Internal Memory free space dwindles and no amount of clearing apps frees the space. This will also cause the above issue of SMS &amp; Voicemail messages not being received once a critical amount of free space is reached&quot;.</p><p>I stopped getting my voicemail notifications a long time ago. Texts are still getting through somehow but they should definitely be afraid of stepping on these landmines any day now.</p><p>There are 3 ways to get your voicemail &#8211; are you kidding me? You can use the visual voicemail app (mine doesn&#039;t work anymore), you can dial your phone number (which is the same as pressing on the envelope or holding the 1 key), or you can dial some 408-970-0000 number (which seems to be for voice SMS but yet handles my voicemail). Did you just hack voice SMS to do visual voicemail, HTC and Sprint? This is a job not so well done.</p><h2>6. The Keyboard</h2><p>Let me say this &#8211; the keyboard on the Hero kind of sucks. It is very inaccurate, even after calibration, and doesn&#039;t guess letters nearly as well as the iPhone does.</p><p>To be fair, the Hero shines at the <a
href="http://beerpla.net/2009/10/18/my-new-android-phone-wants-me-to-do-what/" rel="nofollow">spelling correction</a>. I can type 5 letters wrong in a single word, and the Hero will still suggest the right correction most of the time. My complaint here is that it doesn&#039;t detect missed spaces at all, so 2 words run on each other would not be recognized and corrected.</p><p>Now, the keyboard flip &#8211; it is uncomfortably laggy (see point #1 again). 2-5 seconds per flip is not good enough.</p><h2>7. Calendar Notifications Are Broken</h2><p>Sometimes I&#039;m alerted about a calendar event <a
href="http://androidforums.com/sprint-htc-hero/11895-all-day-event-calendar-shows-up-one-day-early.html" rel="nofollow">a day early</a>.</p><p><div
class="note"><div
class="notetip"><strong>Update:</strong> the daylight savings time (DST) issues have been fixed in the <a
href="http://beerpla.net/2009/11/18/sprint-and-htc-release-the-first-htc-hero-firmware-update-1-56-fixes-major-bugs-adds-small-tweaks/">1.56 firmware update</a>.</div></div></p><p><a
href="http://androidforums.com/sprint-htc-hero/13610-daylight-calendar-error.html" rel="nofollow">Sometimes an hour early</a> (that&#039;s what happened after the daylight savings time shift).</p><p>Some users <a
href="http://androidforums.com/sprint-htc-hero/12478-hero-still-thinks-its-european.html" rel="nofollow">reported</a> that their Hero shifted to daylight savings a week early.</p><p>How in the <em>world</em> does this even get through QA, HTC?</p><p>No remind me on time option? A 5 minute reminder is as close as I can get. Bleh.</p><h2>8. GPS Randomly Thinks I&#039;m All Over California</h2><p>At times, my <a
href="http://androidforums.com/sprint-htc-hero/12483-gps-phone-google-maps-bugs.html" rel="nofollow">Google Maps app can no longer lock onto the GPS signal</a> and starts jumping all over the state. Last time it first told me I was in Sacramento (one of the turn directions next to it had a misspelling &quot;Socramento&quot;, wtf?), then Santa Rosa, then as I kept driving and pressing My Location, it switched to a random street about a mile away, then dumped me in the ocean.</p><p>During this time, the GPS icon kept blinking and didn&#039;t stay solid. Also, once it picked up a location, it didn&#039;t continue to update it as it should do.</p><p>Only a phone restart solves the problem but not for long.</p><p>Sometimes, the Sprint GPS can no longer get a lock on my location at all and any route calculations get stuck.</p><p>Sometimes, the blinking GPS icon stays on all the time, thus, I&#039;m assuming, draining the crap out of my battery.</p><h2>9. Usability: No Easy Way To Switch Between Running Apps</h2><p>Alright, here&#039;s where the Pre has everyone beat &#8211; the card switching is superior to any app management I&#039;ve seen. Here I was thinking Android would have a decent way of switching between apps &#8211; at least as good as Palm&#039;s.</p><p>Imagine my surprise when I found out that switching between running apps is completely impractical on Android. You simply can&#039;t do it. Ever use Alt-TAB in Windows? Feel like you feel powerless without it? That&#039;s how I feel on the Hero.</p><p>The closest things I figured out so far are:</p><ul><li>hold the Home button, which brings up a list of 6 most recently used apps. Not only is this longer than I am comfortable with, but it also fails to actually accomplish what I want &#8211; and that is switch between <em>running </em>apps</li><li>get a task manager app, such as Advanced Task Manager. This works but this is even slower than the previous method and requires even more clicks</li><li>go back to the home screen/app list and run the program I want again. Chances are, this would summon the sleeping program from the background. Not the best approach either.</li></ul><p>Of course, this is not HTC&#039;s fault &#8211; Android really let me down here (take note from Palm on this one).</p><h2>10. The 5MP Camera &#8211; It Sucks</h2><p><div
class="note"><div
class="notetip"><strong>Update:</strong> the camera quality has been reportedly improved in the <a
href="http://beerpla.net/2009/11/18/sprint-and-htc-release-the-first-htc-hero-firmware-update-1-56-fixes-major-bugs-adds-small-tweaks/">1.56 firmware update</a>.</div></div></p><p>The Hero has a notoriously bad camera, which doesn&#039;t even have a flash (a big drawback). It does a pretty bad job at autofocusing. Both the camera, the camcorder, and the albums take uncomfortably long to load (see point #1 again).</p><h2>11. Plastic Chrome Trim Cracking And Falling Apart</h2><p>Out of nowhere a pretty large chunk (1/2 to 3/4 inch) of the plastic chrome trim broke off around the USB plug. <a
href="http://androidforums.com/sprint-htc-hero/14676-plastic-chrome-trim-cracked.html" rel="nofollow">I do not seem to be the only one</a>.</p><p>I do not expect the case to last much longer either. The &quot;teflon&quot; does feel nice to the touch but it&#039;s still plastic.</p><h2>12. The Phone Unlocks In My Pocket</h2><p>Did you know the <a
href="http://androidforums.com/htc-hero/10558-possible-disable-double-press-menu-feature-unlock-phone.html" rel="nofollow">double press on the Menu button unlocks the phone</a>? It&#039;s a great feature, isn&#039;t it (until it unlocks the phone in your pocket)?</p><p>And no, it&#039;s not possible to disable it.</p><h2>13. Out Of Space? No More Apps For You</h2><p>I ran out of the built-in [measly] space recently. Why? Because it&#039;s not possible on the Android (even as of 2.0) to install apps to the SD card, unless you root the phone. This is not an HTC issue and more of an Android limitation but it is definitely part of my Hero experience.</p><h2>14. Dust Under The Glass?</h2><p>Many users are reporting that <a
href="http://androidforums.com/sprint-htc-hero/11615-dust-under-glass.html?highlight=keyboard" rel="nofollow">dust is getting under the Hero&#039;s screen</a>. Thankfully, I&#039;m not one of those users. For now.</p><h2>15. Can&#039;t Remove Words Added To The Dictionary</h2><p>The keyboard suggest mechanism in the Hero is great &#8211; I can&#039;t argue about that. In fact, without it, the Hero would be doomed.</p><p>However, sometimes a mistyped word gets added to the internal dictionary and there is <a
href="http://androidforums.com/sprint-htc-hero/11801-editing-your-dictionary.html" rel="nofollow">no way to get it out of there</a>, without clearing the whole thing. Annoying.</p><h2>16. No Way To Turn Screen Off During Call</h2><p>The Hero doesn&#039;t have a proximity sensor, which results in a few problems:</p><ul><li>sometimes I press buttons with my face</li><li>sometimes I want to turn off the screen to at least try to prevent my face from doing the above, except <a
href="http://androidforums.com/sprint-htc-hero/11997-turning-screen-off-while-using-phone.html" rel="nofollow">there is no way to do so</a>. The reflex to press the Power button which usually turns the screen off results in an immediate end of the current call. I am embarrassed to say how many times I&#039;ve done this. Oh, and to end the current call when the screen is on, a single press of the Power button is sufficient but two are needed when the screen is off &#8211; took me a while to get this right.</li></ul><h2>17. No Application Access To Bluetooth</h2><p>I know this is purely an Android 1.5 issue as Android 2.0 has the new bluetooth API but we still can&#039;t utilize it because we&#039;re stuck at 1.5. Thus, I can&#039;t have bluetooth turned on and off on a schedule (via Timeriffic, for example) and, of course, the biggest issue &#8211; no bluetooth tethering.</p><h2>18. High Latency Wireless Network</h2><p>From what I can tell, there&#039;s a much higher latency (the time between a request is sent and a response is on its way) on the Hero than on the Droid. I&#039;m willing to actually accept that it&#039;s probably 90% due to Sprint&#039;s 3G network vs Verizon&#039;s. I never imagined the difference was this vast, however. When I was playing with the Droid, it seemed like I had a device from the future in my hands.</p><p>WiFi performance is not great either &#8211; in fact, the Market application downloads often hang in the &quot;starting…&quot; mode until I turn WiFi off.</p><h2>19. Trackball Almost Useless In Text Editing</h2><p>I like having the trackball, in theory. However, when editing text, it is almost unusable, unless I want to move only a few characters over. If I want to go to the beginning of the line from the middle, it will take ages, as each swipe only moves one character at a time (there is no built-in acceleration).</p><p><a
href="http://androidforums.com/htc-hero/11365-poll-does-anyone-actually-use-trackball.html" rel="nofollow">I&#039;m not alone in this conclusion</a>.</p><h2>20. Unneeded Junk Keeps Running</h2><p>I don&#039;t need some of the apps that come stock but they insist on running every time I start the phone. Some insist on running all the time, even if I set up Taskiller or Advanced Task Manager to hunt them down. A few good examples are: Peep, IM, Footprints, Gmail (I use the Mail app for gmail), Messages, and Stocks.</p><h2>Conclusion</h2><p>The Hero changed the way I do things on the go. The email, calendar, all kinds of syncs, apps &#8211; they&#039;ve all changed my life and I love the Hero for that. I will not be able to go back to a regular phone. I feel too… connected.</p><p>There are lots of bugs. Lots. Perhaps Android 2.0 will fix some of them and the rest will be fixed over time. However, I am not sure HTC will be ever able to fix the lag without revamping the Hero&#039;s hardware. Although, I also heard that the HTC Droid Eris, which runs the same hardware, is not nearly as laggy. I will have to check it out to confirm.</p><p>I apologize in advance for any omissions, inaccuracies, or grammatical errors but it is 3am now as I&#039;m finishing this article. Also, if you find the language harsh &#8211; well, that&#039;s just me.</p><p>Are you happy with your Hero? Are you experiencing any of these problems? Share with me.</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=The+Not+So+Good%2C+The+Bad%2C+And+The+Ugly%3A+My+List+Of+20%2B+Problems+With+HTC+Hero&amp;link=http://beerpla.net/2009/11/16/the-not-so-good-the-bad-and-the-ugly-my-list-of-20-problems-with-htc-hero/&amp;notes=Alright%2C%20I%20was%20really%20excited%20to%20get%20the%20HTC%20Hero.%20REALLY.%20I%20had%20extremely%20high%20hopes%20for%20the%20Hero%20%28those%20are%20long%20gone%29%20and%20Android%20%28which%20I%20still%20do%20-%20I%20even%20began%20developing%20for%20it%29%20but%20the%20Hero%20has%20so%20many%20ridiculous%20bugs%20that%20I%20am%20%2Athis%2A%20close%20to%20bringing%20it%20down%20to%20the%20Pre%20level%20%28I%27m%20not%20going&amp;short_link=http://bit.ly/9nvqSt&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=The+Not+So+Good%2C+The+Bad%2C+And+The+Ugly%3A+My+List+Of+20%2B+Problems+With+HTC+Hero&amp;link=http://beerpla.net/2009/11/16/the-not-so-good-the-bad-and-the-ugly-my-list-of-20-problems-with-htc-hero/&amp;notes=Alright%2C%20I%20was%20really%20excited%20to%20get%20the%20HTC%20Hero.%20REALLY.%20I%20had%20extremely%20high%20hopes%20for%20the%20Hero%20%28those%20are%20long%20gone%29%20and%20Android%20%28which%20I%20still%20do%20-%20I%20even%20began%20developing%20for%20it%29%20but%20the%20Hero%20has%20so%20many%20ridiculous%20bugs%20that%20I%20am%20%2Athis%2A%20close%20to%20bringing%20it%20down%20to%20the%20Pre%20level%20%28I%27m%20not%20going&amp;short_link=http://bit.ly/9nvqSt&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=The+Not+So+Good%2C+The+Bad%2C+And+The+Ugly%3A+My+List+Of+20%2B+Problems+With+HTC+Hero&amp;link=http://beerpla.net/2009/11/16/the-not-so-good-the-bad-and-the-ugly-my-list-of-20-problems-with-htc-hero/&amp;notes=Alright%2C%20I%20was%20really%20excited%20to%20get%20the%20HTC%20Hero.%20REALLY.%20I%20had%20extremely%20high%20hopes%20for%20the%20Hero%20%28those%20are%20long%20gone%29%20and%20Android%20%28which%20I%20still%20do%20-%20I%20even%20began%20developing%20for%20it%29%20but%20the%20Hero%20has%20so%20many%20ridiculous%20bugs%20that%20I%20am%20%2Athis%2A%20close%20to%20bringing%20it%20down%20to%20the%20Pre%20level%20%28I%27m%20not%20going&amp;short_link=http://bit.ly/9nvqSt&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=The+Not+So+Good%2C+The+Bad%2C+And+The+Ugly%3A+My+List+Of+20%2B+Problems+With+HTC+Hero&amp;link=http://beerpla.net/2009/11/16/the-not-so-good-the-bad-and-the-ugly-my-list-of-20-problems-with-htc-hero/&amp;notes=Alright%2C%20I%20was%20really%20excited%20to%20get%20the%20HTC%20Hero.%20REALLY.%20I%20had%20extremely%20high%20hopes%20for%20the%20Hero%20%28those%20are%20long%20gone%29%20and%20Android%20%28which%20I%20still%20do%20-%20I%20even%20began%20developing%20for%20it%29%20but%20the%20Hero%20has%20so%20many%20ridiculous%20bugs%20that%20I%20am%20%2Athis%2A%20close%20to%20bringing%20it%20down%20to%20the%20Pre%20level%20%28I%27m%20not%20going&amp;short_link=http://bit.ly/9nvqSt&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=The+Not+So+Good%2C+The+Bad%2C+And+The+Ugly%3A+My+List+Of+20%2B+Problems+With+HTC+Hero&amp;link=http://beerpla.net/2009/11/16/the-not-so-good-the-bad-and-the-ugly-my-list-of-20-problems-with-htc-hero/&amp;notes=Alright%2C%20I%20was%20really%20excited%20to%20get%20the%20HTC%20Hero.%20REALLY.%20I%20had%20extremely%20high%20hopes%20for%20the%20Hero%20%28those%20are%20long%20gone%29%20and%20Android%20%28which%20I%20still%20do%20-%20I%20even%20began%20developing%20for%20it%29%20but%20the%20Hero%20has%20so%20many%20ridiculous%20bugs%20that%20I%20am%20%2Athis%2A%20close%20to%20bringing%20it%20down%20to%20the%20Pre%20level%20%28I%27m%20not%20going&amp;short_link=http://bit.ly/9nvqSt&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=The+Not+So+Good%2C+The+Bad%2C+And+The+Ugly%3A+My+List+Of+20%2B+Problems+With+HTC+Hero&amp;link=http://beerpla.net/2009/11/16/the-not-so-good-the-bad-and-the-ugly-my-list-of-20-problems-with-htc-hero/&amp;notes=Alright%2C%20I%20was%20really%20excited%20to%20get%20the%20HTC%20Hero.%20REALLY.%20I%20had%20extremely%20high%20hopes%20for%20the%20Hero%20%28those%20are%20long%20gone%29%20and%20Android%20%28which%20I%20still%20do%20-%20I%20even%20began%20developing%20for%20it%29%20but%20the%20Hero%20has%20so%20many%20ridiculous%20bugs%20that%20I%20am%20%2Athis%2A%20close%20to%20bringing%20it%20down%20to%20the%20Pre%20level%20%28I%27m%20not%20going&amp;short_link=http://bit.ly/9nvqSt&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=The+Not+So+Good%2C+The+Bad%2C+And+The+Ugly%3A+My+List+Of+20%2B+Problems+With+HTC+Hero&amp;link=http://beerpla.net/2009/11/16/the-not-so-good-the-bad-and-the-ugly-my-list-of-20-problems-with-htc-hero/&amp;notes=Alright%2C%20I%20was%20really%20excited%20to%20get%20the%20HTC%20Hero.%20REALLY.%20I%20had%20extremely%20high%20hopes%20for%20the%20Hero%20%28those%20are%20long%20gone%29%20and%20Android%20%28which%20I%20still%20do%20-%20I%20even%20began%20developing%20for%20it%29%20but%20the%20Hero%20has%20so%20many%20ridiculous%20bugs%20that%20I%20am%20%2Athis%2A%20close%20to%20bringing%20it%20down%20to%20the%20Pre%20level%20%28I%27m%20not%20going&amp;short_link=http://bit.ly/9nvqSt&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=The%20Not%20So%20Good%2C%20The%20Bad%2C%20And%20The%20Ugly%3A%20My%20List%20Of%2020%2B%20Problems%20With%20HTC%20Hero&amp;link=http://beerpla.net/2009/11/16/the-not-so-good-the-bad-and-the-ugly-my-list-of-20-problems-with-htc-hero/&amp;notes=Alright%2C%20I%20was%20really%20excited%20to%20get%20the%20HTC%20Hero.%20REALLY.%20I%20had%20extremely%20high%20hopes%20for%20the%20Hero%20%28those%20are%20long%20gone%29%20and%20Android%20%28which%20I%20still%20do%20-%20I%20even%20began%20developing%20for%20it%29%20but%20the%20Hero%20has%20so%20many%20ridiculous%20bugs%20that%20I%20am%20%2Athis%2A%20close%20to%20bringing%20it%20down%20to%20the%20Pre%20level%20%28I%27m%20not%20going&amp;short_link=http://bit.ly/9nvqSt&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2009/11/18/sprint-and-htc-release-the-first-htc-hero-firmware-update-1-56-fixes-major-bugs-adds-small-tweaks/" rel="bookmark" title="November 18, 2009">Sprint And HTC Release The First HTC Hero Firmware Update 1.56: Fixes Major Bugs, Adds Small Tweaks</a></li><li><a
href="http://beerpla.net/2009/11/26/how-i-doubled-my-android-phones-htc-hero-battery-life-or-just-how-much-email-polling-affects-your-battery/" rel="bookmark" title="November 26, 2009">How I Doubled My Android Phone&#039;s (HTC Hero) Battery Life or Just How Much Email Polling Affects Your Battery</a></li><li><a
href="http://beerpla.net/2009/09/03/htc-hero-coming-to-sprint-october-11th-179-99-powerful-and-sexy-here-is-why-you-need-to-own-it/" rel="bookmark" title="September 3, 2009">HTC Hero Coming To Sprint October 11th! $179.99, Powerful, And Sexy. Here Is Why You Need To Own It</a></li><li><a
href="http://beerpla.net/2009/10/18/my-new-android-phone-wants-me-to-do-what/" rel="bookmark" title="October 18, 2009">My New Android Phone Wants Me To Do WHAT?</a></li><li><a
href="http://beerpla.net/2009/11/21/meet-firefox-for-mobile-video-feature-highlights-more-info/" rel="bookmark" title="November 21, 2009">Meet Firefox For Mobile [Video + Feature Highlights + More Info]</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2009%2F11%2F16%2Fthe-not-so-good-the-bad-and-the-ugly-my-list-of-20-problems-with-htc-hero%2F&amp;title=The%20Not%20So%20Good%2C%20The%20Bad%2C%20And%20The%20Ugly%3A%20My%20List%20Of%2020%2B%20Problems%20With%20HTC%20Hero" id="wpa2a_6"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2009/11/16/the-not-so-good-the-bad-and-the-ugly-my-list-of-20-problems-with-htc-hero/feed/</wfw:commentRss> <slash:comments>44</slash:comments> </item> <item><title>Installing The Android Plugin For Eclipse</title><link>http://beerpla.net/2009/10/15/installing-the-android-plugin-for-eclipse/</link> <comments>http://beerpla.net/2009/10/15/installing-the-android-plugin-for-eclipse/#comments</comments> <pubDate>Thu, 15 Oct 2009 21:36:56 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Android]]></category> <category><![CDATA[Java]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Eclipse]]></category> <category><![CDATA[exception]]></category> <category><![CDATA[install]]></category> <category><![CDATA[installation]]></category> <category><![CDATA[plugin]]></category> <category><![CDATA[problem]]></category> <guid
isPermaLink="false">http://beerpla.net/2009/10/15/installing-the-android-plugin-for-eclipse/</guid> <description><![CDATA[<p><img
style="margin: 0px 10px 10px 0px; display: inline" title="image" alt="image" align="left" src="http://beerpla.net/wp-content/uploads/InstallingTheAndroidPluginForEclipse_C4DA/image.png" width="150" height="157" /> Today is my first day looking at Android development. My first encounter with the Android plugin for Eclipse has not been very smooth, to say the least. I am not sure if it&#039;s Android&#039;s or Eclipse&#039;s fault but I just wasted 2 hours on errors during the plugin installation and would like to pass on the time savings to you.</p><p>The <a
href="http://developer.android.com/sdk/1.6_r1/installing.html" rel="nofollow">plugin install page</a> provides initial instructions and the location of the plugin to give Eclipse (<a
title="https://dl-ssl.google.com/android/eclipse/" href="https://dl-ssl.google.com/android/eclipse/" rel="nofollow">https://dl-ssl.google.com/android/eclipse/</a>). This is very standard stuff and I&#039;ve installed many plugins exactly the same way. However, here&#039;s when problems started.</p><h3>Problem #1: Error while loading manipulator</h3><p>Eclipse just shows a cryptic Install failed box. Here are the highlights:...<div
class=clear></div> <a
href="http://beerpla.net/2009/10/15/installing-the-android-plugin-for-eclipse/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<p><img
style="margin: 0px 10px 10px 0px; display: inline" title="image" alt="image" align="left" src="http://beerpla.net/wp-content/uploads/InstallingTheAndroidPluginForEclipse_C4DA/image.png" width="150" height="157" /> Today is my first day looking at Android development. My first encounter with the Android plugin for Eclipse has not been very smooth, to say the least. I am not sure if it&#039;s Android&#039;s or Eclipse&#039;s fault but I just wasted 2 hours on errors during the plugin installation and would like to pass on the time savings to you.</p><p>The <a
href="http://developer.android.com/sdk/1.6_r1/installing.html" rel="nofollow">plugin install page</a> provides initial instructions and the location of the plugin to give Eclipse (<a
title="https://dl-ssl.google.com/android/eclipse/" href="https://dl-ssl.google.com/android/eclipse/" rel="nofollow">https://dl-ssl.google.com/android/eclipse/</a>). This is very standard stuff and I&#039;ve installed many plugins exactly the same way. However, here&#039;s when problems started.</p><h3>Problem #1: Error while loading manipulator</h3><p>Eclipse just shows a cryptic Install failed box. Here are the highlights:</p><ul><li>!MESSAGE Error while loading manipulator</li><li>java.lang.IllegalStateException: !fwConfigLocation.equals(fwPersistentDataLocation)</li></ul><p>It looks like for whatever reason, Eclipse&#039;s fwConfigLocation variable does not match fwPersistentDataLocation. I have no idea where those come from and searching for a solution (such as this <a
href="http://pt.sourceforge.jp/ticket/browse.php?group_id=685&amp;tid=17583" rel="nofollow">crazy Japanese sourceforge</a> and <a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=277242" rel="nofollow">this Eclipse bug</a>), restarting Eclipse, and beating my head against the wall took the majority of my the 2 hours I spent on this.</p><p>Here&#039;s the full log, which will help people with the same problem find it in search engines:</p><div
class="wp_syntax"><div
class="code"><pre>!ENTRY org.eclipse.equinox.p2.touchpoint.eclipse 4 0 2009-10-15 13:21:11.224
!MESSAGE Error while loading manipulator.
!STACK 0
java.lang.IllegalStateException: !fwConfigLocation.equals(fwPersistentDataLocation)
	!fwConfigLocation=C:\eclipse\configuration
	,fwPersistentDataLocation=C:\eclipse\plugins\configuration
	at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.checkConsistencyOfFwConfigLocAndFwPersistentDataLoc(EquinoxManipulatorImpl.java:65)
	at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.loadWithoutFwPersistentData(EquinoxManipulatorImpl.java:360)
	at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.load(EquinoxManipulatorImpl.java:331)
	at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.loadDelegate(LazyManipulator.java:50)
	at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.getConfigData(LazyManipulator.java:108)
	at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction.uninstallBundle(UninstallBundleAction.java:74)
	at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction.execute(UninstallBundleAction.java:29)
	at org.eclipse.equinox.internal.p2.engine.ParameterizedProvisioningAction.execute(ParameterizedProvisioningAction.java:35)
	at org.eclipse.equinox.internal.provisional.p2.engine.Phase.mainPerform(Phase.java:129)
	at org.eclipse.equinox.internal.provisional.p2.engine.Phase.perform(Phase.java:72)
	at org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet.perform(PhaseSet.java:44)
	at org.eclipse.equinox.internal.provisional.p2.engine.Engine.perform(Engine.java:54)
	at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningUtil.performProvisioningPlan(ProvisioningUtil.java:389)
	at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProfileModificationOperation.doExecute(ProfileModificationOperation.java:61)
	at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningOperation.execute(ProvisioningOperation.java:37)
	at org.eclipse.equinox.internal.provisional.p2.ui.ProvisioningOperationRunner$1.run(ProvisioningOperationRunner.java:94)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
&nbsp;
!ENTRY org.eclipse.equinox.p2.engine 4 4 2009-10-15 13:21:11.240
!MESSAGE An error occurred while uninstalling
!SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2009-10-15 13:21:11.240
!MESSAGE session context was:(profile=epp.package.php, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Uninstall, operand=[R]javax.activation 1.1.0.v200905021805 --&gt; [R]javax.activation 1.1.0.v200906290531, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction).
!SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2009-10-15 13:21:11.240
!MESSAGE Error while loading manipulator.
!STACK 0
java.lang.IllegalStateException: Error while loading manipulator.
	at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.loadDelegate(LazyManipulator.java:54)
	at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.getConfigData(LazyManipulator.java:108)
	at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction.uninstallBundle(UninstallBundleAction.java:74)
	at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction.execute(UninstallBundleAction.java:29)
	at org.eclipse.equinox.internal.p2.engine.ParameterizedProvisioningAction.execute(ParameterizedProvisioningAction.java:35)
	at org.eclipse.equinox.internal.provisional.p2.engine.Phase.mainPerform(Phase.java:129)
	at org.eclipse.equinox.internal.provisional.p2.engine.Phase.perform(Phase.java:72)
	at org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet.perform(PhaseSet.java:44)
	at org.eclipse.equinox.internal.provisional.p2.engine.Engine.perform(Engine.java:54)
	at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningUtil.performProvisioningPlan(ProvisioningUtil.java:389)
	at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProfileModificationOperation.doExecute(ProfileModificationOperation.java:61)
	at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningOperation.execute(ProvisioningOperation.java:37)
	at org.eclipse.equinox.internal.provisional.p2.ui.ProvisioningOperationRunner$1.run(ProvisioningOperationRunner.java:94)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!SESSION 2009-10-15 13:31:40.853 -----------------------------------------------
eclipse.buildId=I20090611-1540
java.version=1.6.0_16
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86</pre></div></div><p>Finally, I found a solution that worked &#8211; modify eclipse.ini (the one that sits in elipse&#039;s install directory) and add the following:</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
3
4
</pre></td><td
class="code"><pre>-startup
file:/C:/eclipse/plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
--launcher.library
file:/C:/eclipse/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519</pre></td></tr></table></div><p>Note that the exact locations may differ for you, so figure out what is installed on your machine and replace accordingly.</p><p>Also, it seems that the location of the file HAS to be on a new line &#8211; otherwise it is not recognized. What kind of shit is that, Eclipse? Some values in eclipse.ini are specified on the same line separated by space, some separated by &#039;=&#039;, and some have to be on a new line? This fun trivia fact wasted about 45 minutes of my time.</p><p>And yes, startup has 1 dash and launcher.library has 2. /sigh</p><p><strong>Edit:</strong> it looks like by default Eclipse does come with these options. I somehow managed to lose them, so this is probably my fault. The error couldn&#039;t be more cryptic though.</p><h3>Problem #2: java.io.IOException: The file &quot;C:\eclipse\features\com.android.ide.eclipse.adt_0.9.3.v200909031112-12945&quot; does not exist</h3><p>Great. Now what…</p><p>After examining the features directory, I indeed found that directory com.android.ide.eclipse.adt_0.9.3.v200909031112-12945 does not exist. What I did find though is com.android.ide.eclipse.adt_0.9.3.v200909031112-12945.jar, which is simply an archive. Why didn&#039;t you unpack this archive, Eclipse? Or Android plugin devs? Whoever is responsible for this &#8211; argh!</p><p>After quickly creating the directories and unpacking the .jar contents into them, Eclipse was finally able to install the Android plugin.</p><p>&#160;</p><p>If installing a plugin is this friendly, I can only imagine what awaits me in Android app development. Am I the only one with these problems? You let me know.</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=Installing+The+Android+Plugin+For+Eclipse&amp;link=http://beerpla.net/2009/10/15/installing-the-android-plugin-for-eclipse/&amp;notes=%20Today%20is%20my%20first%20day%20looking%20at%20Android%20development.%20My%20first%20encounter%20with%20the%20Android%20plugin%20for%20Eclipse%20has%20not%20been%20very%20smooth%2C%20to%20say%20the%20least.%20I%20am%20not%20sure%20if%20it%27s%20Android%27s%20or%20Eclipse%27s%20fault%20but%20I%20just%20wasted%202%20hours%20on%20errors%20during%20the%20plugin%20installation%20and%20would%20like%20to%20pass%20on%20th&amp;short_link=http://bit.ly/c76rI4&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=Installing+The+Android+Plugin+For+Eclipse&amp;link=http://beerpla.net/2009/10/15/installing-the-android-plugin-for-eclipse/&amp;notes=%20Today%20is%20my%20first%20day%20looking%20at%20Android%20development.%20My%20first%20encounter%20with%20the%20Android%20plugin%20for%20Eclipse%20has%20not%20been%20very%20smooth%2C%20to%20say%20the%20least.%20I%20am%20not%20sure%20if%20it%27s%20Android%27s%20or%20Eclipse%27s%20fault%20but%20I%20just%20wasted%202%20hours%20on%20errors%20during%20the%20plugin%20installation%20and%20would%20like%20to%20pass%20on%20th&amp;short_link=http://bit.ly/c76rI4&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=Installing+The+Android+Plugin+For+Eclipse&amp;link=http://beerpla.net/2009/10/15/installing-the-android-plugin-for-eclipse/&amp;notes=%20Today%20is%20my%20first%20day%20looking%20at%20Android%20development.%20My%20first%20encounter%20with%20the%20Android%20plugin%20for%20Eclipse%20has%20not%20been%20very%20smooth%2C%20to%20say%20the%20least.%20I%20am%20not%20sure%20if%20it%27s%20Android%27s%20or%20Eclipse%27s%20fault%20but%20I%20just%20wasted%202%20hours%20on%20errors%20during%20the%20plugin%20installation%20and%20would%20like%20to%20pass%20on%20th&amp;short_link=http://bit.ly/c76rI4&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=Installing+The+Android+Plugin+For+Eclipse&amp;link=http://beerpla.net/2009/10/15/installing-the-android-plugin-for-eclipse/&amp;notes=%20Today%20is%20my%20first%20day%20looking%20at%20Android%20development.%20My%20first%20encounter%20with%20the%20Android%20plugin%20for%20Eclipse%20has%20not%20been%20very%20smooth%2C%20to%20say%20the%20least.%20I%20am%20not%20sure%20if%20it%27s%20Android%27s%20or%20Eclipse%27s%20fault%20but%20I%20just%20wasted%202%20hours%20on%20errors%20during%20the%20plugin%20installation%20and%20would%20like%20to%20pass%20on%20th&amp;short_link=http://bit.ly/c76rI4&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=Installing+The+Android+Plugin+For+Eclipse&amp;link=http://beerpla.net/2009/10/15/installing-the-android-plugin-for-eclipse/&amp;notes=%20Today%20is%20my%20first%20day%20looking%20at%20Android%20development.%20My%20first%20encounter%20with%20the%20Android%20plugin%20for%20Eclipse%20has%20not%20been%20very%20smooth%2C%20to%20say%20the%20least.%20I%20am%20not%20sure%20if%20it%27s%20Android%27s%20or%20Eclipse%27s%20fault%20but%20I%20just%20wasted%202%20hours%20on%20errors%20during%20the%20plugin%20installation%20and%20would%20like%20to%20pass%20on%20th&amp;short_link=http://bit.ly/c76rI4&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=Installing+The+Android+Plugin+For+Eclipse&amp;link=http://beerpla.net/2009/10/15/installing-the-android-plugin-for-eclipse/&amp;notes=%20Today%20is%20my%20first%20day%20looking%20at%20Android%20development.%20My%20first%20encounter%20with%20the%20Android%20plugin%20for%20Eclipse%20has%20not%20been%20very%20smooth%2C%20to%20say%20the%20least.%20I%20am%20not%20sure%20if%20it%27s%20Android%27s%20or%20Eclipse%27s%20fault%20but%20I%20just%20wasted%202%20hours%20on%20errors%20during%20the%20plugin%20installation%20and%20would%20like%20to%20pass%20on%20th&amp;short_link=http://bit.ly/c76rI4&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=Installing+The+Android+Plugin+For+Eclipse&amp;link=http://beerpla.net/2009/10/15/installing-the-android-plugin-for-eclipse/&amp;notes=%20Today%20is%20my%20first%20day%20looking%20at%20Android%20development.%20My%20first%20encounter%20with%20the%20Android%20plugin%20for%20Eclipse%20has%20not%20been%20very%20smooth%2C%20to%20say%20the%20least.%20I%20am%20not%20sure%20if%20it%27s%20Android%27s%20or%20Eclipse%27s%20fault%20but%20I%20just%20wasted%202%20hours%20on%20errors%20during%20the%20plugin%20installation%20and%20would%20like%20to%20pass%20on%20th&amp;short_link=http://bit.ly/c76rI4&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=Installing%20The%20Android%20Plugin%20For%20Eclipse&amp;link=http://beerpla.net/2009/10/15/installing-the-android-plugin-for-eclipse/&amp;notes=%20Today%20is%20my%20first%20day%20looking%20at%20Android%20development.%20My%20first%20encounter%20with%20the%20Android%20plugin%20for%20Eclipse%20has%20not%20been%20very%20smooth%2C%20to%20say%20the%20least.%20I%20am%20not%20sure%20if%20it%27s%20Android%27s%20or%20Eclipse%27s%20fault%20but%20I%20just%20wasted%202%20hours%20on%20errors%20during%20the%20plugin%20installation%20and%20would%20like%20to%20pass%20on%20th&amp;short_link=http://bit.ly/c76rI4&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2009/11/04/android-auto-formatting-android-xml-files-with-eclipse/" rel="bookmark" title="November 4, 2009">[Android] Auto Formatting Android XML Files With Eclipse</a></li><li><a
href="http://beerpla.net/2010/09/29/how-to-update-eclipse-from-galileo-3-5-to-helios-3-6-in-place-without-reinstalling/" rel="bookmark" title="September 29, 2010">How To Update Eclipse From Galileo (3.5) To Helios (3.6) In-Place Without Reinstalling</a></li><li><a
href="http://beerpla.net/2007/08/29/a-short-note-on-eaccelerator-the-php-accelerator/" rel="bookmark" title="August 29, 2007">A Short Note On eAccelerator &#8211; The PHP Accelerator</a></li><li><a
href="http://beerpla.net/2008/10/09/my-notes-on-learning-python-coming-from-perl/" rel="bookmark" title="October 9, 2008">My Notes On Learning Python Coming From Perl</a></li><li><a
href="http://beerpla.net/2009/11/21/meet-firefox-for-mobile-video-feature-highlights-more-info/" rel="bookmark" title="November 21, 2009">Meet Firefox For Mobile [Video + Feature Highlights + More Info]</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2009%2F10%2F15%2Finstalling-the-android-plugin-for-eclipse%2F&amp;title=Installing%20The%20Android%20Plugin%20For%20Eclipse" id="wpa2a_8"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2009/10/15/installing-the-android-plugin-for-eclipse/feed/</wfw:commentRss> <slash:comments>9</slash:comments> </item> <item><title>How To Fix Palm Pre&#039;s &quot;Error Sending Mail&quot; Problem</title><link>http://beerpla.net/2009/07/14/how-to-fix-palm-pres-error-sending-mail-problem-7/</link> <comments>http://beerpla.net/2009/07/14/how-to-fix-palm-pres-error-sending-mail-problem-7/#comments</comments> <pubDate>Tue, 14 Jul 2009 23:53:37 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Personal]]></category> <category><![CDATA[Technology]]></category> <category><![CDATA[error]]></category> <category><![CDATA[IMAP]]></category> <category><![CDATA[incoming]]></category> <category><![CDATA[mail]]></category> <category><![CDATA[outgoing]]></category> <category><![CDATA[palm]]></category> <category><![CDATA[POP]]></category> <category><![CDATA[pop3]]></category> <category><![CDATA[pre]]></category> <category><![CDATA[problem]]></category> <category><![CDATA[sending]]></category> <category><![CDATA[server]]></category> <category><![CDATA[settings]]></category> <category><![CDATA[smtp]]></category> <category><![CDATA[solution]]></category> <guid
isPermaLink="false">http://beerpla.net/2009/07/14/how-to-fix-palm-pres-error-sending-mail-problem-7/</guid> <description><![CDATA[<h2><a
href="http://beerpla.net/wp-content/uploads/HowToFixPalmPresErrorSendingMailProblem_AA8/image_4.png" class="lightview" rel="gallery['1090']" title="image"><img
style="margin: 0px 15px 15px 0px; display: inline" title="image" alt="image" align="left" src="http://beerpla.net/wp-content/uploads/HowToFixPalmPresErrorSendingMailProblem_AA8/image_thumb_4.png" width="200" height="300" /></a>The Problem</h2><p>My fiancée Emilie has had her Palm Pre for about 2 weeks now, and one specific problem that started showing up last week has been incredibly annoying, causing us all kinds of trouble.</p><p>After Emilie got the phone, she added 3 email accounts &#8211; Gmail, Hotmail, and Yahoo. One day, after sending an email through the Pre, a popup showed up that said &#34;Error sending&#34; followed by the subject of that specific email. Swiping the error away didn&#039;t help &#8211; it just came back 5 minutes later. In fact, it has been coming back every 5 minutes of every day since, lighting up the screen each time. Thus, not only it was annoying, but it was running down...<div
class=clear></div> <a
href="http://beerpla.net/2009/07/14/how-to-fix-palm-pres-error-sending-mail-problem-7/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<h2><a
href="http://beerpla.net/wp-content/uploads/HowToFixPalmPresErrorSendingMailProblem_AA8/image_4.png" class="lightview" rel="gallery['1090']" title="image"><img
style="margin: 0px 15px 15px 0px; display: inline" title="image" alt="image" align="left" src="http://beerpla.net/wp-content/uploads/HowToFixPalmPresErrorSendingMailProblem_AA8/image_thumb_4.png" width="200" height="300" /></a>The Problem</h2><p>My fiancée Emilie has had her Palm Pre for about 2 weeks now, and one specific problem that started showing up last week has been incredibly annoying, causing us all kinds of trouble.</p><p>After Emilie got the phone, she added 3 email accounts &#8211; Gmail, Hotmail, and Yahoo. One day, after sending an email through the Pre, a popup showed up that said &quot;Error sending&quot; followed by the subject of that specific email. Swiping the error away didn&#039;t help &#8211; it just came back 5 minutes later. In fact, it has been coming back every 5 minutes of every day since, lighting up the screen each time. Thus, not only it was annoying, but it was running down the battery like crazy &#8211; a full charge lasted between 1/2 and 3/4 of the day with very mild usage.</p><p>I deleted the problematic message from the Outbox a long time ago. The error didn&#039;t disappear and kept popping up. Additionally, whichever Outbox clicking on the annoying popup led to was having trouble refreshing, even though it wouldn&#039;t display what the error actually was &#8211; just a yellow exclamation sign would show up. Refreshing the folder didn&#039;t help and would take an unusually long time.</p><p>Well, finally, I got sick of waiting for Palm to update its OS with possible fixes and set out to find one myself.</p><p>Turns out a ton of people are having the same issue, as evident in all Palm Pre forums. For example, <a
href="http://forums.palm.com/palm/board/message?board.id=wireless_email&amp;thread.id=8394&amp;view=by_date_ascending&amp;page=1" rel="nofollow">Palm.com forum</a> or <a
href="http://forums.precentral.net/webos-synergy-synchronization/183313-error-sending-email.html" rel="nofollow">Precentral.net forum</a>. I really didn&#039;t like the common suggestion to delete and re-add the problematic account because</p><ul><li>that just most likely temporarily pushes the problem back as I&#039;m sure it would come back again to haunt me</li><li>this could potentially erase or disconnect all contacts associated with that account</li><li>my engineering mind would be left puzzled</li><li>I wasn&#039;t sure which account was having the problem (later it turned out the culprit was Yahoo)</li></ul><p>Surprisingly, I found <a
href="http://answers.yahoo.com/question/index?qid=20090624085549AAWWP7n" rel="nofollow">the clue</a> that led me to the solution on Yahoo Answers &#8211; yeah, that place where nothing intelligent is allowed to exist (with certain <a
href="http://imgur.com/mCUfG.jpg" class="lightview" rel="gallery['1090']" rel="nofollow">exceptions</a>).</p><h2>The Solution</h2><p>To make a long story short, Pre messed up Yahoo&#039;s outgoing mail settings. My particular problem was the SMTP (that&#039;s the <strong><em>outgoing</em> </strong>mail server) port was set to 995, which is in fact an <strong><em>incoming</em></strong> POP3 mail server port. I don&#039;t know how it happened or if it even worked in the first place but the fact is: the right outgoing port for secure (SSL) SMTP connections is 465. Also, for some reason the SMTP username was blank but the password was filled in. WTF, Pre?</p><p>When I changed SMTP port to 465 and entered the username, as specified in that <a
href="http://answers.yahoo.com/question/index?qid=20090624085549AAWWP7n" rel="nofollow">Yahoo Answers post</a> (without the @yahoo.com part), the error message went away and the Outbox refreshed just fine. BTW, my Pre has the incoming mail server set to POP3, while the Yahoo Answers post was set to IMAP &#8211; again, why the differences? I&#039;d frankly prefer IMAP anyway.</p><p>To get to your mail account settings, open up your email application, go to the <em>Email</em> menu in Pre&#039;s top left corner, tap <em>Preferences &amp; Accounts</em>, then tap the offending account, scroll down, and tap Change Login Settings. When you are done, just swipe back (half swipe from right to left in the gesture area). Here&#039;s a handy screenshot I took of the relevant area:</p><p
align="center"><a
href="http://beerpla.net/wp-content/uploads/HowToFixPalmPresErrorSendingMailProblem_AA8/image.png" class="lightview" rel="gallery['1090']" title="image"><img
style="display: inline; margin-left: 0px; margin-right: 0px" title="image" alt="image" src="http://beerpla.net/wp-content/uploads/HowToFixPalmPresErrorSendingMailProblem_AA8/image_thumb.png" width="200" height="301" /></a> -&amp;gt; <a
href="http://beerpla.net/wp-content/uploads/HowToFixPalmPresErrorSendingMailProblem_AA8/image_3.png" class="lightview" rel="gallery['1090']" title="image"><img
style="display: inline; margin-left: 0px; margin-right: 0px" title="image" alt="image" src="http://beerpla.net/wp-content/uploads/HowToFixPalmPresErrorSendingMailProblem_AA8/image_thumb_3.png" width="200" height="299" /></a></p><p><div
class="note"><div
class="notetip">Confused by all the technical definitions, like SMTP, IMAP, POP3, SSL, incoming and outgoing accounts? Have a look at <a
href="http://www.emailaddressmanager.com/tips/mail-servers.html" rel="nofollow">this helpful FAQ page</a>, hopefully it&#039;ll clear things up.</p><p>In the meantime, here&#039;s a handy excerpt with port numbers for various connection and server types:</p><p><ul>POP3 &#8211; port <strong>110</strong></ul><ul>IMAP &#8211; port <strong>143</strong></ul><ul>SMTP &#8211; port <strong>25</strong></ul><ul>HTTP &#8211; port <strong>80</strong></ul><ul>Secure SMTP (SSMTP) &#8211; port <strong>465</strong></ul><ul>Secure IMAP (IMAP4-SSL) &#8211; port <strong>585</strong></ul><ul>IMAP4 over SSL (IMAPS) &#8211; port <strong>993</strong></ul><ul>Secure POP3 (SSL-POP) &#8211; port <strong>995</strong></ul><p></div></div></p><p>If you are experiencing the same symptoms, check ALL your mail settings, not just the ones I mentioned. Who knows what else your Pre may have messed up?</p><p><strong>Update:</strong> if you are having trouble sending your mail only while on WiFi, it is possible that your home broadband router is blocking the needed ports. Try to edit the router configuration and open the ports used by your Pre&#039;s mail configuration &#8211; hopefully the problem will be solved.</p><h2>Conclusion</h2><p>Palm, are you hearing us? We are not happy with the bugs and the unhelpful error messages (or lack thereof altogether)! <a
href="http://kb.palm.com/wps/portal/kb/na/pre/p100eww/sprint/solutions/article/50607_en.html" rel="nofollow">3 measly updates</a> in the last 2 months is quite pathetic. I hope you are working on a much bigger update behind the scenes.</p><div
class='post_blob_1'>Looking for a new home broadband router? Broadband Genie allows you to <a
href="http://www.broadbandgenie.co.uk/broadband/comparison" rel="follow">compare broadband</a> deals and offers in an unbiased environment.</div><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Palm+Pre%27s+%26quot%3BError+Sending+Mail%26quot%3B+Problem&amp;link=http://beerpla.net/2009/07/14/how-to-fix-palm-pres-error-sending-mail-problem-7/&amp;notes=The%20Problem%0D%0AMy%20fianc%C3%A9e%20Emilie%20has%20had%20her%20Palm%20Pre%20for%20about%202%20weeks%20now%2C%20and%20one%20specific%20problem%20that%20started%20showing%20up%20last%20week%20has%20been%20incredibly%20annoying%2C%20causing%20us%20all%20kinds%20of%20trouble.%0D%0AAfter%20Emilie%20got%20the%20phone%2C%20she%20added%203%20email%20accounts%20-%20Gmail%2C%20Hotmail%2C%20and%20Yahoo.%20One%20day%2C%20after%20se&amp;short_link=http://bit.ly/d5Q4cy&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Palm+Pre%27s+%26quot%3BError+Sending+Mail%26quot%3B+Problem&amp;link=http://beerpla.net/2009/07/14/how-to-fix-palm-pres-error-sending-mail-problem-7/&amp;notes=The%20Problem%0D%0AMy%20fianc%C3%A9e%20Emilie%20has%20had%20her%20Palm%20Pre%20for%20about%202%20weeks%20now%2C%20and%20one%20specific%20problem%20that%20started%20showing%20up%20last%20week%20has%20been%20incredibly%20annoying%2C%20causing%20us%20all%20kinds%20of%20trouble.%0D%0AAfter%20Emilie%20got%20the%20phone%2C%20she%20added%203%20email%20accounts%20-%20Gmail%2C%20Hotmail%2C%20and%20Yahoo.%20One%20day%2C%20after%20se&amp;short_link=http://bit.ly/d5Q4cy&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Palm+Pre%27s+%26quot%3BError+Sending+Mail%26quot%3B+Problem&amp;link=http://beerpla.net/2009/07/14/how-to-fix-palm-pres-error-sending-mail-problem-7/&amp;notes=The%20Problem%0D%0AMy%20fianc%C3%A9e%20Emilie%20has%20had%20her%20Palm%20Pre%20for%20about%202%20weeks%20now%2C%20and%20one%20specific%20problem%20that%20started%20showing%20up%20last%20week%20has%20been%20incredibly%20annoying%2C%20causing%20us%20all%20kinds%20of%20trouble.%0D%0AAfter%20Emilie%20got%20the%20phone%2C%20she%20added%203%20email%20accounts%20-%20Gmail%2C%20Hotmail%2C%20and%20Yahoo.%20One%20day%2C%20after%20se&amp;short_link=http://bit.ly/d5Q4cy&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Palm+Pre%27s+%26quot%3BError+Sending+Mail%26quot%3B+Problem&amp;link=http://beerpla.net/2009/07/14/how-to-fix-palm-pres-error-sending-mail-problem-7/&amp;notes=The%20Problem%0D%0AMy%20fianc%C3%A9e%20Emilie%20has%20had%20her%20Palm%20Pre%20for%20about%202%20weeks%20now%2C%20and%20one%20specific%20problem%20that%20started%20showing%20up%20last%20week%20has%20been%20incredibly%20annoying%2C%20causing%20us%20all%20kinds%20of%20trouble.%0D%0AAfter%20Emilie%20got%20the%20phone%2C%20she%20added%203%20email%20accounts%20-%20Gmail%2C%20Hotmail%2C%20and%20Yahoo.%20One%20day%2C%20after%20se&amp;short_link=http://bit.ly/d5Q4cy&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Palm+Pre%27s+%26quot%3BError+Sending+Mail%26quot%3B+Problem&amp;link=http://beerpla.net/2009/07/14/how-to-fix-palm-pres-error-sending-mail-problem-7/&amp;notes=The%20Problem%0D%0AMy%20fianc%C3%A9e%20Emilie%20has%20had%20her%20Palm%20Pre%20for%20about%202%20weeks%20now%2C%20and%20one%20specific%20problem%20that%20started%20showing%20up%20last%20week%20has%20been%20incredibly%20annoying%2C%20causing%20us%20all%20kinds%20of%20trouble.%0D%0AAfter%20Emilie%20got%20the%20phone%2C%20she%20added%203%20email%20accounts%20-%20Gmail%2C%20Hotmail%2C%20and%20Yahoo.%20One%20day%2C%20after%20se&amp;short_link=http://bit.ly/d5Q4cy&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Palm+Pre%27s+%26quot%3BError+Sending+Mail%26quot%3B+Problem&amp;link=http://beerpla.net/2009/07/14/how-to-fix-palm-pres-error-sending-mail-problem-7/&amp;notes=The%20Problem%0D%0AMy%20fianc%C3%A9e%20Emilie%20has%20had%20her%20Palm%20Pre%20for%20about%202%20weeks%20now%2C%20and%20one%20specific%20problem%20that%20started%20showing%20up%20last%20week%20has%20been%20incredibly%20annoying%2C%20causing%20us%20all%20kinds%20of%20trouble.%0D%0AAfter%20Emilie%20got%20the%20phone%2C%20she%20added%203%20email%20accounts%20-%20Gmail%2C%20Hotmail%2C%20and%20Yahoo.%20One%20day%2C%20after%20se&amp;short_link=http://bit.ly/d5Q4cy&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Palm+Pre%27s+%26quot%3BError+Sending+Mail%26quot%3B+Problem&amp;link=http://beerpla.net/2009/07/14/how-to-fix-palm-pres-error-sending-mail-problem-7/&amp;notes=The%20Problem%0D%0AMy%20fianc%C3%A9e%20Emilie%20has%20had%20her%20Palm%20Pre%20for%20about%202%20weeks%20now%2C%20and%20one%20specific%20problem%20that%20started%20showing%20up%20last%20week%20has%20been%20incredibly%20annoying%2C%20causing%20us%20all%20kinds%20of%20trouble.%0D%0AAfter%20Emilie%20got%20the%20phone%2C%20she%20added%203%20email%20accounts%20-%20Gmail%2C%20Hotmail%2C%20and%20Yahoo.%20One%20day%2C%20after%20se&amp;short_link=http://bit.ly/d5Q4cy&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=How%20To%20Fix%20Palm%20Pre%27s%20%26quot%3BError%20Sending%20Mail%26quot%3B%20Problem&amp;link=http://beerpla.net/2009/07/14/how-to-fix-palm-pres-error-sending-mail-problem-7/&amp;notes=The%20Problem%0D%0AMy%20fianc%C3%A9e%20Emilie%20has%20had%20her%20Palm%20Pre%20for%20about%202%20weeks%20now%2C%20and%20one%20specific%20problem%20that%20started%20showing%20up%20last%20week%20has%20been%20incredibly%20annoying%2C%20causing%20us%20all%20kinds%20of%20trouble.%0D%0AAfter%20Emilie%20got%20the%20phone%2C%20she%20added%203%20email%20accounts%20-%20Gmail%2C%20Hotmail%2C%20and%20Yahoo.%20One%20day%2C%20after%20se&amp;short_link=http://bit.ly/d5Q4cy&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2009/11/26/how-i-doubled-my-android-phones-htc-hero-battery-life-or-just-how-much-email-polling-affects-your-battery/" rel="bookmark" title="November 26, 2009">How I Doubled My Android Phone&#039;s (HTC Hero) Battery Life or Just How Much Email Polling Affects Your Battery</a></li><li><a
href="http://beerpla.net/2008/06/14/top-10-reasons-why-digsby-rocks-or-why-you-should-try-digsby-right-now/" rel="bookmark" title="June 14, 2008">Top 10 Reasons Why Digsby ROCKS</a></li><li><a
href="http://beerpla.net/2009/08/17/2-gmail-tricks-i-bet-you-didnt-know-about/" rel="bookmark" title="August 17, 2009">2 Gmail Tricks I Bet You Didn&#039;t Know About</a></li><li><a
href="http://beerpla.net/2010/02/03/how-not-to-implement-a-web-application-that-handles-external-authentication-using-betwittered-com-as-an-example/" rel="bookmark" title="February 3, 2010">How *Not* To Implement A Web Application That Handles External Authentication, Using BeTwittered.com As An Example</a></li><li><a
href="http://beerpla.net/2009/05/18/how-to-fix-redrawing-problems-in-your-vnc/" rel="bookmark" title="May 18, 2009">How To Fix Redrawing Problems In Your VNC</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2009%2F07%2F14%2Fhow-to-fix-palm-pres-error-sending-mail-problem-7%2F&amp;title=How%20To%20Fix%20Palm%20Pre%26%23039%3Bs%20%26quot%3BError%20Sending%20Mail%26quot%3B%20Problem" id="wpa2a_10"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2009/07/14/how-to-fix-palm-pres-error-sending-mail-problem-7/feed/</wfw:commentRss> <slash:comments>36</slash:comments> </item> <item><title>How To Fix Redrawing Problems In Your VNC</title><link>http://beerpla.net/2009/05/18/how-to-fix-redrawing-problems-in-your-vnc/</link> <comments>http://beerpla.net/2009/05/18/how-to-fix-redrawing-problems-in-your-vnc/#comments</comments> <pubDate>Mon, 18 May 2009 21:41:00 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Stuff]]></category> <category><![CDATA[charles]]></category> <category><![CDATA[issue]]></category> <category><![CDATA[Java]]></category> <category><![CDATA[problem]]></category> <category><![CDATA[realvnc]]></category> <category><![CDATA[redraw]]></category> <category><![CDATA[screen]]></category> <category><![CDATA[smartsvn]]></category> <category><![CDATA[update]]></category> <category><![CDATA[vnc]]></category> <guid
isPermaLink="false">http://beerpla.net/2009/05/18/how-to-fix-redrawing-problems-in-your-vnc/</guid> <description><![CDATA[<h2>The Problem</h2><p>If you use VNC to remotely connect to your machines and are having problems with certain applications not showing changes (redrawing), this will, hopefully, solve the problem for you.</p><p>The symptoms are simple: you load a program but only the program outline and maybe the first frame would show up. After that, nothing would update, even though the user in front of the remote computer can see everything updating fine. For me, it is happening with all Java based programs (<a
href="http://www.smartsvn.com" rel="nofollow">SmartSVN</a>, <a
href="http://www.charlesproxy.com" rel="nofollow">Charles</a> &#8211; amazing program btw!, etc). Here&#039;s what&#039;s happening to my Charles application &#8211; it never even sent the first frame, simply showing the desktop and not updating:</p><p><a
href="http://beerpla.net/wp-content/uploads/HowToFixRedrawingProblemsInYourVNCRealVN_CB15/image.png" class="lightview" rel="gallery['969']" title="image"><img
title="image" style="display: block; float: none; margin-left: auto; margin-right: auto" height="215" alt="image" src="http://beerpla.net/wp-content/uploads/HowToFixRedrawingProblemsInYourVNCRealVN_CB15/image_thumb.png" width="355" /></a></p><p>The problem may...<div
class=clear></div> <a
href="http://beerpla.net/2009/05/18/how-to-fix-redrawing-problems-in-your-vnc/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<h2>The Problem</h2><p>If you use VNC to remotely connect to your machines and are having problems with certain applications not showing changes (redrawing), this will, hopefully, solve the problem for you.</p><p>The symptoms are simple: you load a program but only the program outline and maybe the first frame would show up. After that, nothing would update, even though the user in front of the remote computer can see everything updating fine. For me, it is happening with all Java based programs (<a
href="http://www.smartsvn.com" rel="nofollow">SmartSVN</a>, <a
href="http://www.charlesproxy.com" rel="nofollow">Charles</a> &#8211; amazing program btw!, etc). Here&#039;s what&#039;s happening to my Charles application &#8211; it never even sent the first frame, simply showing the desktop and not updating:</p><p><a
href="http://beerpla.net/wp-content/uploads/HowToFixRedrawingProblemsInYourVNCRealVN_CB15/image.png" class="lightview" rel="gallery['969']" title="image"><img
title="image" style="display: block; float: none; margin-left: auto; margin-right: auto" height="215" alt="image" src="http://beerpla.net/wp-content/uploads/HowToFixRedrawingProblemsInYourVNCRealVN_CB15/image_thumb.png" width="355" /></a></p><p>The problem may be confined to RealVNC only, or at least any VNC program that uses a special mirror driver. You can tell whether your VNC server uses a mirror driver by looking at your Settings-&gt;Desktop options under &quot;Optimise screen capture (mirror driver)&quot;:</p><p
align="center"><a
href="http://beerpla.net/wp-content/uploads/HowToFixRedrawingProblemsInYourVNCRealVN_CB15/image_3.png" class="lightview" rel="gallery['969']" title="image"><img
title="image" style="display: inline" height="397" alt="image" src="http://beerpla.net/wp-content/uploads/HowToFixRedrawingProblemsInYourVNCRealVN_CB15/image_thumb_3.png" width="340" /></a></p><h2>The Solution</h2><p>I&#039;m not sure if it&#039;s Java&#039;s fault or the mirror driver&#039;s but, as it turns out, the mirror driver does not properly work with Java based programs, at least at the moment. Disabling it, or switching to application hooking fixes the problem. There is most likely a benefit in using a mirror driver as it is probably optimized better than other methods, but it&#039;s not worth keeping if you are having problems with it.</p><p>The easiest way to disable the setting is to uncheck the checkbox above. You can also alternatively go to Expert options, find the UpdateMethod variable, and switch it to 0 or 1. I am fairly confident the setting of 1 is less resource intensive than 0, so I went with it.</p><p
align="center"><a
href="http://beerpla.net/wp-content/uploads/HowToFixRedrawingProblemsInYourVNCRealVN_CB15/image_4.png" class="lightview" rel="gallery['969']" title="image"><img
title="image" style="display: inline" height="92" alt="image" src="http://beerpla.net/wp-content/uploads/HowToFixRedrawingProblemsInYourVNCRealVN_CB15/image_thumb_4.png" width="502" /></a></p></p><p>My Java programs are fixed and redrawing fine now.</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Redrawing+Problems+In+Your+VNC&amp;link=http://beerpla.net/2009/05/18/how-to-fix-redrawing-problems-in-your-vnc/&amp;notes=The%20Problem%20%20If%20you%20use%20VNC%20to%20remotely%20connect%20to%20your%20machines%20and%20are%20having%20problems%20with%20certain%20applications%20not%20showing%20changes%20%28redrawing%29%2C%20this%20will%2C%20hopefully%2C%20solve%20the%20problem%20for%20you.%20%20The%20symptoms%20are%20simple%3A%20you%20load%20a%20program%20but%20only%20the%20program%20outline%20and%20maybe%20the%20first%20frame%20wou&amp;short_link=http://bit.ly/bhJEFN&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Redrawing+Problems+In+Your+VNC&amp;link=http://beerpla.net/2009/05/18/how-to-fix-redrawing-problems-in-your-vnc/&amp;notes=The%20Problem%20%20If%20you%20use%20VNC%20to%20remotely%20connect%20to%20your%20machines%20and%20are%20having%20problems%20with%20certain%20applications%20not%20showing%20changes%20%28redrawing%29%2C%20this%20will%2C%20hopefully%2C%20solve%20the%20problem%20for%20you.%20%20The%20symptoms%20are%20simple%3A%20you%20load%20a%20program%20but%20only%20the%20program%20outline%20and%20maybe%20the%20first%20frame%20wou&amp;short_link=http://bit.ly/bhJEFN&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Redrawing+Problems+In+Your+VNC&amp;link=http://beerpla.net/2009/05/18/how-to-fix-redrawing-problems-in-your-vnc/&amp;notes=The%20Problem%20%20If%20you%20use%20VNC%20to%20remotely%20connect%20to%20your%20machines%20and%20are%20having%20problems%20with%20certain%20applications%20not%20showing%20changes%20%28redrawing%29%2C%20this%20will%2C%20hopefully%2C%20solve%20the%20problem%20for%20you.%20%20The%20symptoms%20are%20simple%3A%20you%20load%20a%20program%20but%20only%20the%20program%20outline%20and%20maybe%20the%20first%20frame%20wou&amp;short_link=http://bit.ly/bhJEFN&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Redrawing+Problems+In+Your+VNC&amp;link=http://beerpla.net/2009/05/18/how-to-fix-redrawing-problems-in-your-vnc/&amp;notes=The%20Problem%20%20If%20you%20use%20VNC%20to%20remotely%20connect%20to%20your%20machines%20and%20are%20having%20problems%20with%20certain%20applications%20not%20showing%20changes%20%28redrawing%29%2C%20this%20will%2C%20hopefully%2C%20solve%20the%20problem%20for%20you.%20%20The%20symptoms%20are%20simple%3A%20you%20load%20a%20program%20but%20only%20the%20program%20outline%20and%20maybe%20the%20first%20frame%20wou&amp;short_link=http://bit.ly/bhJEFN&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Redrawing+Problems+In+Your+VNC&amp;link=http://beerpla.net/2009/05/18/how-to-fix-redrawing-problems-in-your-vnc/&amp;notes=The%20Problem%20%20If%20you%20use%20VNC%20to%20remotely%20connect%20to%20your%20machines%20and%20are%20having%20problems%20with%20certain%20applications%20not%20showing%20changes%20%28redrawing%29%2C%20this%20will%2C%20hopefully%2C%20solve%20the%20problem%20for%20you.%20%20The%20symptoms%20are%20simple%3A%20you%20load%20a%20program%20but%20only%20the%20program%20outline%20and%20maybe%20the%20first%20frame%20wou&amp;short_link=http://bit.ly/bhJEFN&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Redrawing+Problems+In+Your+VNC&amp;link=http://beerpla.net/2009/05/18/how-to-fix-redrawing-problems-in-your-vnc/&amp;notes=The%20Problem%20%20If%20you%20use%20VNC%20to%20remotely%20connect%20to%20your%20machines%20and%20are%20having%20problems%20with%20certain%20applications%20not%20showing%20changes%20%28redrawing%29%2C%20this%20will%2C%20hopefully%2C%20solve%20the%20problem%20for%20you.%20%20The%20symptoms%20are%20simple%3A%20you%20load%20a%20program%20but%20only%20the%20program%20outline%20and%20maybe%20the%20first%20frame%20wou&amp;short_link=http://bit.ly/bhJEFN&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Fix+Redrawing+Problems+In+Your+VNC&amp;link=http://beerpla.net/2009/05/18/how-to-fix-redrawing-problems-in-your-vnc/&amp;notes=The%20Problem%20%20If%20you%20use%20VNC%20to%20remotely%20connect%20to%20your%20machines%20and%20are%20having%20problems%20with%20certain%20applications%20not%20showing%20changes%20%28redrawing%29%2C%20this%20will%2C%20hopefully%2C%20solve%20the%20problem%20for%20you.%20%20The%20symptoms%20are%20simple%3A%20you%20load%20a%20program%20but%20only%20the%20program%20outline%20and%20maybe%20the%20first%20frame%20wou&amp;short_link=http://bit.ly/bhJEFN&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=How%20To%20Fix%20Redrawing%20Problems%20In%20Your%20VNC&amp;link=http://beerpla.net/2009/05/18/how-to-fix-redrawing-problems-in-your-vnc/&amp;notes=The%20Problem%20%20If%20you%20use%20VNC%20to%20remotely%20connect%20to%20your%20machines%20and%20are%20having%20problems%20with%20certain%20applications%20not%20showing%20changes%20%28redrawing%29%2C%20this%20will%2C%20hopefully%2C%20solve%20the%20problem%20for%20you.%20%20The%20symptoms%20are%20simple%3A%20you%20load%20a%20program%20but%20only%20the%20program%20outline%20and%20maybe%20the%20first%20frame%20wou&amp;short_link=http://bit.ly/bhJEFN&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2009/11/18/sprint-and-htc-release-the-first-htc-hero-firmware-update-1-56-fixes-major-bugs-adds-small-tweaks/" rel="bookmark" title="November 18, 2009">Sprint And HTC Release The First HTC Hero Firmware Update 1.56: Fixes Major Bugs, Adds Small Tweaks</a></li><li><a
href="http://beerpla.net/2007/07/09/the-repositories-for-apt-get-in-suse-102/" rel="bookmark" title="July 9, 2007">The Repositories For apt-get In SUSE 10.2</a></li><li><a
href="http://beerpla.net/2009/11/21/meet-firefox-for-mobile-video-feature-highlights-more-info/" rel="bookmark" title="November 21, 2009">Meet Firefox For Mobile [Video + Feature Highlights + More Info]</a></li><li><a
href="http://beerpla.net/2008/06/16/how-to-svn-update-all-your-wordpress-plugins-in-one-go/" rel="bookmark" title="June 16, 2008">How To SVN Update All Your WordPress Plugins In One Go</a></li><li><a
href="http://beerpla.net/2009/07/14/how-to-fix-palm-pres-error-sending-mail-problem-7/" rel="bookmark" title="July 14, 2009">How To Fix Palm Pre&#039;s &quot;Error Sending Mail&quot; Problem</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2009%2F05%2F18%2Fhow-to-fix-redrawing-problems-in-your-vnc%2F&amp;title=How%20To%20Fix%20Redrawing%20Problems%20In%20Your%20VNC" id="wpa2a_12"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2009/05/18/how-to-fix-redrawing-problems-in-your-vnc/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>MySQL Indexing Considerations Of Implementing A Priority Field In Your Application</title><link>http://beerpla.net/2009/03/18/mysql-indexing-considerations-of-implementing-a-priority-field-in-your-application/</link> <comments>http://beerpla.net/2009/03/18/mysql-indexing-considerations-of-implementing-a-priority-field-in-your-application/#comments</comments> <pubDate>Wed, 18 Mar 2009 14:00:00 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Databases]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[MySQL]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[asc]]></category> <category><![CDATA[desc]]></category> <category><![CDATA[how]]></category> <category><![CDATA[index]]></category> <category><![CDATA[order]]></category> <category><![CDATA[priority]]></category> <category><![CDATA[problem]]></category> <category><![CDATA[solution]]></category> <guid
isPermaLink="false">http://beerpla.net/2009/03/18/mysql-indexing-considerations-of-implementing-a-priority-field-in-your-application/</guid> <description><![CDATA[<h2>Introduction</h2><p>If you, like me, are building or thinking of implementing a MySQL-powered application that has any need for prioritizing selecting certain data over other data, this article is for you.</p><h2>Example</h2><p>As a real world example, consider a queue-like video processing system. Your application receives new videos and processes them. The volume of incoming videos can at times be higher than the processing rate because the process is CPU bound, so occasionally a pretty long queue may form. You will try to process them as fast as you can but…</p><p><div
class="note"><div
class="noteclassic">Note that I am using a queue here, so the <strong>the next item to be processed is a result of sorting by some sort of field in a <em>ascending</em></strong></div></div>...<div
class=clear></div> <a
href="http://beerpla.net/2009/03/18/mysql-indexing-considerations-of-implementing-a-priority-field-in-your-application/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<h2>Introduction</h2><p>If you, like me, are building or thinking of implementing a MySQL-powered application that has any need for prioritizing selecting certain data over other data, this article is for you.</p><h2>Example</h2><p>As a real world example, consider a queue-like video processing system. Your application receives new videos and processes them. The volume of incoming videos can at times be higher than the processing rate because the process is CPU bound, so occasionally a pretty long queue may form. You will try to process them as fast as you can but…</p><p><div
class="note"><div
class="noteclassic">Note that I am using a queue here, so the <strong>the next item to be processed is a result of sorting by some sort of field in a <em>ascending </em>order</strong>, for example ORDER BY id or ORDER BY upload_date. I’ll pick the id sort here.</div></div></p><p>…suddenly, you need to process a video somewhere in the middle of the queue or an important video enters and needs immediate attention. What do you do?</p><p>An obvious solution is implementing a simple priority system where each item has a numeric priority field. Now you can sort first by priority from highest to lowest and then by id within the highest priority. Important and urgent items get a their priority changed to something higher and get processed first. There is only one problem.</p><h2>Problem</h2><p>The problem is pretty serious – let’s take a look at the SELECT statement. Before selecting, I’ve added 19 random rows to have some data to work on.</p><div
class="wp_syntax"><div
class="code"><pre>SELECT * FROM queue ORDER BY priority DESC, id LIMIT 1;</pre></div></div><p>What kind of index would you put on this table to speed up this query? You do want to add a proper index, don’t you? DO YOU? Ok, good.</p><p>&nbsp;</p><p>Here’s what happens without any indexes:</p><div
class="wp_syntax"><div
class="code"><pre>mysql&gt; EXPLAIN SELECT * FROM queue ORDER BY priority DESC, id LIMIT 1;
+----+-------------+-------+------+---------------+------+---------+------+------+----------------+
| id | select_type | table | type | possible_keys | key  | key_len | ref  | rows | Extra          |
+----+-------------+-------+------+---------------+------+---------+------+------+----------------+
|  1 | SIMPLE      | queue | ALL  | NULL          | NULL | NULL    | NULL |   19 | Using filesort |
+----+-------------+-------+------+---------------+------+---------+------+------+----------------+
1 row in set (0.00 sec)</pre></div></div><p><em>Using filesort</em>, ugh, of course, due to sorting without an index.</p><p>&nbsp;</p><p>Let’s see, how about a combined index on (priority, id)?</p><div
class="wp_syntax"><div
class="code"><pre>mysql&gt; ALTER TABLE `queue` ADD INDEX `priority_id`(`priority`, `id`);
Query OK, 19 rows affected (0.05 sec)
Records: 19  Duplicates: 0  Warnings: 0
&nbsp;
mysql&gt; EXPLAIN SELECT * FROM queue ORDER BY priority DESC, id LIMIT 1;
+----+-------------+-------+-------+---------------+-------------+---------+------+------+-----------------------------+
| id | select_type | table | type  | possible_keys | key         | key_len | ref  | rows | Extra                       |
+----+-------------+-------+-------+---------------+-------------+---------+------+------+-----------------------------+
|  1 | SIMPLE      | queue | index | NULL          | priority_id | 5       | NULL |   19 | Using index; Using filesort |
+----+-------------+-------+-------+---------------+-------------+---------+------+------+-----------------------------+
1 row in set (0.00 sec)</pre></div></div><p>Better because an index is being used but not very good because filesort is still present. “Of course!”, you slap yourself on the forehead. The first ORDER BY uses a DESCENDING order, and our key is in ASCENDING order.</p><p>&nbsp;</p><p>So, let’s add the proper key with the right ordering instead.</p><div
class="wp_syntax"><div
class="code"><pre>mysql&gt; ALTER TABLE `queue` DROP INDEX `priority_id`;
Query OK, 19 rows affected (0.05 sec)
Records: 19  Duplicates: 0  Warnings: 0
&nbsp;
mysql&gt; ALTER TABLE `queue` ADD INDEX `priority_id`(`priority` DESC, `id`);
Query OK, 19 rows affected (0.06 sec)
Records: 19  Duplicates: 0  Warnings: 0</pre></div></div><div
class="wp_syntax"><div
class="code"><pre>mysql&gt; EXPLAIN SELECT * FROM queue ORDER BY priority DESC, id LIMIT 1;
+----+-------------+-------+-------+---------------+-------------+---------+------+------+-----------------------------+
| id | select_type | table | type  | possible_keys | key         | key_len | ref  | rows | Extra                       |
+----+-------------+-------+-------+---------------+-------------+---------+------+------+-----------------------------+
|  1 | SIMPLE      | queue | index | NULL          | priority_id | 5       | NULL |   19 | Using index; Using filesort |
+----+-------------+-------+-------+---------------+-------------+---------+------+------+-----------------------------+
1 row in set (0.00 sec)</pre></div></div><pre></pre><p>What the deuce? This is the same result as with the previous index. Time to dig up the documentation.</p><p>&nbsp;</p><p>Here is what the MySQL manual has to say under the <a
href="http://dev.mysql.com/doc/refman/5.1/en/order-by-optimization.html">ORDER BY optimization</a> section:</p><blockquote><p>MySQL <em>cannot</em> use indexes to resolve the ORDER BY, although it still uses indexes to find the rows that match the WHERE clause … if you mix ASC and DESC:</p></blockquote><blockquote><div
class="wp_syntax"><div
class="code"><pre>SELECT * FROM t1 ORDER BY key_part1 DESC, key_part2 ASC;</pre></div></div></blockquote><p>Moreover, to confuse the user even more, the index creation command accepts the DESC instruction, without actually honoring it, as specified in the <a
href="http://dev.mysql.com/doc/refman/5.1/en/create-index.html" rel="nofollow">CREATE INDEX</a> section:</p><blockquote><p>An <em>index_col_name</em> specification can end with ASC or DESC. These keywords are allowed for future extensions for specifying ascending or descending index value storage. Currently, they are parsed but ignored; index values are always stored in ascending order.</p></blockquote><p>So, after so many years MySQL still doesn’t support such basic functionality – you are either stuck with a query that uses filesort or have to look for a workaround.</p><h2>Solution</h2><p>Since it’s not possible to mix order directions, the solution is then to change the meaning of the priority column to match your needs. Thus, in the new approach priority 1 is higher than priority 10, and the application logic needs to accommodate to that. If you caught this while the application is still young, the code may be easy to change, but otherwise it could be a major pain in the butt.</p><h2>Conclusion</h2><p>The moral here is: plan your queries ahead and don’t mix and match DESC and ASC ordering as MySQL will not be able to use an index to resolve it. Do it even sooner if you’re putting lots and lots of data into your tables.</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=MySQL+Indexing+Considerations+Of+Implementing+A+Priority+Field+In+Your+Application&amp;link=http://beerpla.net/2009/03/18/mysql-indexing-considerations-of-implementing-a-priority-field-in-your-application/&amp;notes=Introduction%20If%20you%2C%20like%20me%2C%20are%20building%20or%20thinking%20of%20implementing%20a%20MySQL-powered%20application%20that%20has%20any%20need%20for%20prioritizing%20selecting%20certain%20data%20over%20other%20data%2C%20this%20article%20is%20for%20you.%20Example%20As%20a%20real%20world%20example%2C%20consider%20a%20queue-like%20video%20processing%20system.%20Your%20application%20rece&amp;short_link=http://bit.ly/csuKMb&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=MySQL+Indexing+Considerations+Of+Implementing+A+Priority+Field+In+Your+Application&amp;link=http://beerpla.net/2009/03/18/mysql-indexing-considerations-of-implementing-a-priority-field-in-your-application/&amp;notes=Introduction%20If%20you%2C%20like%20me%2C%20are%20building%20or%20thinking%20of%20implementing%20a%20MySQL-powered%20application%20that%20has%20any%20need%20for%20prioritizing%20selecting%20certain%20data%20over%20other%20data%2C%20this%20article%20is%20for%20you.%20Example%20As%20a%20real%20world%20example%2C%20consider%20a%20queue-like%20video%20processing%20system.%20Your%20application%20rece&amp;short_link=http://bit.ly/csuKMb&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=MySQL+Indexing+Considerations+Of+Implementing+A+Priority+Field+In+Your+Application&amp;link=http://beerpla.net/2009/03/18/mysql-indexing-considerations-of-implementing-a-priority-field-in-your-application/&amp;notes=Introduction%20If%20you%2C%20like%20me%2C%20are%20building%20or%20thinking%20of%20implementing%20a%20MySQL-powered%20application%20that%20has%20any%20need%20for%20prioritizing%20selecting%20certain%20data%20over%20other%20data%2C%20this%20article%20is%20for%20you.%20Example%20As%20a%20real%20world%20example%2C%20consider%20a%20queue-like%20video%20processing%20system.%20Your%20application%20rece&amp;short_link=http://bit.ly/csuKMb&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=MySQL+Indexing+Considerations+Of+Implementing+A+Priority+Field+In+Your+Application&amp;link=http://beerpla.net/2009/03/18/mysql-indexing-considerations-of-implementing-a-priority-field-in-your-application/&amp;notes=Introduction%20If%20you%2C%20like%20me%2C%20are%20building%20or%20thinking%20of%20implementing%20a%20MySQL-powered%20application%20that%20has%20any%20need%20for%20prioritizing%20selecting%20certain%20data%20over%20other%20data%2C%20this%20article%20is%20for%20you.%20Example%20As%20a%20real%20world%20example%2C%20consider%20a%20queue-like%20video%20processing%20system.%20Your%20application%20rece&amp;short_link=http://bit.ly/csuKMb&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=MySQL+Indexing+Considerations+Of+Implementing+A+Priority+Field+In+Your+Application&amp;link=http://beerpla.net/2009/03/18/mysql-indexing-considerations-of-implementing-a-priority-field-in-your-application/&amp;notes=Introduction%20If%20you%2C%20like%20me%2C%20are%20building%20or%20thinking%20of%20implementing%20a%20MySQL-powered%20application%20that%20has%20any%20need%20for%20prioritizing%20selecting%20certain%20data%20over%20other%20data%2C%20this%20article%20is%20for%20you.%20Example%20As%20a%20real%20world%20example%2C%20consider%20a%20queue-like%20video%20processing%20system.%20Your%20application%20rece&amp;short_link=http://bit.ly/csuKMb&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=MySQL+Indexing+Considerations+Of+Implementing+A+Priority+Field+In+Your+Application&amp;link=http://beerpla.net/2009/03/18/mysql-indexing-considerations-of-implementing-a-priority-field-in-your-application/&amp;notes=Introduction%20If%20you%2C%20like%20me%2C%20are%20building%20or%20thinking%20of%20implementing%20a%20MySQL-powered%20application%20that%20has%20any%20need%20for%20prioritizing%20selecting%20certain%20data%20over%20other%20data%2C%20this%20article%20is%20for%20you.%20Example%20As%20a%20real%20world%20example%2C%20consider%20a%20queue-like%20video%20processing%20system.%20Your%20application%20rece&amp;short_link=http://bit.ly/csuKMb&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=MySQL+Indexing+Considerations+Of+Implementing+A+Priority+Field+In+Your+Application&amp;link=http://beerpla.net/2009/03/18/mysql-indexing-considerations-of-implementing-a-priority-field-in-your-application/&amp;notes=Introduction%20If%20you%2C%20like%20me%2C%20are%20building%20or%20thinking%20of%20implementing%20a%20MySQL-powered%20application%20that%20has%20any%20need%20for%20prioritizing%20selecting%20certain%20data%20over%20other%20data%2C%20this%20article%20is%20for%20you.%20Example%20As%20a%20real%20world%20example%2C%20consider%20a%20queue-like%20video%20processing%20system.%20Your%20application%20rece&amp;short_link=http://bit.ly/csuKMb&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=MySQL%20Indexing%20Considerations%20Of%20Implementing%20A%20Priority%20Field%20In%20Your%20Application&amp;link=http://beerpla.net/2009/03/18/mysql-indexing-considerations-of-implementing-a-priority-field-in-your-application/&amp;notes=Introduction%20If%20you%2C%20like%20me%2C%20are%20building%20or%20thinking%20of%20implementing%20a%20MySQL-powered%20application%20that%20has%20any%20need%20for%20prioritizing%20selecting%20certain%20data%20over%20other%20data%2C%20this%20article%20is%20for%20you.%20Example%20As%20a%20real%20world%20example%2C%20consider%20a%20queue-like%20video%20processing%20system.%20Your%20application%20rece&amp;short_link=http://bit.ly/csuKMb&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2008/04/15/mysql-conference-liveblogging-explain-demystified-tuesday-200p/" rel="bookmark" title="April 15, 2008">MySQL Conference Liveblogging: EXPLAIN Demystified (Tuesday 2:00PM)</a></li><li><a
href="http://beerpla.net/2009/02/17/swapping-column-values-in-mysql/" rel="bookmark" title="February 17, 2009">Swapping Column Values in MySQL</a></li><li><a
href="http://beerpla.net/2009/05/11/mysql-deletingupdating-rows-common-to-2-tables-speed-and-slave-lag-considerations/" rel="bookmark" title="May 11, 2009">[MySQL] Deleting/Updating Rows Common To 2 Tables &#8211; Speed And Slave Lag Considerations</a></li><li><a
href="http://beerpla.net/2008/04/16/mysql-conference-liveblogging-mysql-performance-under-a-microscope-the-tobias-and-jay-show-wednesday-200pm/" rel="bookmark" title="April 16, 2008">MySQL Conference Liveblogging: MySQL Performance Under A Microscope: The Tobias And Jay Show (Wednesday 2:00PM)</a></li><li><a
href="http://beerpla.net/2008/04/17/mysql-conference-liveblogging-optimizing-mysql-for-high-volume-data-logging-applications-thursday-250pm/" rel="bookmark" title="April 17, 2008">MySQL Conference Liveblogging: Optimizing MySQL For High Volume Data Logging Applications (Thursday 2:50PM)</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2009%2F03%2F18%2Fmysql-indexing-considerations-of-implementing-a-priority-field-in-your-application%2F&amp;title=MySQL%20Indexing%20Considerations%20Of%20Implementing%20A%20Priority%20Field%20In%20Your%20Application" id="wpa2a_14"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2009/03/18/mysql-indexing-considerations-of-implementing-a-priority-field-in-your-application/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Debugging Weird sshd Connection Problems + What Happens When You Stop sshd</title><link>http://beerpla.net/2008/08/15/debugging-weird-sshd-connection-problems-what-happens-when-you-stop-sshd/</link> <comments>http://beerpla.net/2008/08/15/debugging-weird-sshd-connection-problems-what-happens-when-you-stop-sshd/#comments</comments> <pubDate>Fri, 15 Aug 2008 16:14:53 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[connection]]></category> <category><![CDATA[debug]]></category> <category><![CDATA[key]]></category> <category><![CDATA[keyboard interactive]]></category> <category><![CDATA[problem]]></category> <category><![CDATA[refuse]]></category> <category><![CDATA[sshd]]></category> <category><![CDATA[stop]]></category> <guid
isPermaLink="false">http://beerpla.net/2008/08/15/debugging-weird-sshd-connection-problems-what-happens-when-you-stop-sshd/</guid> <description><![CDATA[<p>So the other day I was setting up public key authentication for one of my users, which is usually very straightforward: generate a private/public key pair, stick the private key into user&#039;s .ssh dir, set dir permissions to 0700, private key permissions to 0600, stick the public key into the authorized_keys file on the server, and the job&#039;s done. However, this time, no matter what I was doing, the public key was being rejected or ignored and the system was moving on to the keyboard-interactive authentication.</p><p>Debugging on the client side with -v didn&#039;t help much:</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
</pre></td><td
class="code"><pre>artem@DeathStar:~/svn/b2/Fetch/LinkChecker&#62; ssh</pre></td></tr></table></div><p>...<div
class=clear></div> <a
href="http://beerpla.net/2008/08/15/debugging-weird-sshd-connection-problems-what-happens-when-you-stop-sshd/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<p>So the other day I was setting up public key authentication for one of my users, which is usually very straightforward: generate a private/public key pair, stick the private key into user&#039;s .ssh dir, set dir permissions to 0700, private key permissions to 0600, stick the public key into the authorized_keys file on the server, and the job&#039;s done. However, this time, no matter what I was doing, the public key was being rejected or ignored and the system was moving on to the keyboard-interactive authentication.</p><p>Debugging on the client side with -v didn&#039;t help much:</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
</pre></td><td
class="code"><pre>artem@DeathStar:~/svn/b2/Fetch/LinkChecker&gt; ssh -v monkey@192.168.1.30
OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Feb 2007
...
lots of boring shit
...
debug1: Found key in /home/artem/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
...
more boring shit
...
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Offering public key:
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Offering public key:
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Offering public key: /home/artem/.ssh/id_rsa
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Trying private key: /home/artem/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive
Password:</pre></td></tr></table></div><p>After breaking my head over possible reasons why the pile of junk that thinks it&#039;s smarter than me next to my feet doesn&#039;t work, kicking it a few times, and observing the same result, I turned to debugging the ssh daemon itself &#8211; sshd.</p><ul><li>The -d option disables the daemon mode and enables debug mode, in which only 1 connection is accepted for the lifetime of the server, after which it simply quits.</li><li>-dd simply enables a more detailed output.</li><li>-e switches this debug output from a log file to STDOUT.</li></ul><p>However, to free up port 22, I had to stop the daemon that was already running, or else a &#034;Bind to port 22 on 0.0.0.0 failed: Address already in use.&#034; error appeared (duh). An interesting question though, especially for people doing this to remote boxes, what happens when one stops sshd? Ever thought of doing that but instead ran over to your mommy crying like a little girl? Well, fear no more, because I&#039;ll tell you exactly what happens:</p><ol><li>New users will have their connection refused.</li><li>Your own connection will not be interrrupted. sshd works by spawning a new instance of itself for every incoming connection, so your own sshd process will stay in memory.</li></ol><p> So where was I?</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
</pre></td><td
class="code"><pre>/usr/sbin/sshd -dd -e</pre></td></tr></table></div><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
3
4
</pre></td><td
class="code"><pre>...
Authentication refused: bad ownership or modes for directory /home/monkey
...
Failed publickey for monkey from 192.168.1.30 port 56287 ssh2</pre></td></tr></table></div><p>AhA!! (emphasis on the last &#039;a&#039;). What have we here?</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
</pre></td><td
class="code"><pre>artem@DeathStar:~&gt; cd /home/
artem@DeathStar:/home/&gt; l
drwxrwx--- 29 monkey  users 4096 2008-08-06 23:14 monkey/
&nbsp;
DeathStar:/home/ # chmod 755 monkey
drwxr-xr-x 29 monkey  users 4096 2008-08-06 23:14 monkey/
&nbsp;
artem@DeathStar:~/svn/b2/Fetch/LinkChecker&gt; ssh -v monkey@192.168.1.30
OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Feb 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 192.168.1.30 [192.168.1.30] port 22.
debug1: Connection established.
debug1: identity file /home/artem/.ssh/id_rsa type 1
debug1: identity file /home/artem/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.6
debug1: match: OpenSSH_4.6 pat OpenSSH*
...</pre></td></tr></table></div><p>Connection established, all systems are go, the key has been accepted.</p><p>Inspired by <a
href="http://linux.derkeiler.com/Mailing-Lists/Fedora/2005-08/1105.html">http://linux.derkeiler.com/Mailing-Lists/Fedora/2005-08/1105.html</a></p><p>P.S. Don&#039;t forget to /etc/init.d/sshd start. <img
src='http://beerpla.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=Debugging+Weird+sshd+Connection+Problems+%2B+What+Happens+When+You+Stop+sshd&amp;link=http://beerpla.net/2008/08/15/debugging-weird-sshd-connection-problems-what-happens-when-you-stop-sshd/&amp;notes=So%20the%20other%20day%20I%20was%20setting%20up%20public%20key%20authentication%20for%20one%20of%20my%20users%2C%20which%20is%20usually%20very%20straightforward%3A%20generate%20a%20private%2Fpublic%20key%20pair%2C%20stick%20the%20private%20key%20into%20user%27s%20.ssh%20dir%2C%20set%20dir%20permissions%20to%200700%2C%20private%20key%20permissions%20to%200600%2C%20stick%20the%20public%20key%20into%20the%20authoriz&amp;short_link=http://bit.ly/cy1sPs&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=Debugging+Weird+sshd+Connection+Problems+%2B+What+Happens+When+You+Stop+sshd&amp;link=http://beerpla.net/2008/08/15/debugging-weird-sshd-connection-problems-what-happens-when-you-stop-sshd/&amp;notes=So%20the%20other%20day%20I%20was%20setting%20up%20public%20key%20authentication%20for%20one%20of%20my%20users%2C%20which%20is%20usually%20very%20straightforward%3A%20generate%20a%20private%2Fpublic%20key%20pair%2C%20stick%20the%20private%20key%20into%20user%27s%20.ssh%20dir%2C%20set%20dir%20permissions%20to%200700%2C%20private%20key%20permissions%20to%200600%2C%20stick%20the%20public%20key%20into%20the%20authoriz&amp;short_link=http://bit.ly/cy1sPs&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=Debugging+Weird+sshd+Connection+Problems+%2B+What+Happens+When+You+Stop+sshd&amp;link=http://beerpla.net/2008/08/15/debugging-weird-sshd-connection-problems-what-happens-when-you-stop-sshd/&amp;notes=So%20the%20other%20day%20I%20was%20setting%20up%20public%20key%20authentication%20for%20one%20of%20my%20users%2C%20which%20is%20usually%20very%20straightforward%3A%20generate%20a%20private%2Fpublic%20key%20pair%2C%20stick%20the%20private%20key%20into%20user%27s%20.ssh%20dir%2C%20set%20dir%20permissions%20to%200700%2C%20private%20key%20permissions%20to%200600%2C%20stick%20the%20public%20key%20into%20the%20authoriz&amp;short_link=http://bit.ly/cy1sPs&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=Debugging+Weird+sshd+Connection+Problems+%2B+What+Happens+When+You+Stop+sshd&amp;link=http://beerpla.net/2008/08/15/debugging-weird-sshd-connection-problems-what-happens-when-you-stop-sshd/&amp;notes=So%20the%20other%20day%20I%20was%20setting%20up%20public%20key%20authentication%20for%20one%20of%20my%20users%2C%20which%20is%20usually%20very%20straightforward%3A%20generate%20a%20private%2Fpublic%20key%20pair%2C%20stick%20the%20private%20key%20into%20user%27s%20.ssh%20dir%2C%20set%20dir%20permissions%20to%200700%2C%20private%20key%20permissions%20to%200600%2C%20stick%20the%20public%20key%20into%20the%20authoriz&amp;short_link=http://bit.ly/cy1sPs&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=Debugging+Weird+sshd+Connection+Problems+%2B+What+Happens+When+You+Stop+sshd&amp;link=http://beerpla.net/2008/08/15/debugging-weird-sshd-connection-problems-what-happens-when-you-stop-sshd/&amp;notes=So%20the%20other%20day%20I%20was%20setting%20up%20public%20key%20authentication%20for%20one%20of%20my%20users%2C%20which%20is%20usually%20very%20straightforward%3A%20generate%20a%20private%2Fpublic%20key%20pair%2C%20stick%20the%20private%20key%20into%20user%27s%20.ssh%20dir%2C%20set%20dir%20permissions%20to%200700%2C%20private%20key%20permissions%20to%200600%2C%20stick%20the%20public%20key%20into%20the%20authoriz&amp;short_link=http://bit.ly/cy1sPs&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=Debugging+Weird+sshd+Connection+Problems+%2B+What+Happens+When+You+Stop+sshd&amp;link=http://beerpla.net/2008/08/15/debugging-weird-sshd-connection-problems-what-happens-when-you-stop-sshd/&amp;notes=So%20the%20other%20day%20I%20was%20setting%20up%20public%20key%20authentication%20for%20one%20of%20my%20users%2C%20which%20is%20usually%20very%20straightforward%3A%20generate%20a%20private%2Fpublic%20key%20pair%2C%20stick%20the%20private%20key%20into%20user%27s%20.ssh%20dir%2C%20set%20dir%20permissions%20to%200700%2C%20private%20key%20permissions%20to%200600%2C%20stick%20the%20public%20key%20into%20the%20authoriz&amp;short_link=http://bit.ly/cy1sPs&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=Debugging+Weird+sshd+Connection+Problems+%2B+What+Happens+When+You+Stop+sshd&amp;link=http://beerpla.net/2008/08/15/debugging-weird-sshd-connection-problems-what-happens-when-you-stop-sshd/&amp;notes=So%20the%20other%20day%20I%20was%20setting%20up%20public%20key%20authentication%20for%20one%20of%20my%20users%2C%20which%20is%20usually%20very%20straightforward%3A%20generate%20a%20private%2Fpublic%20key%20pair%2C%20stick%20the%20private%20key%20into%20user%27s%20.ssh%20dir%2C%20set%20dir%20permissions%20to%200700%2C%20private%20key%20permissions%20to%200600%2C%20stick%20the%20public%20key%20into%20the%20authoriz&amp;short_link=http://bit.ly/cy1sPs&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=Debugging%20Weird%20sshd%20Connection%20Problems%20%2B%20What%20Happens%20When%20You%20Stop%20sshd&amp;link=http://beerpla.net/2008/08/15/debugging-weird-sshd-connection-problems-what-happens-when-you-stop-sshd/&amp;notes=So%20the%20other%20day%20I%20was%20setting%20up%20public%20key%20authentication%20for%20one%20of%20my%20users%2C%20which%20is%20usually%20very%20straightforward%3A%20generate%20a%20private%2Fpublic%20key%20pair%2C%20stick%20the%20private%20key%20into%20user%27s%20.ssh%20dir%2C%20set%20dir%20permissions%20to%200700%2C%20private%20key%20permissions%20to%200600%2C%20stick%20the%20public%20key%20into%20the%20authoriz&amp;short_link=http://bit.ly/cy1sPs&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2010/03/01/the-most-awesome-vpn-tip-how-to-make-windows-automatically-use-your-local-wifilan-connection-directly-for-requests-that-dont-need-to-go-through-vpn/" rel="bookmark" title="March 1, 2010">The Most Awesome VPN Tip: How To Make Windows Automatically Use Your Local WiFi/LAN Connection Directly For Requests That Don&#039;t Need To Go Through VPN</a></li><li><a
href="http://beerpla.net/2010/01/09/how-to-exportimport-your-expandrivesftpdrive-drives-and-settings/" rel="bookmark" title="January 9, 2010">How To Export/Import Your ExpanDrive/SFTPDrive Drives And Settings</a></li><li><a
href="http://beerpla.net/2008/05/12/a-better-diff-or-what-to-do-when-gnu-diff-runs-out-of-memory-diff-memory-exhausted/" rel="bookmark" title="May 12, 2008">A Better diff Or What To Do When GNU diff Runs Out Of Memory (&quot;diff: memory exhausted&quot;)</a></li><li><a
href="http://beerpla.net/2007/03/24/beer-planet-hosting-moved-away-from-dreamhost-thank-god-finally/" rel="bookmark" title="March 24, 2007">Beer Planet Hosting Moved Away From Dreamhost (Thank God, Finally!)</a></li><li><a
href="http://beerpla.net/2006/10/03/youtube-custom-rss-search-results/" rel="bookmark" title="October 3, 2006">Youtube Custom RSS Search Results</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2008%2F08%2F15%2Fdebugging-weird-sshd-connection-problems-what-happens-when-you-stop-sshd%2F&amp;title=Debugging%20Weird%20sshd%20Connection%20Problems%20%2B%20What%20Happens%20When%20You%20Stop%20sshd" id="wpa2a_16"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2008/08/15/debugging-weird-sshd-connection-problems-what-happens-when-you-stop-sshd/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>How To Install The Latest SOAP::Lite Using Perl CPAN</title><link>http://beerpla.net/2008/04/30/how-to-install-the-latest-soaplite-using-perl-cpan/</link> <comments>http://beerpla.net/2008/04/30/how-to-install-the-latest-soaplite-using-perl-cpan/#comments</comments> <pubDate>Wed, 30 Apr 2008 17:56:53 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Programming]]></category> <category><![CDATA[cpan]]></category> <category><![CDATA[install]]></category> <category><![CDATA[installation]]></category> <category><![CDATA[Perl]]></category> <category><![CDATA[problem]]></category> <category><![CDATA[SOAP]]></category> <category><![CDATA[SOAP::Lite]]></category> <guid
isPermaLink="false">http://beerpla.net/2008/04/30/how-to-install-the-latest-soaplite-using-perl-cpan/</guid> <description><![CDATA[<p>Apparently it&#039;s not straightforward to install SOAP::Lite, even using CPAN.</p><p>Check this out.</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
</pre></td><td
class="code"><pre>cpan[1]&#62; install SOAP::Lite
CPAN: Storable loaded ok (v2.18)
Going to read /root/.cpan/Metadata
  Database was generated on Tue, 29 Apr 2008 18:29:45 GMT
CPAN: YAML loaded ok (v0.66)
Going to read /root/.cpan/build/
............................................................................DONE
Found 149 old builds, restored the state of 109
Warning: Cannot install SOAP::Lite, don't know what it is.
Try the command
&#160;
    i /SOAP::Lite/
&#160;
to find objects with matching identifiers.
CPAN: Time::HiRes loaded ok (v1.9713)</pre></td></tr></table></div><p>Huh? Okay&#8230;</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
</pre></td><td
class="code"><pre>cpan[2]&#62; i /SOAP::Lite/
Module</pre></td></tr></table></div><p>...<div
class=clear></div> <a
href="http://beerpla.net/2008/04/30/how-to-install-the-latest-soaplite-using-perl-cpan/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<p>Apparently it&#039;s not straightforward to install SOAP::Lite, even using CPAN.</p><p>Check this out.</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
</pre></td><td
class="code"><pre>cpan[1]&gt; install SOAP::Lite
CPAN: Storable loaded ok (v2.18)
Going to read /root/.cpan/Metadata
  Database was generated on Tue, 29 Apr 2008 18:29:45 GMT
CPAN: YAML loaded ok (v0.66)
Going to read /root/.cpan/build/
............................................................................DONE
Found 149 old builds, restored the state of 109
Warning: Cannot install SOAP::Lite, don't know what it is.
Try the command
&nbsp;
    i /SOAP::Lite/
&nbsp;
to find objects with matching identifiers.
CPAN: Time::HiRes loaded ok (v1.9713)</pre></td></tr></table></div><p>Huh? Okay&#8230;</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
</pre></td><td
class="code"><pre>cpan[2]&gt; i /SOAP::Lite/
Module    ResourcePool::Command::SOAP::Lite::Call (MWS/ResourcePool-Resource-SOAP-Lite-1.0101.tar.gz)
Module    ResourcePool::Factory::SOAP::Lite (MWS/ResourcePool-Resource-SOAP-Lite-1.0101.tar.gz)
Module    ResourcePool::Resource::SOAP::Lite (MWS/ResourcePool-Resource-SOAP-Lite-1.0101.tar.gz)
Module    SOAP::Lite::Deserializer::XMLSchema1999 (MKUTTER/SOAP-Lite-0.71.04.tar.gz)
Module    SOAP::Lite::Deserializer::XMLSchema2001 (MKUTTER/SOAP-Lite-0.71.04.tar.gz)
Module    SOAP::Lite::Deserializer::XMLSchemaSOAP1_1 (MKUTTER/SOAP-Lite-0.71.04.tar.gz)
Module    SOAP::Lite::Deserializer::XMLSchemaSOAP1_2 (MKUTTER/SOAP-Lite-0.71.04.tar.gz)
Module    SOAP::Lite::InstanceExporter (SMEISNER/SOAP-Lite-InstanceExporter-0.02.tar.gz)
Module    SOAP::Lite::Packager   (MKUTTER/SOAP-Lite-0.71.04.tar.gz)
Module    SOAP::Lite::Simple     (LLAP/SOAP-Lite-Simple-1.9.tar.gz)
Module    SOAP::Lite::Simple::DotNet (LLAP/SOAP-Lite-Simple-1.4.tar.gz)
Module    SOAP::Lite::Simple::Real (LLAP/SOAP-Lite-Simple-1.4.tar.gz)
Module    SOAP::Lite::Utility    (BRYCE/SOAP-Lite-Utility-0.01.tar.gz)
Module    SOAP::Lite::Utils      (MKUTTER/SOAP-Lite-0.71.04.tar.gz)
14 items found</pre></td></tr></table></div><p>Wtf? Let&#039;s try something else.</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
</pre></td><td
class="code"><pre>cpan[8]&gt; i /SOAP.*Lite/
Distribution    BRYCE/SOAP-Lite-Utility-0.01.tar.gz
Distribution    BYRNE/SOAP/SOAP-Lite-0.60a.tar.gz
Distribution    DYACOB/SOAP-Lite-ActiveWorks-0.10.tar.gz
Distribution    DYACOB/SOAP-Lite-SmartProxy-0.11.tar.gz
Distribution    LLAP/SOAP-Lite-Simple-1.4.tar.gz
Distribution    LLAP/SOAP-Lite-Simple-1.9.tar.gz
Distribution    MKUTTER/SOAP-Lite-0.71.04.tar.gz
Distribution    MWS/ResourcePool-Resource-SOAP-Lite-1.0101.tar.gz
Distribution    SMEISNER/SOAP-Lite-InstanceExporter-0.02.tar.gz
Module    Catalyst::Action::SOAP::DocumentLiteral (DRUOSO/Catalyst-Controller-SOAP-0.8.tar.gz)
Module    Catalyst::Action::SOAP::DocumentLiteralWrapped (DRUOSO/Catalyst-Controller-SOAP-0.8.tar.gz)
Module    Catalyst::Action::SOAP::RPCLiteral (DRUOSO/Catalyst-Controller-SOAP-0.8.tar.gz)
Module    Catalyst::Controller::SOAP::DocumentLiteralWrapped (DRUOSO/Catalyst-Controller-SOAP-0.8.tar.gz)
Module    Net::DRI::Transport::HTTP::SOAPLite (PMEVZEK/Net-DRI-0.85.tar.gz)
Module    ResourcePool::Command::SOAP::Lite::Call (MWS/ResourcePool-Resource-SOAP-Lite-1.0101.tar.gz)
Module    ResourcePool::Factory::SOAP::Lite (MWS/ResourcePool-Resource-SOAP-Lite-1.0101.tar.gz)
Module    ResourcePool::Resource::SOAP::Lite (MWS/ResourcePool-Resource-SOAP-Lite-1.0101.tar.gz)
Module  = SOAP::Lite::Deserializer::XMLSchema1999 (MKUTTER/SOAP-Lite-0.71.04.tar.gz)
Module  = SOAP::Lite::Deserializer::XMLSchema2001 (MKUTTER/SOAP-Lite-0.71.04.tar.gz)
Module  = SOAP::Lite::Deserializer::XMLSchemaSOAP1_1 (MKUTTER/SOAP-Lite-0.71.04.tar.gz)
Module  = SOAP::Lite::Deserializer::XMLSchemaSOAP1_2 (MKUTTER/SOAP-Lite-0.71.04.tar.gz)
Module    SOAP::Lite::InstanceExporter (SMEISNER/SOAP-Lite-InstanceExporter-0.02.tar.gz)
Module  = SOAP::Lite::Packager   (MKUTTER/SOAP-Lite-0.71.04.tar.gz)
Module    SOAP::Lite::Simple     (LLAP/SOAP-Lite-Simple-1.9.tar.gz)
Module    SOAP::Lite::Simple::DotNet (LLAP/SOAP-Lite-Simple-1.4.tar.gz)
Module    SOAP::Lite::Simple::Real (LLAP/SOAP-Lite-Simple-1.4.tar.gz)
Module    SOAP::Lite::Utility    (BRYCE/SOAP-Lite-Utility-0.01.tar.gz)
Module  = SOAP::Lite::Utils      (MKUTTER/SOAP-Lite-0.71.04.tar.gz)
28 items found</pre></td></tr></table></div><p>Aha! It&#039;s hiding under a Distribution. Tricky, tricky.</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
</pre></td><td
class="code"><pre>cpan
install MKUTTER/SOAP-Lite-0.71.04.tar.gz</pre></td></tr></table></div><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
</pre></td><td
class="code"><pre>  CPAN.pm: Going to build M/MK/MKUTTER/SOAP-Lite-0.71.04.tar.gz
&nbsp;
We are about to install SOAP::Lite and for your convenience will provide
you with list of modules and prerequisites, so you'll be able to choose
only modules you need for your configuration.
&nbsp;
XMLRPC::Lite, UDDI::Lite, and XML::Parser::Lite are included by default.
Installed transports can be used for both SOAP::Lite and XMLRPC::Lite.
&nbsp;
Press  to see the detailed list.
&nbsp;
Feature                       Prerequisites                Install?
----------------------------- ---------------------------- --------
Core Package                  [*] Scalar::Util             always
                              [*] Test::More
                              [*] URI
                              [*] MIME::Base64
                              [*] version
                              [*] XML::Parser (v2.23)
Client HTTP support           [*] LWP::UserAgent           always
Client HTTPS support          [*] Crypt::SSLeay            [ yes ]
Client SMTP/sendmail support  [ ] MIME::Lite               [ no ]
Client FTP support            [*] IO::File                 [ yes ]
                              [*] Net::FTP
Standalone HTTP server        [*] HTTP::Daemon             [ yes ]
Apache/mod_perl server        [ ] Apache                   [ no ]
FastCGI server                [ ] FCGI                     [ no ]
POP3 server                   [*] MIME::Parser             [ yes ]
                              [*] Net::POP3
IO server                     [*] IO::File                 [ yes ]
MQ transport support          [ ] MQSeries                 [ no ]
JABBER transport support      [ ] Net::Jabber              [ no ]
MIME messages                 [*] MIME::Parser             [ yes ]
DIME messages                 [*] IO::Scalar (v2.105)      [ no ]
                              [ ] DIME::Tools (v0.03)
                              [ ] Data::UUID (v0.11)
SSL Support for TCP Transport [ ] IO::Socket::SSL          [ no ]
Compression support for HTTP  [*] Compress::Zlib           [ yes ]
MIME interoperability w/ Axis [ ] MIME::Parser (v6.106)    [ no ]
--- An asterix '[*]' indicates if the module is currently installed.
&nbsp;
Do you want to proceed with this configuration? [yes]
Checking if your kit is complete...
Looks good
Writing Makefile for SOAP::Lite
cp lib/SOAP/Packager.pm blib/lib/SOAP/Packager.pm
cp lib/XML/Parser/Lite.pm blib/lib/XML/Parser/Lite.pm
...
Writing /usr/lib/perl5/site_perl/5.10.0/i686-linux/auto/SOAP/Lite/.packlist
Appending installation info to /usr/lib/perl5/5.10.0/i686-linux/perllocal.pod
  MKUTTER/SOAP-Lite-0.71.04.tar.gz
  /usr/bin/make install  -- OK</pre></td></tr></table></div><p>The latest version of SOAP::Lite is installed, time to pat yourself on the back and write some code to actually use it.</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Install+The+Latest+SOAP%3A%3ALite+Using+Perl+CPAN&amp;link=http://beerpla.net/2008/04/30/how-to-install-the-latest-soaplite-using-perl-cpan/&amp;notes=Apparently%20it%27s%20not%20straightforward%20to%20install%20SOAP%3A%3ALite%2C%20even%20using%20CPAN.%20Check%20this%20out.%20cpan%5B1%5D%3E%20install%20SOAP%3A%3ALite%0ACPAN%3A%20Storable%20loaded%20ok%20%28v2.18%29%0AGoing%20to%20read%20%2Froot%2F.cpan%2FMetadata%0A%20%20Database%20was%20generated%20on%20Tue%2C%2029%20Apr%202008%2018%3A29%3A45%20GMT%0ACPAN%3A%20YAML%20loaded%20ok%20%28v0.66%29%0AGoing%20to%20read%20%2Froot%2F.cpan&amp;short_link=http://bit.ly/dcTX3j&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Install+The+Latest+SOAP%3A%3ALite+Using+Perl+CPAN&amp;link=http://beerpla.net/2008/04/30/how-to-install-the-latest-soaplite-using-perl-cpan/&amp;notes=Apparently%20it%27s%20not%20straightforward%20to%20install%20SOAP%3A%3ALite%2C%20even%20using%20CPAN.%20Check%20this%20out.%20cpan%5B1%5D%3E%20install%20SOAP%3A%3ALite%0ACPAN%3A%20Storable%20loaded%20ok%20%28v2.18%29%0AGoing%20to%20read%20%2Froot%2F.cpan%2FMetadata%0A%20%20Database%20was%20generated%20on%20Tue%2C%2029%20Apr%202008%2018%3A29%3A45%20GMT%0ACPAN%3A%20YAML%20loaded%20ok%20%28v0.66%29%0AGoing%20to%20read%20%2Froot%2F.cpan&amp;short_link=http://bit.ly/dcTX3j&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Install+The+Latest+SOAP%3A%3ALite+Using+Perl+CPAN&amp;link=http://beerpla.net/2008/04/30/how-to-install-the-latest-soaplite-using-perl-cpan/&amp;notes=Apparently%20it%27s%20not%20straightforward%20to%20install%20SOAP%3A%3ALite%2C%20even%20using%20CPAN.%20Check%20this%20out.%20cpan%5B1%5D%3E%20install%20SOAP%3A%3ALite%0ACPAN%3A%20Storable%20loaded%20ok%20%28v2.18%29%0AGoing%20to%20read%20%2Froot%2F.cpan%2FMetadata%0A%20%20Database%20was%20generated%20on%20Tue%2C%2029%20Apr%202008%2018%3A29%3A45%20GMT%0ACPAN%3A%20YAML%20loaded%20ok%20%28v0.66%29%0AGoing%20to%20read%20%2Froot%2F.cpan&amp;short_link=http://bit.ly/dcTX3j&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Install+The+Latest+SOAP%3A%3ALite+Using+Perl+CPAN&amp;link=http://beerpla.net/2008/04/30/how-to-install-the-latest-soaplite-using-perl-cpan/&amp;notes=Apparently%20it%27s%20not%20straightforward%20to%20install%20SOAP%3A%3ALite%2C%20even%20using%20CPAN.%20Check%20this%20out.%20cpan%5B1%5D%3E%20install%20SOAP%3A%3ALite%0ACPAN%3A%20Storable%20loaded%20ok%20%28v2.18%29%0AGoing%20to%20read%20%2Froot%2F.cpan%2FMetadata%0A%20%20Database%20was%20generated%20on%20Tue%2C%2029%20Apr%202008%2018%3A29%3A45%20GMT%0ACPAN%3A%20YAML%20loaded%20ok%20%28v0.66%29%0AGoing%20to%20read%20%2Froot%2F.cpan&amp;short_link=http://bit.ly/dcTX3j&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Install+The+Latest+SOAP%3A%3ALite+Using+Perl+CPAN&amp;link=http://beerpla.net/2008/04/30/how-to-install-the-latest-soaplite-using-perl-cpan/&amp;notes=Apparently%20it%27s%20not%20straightforward%20to%20install%20SOAP%3A%3ALite%2C%20even%20using%20CPAN.%20Check%20this%20out.%20cpan%5B1%5D%3E%20install%20SOAP%3A%3ALite%0ACPAN%3A%20Storable%20loaded%20ok%20%28v2.18%29%0AGoing%20to%20read%20%2Froot%2F.cpan%2FMetadata%0A%20%20Database%20was%20generated%20on%20Tue%2C%2029%20Apr%202008%2018%3A29%3A45%20GMT%0ACPAN%3A%20YAML%20loaded%20ok%20%28v0.66%29%0AGoing%20to%20read%20%2Froot%2F.cpan&amp;short_link=http://bit.ly/dcTX3j&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Install+The+Latest+SOAP%3A%3ALite+Using+Perl+CPAN&amp;link=http://beerpla.net/2008/04/30/how-to-install-the-latest-soaplite-using-perl-cpan/&amp;notes=Apparently%20it%27s%20not%20straightforward%20to%20install%20SOAP%3A%3ALite%2C%20even%20using%20CPAN.%20Check%20this%20out.%20cpan%5B1%5D%3E%20install%20SOAP%3A%3ALite%0ACPAN%3A%20Storable%20loaded%20ok%20%28v2.18%29%0AGoing%20to%20read%20%2Froot%2F.cpan%2FMetadata%0A%20%20Database%20was%20generated%20on%20Tue%2C%2029%20Apr%202008%2018%3A29%3A45%20GMT%0ACPAN%3A%20YAML%20loaded%20ok%20%28v0.66%29%0AGoing%20to%20read%20%2Froot%2F.cpan&amp;short_link=http://bit.ly/dcTX3j&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+Install+The+Latest+SOAP%3A%3ALite+Using+Perl+CPAN&amp;link=http://beerpla.net/2008/04/30/how-to-install-the-latest-soaplite-using-perl-cpan/&amp;notes=Apparently%20it%27s%20not%20straightforward%20to%20install%20SOAP%3A%3ALite%2C%20even%20using%20CPAN.%20Check%20this%20out.%20cpan%5B1%5D%3E%20install%20SOAP%3A%3ALite%0ACPAN%3A%20Storable%20loaded%20ok%20%28v2.18%29%0AGoing%20to%20read%20%2Froot%2F.cpan%2FMetadata%0A%20%20Database%20was%20generated%20on%20Tue%2C%2029%20Apr%202008%2018%3A29%3A45%20GMT%0ACPAN%3A%20YAML%20loaded%20ok%20%28v0.66%29%0AGoing%20to%20read%20%2Froot%2F.cpan&amp;short_link=http://bit.ly/dcTX3j&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=How%20To%20Install%20The%20Latest%20SOAP%3A%3ALite%20Using%20Perl%20CPAN&amp;link=http://beerpla.net/2008/04/30/how-to-install-the-latest-soaplite-using-perl-cpan/&amp;notes=Apparently%20it%27s%20not%20straightforward%20to%20install%20SOAP%3A%3ALite%2C%20even%20using%20CPAN.%20Check%20this%20out.%20cpan%5B1%5D%3E%20install%20SOAP%3A%3ALite%0ACPAN%3A%20Storable%20loaded%20ok%20%28v2.18%29%0AGoing%20to%20read%20%2Froot%2F.cpan%2FMetadata%0A%20%20Database%20was%20generated%20on%20Tue%2C%2029%20Apr%202008%2018%3A29%3A45%20GMT%0ACPAN%3A%20YAML%20loaded%20ok%20%28v0.66%29%0AGoing%20to%20read%20%2Froot%2F.cpan&amp;short_link=http://bit.ly/dcTX3j&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2007/10/12/cpan-the-perl-module-manager/" rel="bookmark" title="October 12, 2007">cpan &#8211; The Perl Module Manager</a></li><li><a
href="http://beerpla.net/2009/06/09/how-to-make-your-site-lightning-fast-by-compressing-deflategzip-your-html-javascript-css-xml-etc-in-apache/" rel="bookmark" title="June 9, 2009">How To Make Your Site Lightning Fast* By Compressing (deflate/gzip) Your HTML, Javascript, CSS, XML, etc In Apache</a></li><li><a
href="http://beerpla.net/2008/04/22/do-not-use-this-perl-module-passwdunix/" rel="bookmark" title="April 22, 2008">Do NOT Use This Perl Module: Passwd::Unix</a></li><li><a
href="http://beerpla.net/2008/03/27/parsing-json-in-perl-by-example-southparkstudioscom-south-park-episodes/" rel="bookmark" title="March 27, 2008">Parsing JSON In Perl By Example &#8211; SouthParkStudios.com South Park Episodes</a></li><li><a
href="http://beerpla.net/2010/02/03/how-not-to-implement-a-web-application-that-handles-external-authentication-using-betwittered-com-as-an-example/" rel="bookmark" title="February 3, 2010">How *Not* To Implement A Web Application That Handles External Authentication, Using BeTwittered.com As An Example</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2008%2F04%2F30%2Fhow-to-install-the-latest-soaplite-using-perl-cpan%2F&amp;title=How%20To%20Install%20The%20Latest%20SOAP%3A%3ALite%20Using%20Perl%20CPAN" id="wpa2a_18"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2008/04/30/how-to-install-the-latest-soaplite-using-perl-cpan/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>How Do I Get Both The Return Value And Text In Perl? Backticks vs. System() (Perl 5.10)</title><link>http://beerpla.net/2008/04/29/how-do-i-get-both-the-return-value-and-text-in-perl-backticks-vs-system-perl-510/</link> <comments>http://beerpla.net/2008/04/29/how-do-i-get-both-the-return-value-and-text-in-perl-backticks-vs-system-perl-510/#comments</comments> <pubDate>Wed, 30 Apr 2008 01:52:28 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Perl]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[annoying]]></category> <category><![CDATA[backtick]]></category> <category><![CDATA[child]]></category> <category><![CDATA[error code]]></category> <category><![CDATA[perl 5.10]]></category> <category><![CDATA[perldelta]]></category> <category><![CDATA[perlrun]]></category> <category><![CDATA[problem]]></category> <category><![CDATA[return value]]></category> <category><![CDATA[system]]></category> <guid
isPermaLink="false">http://beerpla.net/2008/04/29/how-do-i-get-both-the-return-value-and-text-in-perl-backticks-vs-system-perl-510/</guid> <description><![CDATA[<p>I&#039;m sure most Perl coders have to face this annoying problem at one point or another: how do you consistently get the return value out of a system call, be at executed via backticks or system()? Backticks return the output of the program with no error code in sight, while system() returns the error code but prints the output instead of putting it into a variable.</p><p>The best solution I could find to this problem to date was posted at <a
title="http://www.perlmonks.org/?node_id=19119" href="http://www.perlmonks.org/?node_id=19119">http://www.perlmonks.org/?node_id=19119</a> and involved opening a piped filehandle. It worked quite well but always felt like a hack (which it was). Having used the new <a
href="http://dev.perl.org/perl5/news/2007/perl-5.10.0.html">Perl 5.10</a> for a few months, I was shocked today to find this...<div
class=clear></div> <a
href="http://beerpla.net/2008/04/29/how-do-i-get-both-the-return-value-and-text-in-perl-backticks-vs-system-perl-510/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description> <content:encoded><![CDATA[<p>I&#039;m sure most Perl coders have to face this annoying problem at one point or another: how do you consistently get the return value out of a system call, be at executed via backticks or system()? Backticks return the output of the program with no error code in sight, while system() returns the error code but prints the output instead of putting it into a variable.</p><p>The best solution I could find to this problem to date was posted at <a
title="http://www.perlmonks.org/?node_id=19119" href="http://www.perlmonks.org/?node_id=19119">http://www.perlmonks.org/?node_id=19119</a> and involved opening a piped filehandle. It worked quite well but always felt like a hack (which it was). Having used the new <a
href="http://dev.perl.org/perl5/news/2007/perl-5.10.0.html">Perl 5.10</a> for a few months, I was shocked today to find this new variable that I&#039;ve been dreaming about for years:</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
</pre></td><td
class="code"><pre>${^CHILD_ERROR_NATIVE}</pre></td></tr></table></div><p>This variable gives the native status returned by the last pipe close, <strong>backtick command</strong>, successful call to wait() or waitpid(), or from the <strong>system()</strong> operator. See perlrun for details. (Contributed by Gisle Aas.)</p><p><a
href="http://search.cpan.org/dist/perl-5.10.0/pod/perl5100delta.pod#New_internal_variables">http://search.cpan.org/dist/perl-5.10.0/pod/perl5100delta.pod#New_internal_variables</a></p><p>I&#039;ve just tested it and it works as described. Finally!.. what else can I say?</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=How+Do+I+Get+Both+The+Return+Value+And+Text+In+Perl%3F+Backticks+vs.+System%28%29+%28Perl+5.10%29&amp;link=http://beerpla.net/2008/04/29/how-do-i-get-both-the-return-value-and-text-in-perl-backticks-vs-system-perl-510/&amp;notes=I%27m%20sure%20most%20Perl%20coders%20have%20to%20face%20this%20annoying%20problem%20at%20one%20point%20or%20another%3A%20how%20do%20you%20consistently%20get%20the%20return%20value%20out%20of%20a%20system%20call%2C%20be%20at%20executed%20via%20backticks%20or%20system%28%29%3F%20Backticks%20return%20the%20output%20of%20the%20program%20with%20no%20error%20code%20in%20sight%2C%20while%20system%28%29%20returns%20the%20error%20&amp;short_link=http://bit.ly/a8k2E6&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=How+Do+I+Get+Both+The+Return+Value+And+Text+In+Perl%3F+Backticks+vs.+System%28%29+%28Perl+5.10%29&amp;link=http://beerpla.net/2008/04/29/how-do-i-get-both-the-return-value-and-text-in-perl-backticks-vs-system-perl-510/&amp;notes=I%27m%20sure%20most%20Perl%20coders%20have%20to%20face%20this%20annoying%20problem%20at%20one%20point%20or%20another%3A%20how%20do%20you%20consistently%20get%20the%20return%20value%20out%20of%20a%20system%20call%2C%20be%20at%20executed%20via%20backticks%20or%20system%28%29%3F%20Backticks%20return%20the%20output%20of%20the%20program%20with%20no%20error%20code%20in%20sight%2C%20while%20system%28%29%20returns%20the%20error%20&amp;short_link=http://bit.ly/a8k2E6&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=How+Do+I+Get+Both+The+Return+Value+And+Text+In+Perl%3F+Backticks+vs.+System%28%29+%28Perl+5.10%29&amp;link=http://beerpla.net/2008/04/29/how-do-i-get-both-the-return-value-and-text-in-perl-backticks-vs-system-perl-510/&amp;notes=I%27m%20sure%20most%20Perl%20coders%20have%20to%20face%20this%20annoying%20problem%20at%20one%20point%20or%20another%3A%20how%20do%20you%20consistently%20get%20the%20return%20value%20out%20of%20a%20system%20call%2C%20be%20at%20executed%20via%20backticks%20or%20system%28%29%3F%20Backticks%20return%20the%20output%20of%20the%20program%20with%20no%20error%20code%20in%20sight%2C%20while%20system%28%29%20returns%20the%20error%20&amp;short_link=http://bit.ly/a8k2E6&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=How+Do+I+Get+Both+The+Return+Value+And+Text+In+Perl%3F+Backticks+vs.+System%28%29+%28Perl+5.10%29&amp;link=http://beerpla.net/2008/04/29/how-do-i-get-both-the-return-value-and-text-in-perl-backticks-vs-system-perl-510/&amp;notes=I%27m%20sure%20most%20Perl%20coders%20have%20to%20face%20this%20annoying%20problem%20at%20one%20point%20or%20another%3A%20how%20do%20you%20consistently%20get%20the%20return%20value%20out%20of%20a%20system%20call%2C%20be%20at%20executed%20via%20backticks%20or%20system%28%29%3F%20Backticks%20return%20the%20output%20of%20the%20program%20with%20no%20error%20code%20in%20sight%2C%20while%20system%28%29%20returns%20the%20error%20&amp;short_link=http://bit.ly/a8k2E6&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=How+Do+I+Get+Both+The+Return+Value+And+Text+In+Perl%3F+Backticks+vs.+System%28%29+%28Perl+5.10%29&amp;link=http://beerpla.net/2008/04/29/how-do-i-get-both-the-return-value-and-text-in-perl-backticks-vs-system-perl-510/&amp;notes=I%27m%20sure%20most%20Perl%20coders%20have%20to%20face%20this%20annoying%20problem%20at%20one%20point%20or%20another%3A%20how%20do%20you%20consistently%20get%20the%20return%20value%20out%20of%20a%20system%20call%2C%20be%20at%20executed%20via%20backticks%20or%20system%28%29%3F%20Backticks%20return%20the%20output%20of%20the%20program%20with%20no%20error%20code%20in%20sight%2C%20while%20system%28%29%20returns%20the%20error%20&amp;short_link=http://bit.ly/a8k2E6&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=How+Do+I+Get+Both+The+Return+Value+And+Text+In+Perl%3F+Backticks+vs.+System%28%29+%28Perl+5.10%29&amp;link=http://beerpla.net/2008/04/29/how-do-i-get-both-the-return-value-and-text-in-perl-backticks-vs-system-perl-510/&amp;notes=I%27m%20sure%20most%20Perl%20coders%20have%20to%20face%20this%20annoying%20problem%20at%20one%20point%20or%20another%3A%20how%20do%20you%20consistently%20get%20the%20return%20value%20out%20of%20a%20system%20call%2C%20be%20at%20executed%20via%20backticks%20or%20system%28%29%3F%20Backticks%20return%20the%20output%20of%20the%20program%20with%20no%20error%20code%20in%20sight%2C%20while%20system%28%29%20returns%20the%20error%20&amp;short_link=http://bit.ly/a8k2E6&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=How+Do+I+Get+Both+The+Return+Value+And+Text+In+Perl%3F+Backticks+vs.+System%28%29+%28Perl+5.10%29&amp;link=http://beerpla.net/2008/04/29/how-do-i-get-both-the-return-value-and-text-in-perl-backticks-vs-system-perl-510/&amp;notes=I%27m%20sure%20most%20Perl%20coders%20have%20to%20face%20this%20annoying%20problem%20at%20one%20point%20or%20another%3A%20how%20do%20you%20consistently%20get%20the%20return%20value%20out%20of%20a%20system%20call%2C%20be%20at%20executed%20via%20backticks%20or%20system%28%29%3F%20Backticks%20return%20the%20output%20of%20the%20program%20with%20no%20error%20code%20in%20sight%2C%20while%20system%28%29%20returns%20the%20error%20&amp;short_link=http://bit.ly/a8k2E6&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=How%20Do%20I%20Get%20Both%20The%20Return%20Value%20And%20Text%20In%20Perl%3F%20Backticks%20vs.%20System%28%29%20%28Perl%205.10%29&amp;link=http://beerpla.net/2008/04/29/how-do-i-get-both-the-return-value-and-text-in-perl-backticks-vs-system-perl-510/&amp;notes=I%27m%20sure%20most%20Perl%20coders%20have%20to%20face%20this%20annoying%20problem%20at%20one%20point%20or%20another%3A%20how%20do%20you%20consistently%20get%20the%20return%20value%20out%20of%20a%20system%20call%2C%20be%20at%20executed%20via%20backticks%20or%20system%28%29%3F%20Backticks%20return%20the%20output%20of%20the%20program%20with%20no%20error%20code%20in%20sight%2C%20while%20system%28%29%20returns%20the%20error%20&amp;short_link=http://bit.ly/a8k2E6&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2010/06/10/how-to-display-just-the-http-response-code-in-cli-curl/" rel="bookmark" title="June 10, 2010">How To Display Just The HTTP Response Code In Command Line Curl</a></li><li><a
href="http://beerpla.net/2008/07/23/how-to-check-if-the-local-svn-revision-is-up-to-date/" rel="bookmark" title="July 23, 2008">How To Check If The Local SVN Revision Is Up-To-Date</a></li><li><a
href="http://beerpla.net/2008/04/16/mysql-conference-liveblogging-monitoring-tools-wednesday-515pm/" rel="bookmark" title="April 16, 2008">MySQL Conference Liveblogging: Monitoring Tools (Wednesday 5:15PM)</a></li><li><a
href="http://beerpla.net/2009/03/05/perl-how-to-get-the-path-of-an-included-library-pm-regardless-of-current-directory/" rel="bookmark" title="March 5, 2009">[Perl] How To Get The Path Of An Included Library (.pm), Regardless Of Current Directory</a></li><li><a
href="http://beerpla.net/2007/08/04/watch-a-useful-linux-command-you-may-have-never-heard-of/" rel="bookmark" title="August 4, 2007">Watch &#8211; A Useful Linux Command You May Have Never Heard Of</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2008%2F04%2F29%2Fhow-do-i-get-both-the-return-value-and-text-in-perl-backticks-vs-system-perl-510%2F&amp;title=How%20Do%20I%20Get%20Both%20The%20Return%20Value%20And%20Text%20In%20Perl%3F%20Backticks%20vs.%20System%28%29%20%28Perl%205.10%29" id="wpa2a_20"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2008/04/29/how-do-i-get-both-the-return-value-and-text-in-perl-backticks-vs-system-perl-510/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> </channel> </rss>
