It did not work for me that the program recognizes gaps in the circuit diagram. In other words, if page 12 was in the 10th position, the Alfonso program would jump to page 12. The direct connections are not recognized. In this respect, I can achieve the same with my tool and will not go to the trouble of trying to include the X.Y format.

+100
I work on old project at my work, I need to move some folio so I rename it to special folio label :9-1, 9-2, 9-3 to insert after folio 9 and before folio 10 I didn't use position but folio label for my Xref. So when I try Alfonso python plugin PDF link was wrong.
I was expecting this not to work with the plugin when you use folio label for XRefs and report .

Example xref 9-3-A2 in PDF link pointing to folio 3...

I haven't had time to think about finding a workaround. nomicons/smiley-green

I understand this avanced use of QET was very difficult and complex to implement it to use and program it when you analazyse an simple PDF file..with python program..

2

(1 replies, posted in EN : Help, suggestions, discussions, ...)

There is no limit to the number of folios, and it is common to use QET to design projects with more than 150 to 500 folios.

I think it's probably the summary manager of the folios pages that requires you to add a new folio and insert after the last summary tble, you need to crete new summary table and link the table to the previous table because you added more folios and the summary table no longer fits on your summary folio(s).

scorpio810 wrote:

MacOS arm64 Sequoia package.

xattr -r -d com.apple.quarantine GNerador_PDFLink_v1.zip

Enlarge the Windows to have buttons focus!

Enjoy! -)

I lost some ours to understand why my package shared internal in new Macos VM work and downloaded the same zip with Safari or Chrome didn't work !!!, Apple directly in quarantines the zip if downloaded from the internet, the file is the same but when you extract the archive Apple says that the application is damaged...
The solution is to remove attribut com.apple.quarantine before open it.

I don't know why it doesn't run on Ubuntu.

AppImage it the same like nuitka who translate and convert python code to C

The solution is to compile your application on the oldest Linux version that you intend to support. However, this process can be exhausting, involving setup complexities and security considerations since it exposes source code.

acolomb wrote:

Wäre es zu viel verlangt, den Quellcode auf GitHub oder ähnlich bereitzustellen?

+1

MacOS arm64 Sequoia package.

xattr -r -d com.apple.quarantine GNerador_PDFLink_v1.zip

Enlarge the Windows to have buttons focus!

Enjoy! -)

On macOS is the same things:

wget https://qelectrotech.org/forum/misc.php?action=pun_attachment&item=3382&download=1
pip3 install fitz
pip3 install pymupdf
pip3 install ttkbootstrap
python3 -m GNerador_PDFLink_v1.py

I am using Y.X. (page.column)

Why not use rows, it 's was better for search X ref?

Bonjour,

pourtant la solution est dans le lien que tu as posé.

1 édit le symbole en cliquant sur l'élément déja posé dans le folio puis onglet Général éditer l'élément.
2 édition de l'élément puis save.
3 on enregistre le projet et on le ré ouvre normalement tous les éléments déjà posés seront modifiés, a toi ensuite de le remplacer dans ta collection si tu veux pas avoir deux versions du même symbole qui cohabitent.

Pense a faire un backup avant, si l’élément diffère un peu tu risques de perdre tous les conducteurs reliés a ce symbole dans tout ton projet!

Trried on Ubuntu 22.04

./GNerador_PDF_Link-x86_64.AppImage
[PYI-3413:ERROR] Failed to load Python shared library '/tmp/_MEI0ZA41v/libpython3.12.so.1.0': /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /tmp/_MEI0ZA41v/libpython3.12.so.1.0)

Also your AppImage work weel on my Debian unstable, thanks you. nomicons/wink


Yesterday I tried to build binary on many old Linux VM (Debian 11 Debian 12, Ubuntu 22.04), for GLIBC compatibility but no luck...


https://nuitka.net/user-documentation/c … tions.html

Linux Standalone
For Linux standalone, building a binary that works on older Linux versions is challenging. Because on Linux, distributors build Python software to link against the concrete system explicitly DLLs. As a consequence, it often does not run on other Linux flavors.

The solution is to compile your application on the oldest Linux version that you intend to support. However, this process can be exhausting, involving setup complexities and security considerations since it exposes source code.

nuitka make some hours to compile the binary and crash at the end on Scons error...

Linux Debian unstable binary.
https://download.qelectrotech.org/qet/s … ist.tar.gz

Extract archive GNerador_PDFLink_v1.dist.tar.gz and launch GNerador_PDFLink_v1.bin
(enlarge the window to see all buttons...)

Need GLIBC 2.38!



(venv) [10:52:27] laurent@debian:~$ nuitka --mode=standalone  --enable-plugin=tk-inter GNerador_PDFLink_v1.py 
Nuitka-Options: Used command line options:
Nuitka-Options:   --mode=standalone --enable-plugin=tk-inter GNerador_PDFLink_v1.py
Nuitka: Starting Python compilation with:
Nuitka:   Version '2.7.10' on Python 3.13 (flavor 'Debian Python') commercial grade 'not installed'.
Nuitka-Plugins:anti-bloat: Not including 'PIL.ImageQt' automatically in order to avoid bloat, but this may cause: PIL will not be able to create Qt image objects.
Nuitka-Plugins:anti-bloat: Not including 'pandas.core._numba.extensions' automatically in order to avoid bloat, but this may cause: no numba acceleration.
Nuitka-Plugins:anti-bloat: Not including 'lxml' automatically in order to avoid bloat, but this may cause: no stylesheet support in pandas.io.formats.xml without including lxml.
Nuitka: Completed Python level compilation and optimization.
Nuitka: Generating source code for C backend compiler.
Nuitka: Running data composer tool for optimal constant value handling.                                                      
Nuitka: Running C compilation via Scons.
Nuitka-Scons: Backend C compiler: gcc (gcc 14).
Nuitka-Scons: Slow C compilation detected, used 360s so far, scalability problem.
Nuitka-Scons: Running /usr/bin/ccache /usr/bin/gcc -o module.pymupdf.mupdf.o -c -std=c11 -fvisibility=hidden -fwrapv -pipe -Wno-unused-but-set-variable -fpartial-inlining -ftrack-macro-expansion=0 -Wno-deprecated-declarations -fno-var-tracking -Wno-misleading-indentation -fcompare-debug-second -fno-lto -O2 -D_NUITKA_STANDALONE_MODE -D_NUITKA_EXE_MODE -D_WIN32_WINNT=0x0601 -D__NUITKA_NO_ASSERT__ -DPy_NO_ENABLE_SHARED -D_NUITKA_STATIC_LIBPYTHON -D_NUITKA_USE_UNEXPOSED_API -D_NUITKA_INLINE_COPY_HACL -D_NUITKA_CONSTANTS_FROM_INCBIN -D_NUITKA_FROZEN=152 -D_NUITKA_PLUGIN_MULTIPROCESSING_ENABLED=1 -I~/venv/lib/python3.13/site-packages/nuitka/build/inline_copy/zlib -I/usr/include/python3.13 -I/usr/include/python3.13/internal/mimalloc -I~/venv/lib/python3.13/site-packages/nuitka/build/inline_copy/python_hacl/hacl_312 -I~/venv/lib/python3.13/site-packages/nuitka/build/inline_copy/python_hacl/hacl_312/include -I. -I~/venv/lib/python3.13/site-packages/nuitka/build/include -I~/venv/lib/python3.13/site-packages/nuitka/build/static_src -I~/venv/lib/python3.13/site-packages/nuitka/build/inline_copy/libbacktrace module.pymupdf.mupdf.c took 1114.89 seconds
Nuitka-Scons: Backend C linking with 973 files (no progress information available for this stage).
Nuitka-Scons: Compiled 972 C files using ccache.
Nuitka-Scons: Cached C files (using ccache) with result 'cache miss': 972
Nuitka-Plugins:data-files: Included data file 'jaraco/text/Lorem ipsum.txt' due to package data for 'jaraco.text'.
Nuitka-Plugins:data-files: Included data file 'pandas/io/formats/templates/html.tpl' due to package data directory 'templates' for 'pandas.io.formats'.
Nuitka-Plugins:data-files: Included data file 'pandas/io/formats/templates/html_style.tpl' due to package data directory 'templates' for 'pandas.io.formats'.
Nuitka-Plugins:data-files: Included data file 'pandas/io/formats/templates/html_table.tpl' due to package data directory 'templates' for 'pandas.io.formats'.
Nuitka-Plugins:data-files: Included data file 'pandas/io/formats/templates/latex.tpl' due to package data directory 'templates' for 'pandas.io.formats'.
Nuitka-Plugins:data-files: Included data file 'pandas/io/formats/templates/latex_longtable.tpl' due to package data directory 'templates' for 'pandas.io.formats'.
Nuitka-Plugins:data-files: Included data file 'pandas/io/formats/templates/latex_table.tpl' due to package data directory 'templates' for 'pandas.io.formats'.
Nuitka-Plugins:data-files: Included data file 'pandas/io/formats/templates/string.tpl' due to package data directory 'templates' for 'pandas.io.formats'.
Nuitka-Plugins:data-files: Included 604 data files due to package data directory 'zoneinfo' for 'pytz'.
Nuitka-Plugins:data-files: Included data file 'scipy/stats/_sobol_direction_numbers.npz' due to package data for 'scipy'.
Nuitka-Plugins:tk-inter: Included 71 data files due to Tk needed for tkinter usage.
Nuitka-Plugins:tk-inter: Included 262 data files due to Tcl needed for tkinter usage.
Nuitka: Keeping build directory 'GNerador_PDFLink_v1.build'.
Nuitka: Successfully created 'GNerador_PDFLink_v1.dist/GNerador_PDFLink_v1.bin'.
(venv) [11:43:10] laurent@debian:~$ 

Same things, if you can try, I give up!!
It's a shame we can't share it here for Linux users.

https://stackoverflow.com/questions/564 … mupdf-fitz

I can build the AppImage in many VMs and they works well, but they don't work on other machines anymore.....

Traceback (most recent call last):
  File "/tmp/.mount_QET-ToJb3jVr/usr/lib/QET-Tools/GNerador_PDFLink_v1.py", line 19, in <module>
    import fitz  # PyMuPDF
    ^^^^^^^^^^^
ModuleNotFoundError: No module named 'fitz'

./QET_Klemmenplan -l Vorlage_MSR.qet >Klemmen.txt

No, how do you use to build python program in an AppImage?

I tried nuitka and pyinstaller with no luck.

I can now try Alfonso python  GNerador_PDFLink_v1.py under my Debian with:

pip uninstall fitz
pip install --upgrade --force-reinstall pymupdf

@Kellermorph: have you tried this python program on Linux, or make an AppImage?

@Michael: La version de QET est-elle officielle, téléchargée sur ce site et pas ailleurs (sha256)?
Il te faudrait regarder les fichiers logs de QET sur la machine fautive.
Vers ou pointent les collections?
Version de QET?

Laurent

19

(49 replies, posted in Videos howto)

The tool isn't perfect and needs more work, but it's the first one that's worked for me.nomicons/wink

3) Recommencer la numérotation de zéro
Après avoir terminé un schéma complet, j’aimerais pouvoir supprimer toutes les numérotations de conducteurs, puis les recréer automatiquement pour l’ensemble du projet, avec une règle simple (1, 2, 3, ...).

Question : Existe-t-il une fonction permettant de tout renuméroter proprement en une seule fois ?

Non rien d'officiel mais dans la section script il y a quelques scripts python qui pourrait faire l'affaire en les adaptant un peu..

Bonjour Cyril,

Personnellement je m'en tres peu.
La numération auto n'est utile que dans ce cas de figure:

Minor changes,

use entire page.
rest offsetX to 0
set highlight link and border

@LievenC: show your report link format!

Selected PDF: Z:/test_pdf_link.pdf
PDF test_pdf_link.pdf opened (55 pages)
Links detected: 245
Links created: 195
Linked PDF saved to:
Z:/test_pdf_link_linked.pdf

https://download.qelectrotech.org/qet/m … doc-en.pdf