Topic: Planning to record a tutorial for the plugin; encountered a problem.
Dear QET Users,
I would like to record a short video tutorial on using the Terminal Block Generator tool.
I believe it could be very valuable for the community, since the youtube videos showing the tool are a few years old already.
Right now I am a QET beginner myself and have some problems with starting the terminal block plugin. I have also watched around 4 QET tutorial series and no tutorial covered the terminal block generator plugin.
I would like to first ask for your help with setting up the plugin on Windows and Linux. I read the forum but I was not able to get the terminal block generator plugin to work on my machine.
My configuration, let's start with Windows:
qet_tb_generator-1.2.4
Windows 10 Pro x64, OS build 19042.928
QET 0.8-dev
Projects from other users I try to test the plugin with:
https://qelectrotech.org/forum/viewtopi … 082#p13082
What I already did:
- Added python to Windows environment variables
- Placed qet_tb_generator in the
C:\Users\Jakub\AppData\Local\Programs\Python\Python39\Scripts
directory
1. Plugin cannot be started by QET itself (Project-> "Launch Terminal Block creation plugin" gives the window informing about the installation process)
2. Getting the errors when trying to launch the qet_tb_generator.py from the command line in the C:\Users\Jakub\AppData\Local\Programs\Python\Python39\Scripts directory:
C:\Users\Jakub\AppData\Local\Programs\Python\Python39\Scripts>qet_tb_generator.exe
23:53:59 INFO QET Terminal Block Generator - v1.2.4 [main.main:840]
23:54:08 INFO Using the file: C:/Users/Jakub/Downloads/teste.qet [main.get_QET_fullpath:189]
23:54:08 INFO Generate temp file C:\Users\Jakub\AppData\Local\Temp\tmp4wbhg7a2 [qetproject.__init__:104]
23:54:08 INFO Atribute 'folioSheetQuantity' doesn't exist. Assuming 0 [qetproject.__init__:124]
23:54:08 DEBUG Getting cable number connected to terminal 12 at page [qetproject._getCableNum:266]
23:54:08 DEBUG Getting cable number connected to terminal 13 at page [qetproject._getCableNum:266]
23:54:08 DEBUG Cols: 17 Col size: 60 Row size: 80 X position: 630 Y Position: 320 [qetproject._getXRefByCoord:351]
23:54:08 DEBUG Getting cable number connected to terminal 14 at page [qetproject._getCableNum:266]
23:54:08 DEBUG Getting cable number connected to terminal 15 at page [qetproject._getCableNum:266]
23:54:08 DEBUG Cols: 17 Col size: 60 Row size: 80 X position: 610 Y Position: 320 [qetproject._getXRefByCoord:351]
23:54:08 DEBUG Getting cable number connected to terminal 16 at page [qetproject._getCableNum:266]
23:54:08 DEBUG Getting cable number connected to terminal 17 at page [qetproject._getCableNum:266]
23:54:08 DEBUG Cols: 17 Col size: 60 Row size: 80 X position: 650 Y Position: 320 [qetproject._getXRefByCoord:351]
23:54:08 INFO Deleted temp file C:\Users\Jakub\AppData\Local\Temp\tmp4wbhg7a2 [qetproject.__init__:141]
Traceback (most recent call last):
File "c:\users\jakub\appdata\local\programs\python\python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\jakub\appdata\local\programs\python\python39\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\Jakub\AppData\Local\Programs\Python\Python39\Scripts\qet_tb_generator.exe\__main__.py", line 7, in <module>
File "c:\users\jakub\appdata\local\programs\python\python39\lib\site-packages\src\main.py", line 870, in main
load_settings(window)
File "c:\users\jakub\appdata\local\programs\python\python39\lib\site-packages\src\main.py", line 623, in load_settings
set_default_settings()
TypeError: set_default_settings() missing 1 required positional argument: 'window'
C:\Users\Jakub\AppData\Local\Programs\Python\Python39\Scripts>
It shuts down after I specify project file in the small popup window.
Similar thing happens when I run qet_tb_generator-1.2.4.exe file.
I am very grateful for you for developing this software. I hope that we could overcome these setup problems and I will be soon able to set up my workflow and give back to the community with some how-to guides.
Thank you for your time and consideration.
Best regards,
Jakub