Unhandled rejection Error: gm convert: Unable to open file (travis-ci)
See original GitHub issueelectron-builder: ^3.5.2
I have this travis configuration (which was based on onshape-desktop-shell).
For some reason, the same configuration that I can run locally on my Ubuntu. On travis does not work (full buid log).
CI detected, so artifacts will be published if draft release exists
Installing app dependencies for arch x64 to /home/travis/build/sqlectron/sqlectron-gui/app
----------------------------------------------------
Reading icns family from /home/travis/build/sqlectron/sqlectron-gui/build/icon.icns...
Saved 'is32' element to /tmp/electron-builder-4421G5iIHRFgWJn8/icon_16x16x32.png.
Saved 'il32' element to /tmp/electron-builder-4421G5iIHRFgWJn8/icon_32x32x32.png.
Saved 'ih32' element to /tmp/electron-builder-4421G5iIHRFgWJn8/icon_48x48x32.png.
Saved 'it32' element to /tmp/electron-builder-4421G5iIHRFgWJn8/icon_128x128x32.png.
Extracted 4 elements from /home/travis/build/sqlectron/sqlectron-gui/build/icon.icns.
Unhandled rejection Error: gm convert: Unable to open file (/tmp/electron-builder-4421G5iIHRFgWJn8/icon_256x256x32.png) [No such file or directory].
Error: Command failed: gm convert -size 96x96 /tmp/electron-builder-4421G5iIHRFgWJn8/icon_256x256x32.png -resize 96x96 /tmp/electron-builder-4421G5iIHRFgWJn8/icon_96x96x32.png
gm convert: Unable to open file (/tmp/electron-builder-4421G5iIHRFgWJn8/icon_256x256x32.png) [No such file or directory].
at /home/travis/build/sqlectron/sqlectron-gui/node_modules/electron-builder/src/util.ts:85:18
at ChildProcess.exithandler (child_process.js:209:5)
at emitTwo (events.js:100:13)
at ChildProcess.emit (events.js:185:7)
at maybeClose (internal/child_process.js:850:16)
at Socket.<anonymous> (internal/child_process.js:323:11)
at emitOne (events.js:90:13)
at Socket.emit (events.js:182:7)
at Pipe._onclose (net.js:475:12)
From previous event:
at Object.exec (/home/travis/build/sqlectron/sqlectron-gui/node_modules/electron-builder/src/util.ts:72:10)
at resize (/home/travis/build/sqlectron/sqlectron-gui/node_modules/electron-builder/src/linuxPackager.ts:106:18)
at LinuxPackager.<anonymous> (/home/travis/build/sqlectron/sqlectron-gui/node_modules/electron-builder/src/linuxPackager.ts:109:62)
at [object Generator].next (native)
From previous event:
at tsAwaiter (/home/travis/build/sqlectron/sqlectron-gui/node_modules/electron-builder/src/awaiter.ts:10:51)
at Object.build (/home/travis/build/sqlectron/sqlectron-gui/node_modules/electron-builder/src/builder.ts:30:59)
at Object.<anonymous> (/home/travis/build/sqlectron/sqlectron-gui/node_modules/electron-builder/src/build-cli.ts:41:2)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Function.Module.runMain (module.js:447:10)
at startup (node.js:146:18)
at node.js:404:3
Does anyone has any idea why this is happening?
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Common Build Problems - Travis CI Docs
If your build is failing due to unexpected segmentation faults in the language interpreter, this may be caused by corrupt or invalid caches...
Read more >Error: Could not execute GraphicsMagick/ImageMagick ...
Open up command prompt as admin, navigate to project folder, and type "grunt" at command prompt. If you get an error that says...
Read more >Changelog for Apache Thrift 0.10.0 - ABI laboratory
Plo: No such file or directory * [THRIFT-3276] - Binary data does not decode correctly using the TJSONProtocol when the base64 encoded data...
Read more >Convert command from ImageMagick does not work, and ...
Hi, I'm trying to use convert command from ImageMagick like below by placing in.JPG right under httpdocs, and had an message like below....
Read more >Continuous Integration for Express APIs with Travis CI
This is the simplest Travis CI config file for start building in ... Unhandled promise rejection (rejection id: 1): MongoError: failed to ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@maxcnunes Thanks a lot. I decided just document that Travis env by default is outdated and must be
Actually building for 32 and 64 bits took a bit longer -
4 min 31 sec
. But it still pretty good.