Variscite Dart 6UL BalenaOS Example of App Using the LCD

The tested resin-electronjs app is based on resin/imx6ul-var-dart-node:8
If I try a more new balenalib/imx6ul-var-dart-node:8 and force rebuild then the build fails.
Any hints why?

@rlev you cannot just switch out one base image to the other, there are breaking changes between the two set, see more in the docs: https://www.balena.io/docs/reference/base-images/base-images/#major-changes
We are working on migrating the resin-electronjs application to the new base images as well, just not done yet, to use that.

On the other hand, if you say the build fails, would be helpful if you can post any error message, or the log in full if possible.

@rlev you cannot just switch out one base image to the other, there are breaking changes between the two set, see more in the docs: https://www.balena.io/docs/reference/base-images/base-images/#major-changes
We are working on migrating the resin-electronjs application to the new base images as well, just not done yet, to use that.
On the other hand, if you say the build fails, would be helpful if you can post any error message, or the log in full if possible.

Using balenalib/imx6ul-var-dart-node:8
I get this error on build :

....
....
main Unpacking xterm (327-2) ...
[Build]   main Selecting previously unselected package xorg.
[Build]   main Preparing to unpack .../259-xorg_1%3a7.7+19_armhf.deb ...
[Build]   main Unpacking xorg (1:7.7+19) ...
[Build]   main Selecting previously unselected package libxcb-util0:armhf.
[Build]   main Preparing to unpack .../260-libxcb-util0_0.3.8-3+b2_armhf.deb ...
[Build]   main Unpacking libxcb-util0:armhf (0.3.8-3+b2) ...
[Build]   main Selecting previously unselected package libxcb-image0:armhf.
[Build]   main Preparing to unpack .../261-libxcb-image0_0.4.0-1+b2_armhf.deb ...
[Build]   main Unpacking libxcb-image0:armhf (0.4.0-1+b2) ...
[Build]   main Errors were encountered while processing:
[Build]   main  /tmp/apt-dpkg-install-eh0YCH/099-gnome-icon-theme_3.12.0-2_all.deb
[Build]   main E: Sub-process /usr/bin/dpkg returned an error code (1)
[Build]   Built 1 service in 8:39
[Error]   Deploy failed
The command '/tmp/qemu-execve -execve /bin/sh -c apt-get update && apt-get install -y --no-install-recommends   apt-utils   clang   xserver-xorg-core   xserver-xorg-input-all   xserver-xorg-video-fbdev   xorg   libxcb-image0   libxcb-util0   xdg-utils   libdbus-1-dev   libgtk2.0-dev   libnotify-dev   libgnome-keyring-dev   libgconf2-dev   libasound2-dev   libcap-dev   libcups2-dev   libxtst-dev   libxss1   libnss3-dev   libsmbclient   libssh-4   fbset   libexpat-dev && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100

If you need help, don't hesitate in contacting us at:

  GitHub: https://github.com/balena-io/balena-cli/issues/new
  Forums: https://forums.balena.io

Hi @imrehg,

I am running the electron GUI app in one container with no problems.
I have tried to run a python server app along with the GUI electron app and the GUI does not render at all.
What is the best practice to run a GUI along with another background app in a container ?

Thanks

@rlev have you tried running things in a multicontainer setup? Something along the lines as this example project we have (which is also a server + GUI of a kind).

An a more direct note, inn general I would guess that if you start the python server first then the GUI, you have to run the server in the background, otherwise you never get to the GUI code. Just a hunch. If you can share your code with us in a way to look at it, the we would be able to advise more specifically. But in general a multicontainer setup is what you want to have, in my opinion.

For the build that fails, was that sorted for you? How were you running the deploy? (git push, balena push, balena deploy?) What command line you used? Asking because it seems like it’s running in an emulated build, not on our ARM builder, and just wondering.

Yes I am using emulated. Since I use openbalena backend I have to do the build locally using emulated mode.