1. #1
    Ext JS Premium Member
    Join Date
    Sep 2010
    Posts
    354
    Vote Rating
    5
    stewardsencha is on a distinguished road

      0  

    Default Trailing comma is not legal in ... /sass/example/render.js

    Trailing comma is not legal in ... /sass/example/render.js


    Built workspace,theme,app, okay so far.
    Developed the app for a day or two.

    Now sencha app refresh produces the following.

    What's the plan?
    Strip the app back down again until I can refresh it?

    Are there clues in here that mean something?
    What's this sass/example/render.js stuff?

    That file does not have line number 759

    Thanks

    Code:
    Sencha Cmd v3.1.0.256
    [ERR] Failed to download remote catalog : Error downloading http://cdn.sencha.com/cmd/packages/catalog.json
    [INF] Including theme package hank3 for app.theme=hank3 build
    [INF] 
    [INF] init-plugin:
    [INF] 
    [INF] init-plugin:
    [INF] Invoking plugin (/home/steward/public_html/apps/foxw/Yap/.sencha/app/plugin.xml) - supported targets: -before-app-refresh
    [INF] 
    [INF] -before-app-refresh:
    [INF] Invoking plugin (/home/steward/public_html/apps/foxw/Yap/.sencha/app/plugin.xml) - supported targets: app-refresh
    [INF] 
    [INF] cmd-root-plugin.init-properties:
    [INF] 
    [INF] init-properties:
    [INF] 
    [INF] init-sencha-command:
    [INF] 
    [INF] init:
    [INF] 
    [INF] -before-app-refresh:
    [INF] 
    [INF] app-refresh-impl:
    [INF] Including theme package hank3 for app.theme=hank3 build
    [INF] Loading classpath entry /home/steward/public_html/apps/foxw/ext/src
    [INF] Loading classpath entry /home/steward/public_html/apps/foxw/packages/ext-theme-base/overrides
    [INF] Loading classpath entry /home/steward/public_html/apps/foxw/packages/ext-theme-base/src
    [INF] Loading classpath entry /home/steward/public_html/apps/foxw/packages/ext-theme-neutral/overrides
    [INF] Loading classpath entry /home/steward/public_html/apps/foxw/packages/ext-theme-neutral/src
    [INF] Loading classpath entry /home/steward/public_html/apps/foxw/packages/ext-theme-classic/overrides
    [INF] Loading classpath entry /home/steward/public_html/apps/foxw/packages/ext-theme-classic/src
    [INF] Loading classpath entry /home/steward/public_html/apps/foxw/packages/hank3/overrides
    [INF] Loading classpath entry /home/steward/public_html/apps/foxw/packages/hank3/src
    [INF] Loading classpath entry /home/steward/public_html/apps/foxw
    [INF] Loading classpath entry /home/steward/public_html/apps/foxw/Yap/app
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 object initializer => ]);) -- /home/steward/public_html/apps/foxw/Yap/sass/example/render.js:759
    [ERR] 
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.ExParse: Failed parsing /home/steward/public_html/apps/foxw/build/Yap/production/all-classes.js
    [ERR] 
    [ERR] Total time: 8 seconds
    [ERR] com.sencha.exceptions.ExParse: Failed parsing /home/steward/public_html/apps/foxw/build/Yap/production/all-classes.js

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,780
    Vote Rating
    833
    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


    I haven't seen it throw that error wrongly. You can try to add in the verbose flag to get more information.
    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 - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Posts
    1,338
    Vote Rating
    132
    dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all

      0  

    Default


    Quote Originally Posted by stewardsencha View Post
    What's this sass/example/render.js stuff?

    That file does not have line number 759
    That is used to produce image slices for IE to support rounded corners and background gradients. If you load sass/example/theme.html in Chrome do you get any better error messages?
    Don Griffin
    Ext JS Development Team Lead

    Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue

    "Use the source, Luke!"

  4. #4
    Ext JS Premium Member
    Join Date
    Sep 2010
    Posts
    354
    Vote Rating
    5
    stewardsencha is on a distinguished road

      0  

    Default


    I haven't seen it throw that error wrongly. You can try to add in the verbose flag to get more information.
    I do not expect it is wrong.

    What I hoped for was an error message that would lead me back to my source.

    Initial attempts to "add in the verbose flag" are failing. Command line, Ant build step, config file...?


    That is used to produce image slices for IE to support rounded corners and background gradients. If you load sass/example/theme.html in Chrome do you get any better error messages?
    I don't support IE, I don't need the distraction and overhead of slicing. I do not recall any discussion of sencha generating "examples". Your path fragment is ambiguous for me.

    I have this in secha.cfg
    Code:
    #dsm 4 apr 13
    skip.sass=true
    skip.slice=true
    skip.theme=true
    Both answers are assuming more intelligence or experience than I can muster.

    But I will struggle with them for a few hours and see if I can piece together what you are suggesting.

    Because otherwise the only recourse I can think of is to create a new project and add all the files in one by one, rebuilding after each.

    I don't want to debug that way!

    Ok I find the example . The error message doesn't help off the bat...

    "generateSlicerManifest is not defined"
    Attached Images

  5. #5
    Sencha User DTT_11-1983's Avatar
    Join Date
    Apr 2008
    Posts
    92
    Vote Rating
    2
    DTT_11-1983 is on a distinguished road

      0  

    Default


    I got the same problem here
    after I run Sencha Package Build, theme generated complete. Then on FireFox browser, I navigate to htt p://localhost/my-workspace/packages/my-theme/build/example/theme.html and got generateSlicerManifest is not defined on FireBug.
    Sorry for my bad English.

  6. #6
    Sencha User
    Join Date
    Jan 2013
    Posts
    13
    Vote Rating
    0
    hown is on a distinguished road

      0  

    Default


    i get the same error!

    any updates on this ?

  7. #7
    Sencha User
    Join Date
    Jan 2013
    Posts
    13
    Vote Rating
    0
    hown is on a distinguished road

      0  

    Default


    I had the same error.

    By adding
    HTML Code:
    <script type="text/javascript" src="../../../../ext/packages/ext-theme-neptune/sass/example/slicer.js"></script>
    this line in the head of my theme.html the function generateSlicerManifest was defined.

    br
    hown

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