1

Topic: Terminal block generator Installation

Sorry but  I  don't understand

How to install the plugin? I have python I have the file for the block feature but I don't undertand where to write the command line.
If i do it on cmd it says PYTHON is not a correct app, if I do it on python it says synthax error
Pls help

2

Re: Terminal block generator Installation

Hello
Can you please give us more detailed information about your Operating system, the text of the error message and so on?

Regards
RedBaron

3

Re: Terminal block generator Installation

RedBaron wrote:

Hello
Can you please give us more detailed information about your Operating system, the text of the error message and so on?

Regards
RedBaron

Hi thanks for the answer

here what I get after I write the command line  pip install --upgrade qet_tb_generator. I hvae python 3.16 (which is the last available pytohon on the site. THis is another strange thing 3.5 is older than 3.1!!!!)


C:\Users\sandr>pip install --upgrade qet_tb_generator
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: qet_tb_generator in c:\users\sandr\appdata\local\packages\pythonsoftwarefoundation.python.3.13_qbz5n2kfra8p0\localcache\local-packages\python313\site-packages (1.3.1)
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001E44BFCEA50>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/qet-tb-generator/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001E44BF77D90>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/qet-tb-generator/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001E44D424050>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/qet-tb-generator/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001E44D4242D0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/qet-tb-generator/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001E44D424550>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/qet-tb-generator/
Requirement already satisfied: PySimpleGUI in c:\users\sandr\appdata\local\packages\pythonsoftwarefoundation.python.3.13_qbz5n2kfra8p0\localcache\local-packages\python313\site-packages (from qet_tb_generator) (5.0.0.16)

4

Re: Terminal block generator Installation

Why don't you just download the binary from github-page and use that?
In that case you do not have to compile it yourself...
https://github.com/raulroda/qet_tb_gene … aster/dist

With a recent 0100-dev - version of QET you find something like this in the log-file
"menu" -> "Help" -> "About QElectroTech" -> tab "Log"

12:35:21.187 Info:  For data-files (user-/company-collections, titleblocks, etc.):
12:35:21.187 Info:  App Data Location: "C:/Tools/qelectrotech/conf"

Use your favorite file-browser to create the subdir "binary" in "App Data Location" and place binary "qet_tb_generator.exe" there.

Then you can use the plugin from QET-Project-Menu.

When starting the plugin, something like this is written to log-file:

12:36:54.665 Info:  project to use for qet_tb_generator:  "C:/Users/ich/Documents/ohne Namen.qet"
12:36:54.665 Info:  qet_tb_generator found here: "C:/Tools/qelectrotech/conf/binary/qet_tb_generator.exe"

Prerequisites for the plugin:
A saved project must be loaded. That project contains terminals that are named according to the scheme “X1:1, X1:2, etc” and are also connected somewhere.

Fragen zu QET gehören in dieses Forum und werden nicht per PM beantwortet! – Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !

5

Re: Terminal block generator Installation

thanks for your help unfortunately still have the same error. Am I aking something wrong? I put the exe file under the bin directory of the qeletrotech folder

Do you have a sample file I can oopen to test it with terminals already done?


thanks

plc-user wrote:

Why don't you just download the binary from github-page and use that?
In that case you do not have to compile it yourself...
https://github.com/raulroda/qet_tb_gene … aster/dist

With a recent 0100-dev - version of QET you find something like this in the log-file
"menu" -> "Help" -> "About QElectroTech" -> tab "Log"

12:35:21.187 Info:  For data-files (user-/company-collections, titleblocks, etc.):
12:35:21.187 Info:  App Data Location: "C:/Tools/qelectrotech/conf"

Use your favorite file-browser to create the subdir "binary" in "App Data Location" and place binary "qet_tb_generator.exe" there.

Then you can use the plugin from QET-Project-Menu.

When starting the plugin, something like this is written to log-file:

12:36:54.665 Info:  project to use for qet_tb_generator:  "C:/Users/ich/Documents/ohne Namen.qet"
12:36:54.665 Info:  qet_tb_generator found here: "C:/Tools/qelectrotech/conf/binary/qet_tb_generator.exe"

Prerequisites for the plugin:
A saved project must be loaded. That project contains terminals that are named according to the scheme “X1:1, X1:2, etc” and are also connected somewhere.

6

Re: Terminal block generator Installation

@scerrone
Look for the Example Project "industrial.qet". On Windows it's placed on the File path "C:\Program Files\QElectroTech\examples", on Ubuntu based Linux Distributions on "\usr\share\qelectrotech\examples\ ".

7

Re: Terminal block generator Installation

RedBaron wrote:

@scerrone
Look for the Example Project "industrial.qet". On Windows it's placed on the File path "C:\Program Files\QElectroTech\examples", on Ubuntu based Linux Distributions on "\usr\share\qelectrotech\examples\ ".


I have this error anyway

8

Re: Terminal block generator Installation

scerrone wrote:
RedBaron wrote:

@scerrone
Look for the Example Project "industrial.qet". On Windows it's placed on the File path "C:\Program Files\QElectroTech\examples", on Ubuntu based Linux Distributions on "\usr\share\qelectrotech\examples\ ".


I have this error anyway

9

Re: Terminal block generator Installation

There is something basic missing ...

What version of QElectroTech do you use?
"menu" -> "Help" -> "About QElectroTech" -> tab "Version"

It seems, you're a new user of QElectroTech:
You should use this (or newer) version to have some additional info in log-file:
https://download.qelectrotech.org/qet/b … 5-02-17-1/

Now to the plugin:

Did you download the exe-file of plugin as suggested from github?
https://github.com/raulroda/qet_tb_gene … aster/dist

Did you rename the exe-file of plugin to "qet_tb_generator.exe"?

Did you copy the exe-file of plugin to "AppDataLocation"\binary\qet_tb_generator.exe ?

What does the log-file say about "App Data Location"?
"menu" -> "Help" -> "About QElectroTech" -> tab "Log"

What does the log-file say about "qet_tb_generator not found: ..." and "qet_tb_generator found here: ..."
after loading a project and clicking on "menu" -> "Project" -> "Launch the terminal block creation plugin"?
"menu" -> "Help" -> "About QElectroTech" -> tab "Log"


Please answer ALL questions!

Fragen zu QET gehören in dieses Forum und werden nicht per PM beantwortet! – Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !

10

Re: Terminal block generator Installation

plc-user wrote:

There is something basic missing ...




What does the log-file say about "App Data Location


Please answer ALL questions!


Thanks for the help. Now it works. I repeated all and now all is ok. I only have to understand how it works

Thanks for the support

11

Re: Terminal block generator Installation

I only have to understand how it works

https://qelectrotech.org/forum/viewtopi … 070#p17070

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !