qtplasmac error message
hm2/hm2_7i92.0: registered
[QTvcp][INFO] Logging to "/home/colten/git/qtplasma/qtdragon.log" (logger.py:100)
run_string(from interpreter import this):
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: __import__ not found
[QTvcp.QTVCP.QT_PSTAT][INFO] Using DEFAULT handler file path: /home/colten/git/linuxcnc/share/qtvcp/screens/qtplasmac/qtplasmac_handler.py (qt_pstat.py:97)
Please Log in or Create an account to join the conversation.
- robertspark
- Offline
- Platinum Member
- Posts: 915
- Thank you received: 216
created a line in conversational, sent if to the main screen, and threw an error..... + shut downTraceback (most recent call last):File "/usr/share/qtvcp/screens/qtplasmac/qtplasmac_handler.py", line 1053, in file_loadedmsg, xMin, yMin, xMax, yMax = self.bounds_check('loaded', 0, 0)File "/usr/share/qtvcp/screens/qtplasmac/qtplasmac_handler.py", line 1543, in bounds_checkif self.gcodeProps == 'in':TypeError: 'NoneType' object is not subscriptable
thought I'd add it onto this thread as it may be python3 related.
Please Log in or Create an account to join the conversation.
Edit: It may be worth setting the default python to python2 on a system wide basis:
linuxconfig.org/how-to-change-from-defau...sion-on-debian-linux
then running the Qt install script:
linuxcnc.org/docs/devel/html/plasma/qtpl...c.html#qt-dependency
Please Log in or Create an account to join the conversation.
2.9.0-pre0-4365-g0e4582b09
Traceback (most recent call last):File "/usr/share/qtvcp/screens/qtplasmac/qtplasmac_handler.py", line 1053, in file_loadedmsg, xMin, yMin, xMax, yMax = self.bounds_check('loaded', 0, 0)File "/usr/share/qtvcp/screens/qtplasmac/qtplasmac_handler.py", line 1543, in bounds_checkif self.gcodeProps == 'in':TypeError: 'NoneType' object is not subscriptable
created a line in conversational, sent if to the main screen, and threw an error..... + shut down
thought I'd add it onto this thread as it may be python3 related.
This issue is fixed.
Please Log in or Create an account to join the conversation.
After the latest update which changed over to python3, I had an interesting time updating and running qtplasma. I still have this error which doesn't appear to be very important as qtplasmac is running, but it would be nice to get rid of this as well.
hm2/hm2_7i92.0: registered [QTvcp][INFO] Logging to "/home/colten/git/qtplasma/qtdragon.log" (logger.py:100) run_string(from interpreter import this): Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: __import__ not found [QTvcp.QTVCP.QT_PSTAT][INFO] Using DEFAULT handler file path: /home/colten/git/linuxcnc/share/qtvcp/screens/qtplasmac/qtplasmac_handler.py (qt_pstat.py:97)
Could you post the config backup, the mention of qtdragon.log seems a bit odd.
linuxcnc.org/docs/devel/html/plasma/qtplasmac.html#qt_backup
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I set your config up as a sim and could not see the issue.
It would be worth trying it with the "LOG_FILE = qtdragon.log" line commented out.
Failing that it may be worthwhile for you to set the default python on your PC to python3.
linuxconfig.org/how-to-change-from-defau...ion-on-debian-linux/
Then after doing that run the qt install script:
/home/colten/git/linuxcnc/lib/python/designer/install_script
Edit: If you update then you won't need to set the default pyhton version, I have pushed a change to the install script so it is python3 only.
Please Log in or Create an account to join the conversation.