Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: 6.1.2.15: How to disable PhantomJS?

    You found a bug! We've classified it as SDKTOOLS-1447 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #11
    Sencha Premium Member
    Join Date
    Jul 2014
    Location
    Durham, North Carolina
    Posts
    11

    Default

    I don't need to do any slicing so disabling the slicer worked for me (In .sencha/app/sencha.cfg):

    Code:
    skip.slice=1
    Last edited by SteveMercer; 10 Aug 2016 at 5:54 AM. Reason: Updated

  2. #12
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Something to check is the PhantomJS version. I would try with version 2.1.1. Linux users may need to compile it if a binary of that version is not available for their distribution.

  3. #13
    Sencha Premium Member
    Join Date
    Jul 2014
    Location
    Durham, North Carolina
    Posts
    11

    Default

    I am using Windows 7 64-bit. The version of PhantomJS included with Sencha Cmd 6.1.4.47 (Nightly) is the same as the one from the PhantomJS site (2.1.1). The issue still manifests with this version so that is not the problem.

  4. #14
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Yeah, I guess I was aiming that comment more at the Linux users since at least one Windows user above mentioned that it was in fact the older version working for him and that 2.1.1 no longer was. Sorry for not stating this.

  5. #15
    Sencha Premium User alexander.urban's Avatar
    Join Date
    Nov 2013
    Posts
    324

    Default

    After updating from ExtJS 6.0.1 to ExtJS 6.0.2 using Sencha Cmd 6.2.0, my project settings seems to have changed:

    Old debug output:
    Code:
    [INF] Processing Build Descriptor : default
    [INF] Starting server on port : 1841
    [INF] Mapping http://localhost:1841/~cmd to C:\Users\urban\bin\Sencha\Cmd\6.2.0.
    103...
    [INF] Mapping http://localhost:1841/ to T:\apptest\myapp-dev...
    [INF] Server started at port : 1841
    [INF] Application available at http://localhost:1841
    [INF] Loading app json manifest...
    New debug output:
    Code:
    [INF] Processing Build Descriptor : default
    [INF] Loading app json manifest...
    ...
    [WRN] @theme-background-image: Theme image not found: images/loadmask/loading.gi
    f
    [WRN] @theme-background-image: Theme image not found: images/tools/tool-sprites.
    png
    [WRN] @theme-background-image: Theme image not found: images/tools/tool-sprites-
    dark.png
    [WRN] @theme-background-image: Theme image not found: images/tools/tool-sprites-
    dark.png
    [WRN] @theme-background-image: Theme image not found: images/form/exclamation.pn
    g
    [WRN] @theme-background-image: Theme image not found: images/form/exclamation.pn
    g
    [WRN] @theme-background-image: Theme image not found: images/tools/tool-sprites-
    dark.png
    [WRN] @theme-background-image: Theme image not found: images/tools/tool-sprites-
    dark.png
    [WRN] @theme-background-image: Theme image not found: images/form/exclamation.pn
    g
    [WRN] @theme-background-image: Theme image not found: images/grid/dd-insert-arro
    w-right.png
    [WRN] @theme-background-image: Theme image not found: images/grid/dd-insert-arro
    w-left.png
    [WRN] @theme-background-image: Theme image not found: images/grid/col-move-top.p
    ng
    [WRN] @theme-background-image: Theme image not found: images/grid/col-move-botto
    m.png
    [WRN] @theme-background-image: Theme image not found: images/menu/default-group-
    checked.png
    [WRN] @theme-background-image: Theme image not found: images/tree/loading.gif
    ...
    [ERR] NETWORK_ERR: XMLHttpRequest Exception 101
    [ERR] [email protected][native code]
    [email protected]://platform/inlineimage.js:30:12
    anonymous
    [email protected]://platform/fashion-phantomjs.js:5:35435
    [email protected]://platform/fashion-phantomjs.js:3:51735
    [email protected]://platform/fashion-phantomjs.js:2:48005
    phantomjs://platform/fashion-phantomjs.js:2:26287
    [email protected]://platform/fashion-phantomjs.js:4:2874
    [email protected]://platform/fashion-phantomjs.js:2:26136
    [email protected]://code/phantom-sass-compiler.js:111:26
    global [email protected]://code/phantom-sass-compiler.js:153:10
    Exiting with code 3
    [email protected][native code]
    [email protected]://platform/inlineimage.js:30:12
    anonymous
    [email protected]://platform/fashion-phantomjs.js:5:35435
    [email protected]://platform/fashion-phantomjs.js:3:51735
    [email protected]://platform/fashion-phantomjs.js:2:48005
    phantomjs://platform/fashion-phantomjs.js:2:26287
    [email protected]antomjs://platform/fashion-phantomjs.js:4:2874
    [email protected]://platform/fashion-phantomjs.js:2:26136
    [email protected]://code/phantom-sass-compiler.js:111:26
    global [email protected]://code/phantom-sass-compiler.js:153:10
    [ERR]
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.ExBuild: PhantomJS sass build exited with code : 3
    [ERR]   at org.apache.tools.a
    [ERR] nt.Project.executeTargets(Project.java:1251)
    [ERR]
    [ERR] Total time: 1 minute 8 seconds
    [ERR] The following error occurred while executing this line:
    So I guess the server at port 1841 isn't started by the build process, which seems to cause CSS generation to fail.

    How can I get my project to start the server again?

Page 2 of 2 FirstFirst 12

Similar Threads

  1. PhantomJS crashing on amzn1
    By hurdad in forum Sencha Cmd
    Replies: 1
    Last Post: 21 Jul 2015, 5:51 AM
  2. Why does Fashion require PhantomJS?
    By GSandoval-Greentree in forum Ext JS 6.x Q&A
    Replies: 1
    Last Post: 21 Apr 2015, 2:19 AM
  3. How to use extjs with phantomjs?
    By usavahe in forum Ext: Q&A
    Replies: 1
    Last Post: 16 May 2014, 3:03 PM
  4. Replies: 4
    Last Post: 14 Aug 2013, 5:01 PM
  5. PhantomJS selenium tests?
    By stefankendall in forum Sencha Touch 2.x: Discussion
    Replies: 6
    Last Post: 24 Jan 2013, 11:23 AM

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
  •