 
    
<?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>extensions Archives - Complete, Concrete, Concise</title>
	<atom:link href="https://complete-concrete-concise.com/tag/extensions/feed/" rel="self" type="application/rss+xml" />
	<link>https://complete-concrete-concise.com/tag/extensions/</link>
	<description>Practical Information Without The Bloat</description>
	<lastBuildDate>Tue, 28 May 2013 15:55:52 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>
	<item>
		<title>webpage is not found &#8211; ERR_FILE_NOT_FOUND while developing Chrome Extension</title>
		<link>https://complete-concrete-concise.com/web-tools/webpage-is-not-found-err_file_not_found-while-developing-chrome-extension/</link>
		
		<dc:creator><![CDATA[richardsplanet]]></dc:creator>
		<pubDate>Tue, 28 May 2013 15:55:52 +0000</pubDate>
				<category><![CDATA[Web Tools]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[ERR_FILE_NOT_FOUND]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[extensions]]></category>
		<category><![CDATA[getting started]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[kittens]]></category>
		<category><![CDATA[webpage is not found]]></category>
		<guid isPermaLink="false">http://complete-concrete-concise.com/?p=2982</guid>

					<description><![CDATA[<p>This problem was observed on Windows 7 with SP1, in which Internet Explorer 10 and Google Chrome are both installed. </p>
<p>The post <a href="https://complete-concrete-concise.com/web-tools/webpage-is-not-found-err_file_not_found-while-developing-chrome-extension/">webpage is not found &#8211; ERR_FILE_NOT_FOUND while developing Chrome Extension</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="c1">
<p>This problem was observed on Windows 7 with SP1, in which Internet Explorer 10 and Google Chrome are both installed.</p>
<p>Even if this is not your setup, it is possible you have a similar problem, but no guarantee is made.</p>
</div>
<p>While trying out the Google Chrome Extension <a href="http://developer.chrome.com/extensions/getstarted.html">Getting Started tutorial</a>, I immediately ran into problems with the example app not working.</p>
<p>The error message displayed was the following:</p>
<p><img decoding="async" src="//complete-concrete-concise.com/wp-content/uploads/2013/05/chrome-1.png" alt="" border="0" class="centered"/></p>
<p>After a bit of troubleshooting, I discovered the problem was that the file <code>popup.html</code> did not exist &#8211; which is exactly what the error message is complaining about.</p>
<p>I did have a <code>popup.htm</code> file, though &#8211; notice the missing <code>'l'</code> at the end.</p>
<p>After renaming the file, the problem went away and the sample extension worked. It also worked if I edited the manifest so the file name was <code>popup.htm</code></p>
<h3>Why did this happen?</h3>
<p>It turns out that I downloaded the sample files using Internet Explorer 10. For some reason, Internet Explorer 10 renamed the file <code>popup.html</code> to <code>popup.htm</code> which meant the file did not match the manifest, which meant the file in the manifest could not be found, hence the message.</p>
<h3>Dissecting the Error Message in More Detail</h3>
<p>It is not the friendliest error message, but it is correct &#8211; if you understand it.</p>
<div class="c1">
<pre><code>This webpage is not found</code></pre>
<p>Pretty standard, and somewhat misleading, message &#8211; I assumed it meant the &#8220;kittens&#8221; page was not found.</p>
</div>
<div class="c1">
<pre><code>No webpage was found for the web address: chrome-extension://pchknohkaionalnpgmgdniblddmobdok/popup.html</code></pre>
<p>This line had me stumped. Obviously this is not a valid URL, so it is not surprising the webpage was not found.</p>
<p>I assumed (incorrectly) that in the javascript code, the URL was somehow being badly mangled or incorrectly formed. This is not the case. The components or elements of a chrome extension are accessed as though they are a web resource, but, instead of beginning with <code>http://</code>, the begin with <code>chrome-extension://</code>, followed by the ID of the extension followed by the name of the resource (which, in this case, is the file <code>popup.html</code>).</p>
</div>
<div class="c1">
<pre><code>Error 6 (net::ERR_FILE_NOT_FOUND): The file or directory could not be found.</code></pre>
<p>Once you know what the previous line means, this one simply repeats it in different words.</p>
</div>

<p>The post <a href="https://complete-concrete-concise.com/web-tools/webpage-is-not-found-err_file_not_found-while-developing-chrome-extension/">webpage is not found &#8211; ERR_FILE_NOT_FOUND while developing Chrome Extension</a> appeared first on <a href="https://complete-concrete-concise.com">Complete, Concrete, Concise</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
