- Posts: 395
- Thank you received: 0
Latest update broke something
5 years 7 months ago #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.
Code:
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:
Code:
DISPLAY = qtvcp -m qtdragon
Please Log in to join the conversation.
5 years 7 months ago #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.
Code:
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:
Code:
/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.
Please Log in to join the conversation.
5 years 7 months ago #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 to join the conversation.
5 years 7 months ago #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 to join the conversation.
5 years 7 months ago #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 to join the conversation.
5 years 7 months ago #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
Please Log in to join the conversation.
5 years 7 months ago #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 to join the conversation.
5 years 7 months ago #201749
by persei8
Replied by persei8 on topic Latest update broke something
Nope.
Code:
[DISPLAY]
DISPLAY = qtvcp -m qtdragon
Please Log in to join the conversation.
5 years 7 months ago #201750
by cmorley
Replied by cmorley on topic Latest update broke something
It works fine on my developing computer 
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.
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 to join the conversation.
5 years 7 months ago #201756
by persei8
Replied by persei8 on topic Latest update broke something
When I enclose it in code tags, I get
Even though there aren't any links. So I attached it.
I'll keep experimenting. Thanks.
Code:
Error
You have too many links in your message, please decrease them!
I'll keep experimenting. Thanks.
Please Log in to join the conversation.
Time to create page: 0.157 seconds
