Closed wlatif closed 10 years ago
Waseem, Did you make changes to either of the apps? Can you post the contents of your appcache-features.appcache file in a comment?
Your screen shot shows you as having 44 items in the appcache-features.appcache file, but there should be only 37 in the sample appcache file and the timestamp up at the top of the file should be:
# Time: Tue Jun 17 2014 11:23:22 GMT-0600 (MDT)
If you didn't make any changes then please verify if you have the latest version on your filesystem by running the command git log
in a terminal window. This is the latest commit signature: https://github.com/Esri/offline-editor-js/commit/4391bd5df6d95d55d8abdca13f429600b826b7c9. If you don't have the latest, then run git pull
on the github repo.
The second error looks like the browser is looking for a "source map" . On Chrome you can disable those in Tools (it's the hamburger icon to the right of the URL bar) > Developer Tools > Settings > General > uncheck 'Enable JS source maps. For other browsers you'll need to do a little research to figure out how to disable it. If you want to read more about source maps: http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/ and https://developer.chrome.com/devtools/docs/javascript-debugging#source-maps
Also you mentioned issues with appcache-tiles.html, can you post the errors for that app? I didn't see them in your previous screenshots.
Here's a screen shot from Chrome showing the Settings options (under the Sources section):
Hello Andy,
I did not make any changes. As you said I pulled the latest version but the issue still remains. I have tested the two sample applications. appcache-features: appcache-tiles appcache-features.appcache CACHE MANIFEST
CACHE:
#
appcache-features.html #
http://js.arcgis.com/o/agup_hack4co/appcacheFeatures/dojo/dojo.js http://js.arcgis.com/o/agup_hack4co/appcacheFeatures/dojo/nls/dojo_en-us.js http://js.arcgis.com/o/agup_hack4co/appcacheFeatures/dojo/selector/acme.js # http://js.arcgis.com/3.9/js/esri/dijit/images/popup-sprite.png http://js.arcgis.com/3.9/js/esri/dijit/images/attribute_inspector_sprite.png http://js.arcgis.com/3.9/js/dojo/dojox/gfx/svg.js http://js.arcgis.com/3.9/js/dojo/dojo/resources/blank.gif http://js.arcgis.com/3.9/js/esri/dijit/images/ajax-loader.gif http://js.arcgis.com/3.9/js/esri/images/map/logo-sm.png http://js.arcgis.com/3.9/js/esri/images/map/logo-med.png http://js.arcgis.com/3.9/js/esri/css/esri.css http://js.arcgis.com/3.9/js/dojo/dijit/themes/claro/claro.css http://js.arcgis.com/3.9/js/esri/nls/jsapi_en-us.js # //services.arcgisonline.com/ArcGIS/rest/info?f=json //static.arcgis.com/attribution/World_Topo_Map?f=json //services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer?f=json&callback=dojo.io.script.jsonp_dojoIoScript1._jsonpCallback #
http://js.arcgis.com/3.9/js/esri/dijit/images/ajax-loader.gif #
../samples/images/blue-pin.png ../samples/images/red-pin.png ../samples/css/modular-popup.css ../vendor/IndexedDBShim/dist/IndexedDBShim.js ../vendor/IndexedDBShim/dist/IndexedDBShim.min.js ../vendor/offline/offline.min.js ../lib/tiles/FileSaver.js ../lib/tiles/OfflineTilesEnablerLayer.js ../lib/tiles/TilesStore.js ../lib/tiles/base64utils.js ../lib/tiles/offlineTilesEnabler.js ../lib/tiles/tilingScheme.js ../lib/tiles/notile.png ../lib/tiles/notile.psd ../lib/edit/attachmentsStore.js ../lib/edit/editsStore.js ../lib/edit/offlineFeaturesManager.js ../lib/edit/restartOfflineFeaturesManager.js ../utils/appCacheManager.js ../utils/debouncer.js
NETWORK: *
Looks like there were several bugs in OfflineTilesEnablerLayer. One set the proxy to always be enabled, the other one threw a JSON parsing error when the proxy was explicitly disabled.
I've made the changes. After I do more testing I'll push a new build and let you know. Should be sometime today if all goes well.
Waseem, let me know of the latest build https://github.com/Esri/offline-editor-js/commit/6992c08f3ce1217a62478e0d7abe29220dcf37b9 doesn't fix the problem.
Hello Andy,
I have downloaded the latest source and tried to run following sample applications but the map was not showing up: appcache-features.html appcache-tiles.html
I have attached the error log that might help you to trace the issue.
Am I missing something?
Regards, Waseem