- Posts: 7
- Thank you received: 0
custom .ui file not to be opened with glade.vcp
4 years 4 weeks ago #253185
by millathe
custom .ui file not to be opened with glade.vcp was created by millathe
Hi,
I created an .ui file for a manual tool change with glade 3.38. Opening it with gladevcp creates a weird error message:/linuxcnc/configs/sim.axis$ gladevcp WZW_BUTTON.ui[GladeVCP][INFO] Logging to: /home/gerhard/gladevcp.log (logger.py:102)tool_mmap_user(): file open fail: Datei oder Verzeichnis nicht gefundentool_mmap_user(): no mmap file,continuingmmap tool data not available, continuing emc/usr_intf/axis/extensions/emcmodule.cc[GladeVCP.QTVCP.QT_ISTAT][CRITICAL] Misssing LINEAR_UNITS in TRAJ, guessing units for machine from JOINT 0 (qt_istat.py:125)[GladeVCP.QTVCP.QT_ISTAT][CRITICAL] Misssing UNITS in JOINT_0, assuming metric based machine (qt_istat.py:129)[GladeVCP.QTVCP.QT_ISTAT][CRITICAL] INI Parsing Error, No MAX_LINEAR_VELOCITY Entry in TRAJ (qt_istat.py:352)Traceback (most recent call last):File "/usr/bin/gladevcp", line 346, in <module>main()File "/usr/bin/gladevcp", line 216, in mainwindow.set_title(opts.component)AttributeError: 'NoneType' object has no attribute 'set_title'
Adding the file to axis panel does therefore not work (adding that line of code to the .ini =>GLADEVCP = WZW_BUTTON.UI) .
There is no error message but it is simply not displayed
I created an .ui file for a manual tool change with glade 3.38. Opening it with gladevcp creates a weird error message:/linuxcnc/configs/sim.axis$ gladevcp WZW_BUTTON.ui[GladeVCP][INFO] Logging to: /home/gerhard/gladevcp.log (logger.py:102)tool_mmap_user(): file open fail: Datei oder Verzeichnis nicht gefundentool_mmap_user(): no mmap file,continuingmmap tool data not available, continuing emc/usr_intf/axis/extensions/emcmodule.cc[GladeVCP.QTVCP.QT_ISTAT][CRITICAL] Misssing LINEAR_UNITS in TRAJ, guessing units for machine from JOINT 0 (qt_istat.py:125)[GladeVCP.QTVCP.QT_ISTAT][CRITICAL] Misssing UNITS in JOINT_0, assuming metric based machine (qt_istat.py:129)[GladeVCP.QTVCP.QT_ISTAT][CRITICAL] INI Parsing Error, No MAX_LINEAR_VELOCITY Entry in TRAJ (qt_istat.py:352)Traceback (most recent call last):File "/usr/bin/gladevcp", line 346, in <module>main()File "/usr/bin/gladevcp", line 216, in mainwindow.set_title(opts.component)AttributeError: 'NoneType' object has no attribute 'set_title'
Adding the file to axis panel does therefore not work (adding that line of code to the .ini =>GLADEVCP = WZW_BUTTON.UI) .
There is no error message but it is simply not displayed
Please Log in to join the conversation.
4 years 4 weeks ago #253195
by cmorley
Replied by cmorley on topic custom .ui file not to be opened with glade.vcp
What version of linuxcnc are you using? you may be using the wrong GLADE version to make the panel.
You can add -d to the gladevcp load line to possible get more info.
You can add -d to the gladevcp load line to possible get more info.
Please Log in to join the conversation.
4 years 4 weeks ago #253201
by HansU
Replied by HansU on topic custom .ui file not to be opened with glade.vcp
Is the name of your GtkWindow in your ui file different from "window1"?
That can cause problems.
That can cause problems.
Please Log in to join the conversation.
4 years 3 weeks ago #253750
by millathe
Replied by millathe on topic custom .ui file not to be opened with glade.vcp
thanks guys I think it was the wrong version - I fixed that by doing my gui by pyvcp
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
3 years 10 months ago #259051
by tommylight
Replied by tommylight on topic custom .ui file not to be opened with glade.vcp
@Millathe,
You have created another topic with the same title, please do not do that.
Now there are two of the same in the database and it is impossible to delete any of those as it ends up deleting both.
You have created another topic with the same title, please do not do that.
Now there are two of the same in the database and it is impossible to delete any of those as it ends up deleting both.
Please Log in to join the conversation.
Time to create page: 0.577 seconds
