1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    3
    Vote Rating
    0
    cdpconsul is on a distinguished road

      0  

    Default CityBars example XDA 422 errors

    CityBars example XDA 422 errors


    Per post below, trying to fix my CitiBars example by looking at a reference,
    http://www.sencha.com/forum/showthre...ew-not-linking

    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.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,581
    Vote Rating
    433
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    I just tried it and it works for me on Mac.
    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.

  3. #3
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,275
    Vote Rating
    34
    Phil.Strong has a spectacular aura about Phil.Strong has a spectacular aura about

      0  

    Default


    @cdpconsul what OS, build are you on?
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

  4. #4
    Sencha User
    Join Date
    Jun 2012
    Posts
    3
    Vote Rating
    0
    cdpconsul is on a distinguished road

      0  

    Default


    Interesting it works on a Mac, I am on Windows XP 32 bit, using Sencha Architect Version 2.0.0 Build 442

  5. #5
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,275
    Vote Rating
    34
    Phil.Strong has a spectacular aura about Phil.Strong has a spectacular aura about

      0  

    Default


    I'm also getting

    You're trying to decode an invalid JSON String:

    Source Class: Ext.JSON
    Source Method: decode

    on Win7
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

  6. #6
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,275
    Vote Rating
    34
    Phil.Strong has a spectacular aura about Phil.Strong has a spectacular aura about

      0  

    Default


    I'll be looking into this
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

  7. #7
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,275
    Vote Rating
    34
    Phil.Strong has a spectacular aura about Phil.Strong has a spectacular aura about

      0  

    Default


    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
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team