1 (edited by RedBaron 2021-08-22 14:16:33)

Topic: Klemmenplan-Plugin kann nicht gestartet werden-TB Plugin can´t started

Hallo

ich bin neu hier im Forum und arbeite mich gerade in QElectroTech 0.8 ein.
Mein Problem ist das sich das Klemmenplan-Plugin nicht starten lässt,
die Anleitungen von Scorpio im englischen Forum habe ich schon abgearbeitet.

Folgende Fehlermeldung erhalte ich:

C:\Users\Andreas\AppData\Roaming\Python\Python36\Scripts>qet_tb_generator.exe
13:29:35 INFO     ** QElectrotech terminal block plug-in - v1.1.7 ** [main.main:845]
Traceback (most recent call last):
  File "c:\program files\freecad 0.18\bin\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\program files\freecad 0.18\bin\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\Andreas\AppData\Roaming\Python\Python36\Scripts\qet_tb_generator.exe\__main__.py", line 7, in <module>
  File "C:\Users\Andreas\AppData\Roaming\Python\Python36\site-packages\src\main.py", line 849, in main
    wdg_root = tk.Tk()
  File "c:\program files\freecad 0.18\bin\lib\tkinter\__init__.py", line 2020, in __init__
    self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: Can't find a usable init.tcl in the following directories:
    {c:/program files/freecad 0.18/bin/lib/tcl8.6} {c:/program files/freecad 0.18/lib/tcl8.6} {c:/program files/lib/tcl8.6} {c:/program files/freecad 0.18/library} {c:/program files/library} {c:/program files/tcl8.6.6/library} c:/tcl8.6.6/library



This probably means that Tcl wasn't installed properly.

Systeminfo:

QElectroTech V 0.80c+87c957a06d79751d3
Compilation : GCC 9.3.0
Built with Qt 5.15.2 - Date : Feb 21 2021 : 10:30:58 
Run with Qt 5.15.2 using 24 thread(s)
CPU : NAME AMD RYZEN 9 3900X 12-CORE PROCESSOR 
RAM Total : 65448 MB
RAM Available : 59869 MB
GPU : VideoProcessor AMD FirePro SDI (0x67C7) 
GPU RAM : RAM Total : AdapterRAM 4293918720 B
OS : winnt - x86_64 - Version : Windows 10 Version 2009 - Kernel : 10.0.19042
*** Qt screens *** 
( 1 : 1920 x 1080 ) 

Ich habe alle aktuellen Treiber installiert und auch mit der Portable Version von QElectroTech den Fehler zu beheben,
jedoch ohne Erfolg.

QElectroTech ist eine sehr gute Software, meinen Respekt an die Entwickler.

Mit freundlichen Grüßen
RedBaron

Post's attachments

qet_tb_generator01.png, 53.37 kb, 979 x 512
qet_tb_generator01.png 53.37 kb, 211 downloads since 2021-03-14 

Re: Klemmenplan-Plugin kann nicht gestartet werden-TB Plugin can´t started

Hallo,

have you installed TCl?
https://www.activestate.com/products/tcl/downloads/

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Klemmenplan-Plugin kann nicht gestartet werden-TB Plugin can´t started

@scorpio
How can I determine if Tcl is installed? Does Tcl need to be installed separately?

With kind regards
RedBaron

Re: Klemmenplan-Plugin kann nicht gestartet werden-TB Plugin can´t started

Yes Tcl need to be installed separately.

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Klemmenplan-Plugin kann nicht gestartet werden-TB Plugin can´t started

Tcl 8.6 is installed, the same error message appears again.

icrosoft Windows [Version 10.0.19042.867]
(c) 2020 Microsoft Corporation. Alle Rechte vorbehalten.

C:\Users\Andreas\AppData\Roaming\Python\Python36\Scripts>qet_tb_generator
22:40:44 INFO     ** QElectrotech terminal block plug-in - v1.1.7 ** [main.main:845]
Traceback (most recent call last):
  File "c:\program files\freecad 0.18\bin\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\program files\freecad 0.18\bin\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\Andreas\AppData\Roaming\Python\Python36\Scripts\qet_tb_generator.exe\__main__.py", line 7, in <module>
  File "C:\Users\Andreas\AppData\Roaming\Python\Python36\site-packages\src\main.py", line 849, in main
    wdg_root = tk.Tk()
  File "c:\program files\freecad 0.18\bin\lib\tkinter\__init__.py", line 2020, in __init__
    self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: Can't find a usable init.tcl in the following directories:
    {c:/program files/freecad 0.18/bin/lib/tcl8.6} {c:/program files/freecad 0.18/lib/tcl8.6} {c:/program files/lib/tcl8.6} {c:/program files/freecad 0.18/library} {c:/program files/library} {c:/program files/tcl8.6.6/library} c:/tcl8.6.6/library



This probably means that Tcl wasn't installed properly.

C:\Users\Andreas\AppData\Roaming\Python\Python36\Scripts>

Re: Klemmenplan-Plugin kann nicht gestartet werden-TB Plugin can´t started

Have you tried with industrial.qet example shared in the packages?

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Klemmenplan-Plugin kann nicht gestartet werden-TB Plugin can´t started

Yes the examples and my own files.

Re: Klemmenplan-Plugin kann nicht gestartet werden-TB Plugin can´t started

Btw, you have qet-tb_generator. exe on download with Python libs in the binary.

https://download.qelectrotech.org/qet/builds/nightly/
Put it on your C:\Users\[username]\AppData\qet\

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Klemmenplan-Plugin kann nicht gestartet werden-TB Plugin can´t started

The directory C:\Users\Name\AppData\qet does not exist, should I create it manually?

Das Verzeichnis C:\Users\Username\AppData\qet existiert nicht, soll ich es manuell anlegen?

Re: Klemmenplan-Plugin kann nicht gestartet werden-TB Plugin can´t started

You use installer or ReadytoUse version?

B. Using the portable versions. Available at:

Windows: https://download.qelectrotech.org/qet/builds/nightly/
Rename to qet_tb_generator.exe and put it on your C:\Users\[username]\AppData\qet\

Like ReadyToUse user put qet_tb_generator under ReadyToUse directory QET can launch it, but sometime a message box appear and indicate plugin is not found when it has just launched ...

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

11 (edited by RedBaron 2021-03-18 20:32:43)

Re: Klemmenplan-Plugin kann nicht gestartet werden-TB Plugin can´t started

Hello

I have tried both the Installer and the Ready to Use Portable 0.8.
Which version of qet_tb_generator should I download and test, 1.1.6 or 1.1.7?



Ich habe sowohl den Installer als auch die Ready to Use Portable 0.8 ausprobiert.
Welche Version von qet_tb_generator sollte ich herunterladen und testen, 1.1.6 oder 1.1.7?


Best regards
RedBaron

Re: Klemmenplan-Plugin kann nicht gestartet werden-TB Plugin can´t started

Latest is 1.1.7.

https://download.qelectrotech.org/qet/b … -1.1.7.exe

Rename to qet_tb_generator.exe

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

13 (edited by RedBaron 2021-03-18 20:49:55)

Re: Klemmenplan-Plugin kann nicht gestartet werden-TB Plugin can´t started

Is this related to the Python 3 installation?
Does Python need to be installed for all users or only for my account?
Is more info about the computer needed?

The photo https://download.qelectrotech.org/qet/f … in_pip.png
shows that qet_tb_generator is installed in the directory
C:\Users\AppData\Local\Programs\Python\Python35\Lib\site-packages is installed. In this directory there is a ReadMe file with the following content:

This directory exists so that 3rd party packages can be installed
here.  Read the source for site.py for more details.

Should I copy the qet_tb_generator.exe to this directory?


Hängt das mit der Python 3 Installation zusammen?
Muß Python für alle User oder nur für meinen Account installiert werden?
Werden noch mehr Infos über den Rechner benötigt?

Auf dem Foto https://download.qelectrotech.org/qet/f … in_pip.png
wird gezeigt das qet_tb_generator im Verzeichnis
C:\Users\Name\AppData\Local\Programs\Python\Python35\Lib\site-packages installiert wird. Indiesem Verzeichnis befindet sich eine ReadMe-Datei mit folgendem Inhalt:

This directory exists so that 3rd party packages can be installed
here.  Read the source for site.py for more details.

Soll ich die qet_tb_generator.exe in dieses Verzeichnis kopieren?

Re: Klemmenplan-Plugin kann nicht gestartet werden-TB Plugin can´t started

qet_tb_generator-1.1.7.exe is pulgin with python inside.
No need Python framework isntalled.

B. Using the portable versions. Available at:

Windows: https://download.qelectrotech.org/qet/builds/nightly/
Rename to qet_tb_generator.exe and put it on your C:\Users\[username]\AppData\qet\

For ReadyToUse user put qet_tb_generator.exe under ReadyToUse directory QET can launch it.

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

15 (edited by RedBaron 2021-03-18 23:24:29)

Re: Klemmenplan-Plugin kann nicht gestartet werden-TB Plugin can´t started

Next problem: Windows Defender marks qet_tb_generator-1.1.7.exe as malware win32/blocker.
https://www.virustotal.com/gui/file/dc6 … /detection

Maybe it is a false positive an reason why i can't start qet_tb_generator.

I've send to Microsoft Malware Submission.

Post's attachments

qet_tb-_generator_ransomware.jpg, 32.23 kb, 537 x 401
qet_tb-_generator_ransomware.jpg 32.23 kb, 206 downloads since 2021-03-18 

Re: Klemmenplan-Plugin kann nicht gestartet werden-TB Plugin can´t started

https://qelectrotech.org/forum/viewtopi … 618#p13618

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

17 (edited by RedBaron 2021-03-19 07:32:15)

Re: Klemmenplan-Plugin kann nicht gestartet werden-TB Plugin can´t started

Hello in Microsoft Windows 10 Defender the signature for qet_tb_generator 1.1.7.exe has been adjusted. The false detection has been removed.

Submission details Refresh
qet_tb_generator-1.1.7.exe

Submission ID: f17c5e16-6468-4432-a994-79b6291e086d

Status: Completed

Submitted by: RedBaron

Submitted: Mar 18, 2021 22:06:28

User Opinion: Incorrect detection

Analyst comments:


                We have removed the detection.  Please follow the steps below to clear cached detection and obtain the latest malware definitions.

     1. Open command prompt as administrator and change directory to c:\Program Files\Windows Defender
     2. Run “MpCmdRun.exe -removedefinitions -dynamicsignatures”
     3. Run "MpCmdRun.exe -SignatureUpdate"

Alternatively, the latest definition is available for download here: https://www.microsoft.com/en-us/wdsi/definitions

Thank you for contacting Microsoft.

Re: Klemmenplan-Plugin kann nicht gestartet werden-TB Plugin can´t started

Great, thanks.

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

19 (edited by RedBaron 2021-03-23 20:05:44)

Re: Klemmenplan-Plugin kann nicht gestartet werden-TB Plugin can´t started

B. Using the portable versions. Available at:

Windows: https://download.qelectrotech.org/qet/builds/nightly/
Rename to qet_tb_generator.exe and put it on your C:\Users\[username]\AppData\qet\

For ReadyToUse user put qet_tb_generator.exe under ReadyToUse directory QET can launch it.

Tried with the Ready to Use Version of QElectroTech, no success.
The same happens with administrator rights, other user accounts and other computers.

Maybe a misconfigured Windows Installation?
Autodesk Inventor, Fusion 360 and SolidEdge run without problems.

Re: Klemmenplan-Plugin kann nicht gestartet werden-TB Plugin can´t started

You put qet_tb_generator.exe inside your Readytouse directory?

https://github.com/qelectrotech/qelectr … .cpp#L2336

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

21 (edited by RedBaron 2021-03-23 21:26:56)

Re: Klemmenplan-Plugin kann nicht gestartet werden-TB Plugin can´t started

Yes as described above.

Post's attachments

Screenshot 2021-03-23 202226.jpg, 64.34 kb, 960 x 520
Screenshot 2021-03-23 202226.jpg 64.34 kb, 255 downloads since 2021-03-23 

22 (edited by RedBaron 2021-03-24 09:49:23)

Re: Klemmenplan-Plugin kann nicht gestartet werden-TB Plugin can´t started

The terminal generator starts in V 0.8 Ready to Use after changing the language to English. The following windows are displayed: "Choose terminal Blocks to generate".

Post's attachments

Screenshot 2021-03-24 083732.jpg, 147.53 kb, 960 x 520
Screenshot 2021-03-24 083732.jpg 147.53 kb, 263 downloads since 2021-03-24 

Re: Klemmenplan-Plugin kann nicht gestartet werden-TB Plugin can´t started

Strange !
Tried here but with 0.9-dev ReadyToUse and switched to german language, qet_tb_generator.exe start..

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Klemmenplan-Plugin kann nicht gestartet werden-TB Plugin can´t started

Are log files needed for troubleshooting?

Re: Klemmenplan-Plugin kann nicht gestartet werden-TB Plugin can´t started

I 'm think no, maybe launch QET in an shell terminal.

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."