1. #1
    Sencha User
    Join Date
    Jul 2009
    Posts
    55
    Vote Rating
    0
    jgadbois is on a distinguished road

      0  

    Default Can't run Sencha SDK

    Can't run Sencha SDK


    Getting the following error:

    Code:
    D:\Documents\Projects\SenchaTouch>sencha
    \SenchaSDKTools-2.0.0-Beta\bin\ was unexpected at this time.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,801
    Vote Rating
    834
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    When you try to do what?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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 in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Jul 2009
    Posts
    55
    Vote Rating
    0
    jgadbois is on a distinguished road

      0  

    Default


    Anything - I tried to generate a new app initially, but get the same error if I just run "sencha" with no args.

  4. #4
    Sencha User
    Join Date
    Mar 2012
    Posts
    8
    Vote Rating
    0
    jsweeney is on a distinguished road

      0  

    Default


    I tried to run the SDK the same way as outlined in this video and received the same error. Has anyone found a fix?

  5. #5
    Sencha User
    Join Date
    Jan 2012
    Location
    Belgium
    Posts
    3
    Vote Rating
    0
    NilsD88 is on a distinguished road

      0  

    Default


    I ran into the same problem here. I'm running Windows 7 64-bit
    I changed the install-directory to c:\Program Files\SenchaSDK... instead of c:\Program Files(x86)\SenchaSDK...
    Then I've put the Sencha SDK(the folder with everything in it like examples and the JS files) on my C, in a folder called Sencha. Then CD'ed all the way to the SDK folder and tried sencha in a command screen. This works on my pc and on a friends pc(both 64-bit windows OS). For some reason it won't work when the SDK tools are in Program Files(x86).

    So if you're running 64-bit try this, it may work. Reply pls just to be sure this wasn't some lucky shot.

  6. #6
    Sencha User
    Join Date
    Jul 2011
    Location
    The Netherlands
    Posts
    24
    Vote Rating
    5
    renato01 is on a distinguished road

      0  

    Default


    Quote Originally Posted by NilsD88 View Post
    I ran into the same problem here. I'm running Windows 7 64-bit
    I changed the install-directory to c:\Program Files\SenchaSDK... instead of c:\Program Files(x86)\SenchaSDK...
    Then I've put the Sencha SDK(the folder with everything in it like examples and the JS files) on my C, in a folder called Sencha. Then CD'ed all the way to the SDK folder and tried sencha in a command screen. This works on my pc and on a friends pc(both 64-bit windows OS). For some reason it won't work when the SDK tools are in Program Files(x86).

    So if you're running 64-bit try this, it may work. Reply pls just to be sure this wasn't some lucky shot.
    **WORKED FOR ME!!
    I was also getting this error: "\SenchaSDKTools-2.0.0-Beta\bin\ was unexpected at this time"
    @NilsD88 findings helped. Uninstalled and re-installed with new install path.

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

      0  

    Default


    Okay, I had the same error message, and now it works!

    But there is a problem though (actually, I think I'm wrong, but I would very much like you to correct me on this one!)

    Is it not the purpose to CD to the Sencha Touch folder, there where you are developing your application?

    I created on my C: two folders, SenchaSDK and SenchaTouch (containing index.html, app.js, and the "touch" folder with the official SenchaTouch2 content).

    When I CD to SenchaSDK/command, it works as supposed.
    When I CD to SenchaTouch, it can't find the right path.

    Tell me if I'm wrong, but in the video, he CD himself to his app folder right? not his SDK folder...???

    Thanks
    Yarmo

  8. #8
    Sencha User
    Join Date
    Jan 2012
    Location
    Belgium
    Posts
    3
    Vote Rating
    0
    NilsD88 is on a distinguished road

      0  

    Default


    TBH i don't know what's best, I've put the official SenchaTouch2 folder somewhere easy to remember and easy reachable through CD (don't want to go through x folders before I reach what I need ).

    It works both ways but having the official SenchaTouch2 folder(including docs&examples)in the same folder as your app seems redundant since the tool copies the source folders of the official SenchaTouch2 folder to your app, you don't need all the docs and examples in your app when you would build and deploy.

    Having a copy of the official SenchaTouch2 folder(including docs&examples) on your WAMP/MAMP/LAMP is always handy, if you ever have to develop in a situation where you have no acces to internet, which is probably unlikely.

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

      0  

    Default


    Same error. Here's what I did.

    1. Installed Sencha SDK 2.0 beta into folder:
    C:\Program Files (x86)\SenchaSDKTools-2.0.0-Beta
    2. Finished installation
    3. Opened new terminal
    4. Typed in "sencha"
    5. \SenchaSDKTools-2.0.0-Beta\bin\ was unexpected at this time.

    Anything with the "sencha" command gets this error.

  10. #10
    Sencha User
    Join Date
    Jan 2012
    Location
    Belgium
    Posts
    3
    Vote Rating
    0
    NilsD88 is on a distinguished road

      0  

    Default


    See above , change install dir to 'C:\Program Files\SenchaSDK... instead of C:\Program Files(x86). Seems to work for some people

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..." hd porno faketaxi