qtplasmac error message

More
5 years 2 months ago #216712 by crowloy
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.

Code:
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.

More
5 years 2 months ago #216741 by robertspark
Replied by robertspark on topic qtplasmac error message
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.

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

More
5 years 2 months ago - 5 years 2 months ago #216754 by phillc54
Replied by phillc54 on topic qtplasmac error message
If you guys start linuxcnc from a terminal does it give any hints in the terminal output about missing modules?

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

 
Last edit: 5 years 2 months ago by phillc54.

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

More
5 years 2 months ago #216778 by phillc54
Replied by phillc54 on topic qtplasmac error message

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.

More
5 years 2 months ago #216779 by phillc54
Replied by phillc54 on topic qtplasmac error message

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.


Code:
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.

More
5 years 2 months ago #216849 by crowloy
Replied by crowloy on topic qtplasmac error message
here's the config files. I've been running qtplasmac for quite awhile just updating the git repo and running 

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

Moderators: snowgoer540
Time to create page: 0.211 seconds
Powered by Kunena Forum