Another GUI project underway

More
7 years 6 months ago #131111 by Becksvill
Hi Lcvette

Just wanted to make a post and ask how the progress is going? Like a lot of people I am really interested in this gui and can't wait to try it out on my cnc mill.

This is what is needed to take the linuxcnc gui away from looking like they are 30 years old!

Regards

Andrew
The following user(s) said Thank You: KCJ

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

More
7 years 5 months ago #133314 by Type_Zero_Design
Hey Guys,

Just got this installed and on attempt to open I am getting this:



Traceback (most recent call last):
File "/home/tc225/.local/bin/qtpyvcp", line 11, in <module>
load_entry_point('qtpyvcp==0.2.3+208.g82c29ba', 'console_scripts', 'qtpyvcp')()
File "/home/tc225/.local/lib/python2.7/site-packages/qtpyvcp/__init__.py", line 91, in main
run_vcp(opts, None)
File "/home/tc225/.local/lib/python2.7/site-packages/qtpyvcp/__init__.py", line 114, in run_vcp
load_vcp(opts)
File "/home/tc225/.local/lib/python2.7/site-packages/qtpyvcp/vcp_launcher.py", line 130, in load_vcp
_load_vcp_from_entry_point(vcp, opts)
File "/home/tc225/.local/lib/python2.7/site-packages/qtpyvcp/vcp_launcher.py", line 179, in _load_vcp_from_entry_point
vcp.main(opts)
File "/home/tc225/.local/lib/python2.7/site-packages/examples/probe_basic/__init__.py", line 19, in main
qtpyvcp.run_vcp(opts, VCP_CONFIG_FILE)
File "/home/tc225/.local/lib/python2.7/site-packages/qtpyvcp/__init__.py", line 141, in run_vcp
launch_application(opts, config)
File "/home/tc225/.local/lib/python2.7/site-packages/qtpyvcp/vcp_launcher.py", line 77, in launch_application
loadWindows(config)
File "/home/tc225/.local/lib/python2.7/site-packages/qtpyvcp/vcp_launcher.py", line 208, in loadWindows
window = _initialize_object_from_dict(window_dict)
File "/home/tc225/.local/lib/python2.7/site-packages/qtpyvcp/vcp_launcher.py", line 202, in _initialize_object_from_dict
return obj(*args, **kwargs)
File "/home/tc225/.local/lib/python2.7/site-packages/examples/probe_basic/probe_basic.py", line 18, in __init__
super(ProbeBasic, self).__init__(*args, **kwargs)
File "/home/tc225/.local/lib/python2.7/site-packages/qtpyvcp/widgets/form_widgets/main_window.py", line 44, in __init__
self.loadUi(ui_file)
File "/home/tc225/.local/lib/python2.7/site-packages/qtpyvcp/widgets/form_widgets/main_window.py", line 103, in loadUi
uic.loadUi(ui_file, self)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/__init__.py", line 226, in loadUi
return DynamicUILoader(package).loadUi(uifile, baseinstance, resource_suffix)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/Loader/loader.py", line 72, in loadUi
return self.parse(filename, resource_suffix, basedir)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 1000, in parse
actor(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 807, in createUserInterface
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 785, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 262, in createWidget
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 785, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 482, in createLayout
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 785, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 525, in handleItem
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 785, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 482, in createLayout
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 785, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 525, in handleItem
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 785, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 482, in createLayout
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 785, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 525, in handleItem
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 785, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 262, in createWidget
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 785, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 262, in createWidget
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 785, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 482, in createLayout
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 785, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 525, in handleItem
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 785, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 482, in createLayout
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 785, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 525, in handleItem
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 785, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 253, in createWidget
self.stack.push(self.setupObject(widget_class, parent, elem))
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 217, in setupObject
obj = self.factory.createQObject(clsname, name, args, is_attribute)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/objcreator.py", line 106, in createQObject
factory = self.findQObjectType(classname)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/objcreator.py", line 131, in findQObjectType
w = module.search(classname)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/Loader/qobjectcreator.py", line 115, in search
module = __import__(mname, {}, {}, (cls,))
File "/home/tc225/.local/lib/python2.7/site-packages/qtpyvcp/widgets/display_widgets/atc_widget/atc.py", line 14, in <module>
from qtpy.QtQuickWidgets import QQuickWidget
File "/home/tc225/.local/lib/python2.7/site-packages/qtpy/QtQuickWidgets.py", line 14, in <module>
from PyQt5.QtQuickWidgets import *
ImportError: No module named QtQuickWidgets

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

More
7 years 5 months ago #133316 by Lcvette
Looks like you are missing some deps, did you do the install as s instructed and install the deps as well?

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

More
7 years 5 months ago #133317 by Lcvette
Looks like you are missing some deps, did you do the install as s instructed and install the deps as well?

Also list more info about your installation, which Linux version etc
The following user(s) said Thank You: Type_Zero_Design

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

More
7 years 5 months ago #133318 by Type_Zero_Design
Lcvette,

What are deps? (sorry) This is installed on linux9 (Stretch) with linuxcnc 2.8 as per the install instructions. I dont believe I missed any of the steps.

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

More
7 years 5 months ago #133327 by jackdavies
You need to install this -

sudo apt install python-pyqt5.qtquick

Hope that helps!
Jack

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

Moderators: KCJ, Lcvette
Time to create page: 0.190 seconds
Powered by Kunena Forum