jeudi 3 avril 2014

Uncaught Error: [Ext.Loader] Failed loading 'touch/src/log/Logger.js', please verify

Hi all,<br><br>I am new to Sencha Touch and I'm having some trouble with the getting started guide.<br><br>Ubuntu Linux 64 bit (3.2.0-60-generic).<br><div>java version "1.7.0_45", Java(TM) SE Runtime Environment (build 1.7.0_45-b18),Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)<br>ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]<br>Sencha Cmd v4.0.4.84<br>Sencha-touch 2.3.1<br><br><br>I have been following the guide here:&nbsp;<br><br>http://ift.tt/1jGMbAA; and also here&nbsp;<br>http://ift.tt/1fPCoU6 both cases I am able to generate a project and start the web server. When I browse to&nbsp;http://localhost:1841/test-app/ I am greeted with a loading screen (blue screen with three flashing white circles) that never finishes loading.<br><br>In the developer console I get the error messages:<br><div>Failed to load resource: net::ERR_BLOCKED_BY_CLIENT <a href="http://localhost:1841/test-app/touch/src/log/Logger.js?_dc=1396561902663" title="http://localhost:1841/test-app/touch/src/log/Logger.js?_dc=1396561902663" target="_blank">http://localhost:1841/test-app/touch/src/log/Logger.js?_dc=1396561902663<br></a>Uncaught Error: [Ext.Loader] Failed loading 'touch/src/log/Logger.js', please verify that the file exists<br><br>I also see a 404 response for&nbsp;http://localhost:1841/test-app/touch/src/log/Logger.js?_dc=1396562576255<br><br>I have found several bug reports dating back to June/July 2012 such as&nbsp;http://ift.tt/1jGM9J9 that suggest that I change the app.json file in the root of my project as follows:<br><br><div>buildOptions": {</div><div>&nbsp; "product": "touch",</div><div>&nbsp; "minVersion": 3,</div><div>&nbsp; "debug": false,</div><div>&nbsp; "logger": false</div><div>}<br><br>Firstly, the generated app.json didn't even have a "buildOptions" section. Secondly, I have tried versios combinations for "logger" such as false, "false", "no", "yes" true and building without the buildOptions all together. I then stop the server, clear the browser cache and local storage, rebuild the application using the command sencha app build and then restart the webserver.<br><br>The result is always the same. My browser is:<br><table id="inner" cellpadding="0" cellspacing="0" border="0" width=""><tbody><tr><td i18n-content="application_label">Google Chrome</td><td id="version">33.0.1750.152&nbsp;(Official Build&nbsp;256984)&nbsp;</td></tr><tr><td i18n-content="os_name">OS</td><td id="os_type">Linux&nbsp;<br><br><br></td></tr></tbody></table></div></div></div><br>It gets past the loading screen in FireFox but never in Chrome.<br>What am I doing wrong? Surely this bug has been fixed since June/July 2012?<br><br>Thanks in advance.




Aucun commentaire:

Enregistrer un commentaire