Topic: QET V0.8 - TB Generator V1.1.7 - MAC OS 11.2.2 - Python 3.8

Good day !

I'm an novice in the use of QET but I'm super impressed going form one revelation to the other during my experience in getting to know QET.
It's ver intuitive and the documentation is surprisingly easy to grasp.

Everybody involved in the creation and maintenance of QET a big thumbs up and a thank you.

It probably does not come as a surprise that a novice user of QET runs in a question for which I did not yet find an answer.
It's probably myself who is the problem why it's not working but I'm not getting my head around the problem. And I'm hoping someone can put me on the road to the solution.

The problem which I encounter is with the get_tb_generator.
I installed python 3.8 and got the get_tb_generator installed.
And that is where the fun ended.

When launching the terminal generator form project-launch plugin it gives the "not found"popup giving directions how to install.

When trying to to follow the directions in some of the post by scorpio810 like starting the tb generator from the shell it also does not start.

Adding the path to the library in the PATH also does not change things.

Is there anybody that can give me some tips to get it working ?

Re: QET V0.8 - TB Generator V1.1.7 - MAC OS 11.2.2 - Python 3.8

Hi and thanks for compliments,

what your OS?
QET version?
How you install qet_tb_generator?

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

Re: QET V0.8 - TB Generator V1.1.7 - MAC OS 11.2.2 - Python 3.8

Hello scorpio810,

I use a MACbook pro with OS 11.2.2 (Big sur).

To install get_tb-generator I used your post reference in the pop up when going through project-lauch plugin. https://qelectrotech.org/forum/viewtopi … 5674#p5674
It did make me run into python v3.5 vs v3.8. As I installed v3.8 and the post references to v3.5.

Re: QET V0.8 - TB Generator V1.1.7 - MAC OS 11.2.2 - Python 3.8

It 'launch with this command:

python3.8 /Library/Frameworks/Python.framework/Versions/3.8/bin/qet_tb_generator

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

5 (edited by j.vanderveen 2021-03-08 15:13:07)

Re: QET V0.8 - TB Generator V1.1.7 - MAC OS 11.2.2 - Python 3.8

When I enter and execute:

python3.8 /Library/Frameworks/Python.framework/Versions/3.8/bin/qet_tb_generator

I get "can't open file" and no such file or directory. (see attachment)

The directory and file are however present when I look in finder.

Post's attachments

Attachment icon Schermafbeelding 2021-03-08 om 14.10.05.png 83.91 kb, 113 downloads since 2021-03-08 

Re: QET V0.8 - TB Generator V1.1.7 - MAC OS 11.2.2 - Python 3.8

file location and path.

Post's attachments

Schermafbeelding 2021-03-08 om 13.44.57.png, 135.52 kb, 754 x 700
Schermafbeelding 2021-03-08 om 13.44.57.png 135.52 kb, 705 downloads since 2021-03-08 

Re: QET V0.8 - TB Generator V1.1.7 - MAC OS 11.2.2 - Python 3.8

Clik on QEt_tb_generator is start?

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

Re: QET V0.8 - TB Generator V1.1.7 - MAC OS 11.2.2 - Python 3.8

When you installed Python3.8 pkg your run Profile.command script?

/Applications/Python\ 3.8/Update\ Shell\ Profile.command ; exit;

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

Re: QET V0.8 - TB Generator V1.1.7 - MAC OS 11.2.2 - Python 3.8

When I do that i get 3 screens to open.

Please find attached the printscreen.

Post's attachments

Schermafbeelding 2021-03-08 om 14.50.10_resize.png, 636.52 kb, 1358 x 829
Schermafbeelding 2021-03-08 om 14.50.10_resize.png 636.52 kb, 270 downloads since 2021-03-08 

Re: QET V0.8 - TB Generator V1.1.7 - MAC OS 11.2.2 - Python 3.8

when I press cancel I get the following - printscreen

Post's attachments

Attachment icon Schermafbeelding 2021-03-08 om 14.52.08.png 643.96 kb, 112 downloads since 2021-03-08 

Re: QET V0.8 - TB Generator V1.1.7 - MAC OS 11.2.2 - Python 3.8

OK, plugin run, but QET search plugin in this path

#elif  defined(Q_OS_MAC)
    if (openedProjects().count()){
        success = process->startDetached("/Library/Frameworks/Python.framework/Versions/3.8/bin/qet_tb_generator", {(QETDiagramEditor::currentProjectView()->project()->filePath())});
    }
    else  {
        success = process->startDetached("/Library/Frameworks/Python.framework/Versions/3.8/bin/qet_tb_generator", {("")});
    }

https://git.tuxfamily.org/qet/qet.git/t … .cpp#n2344

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

Re: QET V0.8 - TB Generator V1.1.7 - MAC OS 11.2.2 - Python 3.8

I'm not sure what you mean.
Do I need to change something to get it working ?

I'm not familiar with python or programming language.

Re: QET V0.8 - TB Generator V1.1.7 - MAC OS 11.2.2 - Python 3.8

/Applications/Python\ 3.8/Update\ Shell\ Profile.command ; exit;

Qet_tb_generator path need to be in this path for is open with QET
/Library/Frameworks/Python.framework/Versions/3.8/bin/qet_tb_generator


not in Users/jvdv/Library/Pyhon/3.8 ....

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

Re: QET V0.8 - TB Generator V1.1.7 - MAC OS 11.2.2 - Python 3.8

Thank you for your continued support scorpio810, I appreciate the effort you put into helping me a lot.

I made the folders and copied the content of the original bin to it.
Then I executed the command line.
See the attached printscreen.

Unfortunately I can still not open through project - open plugin

Post's attachments

Attachment icon Schermafbeelding 2021-03-08 om 20.06.23.png 389.32 kb, 108 downloads since 2021-03-08 

Re: QET V0.8 - TB Generator V1.1.7 - MAC OS 11.2.2 - Python 3.8

ok,
now
It 'launch with this command:

python3.8 /Library/Frameworks/Python.framework/Versions/3.8/bin/qet_tb_generator

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

Re: QET V0.8 - TB Generator V1.1.7 - MAC OS 11.2.2 - Python 3.8

nope, not launching

I get the attached message

Post's attachments

Attachment icon Schermafbeelding 2021-03-08 om 20.16.17.png 190.4 kb, 114 downloads since 2021-03-08 

Re: QET V0.8 - TB Generator V1.1.7 - MAC OS 11.2.2 - Python 3.8

Or with

/Library/Frameworks/Python.framework/Versions/3.8/bin/qet_tb_generator

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

Re: QET V0.8 - TB Generator V1.1.7 - MAC OS 11.2.2 - Python 3.8

Maybe force quit finder and terminal and retry?

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

Re: QET V0.8 - TB Generator V1.1.7 - MAC OS 11.2.2 - Python 3.8

in manual the plugin will work just as well, just have QET closed and go with dialog find and chose the QET project file to generate terminalblocks.

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

Re: QET V0.8 - TB Generator V1.1.7 - MAC OS 11.2.2 - Python 3.8

when I start manually an manual give in the project it does give me the X1 with the right amount of terminals.

The button is blank until I click it.

Where would I be looking for the generated terminal strip ?

Post's attachments

Attachment icon Schermafbeelding 2021-03-08 om 20.40.30.png 201.33 kb, 104 downloads since 2021-03-08 

Re: QET V0.8 - TB Generator V1.1.7 - MAC OS 11.2.2 - Python 3.8

with manual start I mean that I double click the program in the finder.

/Library/Frameworks/Python.framework/Versions/3.8/bin/qet_tb_generator

Does not work even after a restart of the macbook

Re: QET V0.8 - TB Generator V1.1.7 - MAC OS 11.2.2 - Python 3.8

I had a look at some youtube tutorials (posted 4 years ago) but they reload collections
Which I tried, but nothing showed up.

The shell screen when I generate the terminal strip is in the attachment.
Does it actually generate the terminalstrip ?

Post's attachments

Attachment icon Schermafbeelding 2021-03-08 om 20.55.30.png 1.14 mb, 104 downloads since 2021-03-08 

Re: QET V0.8 - TB Generator V1.1.7 - MAC OS 11.2.2 - Python 3.8

the collections after reload collections command

Post's attachments

Schermafbeelding 2021-03-08 om 20.57.17.png, 82.92 kb, 712 x 780
Schermafbeelding 2021-03-08 om 20.57.17.png 82.92 kb, 245 downloads since 2021-03-08 

Re: QET V0.8 - TB Generator V1.1.7 - MAC OS 11.2.2 - Python 3.8

Could the issues that I experience have something to do with the way Mac Big sur is set up ?

Re: QET V0.8 - TB Generator V1.1.7 - MAC OS 11.2.2 - Python 3.8

I don't know, I don't have yet Big sur, only Catalina.
https://github.com/foxlet/macOS-Simple-KVM/issues/413
QET need to be cloed when your run in manualhy qet_tb_generator.
You could try it with industrial.qet example provided in bundle.

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