Ext JS 5 Button.sass error onbuild - sass

I am trying to make my own template in Ext JS 5, I use desktop view.
I followed this guide http://docs.sencha.com/extjs/5.0/core_concepts/theming.html Everything is clear to me; I make a new template, default scss works very well, but when I try make a Button.scss file, something like this:
#include extjs-button-ui(
$ui: 'team-arrow',
$background-color: red
);
and try to build an application by 'sencha app build' I get this error:
[INF] executing compass using system installed ruby runtime
error UbiPlatformPBX-all.scss (Line 62 of ../../../../../ext/packages/ext-theme-base/sass/etc/functions.scss: Undefined operation: "5px-null gt 0".)
create UbiPlatformPBX-all.css
[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExProcess: compass process exited with non-zero code : 1
[ERR] at co
[ERR] m.sencha.command.Sencha.dispatch(Sencha.java:72)
[ERR]
[ERR] Total time: 19 seconds
[ERR] The following error occurred while executing this line:
/usr/local/ubipbx/wc_patryk/ubiquity-platform/extjs/.sencha/app/build-impl.xml:284: The following error occurred while executing this line:
/usr/local/ubipbx/wc_patryk/ubiquity-platform/extjs/.sencha/app/sass-impl.xml:155: The following error occurred while executing this line:
/usr/local/ubipbx/wc_patryk/ubiquity-platform/extjs/.sencha/app/sass-impl.xml:176: com.sencha.exceptions.ExProcess: compass process exited with non-zero code : 1
I have no idea what the problem is, for example when I make a Panel.scss file and use this code:
#include extjs-panel-ui(
$ui: 'highlight-framed',
$ui-header-background-color: yellow,
$ui-border-color: yellow,
$ui-header-border-color: yellow,
$ui-body-border-color: yellow,
$ui-border-width: 5px,
$ui-border-radius: 5px
);
everything works ok.

Related

Sencha app getting failed because of Failed creating background process and error occured

Sencha app getting failed because of Failed creating background process and error occured.
My app was getting failed then on StackOverflow I found some answer which is all about change ruby. I tried couple of ruby versions but didn't get any luck with that.
I have ruby 2.2.2 installed and I am trying to build my app. I am getting following error. This is very annoying.
** This Failed after change ruby, and I change ruby because of the next error**
BUILD FAILED [ERR] com.sencha.exceptions.ExProcess: Failed
creating background process [ERR] java.io.IOException: Cannot run
program "ruby" (in directory
"C:\User\MasterBuild\trunk\1\1\1\1\AppName\build\temp\production\AppName\sass"):
CreateProcess error=2, The system cannot find the file specified
And these are the actual error.
[ERR] The following error occurred while executing this line:
C:\1\MasterBuild\trunk\1\1\1\1\AppName.sencha\app\build-impl.xml:284:
The following error occurred while executing this line:
C:\1\MasterBuild\trunk\1\1\1\1\AppName.sencha\app\sass-impl.xml:155:
The following error occurred while executing this line:
C:\1\MasterBuild\trunk\1\1\1\1\AppName.sencha\app\sass-impl.xml:176:
com.sencha.exceptions.ExProcess: Failed creating background process
Can anyone please give some suggestion how to fix that. Thanks for all help.

sass error when trying to run gulp local webserver

I have node.js and gulp.js installed, npm install works fine but then when I try to run the gulp local webserver it stops at 'sass' with the error messages below.
I have tried uninstalling node.js and gulp.js as well as wiping out the node_modules folder and running npm install again but no luck yet. Any suggestions?
[09:50:25] Starting 'generate-sass-index'...
[09:50:26] Finished 'generate-sass-index' after 68 ms
[09:50:26] Starting 'sass'...
[09:50:26] SOURCE CODE ERROR
[09:50:26] formatted Error: You may not #extend an outer selector from within #media.
You may only #extend selectors within the same directive.
From "#extend .col-md-6" on line 134 of LocalDistribution/sass/ItemDetails/_item-details.scss
on line 11 of LocalDistribution/sass/twitter-bootstrap-sass/mixins/_grid-framework.scss
>>
[09:50:26] message LocalDistribution\sass\twitter-bootstrap-sass\mixins\_grid-framework.scss
Error: You may not #extend an outer selector from within #media.
You may only #extend selectors within the same directive.
From "#extend .col-md-6" on line 134 of LocalDistribution/sass/ItemDetails/_item-details.scss
on line 11 of LocalDistribution/sass/twitter-bootstrap-sass/mixins/_grid-framework.scss
>>
[09:50:26] column 245
[09:50:26] line 11
[09:50:26] file C:/svn/montblanc/LocalDistribution/sass/twitter-bootstrap-sass/mixins/_grid-framework.scss
[09:50:26] status 1
[09:50:26] messageFormatted LocalDistribution\sass\twitter-bootstrap-sass\mixins\_grid-framework.scss
Error: You may not #extend an outer selector from within #media.
You may only #extend selectors within the same directive.
From "#extend .col-md-6" on line 134 of LocalDistribution/sass/ItemDetails/_item-details.scss
on line 11 of LocalDistribution/sass/twitter-bootstrap-sass/mixins/_grid-framework.scss
>>
[09:50:26] name Error
[09:50:26] stack Error: LocalDistribution\sass\twitter-bootstrap-sass\mixins\_grid-framework.scss
Error: You may not #extend an outer selector from within #media.
You may only #extend selectors within the same directive.
From "#extend .col-md-6" on line 134 of LocalDistribution/sass/ItemDetails/_item-details.scss
on line 11 of LocalDistribution/sass/twitter-bootstrap-sass/mixins/_grid-framework.scss
>>
at options.error (C:\svn\montblanc\node_modules\gulp-sass\node_modules\node-sass\lib\index.js:271:32)
[09:50:26] showStack false
[09:50:26] showProperties true
[09:50:26] plugin gulp-sass
[09:50:26] Finished 'sass' after 469 ms
[09:50:26] Starting 'font-awesome'...
[09:50:26] Starting 'clean-sass-tmp'...
[09:50:26] Finished 'clean-sass-tmp' after 20 µs
events.js:85
throw er; // Unhandled 'error' event
^
Error: Checksum error in glyf

Error when running Code coverage in Visual studio using Chutzpah

Trying to run the code coverage in Visual studio using Chutzpah, but getting the below error.
Log Message: waiting for blanket... from
C:\Users\gorulra\Desktop\Raja\FrontEndTools\FrontEndTools.WebUI.Scripts.Test\Tests123\Services\dataService.spec.js
Error: Error: Instrumentation error, you cannot redefine the 'window' variable in file:///C:/Users/gorulra/Desktop/Raja/FrontEndTools/FrontEndTools.WebUI.Scripts.Test/Scripts/vendor/js/angular.js:996 in file:///C:/Users/gorulra/AppData/Local/Microsoft/VisualStudio/12.0/Extensions/diby4xuj.1y3/TestFiles/Coverage/blanket_jasmine_v2.js (line 4253)
While Running:C:\Users\gorulra\Desktop\Raja\FrontEndTools\FrontEndTools.WebUI.Scripts.Test\Tests123\Services\dataService.spec.js Error: Error: error loading source script in file:///C:/Users/gorulra/AppData/Local/Microsoft/VisualStudio/12.0/Extensions/diby4xuj.1y3/TestFiles/Coverage/blanket_jasmine_v2.js (line 5141) While Running:C:\Users\gorulra\Desktop\Raja\FrontEndTools\FrontEndTools.WebUI.Scripts.Test\Tests123\Services\dataService.spec.js
Error: Timeout occurred when executing test file While Running:C:\Users\gorulra\Desktop\Raja\FrontEndTools\FrontEndTools.WebUI.Scripts.Test\Tests123\Services\dataService.spec.js
========== Total Tests: 0 passed, 0 failed, 0 total ==========
This is due to an error in blanket.js. See issue for a discussion.
The suggested workaround is to reference the minified version of angular.js, which will resolved the 'window' redefine issue and allow you to run the code coverage in chutzpah.

SourceMeter plugin for SonarQube 4.4 errors due to analyse.xml issue. Has anyone been able to resolve this?

I am evaluating SourceMeter plugin for SonarQube using SonarQube 4.4 and the plugin i downloaded from the SourceMeter website https://www.sourcemeter.com/download/. While i try to execute the code review for a Java project, it always gives me an error in the following line of the analyze.xml.
ERROR: Error during Sonar runner execution
ERROR: Unable to execute Sonar
ERROR: Caused by: The following error occurred while executing this line:
E:\CI\SourceMeter-Java-6.0-x64-windows\analyze.xml:479: exec returned: 255
ERROR: Caused by: exec returned: 255
Line number 479 is as follows.
Could you please help me understand what could be the probable cause of this issue?
Tried the same (?) in this environment:
Windows 7
Maven built project
SonarQube
The problem seems to arise from Windows not treating quotes any special yielding problems when trying to start a java process:
"C:\dev\maven\repository\org\eclipse\persistence\javax.persistence\2.1.0\javax.persistence-2.1.0.jar" kann syntaktisch an dieser Stelle nicht verarbeitet werden. (meaning something like syntax error)
This is raised in some executeJANScript.bat containing the lines
set JOPTIONS="-j:|-cp ".;C:\dev\maven\repository\org\eclipse\persistence\javax.persistence\2.1.0\javax.persistence-2.1.0.jar;C:\..."" where the outer quotes should be omitted.

ISDEV fatal error 6032 Internal build error

i am using IS2008, Windows XP and VS2010. everything was ok until two weeks ago but something happened and everything changed.
I have been having "ISDEV fatal error 6032 Internal build error" errors recently. I have checked all website but i could not get any answers about this problem. I have no idea why this is happening, I was thinking that my InstallShield had expired, however I did not get any warning message while IS executes.
I am sending logs above,
[exec] Embedding manifest SetupExe.Invoker.manifest into setup.exe
[exec] **ISDEV : fatal error -6032: Internal build error**
[exec] Installers\Release 2 - 1 error(s), 0 warning(s)
[exec] Log file has been created: <file:D:\OutpuT\EnterpriseClient\Release\Installers\Release 2\LogFiles\3-1-2013 10-32-00 AM.txt>
======
and this is CMD error message:
[exec] Result: -1073741819
[exec] Result: 1
BUILD FAILED
D:\...\build.xml:26: Following error occured while executing this line
D:\...\build.xml:56: Following error occured while executing this line
D:\...\InstallShield\build.xml:39: Following error occured while executing this line
D:\...\InstallShield\...\build.xml:7: Following error occured while executing this line
D:\...\InstallShield\...\build.xml:107: Following error occured while executing this line
D:\...\InstallShield\...\build.xml:704: Following error occured while executing this line
D:\...\InstallShield\...\build.xml:792: Warning: Could not find file D:\...\OutpuT\EnterpriseClient\Release\Installers\Release 2\DiskImages\DISK1\1028.mst to copy.
Total time: 244 minutes 43 seconds
cmake.pl failed with error : 1
I would be happy if someone could share a solution.
this problem has been resolved,
i could not find anything wrong on my code or on my enviroment then, i decided deactivate our anti virus program (trend micro). i think trend did not let me to access some paths.
fortunately everything looks ok.

Resources