Hybrid View
-
16 Oct 2012 1:32 AM #1
[3.0.0.201] Fails generating checksum for appCache item
[3.0.0.201] Fails generating checksum for appCache item
I have a png file added to the app.json appCache object:
This worked in previous sencha cmd versions, but now it throws an error:Code:"appCache": { /** * List of items in the CACHE MANIFEST section */ "cache": [ "index.html", "images/my-image.png" ],
Removing the image from the app.json file allows the build process to run without errors.Code:[DEBUG] generating new built index.html [INFO ] Embedded microloader into index.html [INFO ] Generating appcache [INFO ] Generating checksum for appCache item: index.html [INFO ] Generating checksum for appCache item: images/my-image.png [ERROR] BUILD FAILED [ERROR] com.sencha.exceptions.BasicException: The following error occurred while executing this line: [ERROR] /Users/shiller/Work/myapp/.sencha/app/build-impl.xml:120: javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped com.sencha.exceptions.BasicException: failed calculating SHA-1 hash (<Unknown source>#619) in <Unknown source> at line number 619 [ERROR] at com.sencha.exceptions.BasicException.wrap(BasicException.java:43)
(I'm using ST 2.1 RC2)Owner of 360releases Ltd. - Sencha Touch & Ext JS consulting
twitter.com/steffenhiller
extjswithrails.com, senchatouchbits.com
-
23 Oct 2012 7:31 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,624
- Vote Rating
- 435
First you would need to add images to the resources array so it's copied over but even then it fails.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
8 Nov 2012 8:13 AM #3
I'm still having this issue with ST2.1 final. Is there a workaround to properly build the app?
-
8 Nov 2012 8:16 AM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,624
- Vote Rating
- 435
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
8 Nov 2012 11:44 AM #5
Well this kind of not cool for a GA. Any possible workaround?
-
8 Nov 2012 6:07 PM #6
Can you include the complete debug output you are getting?
Thanks!Don Griffin
Ext JS Development Team Lead
Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue
"Use the source, Luke!"
Success! Looks like we've fixed this one. According to our records the fix was applied for
SDKTOOLS-222
in
3.0.1.


Reply With Quote