Thanks all for report  feedback.

Yes Josep you are right I removed i386 arch and now you need to add Architectures: amd64 in /etc/apt/sources.list.d/qelectrotech.sources


2) use pinning to force 0.100-dev versions:

sudo echo -e 'Package: qelectrotech* \nPin: version 0.100.* \nPin-Priority: 1001' > /etc/apt/preferences.d/40qelectrotech-devel

https://qelectrotech.org/wiki_new/doc/i … an_pinning

Laurent

Bonjour Laurent,

as tu essayé mon exemple avec xmlstarlet?

BTW, sur Linux et probablement aussi sur macOS c'est facile, sur Windows ça se complique...pour que Xmlstarlet fonctionne normalement en ligne de commande dans un terminal!
https://medium.com/coinmonks/editing-xm … 233caf30f4

Et il est recommander d'installer cygwin.. pour Windows.

Apres s'il te faut juste les labels des conducteurs pour ton imprimante, la fonction existe depuis un moment:
https://qelectrotech.org/forum/viewtopic.php?id=1496

Cordialement,
Laurent

The key file has recently been renewed, see the plc user article on how to use it:
https://qelectrotech.org/forum/viewtopi … 890#p20890

BTW, Pysimplegui and qet_tb_generator were rebuilt for the new keyfile and uploaded back into the QET Debian stable and unstable repositories.

hello,

maybe see this post
https://qelectrotech.org/forum/viewtopic.php?id=2363
Run the file "Lancer QET.bat not /bin/qelectrotech.exe!

https://github.com/qelectrotech/qelectr … %20QET.bat

Or maybe see windows packaging with NSIS 2X https://github.com/qelectrotech/qelectr … ux/windows

Hallo plc-user,

I would have to compile the binary twice, which is not a problem on this machine, about 30 seconds to compile it in x86_64 and adapt my packaging script.
https://github.com/qelectrotech/qelectr … Windows.sh

An effort I'll be able to make when I'm much better...not these months!

It could be more annoying if we later need to package Windows versions in arm64, powerful machines with lots of cores and memory in arm64 are very expensive...
I don't know if my mac mini M2 or my raspberry pi 5 (8GB) can help me for that!

Btw, on this Raspberry PI 5 with BookWorm  (Raspberry Pi OS) I saw that QET 0.9 was very fast to launch (~0.30 seconds) and seems as fluid as my workstation even on large projects, in the short time I tested it. Only with official sd card!

18:40:18.873 Info: Count All Elements in collections = 8483 Elements 
18:40:19.157 Info: Elements collection reload 
18:40:19.604 Info: Elements collection finished to be loaded in 0.446 seconds 

Edit: 10 mn to compile QET on my raspberry pi 5 (8GB).

Time make -j4

r/lib/aarch64-linux-gnu/libQt5Gui.so /usr/lib/aarch64-linux-gnu/libQt5Network.so /usr/lib/aarch64-linux-gnu/libQt5Xml.so /usr/lib/aarch64-linux-gnu/libQt5Sql.so /usr/lib/aarch64-linux-gnu/libQt5Concurrent.so /usr/lib/aarch64-linux-gnu/qt5/mkspecs/modules/../../../../../lib/aarch64-linux-gnu/libKF5CoreAddons.so /usr/lib/aarch64-linux-gnu/libQt5Core.so -lGL   
make[1] : on quitte le répertoire « /home/laurent/qet/build »

real    10m44,487s

6

(38 replies, posted in Code)

Hallo plc-user!

You could share a patch?

7

(7 replies, posted in Scripts)

Hallo kellermorph,

Perhaps you'd like to see my old notes?

https://qelectrotech.org/forum/viewtopi … 078#p16078

https://qelectrotech.org/forum/viewtopi … 127#p16127

8

(8 replies, posted in Scripts)

Hallo Xander,

could you share the code?
Why use email, encoding, cryto, Url, etc.. libs, seem's very strange, no offence intended!

@RedBaron thanks you.

fmendes75 wrote:

Thanks. It worked like a charm.
It would be useful to add this note on macOS Download page

Yes of course,  I can add this information, but when my health is more better!!!

Thanks for your feed back! nomicons/wink

Hello Baruse and welcome,

I can't try out your code, I didn't know Freecad and I can't learn it at the moment (health problem), but the video is very very complete and this functionality is very much in demand, which should interest a lot of people !!!! nomicons/wink

Why do you use the Appache licence, if it's not indiscreet, I saw that it wasn't compatible with the QET licence?
Edit: I'm not skilled about legal matters too!!


Best regards,
Laurent


https://download.qelectrotech.org/qet/forum_img_2/frrecad_qet.png

12

(23 replies, posted in Code)

Re-searcher wrote:

Problem with uploading image.

Warning! The following errors must be corrected before your message can be posted:

    The server was unable to save the uploaded file. Please contact the forum administrator at scorpio@qelectrotech.org.


@plc-user

U weigert gewoon om iemand anders zijn code te gebruiken.
You simply refuse to use anyone else's code.
Vous refusez tout simplement d'utiliser le code de quelqu'un d'autre.



I 'am using the number 1 in my version
Warning! The following errors must be corrected before your message can be posted:

    The server was unable to save the uploaded file. Please contact the forum administrator at scorpio@qelectrotech.org.



U weigert gewoon om iemand anders zijn code te gebruiken.
You simply refuse to use anyone else's code.
Vous refusez tout simplement d'utiliser le code de quelqu'un d'autre.


test my code

I 'am using the number 1 in my version
The same size as the conductor and terminal

Hello Erik,

please try to stay calm, nomicons/wink

Your post is complicated for me to understand, as I'm not in the best of health at the moment. You write the same thing several times and you're constantly changing the subject!

Please dont mixing language, it isn't usefull!

As for the pîctures yes there was a problem on the forum yesterday, now some pictures didn't works, I think you'll have to add them again, sorry.

Best regards,
Laurent!

13

(38 replies, posted in Code)

@plc-user,
I was able to fix my error...I re-imported the attached files from the rsnapthot backup and on the server for SQL database with phpMyAdmin I re imported the old ‘punbb_attach_files’ table for recreate these ‘indexes!

But the last backup was made yesterday at 15h00, so please put again your script, many sorry.

14

(38 replies, posted in Code)

Kellermorph wrote:

Or did i Miss understand Something?

Same for me ....,
in first you talk avout QET 's code, now I see a python file, it 's me or then I need to return to bed for rest?

15

(16 replies, posted in Scripts)

Je viens enfin de comprendre ta demande, et je viens de constater que j'ai complètement répondu à coté de la plaque et racontai que des conneries ...!!!  nomicons/dizzy
Heureusement que je suis aller me reposer entre temps, krkrkr!!!  nomicons/whistling

Donc correction!

Quand tu ouvres ton projet si tu cliques sur ton tableau et que tu veux l’éditer, tu verras en bas ta requête en SQL suffit de l'enregister sur ce nouveau pc et tu pourras t'en servir pour d'autres projets.

Seules les requêtes SQL utilisées dans le projet sont embarquées dans le XML du projet, pas celles non utilisées, elle restent sur ton PC !

16

(38 replies, posted in Code)

Please put your code on Github if you can, for us it's more esay to see which code changes!

It is very easy if you have git, ssh, etc on your setup, but I remenber you use macOS, so no problem!

On Terminal get your github repository

git clone https://github.com/Kellermorph/QuerverweiseAppImage.git

Now work in QuerverweiseAppImage folder with your IDE as usual,
but if you want use terminal:


for adding files or files changed use

git add  file_name  
git diff

what files was added or removed.

- it is removed
+ it is added

For upload your changes to your online Github branch, it's very easy.

git push

For refreshing your local repository.

git pull

17

(16 replies, posted in Scripts)

Péryclès wrote:

PLC-User, je viens de comprendre une chose. Les requêtes SQL sont créés et sauvegardées dans ma machine et non dans le projet.

Est-ce qu'il y a un solution pour que les requêtes soient enregistrées directement dans le projet ?

Ou

Serait-il possible de faire pointer vers un autre dossier ?

Quel intérêt, j'en vois aucun !!!?


Par contre tu peux enregistrer et ouvrir un nombre importante de requêtes SQL dans ta machine a toi de leurs donner un nom compréhensif pour s'y retrouver!

Il est possible que tu ne puisses pas le faire sur la 0.9, je m'en rappelle plus...., dans ce cas fait comme nous et prends la 0.100.dev!

Déjà car de nombreux problemes graves et crahes et été depuis longtemps résolus dans la version 0.100 devel et pas rajoutés dans la 0.9... car de gros problemes de santé puis avec le temps ont oublie...

@plc-user, no need, I think just change default font settings hard coded in the code, look: generalconfigurationpage.*

19

(38 replies, posted in Code)

Problem is on server return -> 413 Request Entity Too Large

So put your code to github, and create tag after you can import big files under the tag, I don't know the limit size?

FYI, 2018-11-28

Nuri wrote:
scorpio810 wrote:

Attention donc avec certaines polices exotiques, certains y trouverons leur compte pour embellir leurs schémas, hein Nuri...

J'utilise la police Arimo car elle ne pose aucun problème sous Linux, est libre et a exactement la même métrique qu'Arial.

sudo apt install fonts-croscore

.

Quand j'utilise Arial directement sous Linux, je sais pas pourquoi mais QET me met tous les textes en Arial Bold nomicons/pinch .
J'ai pas trouvé d'où cela venait, aucune idée...

Par contre, quand je livre un fichier *.qet à ma clientèle sous Windows, je remplace "Arimo" par "Arial" avec XML Copy Editor.

Moi ce qui m'intéresse, c'est qu'on puisse utiliser une police qui ait le même rendu sous tous les OS pour éviter les décalages et les empiètements qui font dégueulasse et qui rendent certains textes illisibles.
L'idéal serait que QET embarque une petite panoplie de polices libres avec lui et puisse les déployer indépendamment de l'OS.
Disons une petites dizaines de polices, ca devrait largement suffire.

Et pour ceux qui ont besoin de plus, on leur permet de faire des surcharges en utilisant les polices installées dans l'OS en question, comme actuellement avec les options de police implémentées par Laurent.

https://qelectrotech.org/forum/viewtopi … 8828#p8828

21

(38 replies, posted in Code)

@Kellermorph: Please retry I forgot to Refresh hooks in attachments plugin....I'm tired!!!

OK, I'd misunderstood, so I'll give you my consent if anyone wants to do it. nomicons/wink

Hmm, I'll have to modify my packaging scripts... . we'll see when I'm in better health.. it can take some time for me to adapt them...!

In my opinion, the 3 fonts you mention should be included in the list, but you should also give users the choice of accessing other fonts if they so decide, but you should add a popup warning them that if they choose other fonts, these fonts may cause display problems on other machines with different OSes, what do you think?

Edit: I think it's feasible, if anyone's interested in coding it, why not?

on the font widget list of recommended default fonts add a checkbox with a popup /!\ to warn the user, then we check it on display the complete list of all the fonts installed on the machine.

When it comes to typing in unicode, yes, it's a workaround solution but only for us geeks, not for all our users.....

RE EDIT: We're not Apple or Gnome !!!!  .... should not prohibit and block but still leave the choice to those who want it!

I love KDE/ plasma for that!!, you can config and custom your desktop like you want!!

24

(38 replies, posted in Code)

@Kellermorph I just made a little hack and change "increase g_pun_attachment_upload_max_size" key to max 200MB instead of 20MB, you could share it here if you want. nomicons/wink

Off course think to compress your file before upload it here!

plc-user wrote:

I would see a maximum (!) of three fonts: Sans Serif (as default), Monospace and Serif.

Hallo plc-user, Achim, elevatormind!

Don't forget symbol fonts such as ‘fonts-linuxlibertine’, which are very useful for easily drawing certain special elements, such as for designing the alphanumeric LCD or LED screens found on many systems in industrial equipment, for example, motor frequency converters, as shown in this video:



On Debian like:

apt install fonts-linuxlibertine