Latest update broke something
Please Log in or Create an account to join the conversation.
Your debug statements seem to indicate that your INI/HAL files are still mixed in with the QTVCP handler and .ui code:
Machine configuration directory is '/home/jim/linuxcnc/configs/qtdragon_hd/qtdragon'
I would have expected that to be:'/home/jim/linuxcnc/configs/qtdragon_hd'
This indicates the same thing:
[QTvcp][INFO] Logging to "/home/jim/linuxcnc/configs/qtdragon_hd/qtdragon/qtdragon.log" (logger.py:100)
So the INI/HAL files should be separated from the handler/.ui etc files by a config folder the same basename as the screen.
Can you confirm my understanding of your config is right?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I'll look into the qss file problem. Thanks.
Please Log in or Create an account to join the conversation.
I moved the ui, _handler, resources, qrc, qss into a subdirectory.
These 5 files are now in /home/tommie/linuxcnc/configs/qtdragon/qtdragon/
That gets the UI screen to start.
But I can only get the style sheet (qss) to load without error if it is in /usr/share/qtvcp/screens/qtdragon/
Please Log in or Create an account to join the conversation.
I havent looked into qss problem yet.
I'm working long hours night shift for a 15day shutdown..
My window of opportunity is small. Sorry for the inconvenience.
Please Log in or Create an account to join the conversation.
I just noticed that when I start designer, it has no linuxcnc widgets anymore.
Just in case I ran install again: /usr/lib/python2.7/dist-packages/qtvcp/designer/install_script
But everything was reported as newest version and installed already.
When I start designer with:
$designer -qt=5
It shows:
('Qtvcp python plugin found:', '/home/cnc/.designer/plugins/python/qtvcp_plugin.pyc')
[QtDesigner][INFO] Logging to "/home/cnc/qtdesigner.log" (logger.py:100)
tool_mmap_user(): file open fail: No such file or directory
tool_mmap_user(): no mmap file,continuing
mmap tool data not available, continuing emc/usr_intf/axis/extensions/emcmodule.cc
Traceback (most recent call last):
File "/home/cnc/.designer/plugins/python/qtvcp_plugin.py", line 42, in <module>
from qtvcp.plugins.screenoptions_plugin import LcncScreenOptionsPlugin
File "/usr/lib/python2.7/dist-packages/qtvcp/plugins/screenoptions_plugin.py", line 8, in <module>
from qtvcp.widgets.screen_options import ScreenOptions
File "/usr/lib/python2.7/dist-packages/qtvcp/widgets/screen_options.py", line 46, in <module>
PATH = Path()
File "/usr/lib/python2.7/dist-packages/qtvcp/qt_pstat.py", line 43, in __init__
self.BASEDIR = os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), ".."))
AttributeError: 'module' object has no attribute 'argv'
Can someone help please?
Please Log in or Create an account to join the conversation.
Maybe something else is broken?
I just noticed that when I start designer, it has no linuxcnc widgets anymore.
File "/usr/lib/python2.7/dist-packages/qtvcp/qt_pstat.py", line 43, in __init__
self.BASEDIR = os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), ".."))
AttributeError: 'module' object has no attribute 'argv'
This should have been fixed 3 days ago, have you updated LinuxCNC since then?
github.com/LinuxCNC/linuxcnc/commit/5320...ea77bb4634a44d72bd0c
Please Log in or Create an account to join the conversation.