Latest update broke something
10 Mar 2021 17:19 #201666
by persei8
Latest update broke something was created by persei8
I updated to LINUXCNC - 2.9.0-pre0-3672-gca78e6af1 and now for some reason, it's not finding the files in the config directory.There are others, but these are the relevant ones.
This is from the INI file:Forcing log level to DEBUG in qt_pstat didn't add any additional info to the log file. It all worked good before the update. Thanks.
Using DEFAULT handler file path: /usr/share/qtvcp/screens/qtdragon/qtdragon_handler.py (qt_pstat.py:93)
Using DEFAULT ui file from /usr/share/qtvcp/screens/qtdragon/qtdragon.ui (qt_pstat.py:114)
Using DEFAULT qrc file from /usr/share/qtvcp/screens/qtdragon/qtdragon.qrc (qt_pstat.py:169)
DEFAULT Resources.py file needs to be compiled at: /usr/share/qtvcp/screens/qtdragon/resources.py (qt_pstat.py:203)
No handler file specified on command line (qtvcp:154)
No HAL component base name specified on command line using: qtdragon (qtvcp:185)
Unable to open /usr/share/qtvcp/screens/qtdragon/resources.py for writing
This is from the INI file:
DISPLAY = qtvcp -m qtdragon
Please Log in or Create an account to join the conversation.
10 Mar 2021 20:28 - 10 Mar 2021 20:45 #201702
by persei8
Replied by persei8 on topic Latest update broke something
Got DEBUG logging working, so now more info:
Wrong paths - should be:
Basically, the CONFIGPATH and BASEPATH are being concatenated.
Checking for handler file in: /home/jim/linuxcnc/configs/qtdragon_hd/qtdragon/qtdragon_handler.py (qt_pstat.py:84)
Checking for .ui in: /home/jim/linuxcnc/configs/qtdragon_hd/qtdragon/qtdragon.ui (qt_pstat.py:107)
Wrong paths - should be:
/home/jim/linuxcnc/configs/qtdragon_hd/qtdragon_handler.py
/home/jim/linuxcnc/configs/qtdragon_hd/qtdragon.ui
Basically, the CONFIGPATH and BASEPATH are being concatenated.
Last edit: 10 Mar 2021 20:45 by persei8.
Please Log in or Create an account to join the conversation.
10 Mar 2021 21:12 #201717
by cmorley
Replied by cmorley on topic Latest update broke something
That is actually by design. I want the qtvcp local files in a folder in the user's config.
It is consistent with the new copy dialog for users to move builtin screens to local folder.
I think in the future i might change it to USER_FOLDER/qtvcp/SCREEN_BASENAME
(So that a user can have multiple screen code neatly in the folder.)
If you have multiple machine INIs and such the config folder gets to be a mess.
Sorry for the inconvenience.
It is consistent with the new copy dialog for users to move builtin screens to local folder.
I think in the future i might change it to USER_FOLDER/qtvcp/SCREEN_BASENAME
(So that a user can have multiple screen code neatly in the folder.)
If you have multiple machine INIs and such the config folder gets to be a mess.
Sorry for the inconvenience.
Please Log in or Create an account to join the conversation.
10 Mar 2021 22:23 #201735
by persei8
Replied by persei8 on topic Latest update broke something
I moved everything down 1 level to a folder called qtdragon. Now it's looking for handler and ui in /home/jim/linuxcnc/configs/qtdragon_hd/qtdragon/qtdragon/qtdragon_handler.py. Which files are supposed to move where?
Jim
Jim
Please Log in or Create an account to join the conversation.
10 Mar 2021 22:30 #201736
by cmorley
Replied by cmorley on topic Latest update broke something
with a config folder call qtdragon_hd and screen called qtdragon, you would add a folder called qtdragon and add screen code in it.
/home/jim/linuxcnc/configs/qtdragon_hd/qtdragon/qtdragon_handler.py
/home/jim/linuxcnc/configs/qtdragon_hd/qtdragon/qtdragon.ui
etc
/home/jim/linuxcnc/configs/qtdragon_hd/qtdragon/qtdragon_handler.py
/home/jim/linuxcnc/configs/qtdragon_hd/qtdragon/qtdragon.ui
etc
Please Log in or Create an account to join the conversation.
10 Mar 2021 22:46 - 10 Mar 2021 23:13 #201741
by persei8
Replied by persei8 on topic Latest update broke something
As I said above, that's what I did but it but it keeps looking one level deeper - from qtdragon-hd to qtdragon-hd/qtdragon to qtdragon-hd/qtdragon/qtdragon etc.
hyphens should be underscores
hyphens should be underscores
Last edit: 10 Mar 2021 23:13 by persei8.
Please Log in or Create an account to join the conversation.
10 Mar 2021 23:02 #201746
by cmorley
Replied by cmorley on topic Latest update broke something
You didn't change the INI DISPLAY = qtvcp qtdragon setting did you?
Please Log in or Create an account to join the conversation.
10 Mar 2021 23:11 #201749
by persei8
Replied by persei8 on topic Latest update broke something
Nope.
[DISPLAY]
DISPLAY = qtvcp -m qtdragon
Please Log in or Create an account to join the conversation.
10 Mar 2021 23:15 #201750
by cmorley
Replied by cmorley on topic Latest update broke something
It works fine on my developing computer ![:( :(](/media/kunena/emoticons/sad.png)
Unfortunately I'm off to work for the night so I can't help till tomorrow.
If you could post the total debug print out of your latest try i'll look at it tomorrow.
![:( :(](/media/kunena/emoticons/sad.png)
Unfortunately I'm off to work for the night so I can't help till tomorrow.
If you could post the total debug print out of your latest try i'll look at it tomorrow.
Please Log in or Create an account to join the conversation.
10 Mar 2021 23:33 #201756
by persei8
Replied by persei8 on topic Latest update broke something
When I enclose it in code tags, I getEven though there aren't any links. So I attached it.
I'll keep experimenting. Thanks.
Error
You have too many links in your message, please decrease them!
I'll keep experimenting. Thanks.
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.161 seconds