1

Topic: Flatpak packages 0.8-dev

Do not use sudo or root for these commands!
download repository key:

wget https://download.tuxfamily.org/qet/builds/Flatpak/qelectrotech.org.gpg

Add flatpak qet-devel repo :

flatpak remote-add --gpg-import=qelectrotech.org.gpg qet-devel https://download.tuxfamily.org/qet/builds/Flatpak/

Install Qet :

flatpak install https://download.tuxfamily.org/qet/builds/Flatpak/org.qelectrotech.QElectroTech.flatpakref
laurent@debian:~$ flatpak remote-add --gpg-import=qelectrotech.org.gpg qet-devel https://download.tuxfamily.org/qet/builds/Flatpak/
laurent@debian:~$ flatpak install https://download.tuxfamily.org/qet/builds/Flatpak/org.qelectrotech.QElectroTech.flatpakref

org.qelectrotech.QElectroTech permissions:
    ipc   wayland   x11   dri   file access [1]   dbus access [2]

    [1] host, xdg-config/kdeglobals:ro
    [2] com.canonical.AppMenu.Registrar


        ID                                       Arch             Branch           Remote              Download
 1. [✓] org.qelectrotech.QElectroTech            x86_64           master           qet-devel           14,3 MB / 13,9 MB

Installation complete.

Update :

flatpak update

https://download.tuxfamily.org/qet/forum_img/discover.png

Enjoy ! nomicons/wink

2

Re: Flatpak packages 0.8-dev

C'est quoi les FlatPak ?

3

Re: Flatpak packages 0.8-dev

https://flatpak.org/
https://flatpak.org/setup/
http://docs.flatpak.org/en/latest/index.html

4

Re: Flatpak packages 0.8-dev

Hi,
FYI, I tried to add qet-tb-generator addon in org.qelectrotech.QElectroTech flatpak package
https://download.tuxfamily.org/qet/scor … oTech.json

https://github.com/qelectrotech/qelectr … 4e97bcacf6
, but tkinter Python module isn't provided yet with flatpak upstream :

Launching qet-tb-generator under Qet flatpak :

flatpak run --command=qelectrotech org.qelectrotech.QElectroTech    
Qt: Session management error: Could not open network socket
org.kde.knotifications: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP
QETProject::toXml() : exporting diagram "References Page" [ Diagram(0x5643bcd2cea0) ]
QETProject::toXml() : exporting diagram "Mains Power Supply" [ Diagram(0x5643c0ebeaa0) ]
QETProject::toXml() : exporting diagram "Auxiliary Power Supply" [ Diagram(0x5643c0ec3220) ]
QETProject::toXml() : exporting diagram "Emergency Stop Circuit" [ Diagram(0x5643c0eaaa80) ]
QETProject::toXml() : exporting diagram "Emergency Stop Power" [ Diagram(0x5643c1183580) ]
QETProject::toXml() : exporting diagram "VX Gate Control Circuit" [ Diagram(0x5643c12f5740) ]
QETProject::toXml() : exporting diagram "V1 Gate Control Circuit" [ Diagram(0x5643c1358c50) ]
QETProject::toXml() : exporting diagram "V2 Gate Control Circuit" [ Diagram(0x5643c1592f50) ]
QETProject::toXml() : exporting diagram "V3 Gate Control Circuit" [ Diagram(0x5643c17490d0) ]
QETProject::toXml() : exporting diagram "V4 Gate Control Circuit" [ Diagram(0x5643c15960f0) ]
QETProject::toXml() : exporting diagram "V5 Gate Control Circuit" [ Diagram(0x5643c0ed33a0) ]
QETProject::toXml() : exporting diagram "V6 Gate Control Circuit" [ Diagram(0x5643c1e6fef0) ]
QETProject::toXml() : exporting diagram "V7 Gate Control Circuit" [ Diagram(0x5643c1f323c0) ]
QETProject::toXml() : exporting diagram "A0 PLC Layout" [ Diagram(0x5643c2116a40) ]
QETProject::toXml() : exporting diagram "A0 Input Module" [ Diagram(0x5643c229ece0) ]
QETProject::toXml() : exporting diagram "A0 Output Module" [ Diagram(0x5643c2260010) ]
QETProject::toXml() : exporting diagram "A1/1 Input Module" [ Diagram(0x5643c230eff0) ]
QETProject::toXml() : exporting diagram "A1/2 Input Module" [ Diagram(0x5643c23fff70) ]
QETProject::toXml() : exporting diagram "A1 Output Module" [ Diagram(0x5643c263b210) ]
QETProject::toXml() : exporting diagram "A2/1 Input Module" [ Diagram(0x5643c2746770) ]
QETProject::toXml() : exporting diagram "A2/2 Input Module" [ Diagram(0x5643c27f2790) ]
QETProject::toXml() : exporting diagram "A2 Output Module" [ Diagram(0x5643c28a3550) ]
QETProject::toXml() : exporting diagram "A3/1 Input Module" [ Diagram(0x5643c29a0190) ]
QETProject::toXml() : exporting diagram "A3/2 Input Module" [ Diagram(0x5643c2a4c670) ]
QETProject::toXml() : exporting diagram "A3 Output Module" [ Diagram(0x5643c2afcfd0) ]
QETProject::toXml() : exporting diagram "A4/1 Input Module" [ Diagram(0x5643c2b8ff40) ]
QETProject::toXml() : exporting diagram "A4/2 Input Module" [ Diagram(0x5643c2ca5940) ]
QETProject::toXml() : exporting diagram "A4 Output Module" [ Diagram(0x5643c2cc4740) ]
QETProject::toXml() : exporting diagram "A5/1 Ana Input Module" [ Diagram(0x5643c2d248b0) ]
QETProject::toXml() : exporting diagram "A5/2 Ana Input Module" [ Diagram(0x5643c2dfdb10) ]
QETProject::toXml() : exporting diagram "TB1 Terminal Bord" [ Diagram(0x5643c2e7bf80) ]
QETProject::toXml() : exporting diagram "TB2 Terminal Bord" [ Diagram(0x5643c300a030) ]
QETProject::toXml() : exporting diagram "TB3 Terminal Bord" [ Diagram(0x5643c3146e80) ]
QETProject::toXml() : exporting diagram "TB4 Terminal Bord" [ Diagram(0x5643c31cf060) ]
QETProject::toXml() : exporting diagram "TB5 Terminal Bord" [ Diagram(0x5643c3089dc0) ]
QETProject::toXml() : exporting diagram "PB1 Panel Front View" [ Diagram(0x5643c32ed320) ]
QETProject::toXml() : exporting diagram "PB2 Panel Front View" [ Diagram(0x5643c33001a0) ]
QETProject::toXml() : exporting diagram "CX1 Modbus TCP" [ Diagram(0x5643c3453470) ]
Traceback (most recent call last):
  File "/app/bin/qet_tb_generator", line 11, in <module>
    load_entry_point('qet-tb-generator==1.1.5', 'console_scripts', 'qet_tb_generator')()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2852, in load_entry_point
    return ep.load()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2443, in load
    return self.resolve()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2449, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/app/lib/python3.7/site-packages/src/main.py", line 113, in <module>
    import tkinter as tk
ModuleNotFoundError: No module named 'tkinter'

https://gitlab.com/freedesktop-sdk/free … issues/976

5

Re: Flatpak packages 0.8-dev

Thank you.  Working on Mageia 764bit nomicons/smile
(Your appimage dont)