Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Nov 2010
    Posts
    2
    Vote Rating
    0
    bjames4911 is on a distinguished road

      0  

    Default No output returned for Sencha Cmd 3.0

    No output returned for Sencha Cmd 3.0


    I installed Extjs 4.1.1a and Sencha Cmd 3.0.0.250 on my Window XP Professional machine. When I type in 'Sencha' in the dos window I should get 'Sencha Cmd v3.0.0', however I get no output. I made sure I ran the command in the Extjs SDK folder (c:\sencha\ext-4.1.1a). My understanding is I do NOT need SDK build tool when using Extjs 4.1.1a and Sencha Cmd. I tried setting it up on my home pc (Windows 7) and the command runs fine. Any help would be appreciate. Thanks!

  2. #2
    Sencha User
    Join Date
    Nov 2010
    Posts
    2
    Vote Rating
    0
    bjames4911 is on a distinguished road

      0  

    Default


    Update on problem. I installed a newer version of the Java SE runtime (version 1.6 update 37) and the command line works OK. Had an older version of the Java 1.6 runtime.

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    35
    Vote Rating
    4
    jattardi is on a distinguished road

      0  

    Default


    You can hack the 'sencha' shell script to see the error that's occuring. By default, it seems to output stderr to a file called 'stderr.txt', but then deletes it before the program exits. So if there's an exception, you just get blank output.

    MAKE A BACKUP COPY ​of the sencha command first.

    Look for this line:

    Code:
    java $jvmArgs -jar $BASEDIR/sencha.jar "$@" 2>stderr.txt
    Remove the redirection of stderr to stderr.txt, so the line now reads:

    Code:
    java $jvmArgs -jar $BASEDIR/sencha.jar "$@"
    Now, if there is a Java exception, you'll see the stack trace on the console so you have an idea of what's wrong.

  4. #4
    Sencha User
    Join Date
    Apr 2012
    Posts
    35
    Vote Rating
    4
    jattardi is on a distinguished road

      0  

    Default


    Sorry, I just realized you said you're on Windows XP. The steps I mentioned above only work on a Mac or Linux system, or on Windows if you're using cygwin. If you're running on just plain Windows, it runs the sencha.exe file, which of course you can't modify.