1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    13
    Vote Rating
    0
    rainierwolfcastle is on a distinguished road

      0  

    Default Answered: ST 2.1.0 beta3 and new Sencha Cmd Beta: generated app not working

    Answered: ST 2.1.0 beta3 and new Sencha Cmd Beta: generated app not working


    Hey guys,


    I downloaded ST 2.1.0 beta3 and installed the new Sencha Cmd Beta.


    I generated a new app using the sencha command as I always do:


    d:\xampp\htdocs\sencha-touch-2.1.0-beta3\sencha generate app mybeta3app ../mybeta3app


    When I'm starting the app in Chrome it's not working as expected, the console output looks like this:




    Failed to load resource: the server responded with a status of 404 (Not Found)
    Uncaught Error: [Ext.Loader] Failed loading './event/Dispatcher.js', please verify that the file exists
    Failed to load resource: the server responded with a status of 404 (Not Found)
    Uncaught Error: [Ext.Loader] Failed loading './event/publisher/Dom.js', please verify that the file exists




    Any ideas?

  2. Yes, I found the same.

    Firstly : if you look in the docs that came with the ST beta3 you'll find a clue :
    sencha-touch-2.1.0-beta3/docs/index.html#!/guide/getting_started

    Notice there is a debug path for EXT set in app.js in the docs which is not in the generated app.js : so add this at the top :

    //<debug>
    Ext.Loader.setPath({
    'Ext':'sdk/src'
    });
    //</debug>

    And then notice that the app build did not copy the sdk/src files over in any case, so copy those from the sencha-touch-2.1.0-beta3 folder.

    It then worked for me - sorry to be a bit vague, I was in a bit of a bad temper when this happened to me and I didn't take any notes at the time

  3. #2
    Sencha User
    Join Date
    Aug 2012
    Posts
    6
    Answers
    1
    Vote Rating
    2
    hayesjim is on a distinguished road

      1  

    Default


    Yes, I found the same.

    Firstly : if you look in the docs that came with the ST beta3 you'll find a clue :
    sencha-touch-2.1.0-beta3/docs/index.html#!/guide/getting_started

    Notice there is a debug path for EXT set in app.js in the docs which is not in the generated app.js : so add this at the top :

    //<debug>
    Ext.Loader.setPath({
    'Ext':'sdk/src'
    });
    //</debug>

    And then notice that the app build did not copy the sdk/src files over in any case, so copy those from the sencha-touch-2.1.0-beta3 folder.

    It then worked for me - sorry to be a bit vague, I was in a bit of a bad temper when this happened to me and I didn't take any notes at the time

  4. #3
    Sencha User
    Join Date
    Jul 2012
    Posts
    13
    Vote Rating
    0
    rainierwolfcastle is on a distinguished road

      0  

    Default


    works!
    Thank you

  5. #4
    Sencha User
    Join Date
    Apr 2012
    Posts
    3
    Vote Rating
    0
    sean84 is on a distinguished road

      0  

    Default


    I think there is no need to copy the sdk folder.
    Use the folder named 'touch' which would be already available when you generate an app.

    Have you tried building your app?
    I get an 'classSystem is not defined' error...

  6. #5
    Sencha User
    Join Date
    Jun 2011
    Posts
    20
    Vote Rating
    1
    jgarifuna is on a distinguished road

      1  

    Default


    Thanks for the solution.

    I also noticed that the touch folder was copied when the app was generated so added the following at the top of app.js and it worked for me:

    Code:
    //<debug>
    Ext.Loader.setPath({
    'Ext':'touch/src'
    });
    //</debug>

  7. #6
    Sencha User
    Join Date
    Oct 2009
    Location
    Bangalore
    Posts
    19
    Vote Rating
    -4
    chetan.nr can only hope to improve

      0  

    Default Sencha Command Error when trying to create app using the latest "SenchaCmd-3.0.0.122"

    Sencha Command Error when trying to create app using the latest "SenchaCmd-3.0.0.122"


    Sencha Command Error when trying to create app using the latest "SenchaCmd-3.0.0.122" and
    "sencha-touch-2.1.0-b3"

    F:\apache-tomcat-6.0.10\webapps\sencha-touch-2.1.0-b3>sencha app create MyApp ../MyApp
    Sencha Cmd v3.0.0.122
    [ERROR] UNHANDLED EXCEPTION : No such property : 'create'

  8. #7
    Sencha User
    Join Date
    Jul 2012
    Location
    Italy
    Posts
    84
    Answers
    1
    Vote Rating
    4
    Tegola is on a distinguished road

      0  

    Default


    I have a similar issue while trying to upgrade an app:

    Code:
    Sencha Cmd v3.0.0.122
    [INFO ]		init-properties:
    [INFO ]		init-antcontrib:
    [INFO ]		init-sencha-command:
    [INFO ]		init:
    [INFO ]		-before-app-upgrade:
    [INFO ]		app-upgrade-impl:
    [ERROR]		UNHANDLED EXCEPTION : Net Yet Implemented

  9. #8
    Sencha User
    Join Date
    Jun 2011
    Posts
    20
    Vote Rating
    1
    jgarifuna is on a distinguished road

      0  

    Default


    Quote Originally Posted by chetan.nr View Post
    Sencha Command Error when trying to create app using the latest "SenchaCmd-3.0.0.122" and
    "sencha-touch-2.1.0-b3"

    F:\apache-tomcat-6.0.10\webapps\sencha-touch-2.1.0-b3>sencha app create MyApp ../MyApp
    Sencha Cmd v3.0.0.122
    [ERROR] UNHANDLED EXCEPTION : No such property : 'create'
    try something like:

    Code:
    sencha generate app test ../apps/src/test3

  10. #9
    Sencha User
    Join Date
    Dec 2011
    Posts
    11
    Vote Rating
    0
    spoussa is on a distinguished road

      0  

    Default Sencha CMD ?

    Sencha CMD ?


    Where can I download the Sencha CMD 3.0 ? It is nowhere. I have spent 60 mins just to try to find it. Please....

  11. #10
    Sencha User
    Join Date
    Dec 2011
    Posts
    11
    Vote Rating
    0
    spoussa is on a distinguished road

      0  

    Default Found it but very difficult...

    Found it but very difficult...


    Okay, I finally found the Sencha CMD.

    From this post: http://www.sencha.com/forum/showthre...led-on-linux64

    I got the linux url : http://dev.sencha.com/deploy/SenchaC...ux-x64.run.zip

    But since I needed the OSX version, I guessed the filename, and after few attempts I got it:

    http://dev.sencha.com/deploy/SenchaC...22-osx.app.zip

    But really, there must be a better way. Just tell me..

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."