QT designer ImportError: No module named richtext_selector

More
01 Mar 2020 01:57 #158859 by BeagleBrainz
Hi Chris......another issue but this related to designer for qtvcp, bare with me I'm not really up to speed with using git so hopefully I've got it right.
I did a clone last night.
I did a git checkout 2.8
then a git pull
when I did the pull it had a message about the discussed change here forum.linuxcnc.org/38-general-linuxcnc-q...91-gadf1eff73#158846. (I'm thinking I maybe on the right track)

Linuxcnc Version 1:2.8.0~pre1.5480.gff35df86e
murphy@ThinkPad-T530:~$ designer -qt=5
qt5ct: using qt5ct plugin
qt5ct: D-Bus global menu: no
[QtDesigner][INFO]  Logging to "/home/rmurphy/qtdesigner.log" (logger.py:88)
Traceback (most recent call last):
  File "/usr/lib/x86_64-linux-gnu/qt5/plugins/designer/python/qtvcp_plugin.py", line 31, in <module>
    from qtvcp.plugins.status_label_plugin import StatusLabelPlugin
  File "/usr/lib/python2.7/dist-packages/qtvcp/plugins/status_label_plugin.py", line 10, in <module>
    from qtvcp.widgets.richtext_selector import RichTextEditorDialog 
ImportError: No module named richtext_selector
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
qt5ct: D-Bus system tray: no

Could this file name be wrong qtvcp.widgets.richtext_selector import RichTextEditorDialog

There is a file in the git sources emc-dev/lib/python/qtvcp/widgets/richfont_selector
If I change line 10 in status_label_plugin.py from
from qtvcp.widgets.richtext_selector import RichTextEditorDialog

to
from qtvcp.widgets.richfontselector import RichTextEditorDialog

designer loads fine.
qtvcp from the linuxcnc configurator screens load ok with the mod

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

More
01 Mar 2020 02:22 #158860 by cmorley
The errors don't show up on my test systems because the old files are still there - I'll figure out the right fix and push soon.

Thank You!
And thanks for the Mint work.

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

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

More
01 Mar 2020 03:03 #158862 by cmorley
Pushed a fix - it'll take a while for debs to be built.
The following user(s) said Thank You: BeagleBrainz

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

More
01 Mar 2020 03:47 #158867 by BeagleBrainz
Built on Mint-19.2 all good :cheer:

Thanks
The following user(s) said Thank You: cmorley

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

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