question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Linux build fails at icon conversion

See original GitHub issue

Building a deb with the latest release (2.9.5) I get the following error:

Unhandled rejection Error: Command failed: gm convert: Unable to open file (/tmp/electron-builder-30935NzzLT2KzUll7/icon_128x128x32.png) [No such file or directory].

I have provided a build/icon.icns file (generated using these steps: http://blog.macsales.com/28492-create-your-own-custom-icons-in-10-7-5-or-later). When I look what’s in the /tmp/electron-builder-30935NzzLT2KzUll7/ folder, I see that it created the following icons:

icon_16x16x32.png
icon_256x256x32.png
icon_32x32x32.png
icon_512x512x32.png

Looks like 64 and 128 is missing.

I am building the linux deb from an Ubuntu 15.10 machine.

Any ideas what’s going on? Alternatively, could I just provide the icons “manually” (I already have all those pngs anyways)?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:50 (22 by maintainers)

github_iconTop GitHub Comments

5reactions
develarcommented, Jul 28, 2016

AppImage target will be set as a default target Linux soon (once all known AppImage issues will be solved) — I decided to to bump major version to 6 and don’t wait NSIS auto-update feature. Because AppImage is better than deb and electron-builder should promote it.

1reaction
mzmousacommented, Jun 7, 2016

@JimiC develar had an example where he named the png files in build/icons folder to be

24x24.png
32x32.png
48x48.png
64x64.png
128x128.png
256x256.png

And it worked for me after trying that, if you’re just trying to get something up and running. Of course you can always just specify an icon.icns file in your build.osx options, which should be located in the build folder, and the linux build will pick it up.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Convert .JPG or .PNG to .ICO using terminal and back
The most useful program (suite) to manipulate image is Imagemagick ( sudo apt install imagemagick ) and for this task you will need...
Read more >
Troubleshooting - Unity - Manual
Issues when building packages, - Missing MonoBehaviour errors ... the error icon ( ) appears in the package list next to the compromised...
Read more >
How To Troubleshoot Build Failures (Linux Os) | Sisense
Excessive CPU and RAM usage is a common cause of build failures. 1. Go to Admin > System Management > Click on Monitoring....
Read more >
Common development problems and solutions
This page describes problems/solutions that hamper GIMP developers. It's a knowledge base for developers. Feel free to add your own findings and don't...
Read more >
Desktop entries - ArchWiki - Arch Linux
Tip: Add the -v (verbose) argument to show possible desktop entry errors. Icons. See also the Icon Theme Specification. Common image formats.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found