Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Thread: Sencha CMD 6.0.2.14 hangs on application generate (compile)

    You found a bug! We've classified it as SDKTOOLS-1376 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha Premium Member
    Join Date
    Apr 2015
    Posts
    24

    Default Sencha CMD 6.0.2.14 hangs on application generate (compile)

    It hangs at that point for 4-5 minutes and then proceeds. 6.0.3.46 actually times out at that point)

    Code:
    E:\temp\senchatest>C:\dtools\Sencha\Cmd\6.0.2.14\sencha -sdk D:\java\ajax\ext\6.x\6.0.1 generate app  -ext GCTrack webapp
    Sencha Cmd v6.0.2.14
    [INF] Copying framework to E:\temp\senchatest\webapp\ext
    [INF] Processing Build Descriptor : classic
    [INF] Starting server on port : 1841
    [INF] Mapping http://localhost:1841/~cmd to C:\dtools\Sencha\Cmd\6.0.2.14...
    [INF] Mapping http://localhost:1841/ to E:\temp\senchatest\webapp...
    [INF] Application available at http://localhost:1841
    [INF] Loading app json manifest...
    [INF] Appending content to E:\temp\senchatest\webapp\bootstrap.js
    [INF] Writing content to E:\temp\senchatest\webapp\classic.json
    [INF] merging 223 input resources into E:\temp\senchatest\webapp\build\development\GCTrack\classic\resources
    [INF] merged 222 resources into E:\temp\senchatest\webapp\build\development\GCTrack\classic\resources
    [INF] merging 18 input resources into E:\temp\senchatest\webapp\build\development\GCTrack
    [INF] merged 17 resources into E:\temp\senchatest\webapp\build\development\GCTrack
    [INF] Writing content to E:\temp\senchatest\webapp\sass\example\bootstrap.json
    [INF] Writing content to E:\temp\senchatest\webapp\sass\example\bootstrap.js
    [INF] writing sass content to E:\temp\senchatest\webapp\build\temp\development\GCTrack\sass\GCTrack-all.scss.tmp
    [INF] appending sass content to E:\temp\senchatest\webapp\build\temp\development\GCTrack\sass\GCTrack-all.scss.tmp
    [INF] appending sass content to E:\temp\senchatest\webapp\build\temp\development\GCTrack\sass\GCTrack-all.scss.tmp
    [INF] writing sass content to E:\temp\senchatest\webapp\build\temp\development\GCTrack\sass\config.rb
    after hanging for 5 minutes at he above line it runs quickly tho the next sticking point where it hangs for another 2 minutes:

    Code:
    [INF] Application available at http://localhost:1841
    [INF] Appending content to E:\temp\senchatest\webapp\bootstrap.js
    [INF] Writing content to E:\temp\senchatest\webapp\classic.json
    [INF] Processing Build Descriptor : modern
    [INF] Starting server on port : 1841
    [INF] Mapping http://localhost:1841/~cmd to C:\dtools\Sencha\Cmd\6.0.2.14...
    [INF] Mapping http://localhost:1841/ to E:\temp\senchatest\webapp...
    [INF] Application available at http://localhost:1841
    [INF] Loading app json manifest...
    [INF] Appending content to E:\temp\senchatest\webapp\bootstrap.js
    [INF] Writing content to E:\temp\senchatest\webapp\modern.json
    [INF] merging 365 input resources into E:\temp\senchatest\webapp\build\development\GCTrack\modern\resources
    [INF] merged 364 resources into E:\temp\senchatest\webapp\build\development\GCTrack\modern\resources
    [INF] merging 18 input resources into E:\temp\senchatest\webapp\build\development\GCTrack
    [INF] merged 10 resources into E:\temp\senchatest\webapp\build\development\GCTrack
    [INF] Writing content to E:\temp\senchatest\webapp\sass\example\bootstrap.json
    [INF] Writing content to E:\temp\senchatest\webapp\sass\example\bootstrap.js
    [INF] writing sass content to E:\temp\senchatest\webapp\build\temp\development\GCTrack\sass\GCTrack-all.scss.tmp
    [INF] appending sass content to E:\temp\senchatest\webapp\build\temp\development\GCTrack\sass\GCTrack-all.scss.tmp
    [INF] appending sass content to E:\temp\senchatest\webapp\build\temp\development\GCTrack\sass\GCTrack-all.scss.tmp
    and then finally finishes

    when trying to build it it hangs at the same place:

    Code:
    E:\temp\senchatest\webapp>C:\dtools\Sencha\Cmd\6.0.2.14\sencha app build
    Sencha Cmd v6.0.2.14
    [INF] Processing Build Descriptor : default
    [INF] Starting server on port : 1841
    [INF] Mapping http://localhost:1841/~cmd to C:\dtools\Sencha\Cmd\6.0.2.14...
    [INF] Mapping http://localhost:1841/ to E:\temp\senchatest\webapp...
    [INF] Application available at http://localhost:1841
    [INF] Loading app json manifest...
    [INF] Appending content to E:\temp\senchatest\webapp\bootstrap.js
    [INF] Writing content to E:\temp\senchatest\webapp\bootstrap.json
    [INF] Compressing data with YuiJavascriptCompressor
    [INF] Writing concatenated output to file E:\temp\senchatest\webapp\build\production\GCTrack\app.js
    [INF] merging 223 input resources into E:\temp\senchatest\webapp\build\production\GCTrack\resources
    [INF] merged 222 resources into E:\temp\senchatest\webapp\build\production\GCTrack\resources
    [INF] merging 18 input resources into E:\temp\senchatest\webapp\build\production\GCTrack
    [INF] merged 17 resources into E:\temp\senchatest\webapp\build\production\GCTrack
    [INF] Writing content to E:\temp\senchatest\webapp\sass\example\bootstrap.json
    [INF] Writing content to E:\temp\senchatest\webapp\sass\example\bootstrap.js
    [INF] writing sass content to E:\temp\senchatest\webapp\build\temp\production\GCTrack\slicer-temp\GCTrack-example.scss.tmp
    [INF] writing sass content to E:\temp\senchatest\webapp\build\temp\production\GCTrack\slicer-temp\config.rb
    and then fails with

    Code:
    [INF] Slicing images...
    [ERR]
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.BasicException: Cannot find file : E:\temp\senchatest\webapp\build\temp\production\GCTrack\slicer-temp\theme-capture.json
    [ERR]   at com.sencha.command.BasePluginCommands$BasePluginCommand.doExecute(BasePl
    [ERR] uginCommands.java:98)
    [ERR]
    [ERR] Total time: 3 minutes 7 seconds
    [ERR] The following error occurred while executing this line:
    E:\temp\senchatest\webapp\.sencha\app\build-impl.xml:335: The following error occurred while executing this line:
    E:\temp\senchatest\webapp\.sencha\app\slice-impl.xml:386: The following error occurred while executing this line:
    E:\temp\senchatest\webapp\.sencha\app\slice-impl.xml:387: The following error occurred while executing this line:
    E:\temp\senchatest\webapp\.sencha\app\slice-impl.xml:256: com.sencha.exceptions.BasicException: Cannot find file : E:\temp\senchatest\webapp\build\temp\producti
    on\GCTrack\slicer-temp\theme-capture.json

  2. #2
    Sencha - Support Team bjdurham85's Avatar
    Join Date
    Mar 2014
    Posts
    962

    Default

    Hi--,

    Thanks for the information and sorry to hear about your troubles. I'm curious if it's partly the generate command, can you try it as follows:

    PHP Code:
    sencha -sdk D:\java\ajax\ext\6.x\6.0.1 generate app GCTrack webapp 
    If it does not, can you let me know your O/S (32/64) and I'll see if I can reproduce on my side?

    Regards,
    Bryan

  3. #3
    Sencha Premium Member
    Join Date
    Apr 2015
    Posts
    24

    Default

    Bryan ,

    It's the same (my original command was identical just with extra -ext switch)

    my environment is Win 10 64 bit

    thank you,
    Alex

  4. #4
    Sencha - Support Team bjdurham85's Avatar
    Join Date
    Mar 2014
    Posts
    962

    Default

    Thanks, I've been able to successfully generate the app on my Window 8 - 64 bit without trouble.

    Currently setting up Win 10 now, will let you know if I have trouble.



    While I don't have a good understanding of your environment, I was able to successfully generate with app/cmd on same drive. For testing can you generate the app on the same drive as where Cmd is installed (c?

    Bryan

  5. #5
    Sencha Premium Member
    Join Date
    Apr 2015
    Posts
    24

    Default

    Bryan,
    Does it attempt to connect to any external hosts during the build?

    Is there way to tell jetty on which IP to listen (it seems to bind to IPv6)

    Thanks
    Alex

  6. #6
    Sencha - Support Team bjdurham85's Avatar
    Join Date
    Mar 2014
    Posts
    962

    Default

    It likely does, I got a firewall allow request that I accepted.

    Do you mean for an app watch?

    Bryan

  7. #7
    Sencha - Support Team bjdurham85's Avatar
    Join Date
    Mar 2014
    Posts
    962

    Default

    Also, was able to successfully generate app in Win 10 64-bit.

  8. #8
    Sencha Premium Member
    Join Date
    Apr 2015
    Posts
    24

    Default

    no just regular app build. it starts web server for its sass things and it seems to be on IPvs (not sure if it matters because I can connect to it from web browser just fine) and I am not sure if it is used when compiling java code or just bu sass stuff .

    is it possible to change url http://localhost:1841 it uses to IP just to troubleshoot?


    Quote Originally Posted by bjdurham85 View Post
    It likely does, I got a firewall allow request that I accepted.

    Do you mean for an app watch?

    Bryan

  9. #9
    Sencha - Support Team bjdurham85's Avatar
    Join Date
    Mar 2014
    Posts
    962

    Default

    Take a look at the .sencha/app/defaults.properties file.

    Bryan

  10. #10
    Sencha Premium Member
    Join Date
    Apr 2015
    Posts
    24

    Default

    I had no doubts that you will generate it - it could not universally not work. it is something in my environment but I need some help troubleshooting it. Even most fundamental command does not work!


    when running with nightly it fails like that:

    as for the message "The application was last modified by an older version of Sencha Cmd (6.0.1.67)" at the bottom it is clean generate - there was no chance for another version of CMD bee involved. so I guess it is a secondary meaningless error


    Code:
    E:\temp\senchatest>C:\dtools\Sencha\Cmd\6.0.3.46\sencha -sdk D:\java\ajax\ext\6.x\6.0.2-SNAPSHOT generate app -ext GCTrack webapp
    Sencha Cmd v6.0.3.46
    [INF] Copying framework to E:\temp\senchatest\webapp\ext
    [INF] Processing Build Descriptor : classic
    [INF] Starting server on port : 1841
    [INF] Mapping http://localhost:1841/~cmd to C:\dtools\Sencha\Cmd\6.0.3.46...
    [INF] Mapping http://localhost:1841/ to E:\temp\senchatest\webapp...
    [INF] Application available at http://localhost:1841
    [INF] Loading app json manifest...
    [INF] Appending content to E:\temp\senchatest\webapp\bootstrap.js
    [INF] Writing content to E:\temp\senchatest\webapp\classic.json
    [INF] merging 232 input resources into E:\temp\senchatest\webapp\build\development\GCTrack\classic\resources
    [INF] merged 232 resources into E:\temp\senchatest\webapp\build\development\GCTrack\classic\resources
    [INF] merging 18 input resources into E:\temp\senchatest\webapp\build\development\GCTrack
    [INF] merged 17 resources into E:\temp\senchatest\webapp\build\development\GCTrack
    [INF] Writing content to E:\temp\senchatest\webapp\sass\example\bootstrap.json
    [INF] Writing content to E:\temp\senchatest\webapp\sass\example\bootstrap.js
    [INF] writing sass content to E:\temp\senchatest\webapp\build\temp\development\GCTrack\sass\GCTrack-all.scss.tmp
    [INF] appending sass content to E:\temp\senchatest\webapp\build\temp\development\GCTrack\sass\GCTrack-all.scss.tmp
    [INF] appending sass content to E:\temp\senchatest\webapp\build\temp\development\GCTrack\sass\GCTrack-all.scss.tmp
    [INF] writing sass content to E:\temp\senchatest\webapp\build\temp\development\GCTrack\sass\config.rb
    [INF] Aliases are enabled
    [INF] Aliases are enabled
    [ERR]
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.ExBuild: Timed out waiting for sass build completion
    [ERR]
    [ERR]
    [ERR] Total time: 1 minute 36 seconds
    [ERR] ================= Phantomjs Output =================
    [ERR] loading page http://localhost:1841/sass/example/fashion.html?phantomjs=true
    == Unhandled Error ==
    TypeError: 'undefined' is not a function (evaluating 'Ext.application')
    
    
      http://localhost:1841/app.js?_dc=20160122094247:19
    
    
    [ERR] ============= End Phantomjs Output =================
    [ERR]
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.BasicException: The following error occurred while executing this line:
    [ERR] E:\temp\senchatest\webapp\.sencha\app\build-impl.xml:286: The following error occurred while executing this line:
    [ERR] E:\temp\senchatest\webapp\.sencha\app\sass-impl.xml:189: The following error occurred while executing this line:
    [ERR] E:\temp\senchatest\webapp\.sencha\app\sass-impl.xml:211: com.sencha.exceptions.ExBuild: Timed out waiting for sass build completion
    [ERR] E:\temp\senchatest\webapp\.sencha\app\build-impl.xml:286: The following error occurred while executing this line:
    [ERR] E:\temp\senchatest\webapp\.sencha\app\sass-impl.xml:189: The following error occurred while executing this line:
    [ERR] E:\temp\senchatest\webapp\.sencha\app\sass-impl.xml:211: com.sencha.exceptions.ExBuild: Timed out waiting for sass build completion
    [ERR]   at org.apac
    [ERR] he.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ERR] E:\temp\senchatest\webapp\.sencha\app\sass-impl.xml:189: The following error occurred while executing this line:
    [ERR] E:\temp\senchatest\webapp\.sencha\app\sass-impl.xml:211: com.sencha.exceptions.ExBuild: Timed out waiting for sass build completion
    [ERR]
    [ERR] Total time: 1 minute 37 seconds
    [ERR] The following error occurred while executing this line:
    C:\dtools\Sencha\Cmd\6.0.3.46\plugins\ext\current\plugin.xml:155: com.sencha.exceptions.BasicException: The following error occurred while executing this line:
    E:\temp\senchatest\webapp\.sencha\app\build-impl.xml:286: The following error occurred while executing this line:
    E:\temp\senchatest\webapp\.sencha\app\sass-impl.xml:189: The following error occurred while executing this line:
    E:\temp\senchatest\webapp\.sencha\app\sass-impl.xml:211: com.sencha.exceptions.ExBuild: Timed out waiting for sass build completion
    [ERR]
    The application was last modified by an older version of Sencha Cmd (6.0.1.67)
    the current is 6.0.3.46.
    Please run "sencha package upgrade" to update to 6.0.3.46.

Page 1 of 3 123 LastLast

Similar Threads

  1. Replies: 5
    Last Post: 11 Dec 2014, 11:49 AM
  2. iPhone 5: Application hangs at launch screen (Sencha 2.1)
    By senchanup in forum Sencha Touch 2.x: Q&A
    Replies: 0
    Last Post: 19 Jun 2013, 1:06 AM
  3. Replies: 4
    Last Post: 30 Apr 2013, 7:24 AM
  4. Replies: 1
    Last Post: 7 Jan 2013, 7:23 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •