QtDragon, Linuxcnc 2.9pre, and Debian 12 (bookworm)

More
28 Aug 2022 18:13 - 28 Aug 2022 18:23 #250627 by Roguish
Well, I might have go ahead of it all, but I upgraded from debian 10 to 12, and installed Linuxcnc via synaptic and the debian 12 repo. 
Linuxcnc startup fine.  tried an axis sim first.  no problems.
Then tried my qtDragon config.......NO luck.  Not a linuxcnc problem.  It's sure seems to be a qtvcp and/or qtdesigner problem(s).
I run from a terminal window with all debugging on.   see the file below for the terminal output.
As qtdragon loads, it errors (see the 'dragon startup error - initial' image).
If I select 'abort', it totally aborts.
If I select 'retry' one more widget appears, the throws the same error  (see the  'dragon startup error - after couple of retrys' image)

I am out of ideas. 
any thoughts would be greatly appreciated.

PS.  qtdesigner does not startup either.   see the 3rd image.....

 
Attachments:
Last edit: 28 Aug 2022 18:23 by Roguish.

Please Log in or Create an account to join the conversation.

More
28 Aug 2022 18:20 #250628 by cmorley
yes a PYQT library changed it's arguments from floats to integers.
I don't have a Debian 12 system so have not identified every one.

Eyecon ran into this and I think he manually fixed it - I'm not sure he gave a patch.
If you put int() around the complaining arguments that should be a quick fix.

Chris
The following user(s) said Thank You: Roguish

Please Log in or Create an account to join the conversation.

More
28 Aug 2022 18:30 - 28 Aug 2022 18:34 #250629 by Roguish
Chris. thanks
I think I found Eyecon's post forum.linuxcnc.org/qtvcp/46412-python-fu...-linuxcnc-2-9#247616
He says there it is a python 3.10 (and probably greater) problem, and 3.9 is no problem.
Am I reading that correctly?
If so, how could I go back to 3.9?

just checked.  i'm on 3.10.6 currently
Last edit: 28 Aug 2022 18:34 by Roguish.

Please Log in or Create an account to join the conversation.

More
28 Aug 2022 18:37 #250631 by cmorley
not easily I think. he probably moved to an older distro.
The following user(s) said Thank You: Roguish

Please Log in or Create an account to join the conversation.

More
28 Aug 2022 18:40 #250633 by Roguish
Well, seems to be a problem for the not too distant future, that really needs to be sorted out.....soon.
What da ya think???

Please Log in or Create an account to join the conversation.

More
28 Aug 2022 18:45 #250634 by cmorley
Ya I should be able to fix things just from your error messages - might take a couple tries.
The following user(s) said Thank You: Roguish

Please Log in or Create an account to join the conversation.

More
28 Aug 2022 18:48 - 28 Aug 2022 18:49 #250635 by Roguish
I am open and anxious to help any way I can......

like lots of testing....

please just ask away...!!!
 
Last edit: 28 Aug 2022 18:49 by Roguish.

Please Log in or Create an account to join the conversation.

More
28 Aug 2022 19:19 #250640 by cmorley
I just pushed the problems I found with drawing.
It comes with other updates mainly to qtdragon_hd - hopefully I haven't missed something there.
If you are compiling you can pull and test now. Buildbot usually takes quite awhile.

What kernel # are you using with bookworm?
The following user(s) said Thank You: Roguish

Please Log in or Create an account to join the conversation.

More
28 Aug 2022 19:47 - 28 Aug 2022 20:07 #250641 by Roguish
thanks
Linux 4.19.0-9-rt-amd64

I have installed lcnc via the debian 12 repository. no clue where it gets its .deb's
what files did you have to modify?
if you post them here, could I use them? if yes, how???

OK,  i see them in src files.....3 files.  python.   
if I download and replace my existing ones with those, shouldn't it work?   python being a non-compiled coding and all.....
??

OK, again.....  I edited the existing files identical to your edits in src. 
but still get the same errors....
what gives?
Last edit: 28 Aug 2022 20:07 by Roguish.

Please Log in or Create an account to join the conversation.

More
28 Aug 2022 20:21 #250646 by tommylight
Strange, Debian 12 BookWorm should have 5.nn kernels, not 4.19.
Give PhillC's script a try, it always worked for me on Debian and Mint for installing QT stuff:
forum.linuxcnc.org/qtvcp/38414-installing-qtvcp

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.086 seconds
Powered by Kunena Forum