19 Jul 2012 8:26 PM #1
CityBars example XDA 422 errors
Per post below, trying to fix my CitiBars example by looking at a reference,
I downloaded the latest XDA from github (citybars442.xda), but when I open it I get the error "TypeError: '[object Object]' is not a function" and if I try to ignore it it does not open the project.
21 Jul 2012 12:38 PM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
I just tried it and it works for me on Mac.Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
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 email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
23 Jul 2012 6:33 AM #3
@cdpconsul what OS, build are you on?Phil Strong
23 Jul 2012 7:44 PM #4
Interesting it works on a Mac, I am on Windows XP 32 bit, using Sencha Architect Version 2.0.0 Build 442
24 Jul 2012 10:14 PM #5
I'm also getting
You're trying to decode an invalid JSON String:
Source Class: Ext.JSON
Source Method: decode
on Win7Phil Strong
24 Jul 2012 10:15 PM #6
I'll be looking into thisPhil Strong
26 Jul 2012 9:33 AM #7
Ok I found the issue and it has to do with .DS_Store files in the metadata directory.
I've re uploaded an XDA that will work on windows w/ build 442. https://github.com/downloads/SenchaA...itybars442.xda
I'm also going to ignore files that don't match a certain criteria in 2.1 so this doesn't happen again.Phil Strong