My projects are no longer bound but put in a binder in transparencies,
so the diagram pages are better protected from dirt.
Please stop this its the hell when many years after you want to insert new folios:
You are not logged in. Please login or register.
QElectroTech → Posts by scorpio810
My projects are no longer bound but put in a binder in transparencies,
so the diagram pages are better protected from dirt.
Please stop this its the hell when many years after you want to insert new folios:
Bonjour,
je conseille vivement de prendre la 0.100 tu as des versions Apple silicon aarch64 qui sont signés et notariés.
La 0.9 contient des vieux bugs qui ont été depuis longtemps résolus dans la version 0.100.
I build new QET_ElementScaler 0.5.4 macOS aarch64 binary, because binary provided by plc-user didn't work!
Hallo plc-user,
I tried your macOS aarch64 binary on new UTM virtual machine:
https://github.com/plc-user/QET_Element … /tag/0.5.4
The binaries for macos are to be seen as a “trial version” to see if the toolchain from the Docker image works, I don't have the possibility to test the executables.
FYI, QET_ElementScaler was saw as a document, so chmod +x QET_ElementScaler but binary crashed with:
dyld[1287]: Symbol not found: __ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcm
Referenced from: <D63C1A82-B78B-3F68-82A5-96DD24C5057C> /Users/laurent/Library/Application Support/QElectroTech/QElectroTech/binary/QET_ElementScaler
Expected in: <9FA59D2E-B8CF-39C2-BD5D-C04628AED360> /usr/lib/libstdc++.6.dylib
Best regards,
Laurent
macOS arm64 binary
Btw, it's run well only CLI on terminal, on GUI import DXF segfault...
thread 'main' panicked at src/main.rs:65:58:
called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Linux Debian unstable binary
See this topic: https://qelectrotech.org/forum/viewtopi … 065#p17065
QET has no network function, so it can't connect to a remote server directly!
The trick is to create a network shared drive on Windows, on linux an maybe macOS create and mount a drive to remote directory.
https://qelectrotech.org/forum/viewtopi … 4173#p4173
Other solution:
https://qelectrotech.org/forum/viewtopic.php?id=2484
At work I use 2 monitors one right for diagram, and I put all widgets like collection, rules numering, selection, etc in left screeen.
I use also QET installed on entreprise remote server for increase power off my PC.
At work my setup is a old I5 intel setup on Debian Linux.
We have installed other Debian in remote server VMware and I use XRDP to run QET on remote server with my 2 monitors on my desktop Debian.
A workaround it's to program code that use PDF like yours python program and also read the .qet XML, also you didn't need to enter rows, columns counts, size, and maybe with the folio label found page position.
You neeed two file, PDF of your project and the project.qet, I think!
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... but 9-3-A2 was realy position is page 14 on the pdf..
I haven't had time to think about finding a workaround.
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..
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).
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.
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.
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.
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.
QElectroTech → Posts by scorpio810
Powered by PunBB, supported by Informer Technologies, Inc.
Generated in 0.078 seconds (26% PHP - 74% DB) with 5 queries