[Users] Build error

Jakob Miksch jakob.miksch at sbg.ac.at
Thu Jul 12 16:12:25 CEST 2018


Dear Christian,

thanks for the hints.
I discovered that the build worked in an earlier version. So I traced it 
down commit by commit. These changes made the build work: 
https://github.com/ZGIS/malawi_atlas_public/commit/425de76ddf9f7c0315109e00271c3c579890c7de

Cheers,
Jakob

On 2018-07-12 11:41, Christian Mayer wrote:
>
> Hi Jakob,
>
> I doubt this is related to GeoExt.  The root cause seems to be 
> somewhere in your SCSS declaration since the fashion engine reports 
> the error:
>
> >> Build error for 
> /home/peterpan/projects/Malawi_Atlas/Code/malawi_atlas/build/temp/production/MalawiAtlas/sass/MalawiAtlas-all.scss
>
> Please have a look at 
>  malawi_atlas_public/sass/src/view/main/Main.scss and check if for 
> "extjs-tab-panel-ui" it seems that there is a problem with that 
> declaration. In the best case you don't need it (since it seems 
> autogenerated)
>
> Otherwise you could have a look at the above mentioned 
> MalawiAtlas-all.scss file and check if you can discover something 
> wrong or misplaced.
>
> Cheers
> Chris
>
>
> On 12.07.2018 10:09, Jakob Miksch wrote:
>> Dear list,
>>
>> I created a web application using GeoExt3: 
>> https://github.com/ZGIS/malawi_atlas_public
>> I want to build it using: sencha app build
>> But I receive an error message (see below). Maybe this is related to 
>> GeoExt.
>>
>> I also commented on an existing GitHub issue about this: 
>> https://github.com/geoext/geoext3/issues/89#issuecomment-404425457
>>
>> Do you have any idea or hint what the problem might be?
>>
>> Thanks and kind regards,
>> Jakob
>>
>>
>> Console output with error message:
>>
>> $ sencha app build
>> Sencha Cmd v6.6.0.13
>> [INF] Using GPL version of Ext JS version 6.2.0.981 from 
>> /home/peterpan/projects/Malawi_Atlas/Code/malawi_atlas/ext.
>> [INF] The implications of using GPL version can be found here 
>> (http://www.sencha.com/products/extjs/licensing).
>> [INF] Processing Build Descriptor : default (production environment)
>> [INF] Loading compiler context
>> [INF] Loading app json manifest...
>> [INF] Processing data with CmdJavascriptCompressor
>> [INF] JavaScript input level is NEXT and output level is ES5
>> [WRN] C1005: Closure Compiler Warning (Parse error. extra visibility 
>> tag) -- compression-input:102090:7
>> [INF] Writing concatenated output to file 
>> /home/peterpan/projects/Malawi_Atlas/Code/malawi_atlas/build/production/MalawiAtlas/app.js
>> [INF] merging 233 input resources into 
>> /home/peterpan/projects/Malawi_Atlas/Code/malawi_atlas/build/production/MalawiAtlas/resources
>> [INF] merged 233 resources into 
>> /home/peterpan/projects/Malawi_Atlas/Code/malawi_atlas/build/production/MalawiAtlas/resources
>> [INF] merging 21 input resources into 
>> /home/peterpan/projects/Malawi_Atlas/Code/malawi_atlas/build/production/MalawiAtlas
>> [INF] merged 21 resources into 
>> /home/peterpan/projects/Malawi_Atlas/Code/malawi_atlas/build/production/MalawiAtlas
>> [INF] Writing content to 
>> /home/peterpan/projects/Malawi_Atlas/Code/malawi_atlas/build/temp/production/MalawiAtlas/slicer-temp/bootstrap.json
>> [INF] Writing content to 
>> /home/peterpan/projects/Malawi_Atlas/Code/malawi_atlas/build/temp/production/MalawiAtlas/slicer-temp/bootstrap.js
>> [INF] writing sass content to 
>> /home/peterpan/projects/Malawi_Atlas/Code/malawi_atlas/build/temp/production/MalawiAtlas/slicer-temp/MalawiAtlas-example.scss.tmp
>> [INF] writing sass content to 
>> /home/peterpan/projects/Malawi_Atlas/Code/malawi_atlas/build/temp/production/MalawiAtlas/slicer-temp/config.rb
>> [WRN] Use of 'require()' will be deprecated: 
>> /home/peterpan/projects/Malawi_Atlas/Code/malawi_atlas/ext/classic/theme-neutral/sass/etc/mixins/font-icon.scss:1
>> [WRN] Use @import instead
>> [LOG] Fashion build starting for 
>> /home/peterpan/projects/Malawi_Atlas/Code/malawi_atlas/build/temp/production/MalawiAtlas/slicer-temp/MalawiAtlas-example.scss
>> [WRN] @theme-background-image: Theme image not found: 
>> images/menu/default-menubar-checked.png
>> [WRN] @theme-background-image: Theme image not found: 
>> images/menu/default-menubar-unchecked.png
>> [WRN] @theme-background-image: Theme image not found: 
>> images/menu/default-menubar-group-checked.png
>> [WRN] @theme-background-image: Theme image not found: 
>> images/menu/default-menubar-menu-parent-left.png
>> [WRN] @theme-background-image: Theme image not found: 
>> images/menu/default-menubar-scroll-top.png
>> [WRN] @theme-background-image: Theme image not found: 
>> images/menu/default-menubar-scroll-bottom.png
>> [WRN] @theme-background-image: Theme image not found: 
>> images/tab/tab-navigation-close.png
>> [WRN] @theme-background-image: Theme image not found: 
>> images/tab-bar/navigation-scroll-left.png
>> [WRN] @theme-background-image: Theme image not found: 
>> images/tab-bar/navigation-scroll-right.png
>> [WRN] @theme-background-image: Theme image not found: 
>> images/tab-bar/navigation-scroll-top.png
>> [WRN] @theme-background-image: Theme image not found: 
>> images/tab-bar/navigation-scroll-bottom.png
>> [WRN] @theme-background-image: Theme image not found: 
>> images/tab-bar/navigation-more.png
>> [WRN] @theme-background-image: Theme image not found: 
>> images/tab-bar/navigation-more-left.png
>> [WRN] @theme-background-image: Theme image not found: 
>> images/tab-bar/navigation-plain-scroll-left.png
>> [WRN] @theme-background-image: Theme image not found: 
>> images/tab-bar/navigation-plain-scroll-right.png
>> [WRN] @theme-background-image: Theme image not found: 
>> images/tab-bar/navigation-plain-scroll-top.png
>> [WRN] @theme-background-image: Theme image not found: 
>> images/tab-bar/navigation-plain-scroll-bottom.png
>> [LOG] Fashion build complete for 
>> /home/peterpan/projects/Malawi_Atlas/Code/malawi_atlas/build/temp/production/MalawiAtlas/slicer-temp/MalawiAtlas-example.scss
>> [LOG] Fashion build completed in 1.954 sec.
>> [INF] Capturing theme image
>> [INF] Capture complete
>> [INF] Slicing images...
>> [INF] Slicing complete - generated 320 images
>> [INF] Writing content to 
>> /home/peterpan/projects/Malawi_Atlas/Code/malawi_atlas/build/temp/production/MalawiAtlas/slicer-temp/bootstrap.json
>> [INF] Writing content to 
>> /home/peterpan/projects/Malawi_Atlas/Code/malawi_atlas/build/temp/production/MalawiAtlas/slicer-temp/bootstrap.js
>> [INF] writing sass content to 
>> /home/peterpan/projects/Malawi_Atlas/Code/malawi_atlas/build/temp/production/MalawiAtlas/sass/MalawiAtlas-all.scss.tmp
>> [INF] appending sass content to 
>> /home/peterpan/projects/Malawi_Atlas/Code/malawi_atlas/build/temp/production/MalawiAtlas/sass/MalawiAtlas-all.scss.tmp
>> [INF] appending sass content to 
>> /home/peterpan/projects/Malawi_Atlas/Code/malawi_atlas/build/temp/production/MalawiAtlas/sass/MalawiAtlas-all.scss.tmp
>> [INF] writing sass content to 
>> /home/peterpan/projects/Malawi_Atlas/Code/malawi_atlas/build/temp/production/MalawiAtlas/sass/config.rb
>> [INF] Writing content to 
>> /home/peterpan/projects/Malawi_Atlas/Code/malawi_atlas/build/production/MalawiAtlas/app.json
>> [WRN] Use of 'require()' will be deprecated: 
>> /home/peterpan/projects/Malawi_Atlas/Code/malawi_atlas/ext/classic/theme-neutral/sass/etc/mixins/font-icon.scss:1
>> [WRN] Use @import instead
>> [LOG] Fashion build starting for 
>> /home/peterpan/projects/Malawi_Atlas/Code/malawi_atlas/build/temp/production/MalawiAtlas/sass/MalawiAtlas-all.scss
>> [ERR] unknown definition for mixin named extjs-tab-panel-ui : 
>> /home/peterpan/projects/Malawi_Atlas/Code/malawi_atlas/sass/src/view/main/Main.scss:4
>> [LOG] Build error for 
>> /home/peterpan/projects/Malawi_Atlas/Code/malawi_atlas/build/temp/production/MalawiAtlas/sass/MalawiAtlas-all.scss
>> { Error: Sass compilation encountered 1 error(s)
>>     at Object.raise 
>> (/home/peterpan/bin/Sencha/Cmd/6.6.0.13/js/node_modules/fashion/src/export/Base.js:131:17)
>>     at Transpiler.transpile 
>> (/home/peterpan/bin/Sencha/Cmd/6.6.0.13/js/node_modules/fashion/src/Transpiler.js:1549:21)
>>     at Context.convert 
>> (/home/peterpan/bin/Sencha/Cmd/6.6.0.13/js/node_modules/fashion/src/Context.js:42:34)
>>     at 
>> /home/peterpan/bin/Sencha/Cmd/6.6.0.13/js/node_modules/fashion/src/Builder.js:147:45
>>     at SassFile.fireReady 
>> (/home/peterpan/bin/Sencha/Cmd/6.6.0.13/js/node_modules/fashion/src/SassFile.js:426:17)
>>     at 
>> /home/peterpan/bin/Sencha/Cmd/6.6.0.13/js/node_modules/fashion/src/SassFile.js:398:28
>>     at SassFile.fireReady 
>> (/home/peterpan/bin/Sencha/Cmd/6.6.0.13/js/node_modules/fashion/src/SassFile.js:426:17)
>>     at 
>> /home/peterpan/bin/Sencha/Cmd/6.6.0.13/js/node_modules/fashion/src/SassFile.js:398:28
>>     at SassFile.fireReady 
>> (/home/peterpan/bin/Sencha/Cmd/6.6.0.13/js/node_modules/fashion/src/SassFile.js:426:17)
>>     at 
>> /home/peterpan/bin/Sencha/Cmd/6.6.0.13/js/node_modules/fashion/src/SassFile.js:398:28 
>> '$isFashionError': true }
>> [ERR]
>> [ERR] BUILD FAILED
>> [ERR] com.sencha.exceptions.ExBuild: Fashion build exited with code : 1
>> [ERR]   at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp
>> [ERR] l.java:62)
>> [ERR]
>> [ERR] Total time: 20 seconds
>>
>> [ERR] /home/peterpan/bin/Sencha/Cmd/6.6.0.13/plugin.xml:333: The 
>> following error occurred while executing this line:
>> /home/peterpan/projects/Malawi_Atlas/Code/malawi_atlas/.sencha/app/build-impl.xml:291: 
>> The following error occurred while executing this line:
>> /home/peterpan/projects/Malawi_Atlas/Code/malawi_atlas/.sencha/app/sass-impl.xml:205: 
>> The following error occurred while executing this line:
>> /home/peterpan/projects/Malawi_Atlas/Code/malawi_atlas/.sencha/app/sass-impl.xml:240: 
>> com.sencha.exceptions.ExBuild: Fashion build exited with code : 1
>> [ERR] A log is available in the file 
>> "/home/peterpan/projects/Malawi_Atlas/Code/malawi_atlas/sencha-error-20180712-3.log"
>> _______________________________________________
>> Users mailing list
>> Users at geoext.org
>> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users

-- 
*Jakob Miksch* | *Researcher*
University of Salzburg | Department of Geoinformatics - Z_GIS
Schillerstrasse 30 | 5020 Salzburg, Austria
Phone: +43 (0)662 8044 7529
E-mail: jakob.miksch at sbg.ac.at <mailto:jakob.miksch at sbg.ac.at> | 
http://www.zgis.at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geoext.org/pipermail/users/attachments/20180712/a10ecb33/attachment.html>


More information about the Users mailing list