1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    13
    Vote Rating
    1
    micmac_creations is on a distinguished road

      0  

    Default References to Sencha Touch libraries broken? (Build 311)

    References to Sencha Touch libraries broken? (Build 311)


    Hi guys,

    With the new 311 build, whenever I try to preview or deploy my project, it fails to load, and I have the following 2 messages in the Javascript console:


    Failed to load resource: the server responded with a status of 404 (Not Found) http://extjs.cachefly.net/touch/sencha-touch-designer-edition/builds/resources/css/sencha-touch.css

    Failed to load resource: the server responded with a status of 404 (Not Found) http://extjs.cachefly.net/touch/sencha-touch-designer-edition/builds/sencha-touch-all-debug.js

    I would have assumed this is a major bug, but I have not seen anyone else post with the same error as me, so it could be something on my end? When I try to navigate to these URLs in my browser, I receive:

    The page you requested was not found.

    Any ideas?

    Thanks,
    Micmac_creations

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,413
    Vote Rating
    129
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Upgrade your existing projects to 2.0.0 final.

    http://extjs.cachefly.net/touch/sencha-touch-2.0.0/

    The problem is that the location of sencha-touch-all-debug.js moved from the root directory to builds and then back to the root directory during the pre-GA phase. Any projects that were created when they were in the builds subdirectory will have this problem until they are updated.

    Projects can be upgraded to GA final by opening up settings and setting Sencha Touch Library Path to the url above.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha User
    Join Date
    Aug 2011
    Posts
    13
    Vote Rating
    1
    micmac_creations is on a distinguished road

      0  

    Default


    Thanks for the quick reply,

    I updated the URL in settings as you have said, and deployed the project, but it was still trying to load the library from the old URL. I tried restarting Sencha Designer but still to no avail. I was only able to get it working when I changed the deploy path to a new directory.

    Thanks!
    Micmac_Creations

  4. #4
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,413
    Vote Rating
    129
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Hrm, did you save and then deploy?

    We may have a bug here, if you can reproduce a case please let us know.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  5. #5
    Sencha User
    Join Date
    Mar 2012
    Posts
    6
    Vote Rating
    0
    skycryer is on a distinguished road

      0  

    Default Problem done?

    Problem done?


    Hy,

    i tried today my first steps with Sencha Architect and have the same problem with the http://extjs.cachefly.net/touch/sencha-touch-2.0.0/ url. I just download the Windows Version of Architect 2 and setup my project settings. But after click on preview i get the error that the path could not be found ith 404 error.

    Is there a new path or what is the problem?

    Thanks

  6. #6
    Sencha User
    Join Date
    Aug 2011
    Posts
    13
    Vote Rating
    1
    micmac_creations is on a distinguished road

      0  

    Default


    The files are definitely still there (http://extjs.cachefly.net/touch/senc...h-all-debug.js). When you go project settings, what does it say the Sencha Touch Library Path is?

  7. #7
    Sencha User
    Join Date
    Mar 2012
    Posts
    6
    Vote Rating
    0
    skycryer is on a distinguished road

      0  

    Default


    The Sencha Touch Library Path is set to http://extjs.cachefly.net/touch/sencha-touch-2.0.0/

  8. #8
    Sencha User
    Join Date
    Aug 2011
    Posts
    13
    Vote Rating
    1
    micmac_creations is on a distinguished road

      0  

    Default


    Can you copy and paste the exact console error you are receiving?

  9. #9
    Sencha User
    Join Date
    Mar 2012
    Posts
    6
    Vote Rating
    0
    skycryer is on a distinguished road

      0  

    Default


    No Idea what changed, but now i do not get any error anymore. But i can not see anything in the Browser. I use Chrome, in Designer i see my list i created and the data i fetch. But in Preview the site is empty. I think i made something wrong.

    I created a new project, save it to a folder called senchaLearn, set the name of the app and the url prefix. After my changes i open the folder and there are some files, and folder, an app.html, app.js and the *.xds file. I do not know what i should do.

    Can you tell me how to setup a project and get it to run?

    Thanks

  10. #10
    Sencha User
    Join Date
    Aug 2011
    Posts
    13
    Vote Rating
    1
    micmac_creations is on a distinguished road

      0  

    Default


    Do you have a deploy path set in Sencha Architect? And are you deploying it?

Thread Participants: 2