My custom designed GUI
08 Jun 2016 09:10 - 08 Jun 2016 09:17 #75675
by cncbasher
Replied by cncbasher on topic My custom designed GUI
Thanks Piet
one other can't import error with module easygui ?
i.e. it can't find module to import
it's as if it can't find easygui
i'll recheck the paths , just in case
one other can't import error with module easygui ?
i.e. it can't find module to import
it's as if it can't find easygui
i'll recheck the paths , just in case
Last edit: 08 Jun 2016 09:17 by cncbasher.
The following user(s) said Thank You: aer73
Please Log in or Create an account to join the conversation.
08 Jun 2016 10:13 #75676
by pietvr
Replied by pietvr on topic My custom designed GUI
Yes easygui is a download (easygui.sourceforge.net/). Sorry I thought I included it in the original zip.
I have it in the /configs/craftsmancnc/ folder on my system.
I have it in the /configs/craftsmancnc/ folder on my system.
The following user(s) said Thank You: aer73
Please Log in or Create an account to join the conversation.
08 Jun 2016 17:38 - 08 Jun 2016 17:39 #75694
by aer73
Replied by aer73 on topic My custom designed GUI
Many thanks to Pietvr and Cncbasher for the instrutions.
I can solve some of my problems.
But now a new error appears "Import Serial".
Anyone know how to solve?
Many thanks in advance.
Kindly regards.
Debug file information:
.
Traceback (most recent call last):
File "/home/linuxcnc/linuxcnc/configs/craftsmancnc/bin/vfd_spindle", line 17, in <module>
import serial
ImportError: No module named serial
custom.hal:4: vfd_spindle exited without becoming ready 10558
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
I can solve some of my problems.
But now a new error appears "Import Serial".
Anyone know how to solve?
Many thanks in advance.
Kindly regards.
Warning: Spoiler!
Debug file information:
.
Traceback (most recent call last):
File "/home/linuxcnc/linuxcnc/configs/craftsmancnc/bin/vfd_spindle", line 17, in <module>
import serial
ImportError: No module named serial
custom.hal:4: vfd_spindle exited without becoming ready 10558
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Last edit: 08 Jun 2016 17:39 by aer73.
Please Log in or Create an account to join the conversation.
08 Jun 2016 18:22 - 08 Jun 2016 18:23 #75695
by aer73
Replied by aer73 on topic My custom designed GUI
Another error fixed ("Import Serial".), I install Python-serial and now not appears.
But now new ones appears
I hope one day have installed.
Someone knows how to solve this new errors?
Many thanks in advance.
Kindly regards.
Debug file information:
.
/home/linuxcnc/linuxcnc/configs/craftsmancnc/bin/craftsmancnc:896: GtkWarning: IA__gtk_toolbar_set_icon_size: assertion `icon_size != GTK_ICON_SIZE_INVALID' failed
self.builder.add_from_file(xmlname)
/usr/lib/pymodules/python2.7/gladevcp/hal_mdihistory.py:89: GtkWarning: IA__gtk_tree_path_append_index: assertion `index >= 0' failed
self.tv.scroll_to_cell(path)
/usr/lib/pymodules/python2.7/gladevcp/hal_mdihistory.py:89: GtkWarning: IA__gtk_tree_view_scroll_to_cell: assertion `tree_view->priv->tree != NULL' failed
self.tv.scroll_to_cell(path)
/usr/lib/pymodules/python2.7/gladevcp/hal_mdihistory.py:90: GtkWarning: IA__gtk_tree_path_append_index: assertion `index >= 0' failed
self.tv.set_cursor(path)
/usr/lib/pymodules/python2.7/gladevcp/hal_mdihistory.py:90: GtkWarning: IA__gtk_tree_row_reference_new_proxy: assertion `path->depth > 0' failed
self.tv.set_cursor(path)
/home/linuxcnc/linuxcnc/configs/craftsmancnc/bin/craftsmancnc:896: GtkWarning: IA__gtk_widget_grab_default: assertion `gtk_widget_get_can_default (widget)' failed
self.builder.add_from_file(xmlname)
/home/linuxcnc/linuxcnc/configs/craftsmancnc/bin/craftsmancnc:903: RuntimeWarning: missing handler 'jog_y_plus'
self.builder.connect_signals(self)
/home/linuxcnc/linuxcnc/configs/craftsmancnc/bin/craftsmancnc:903: RuntimeWarning: missing handler 'gremlin_redraw'
self.builder.connect_signals(self)
/home/linuxcnc/linuxcnc/configs/craftsmancnc/bin/craftsmancnc:903: RuntimeWarning: missing handler 'close_gcode'
self.builder.connect_signals(self)
Traceback (most recent call last):
File "/home/linuxcnc/linuxcnc/configs/craftsmancnc/bin/craftsmancnc", line 1370, in <module>
app = craftsman(sys.argv[2])
File "/home/linuxcnc/linuxcnc/configs/craftsmancnc/bin/craftsmancnc", line 951, in __init__
self._scale_screen_widget(self.builder.get_object("power_button"))
File "/home/linuxcnc/linuxcnc/configs/craftsmancnc/bin/craftsmancnc", line 1122, in _scale_screen_widget
self.builder.get_object(self.scrnLayout).move(widget, (widget.allocation.x * self.w_ratio), (widget.allocation.y * self.h_ratio))
TypeError: integer argument expected, got float
3997
PID TTY STAT TIME COMMAND
4042
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
But now new ones appears
I hope one day have installed.
Someone knows how to solve this new errors?
Many thanks in advance.
Kindly regards.
Warning: Spoiler!
Debug file information:
.
/home/linuxcnc/linuxcnc/configs/craftsmancnc/bin/craftsmancnc:896: GtkWarning: IA__gtk_toolbar_set_icon_size: assertion `icon_size != GTK_ICON_SIZE_INVALID' failed
self.builder.add_from_file(xmlname)
/usr/lib/pymodules/python2.7/gladevcp/hal_mdihistory.py:89: GtkWarning: IA__gtk_tree_path_append_index: assertion `index >= 0' failed
self.tv.scroll_to_cell(path)
/usr/lib/pymodules/python2.7/gladevcp/hal_mdihistory.py:89: GtkWarning: IA__gtk_tree_view_scroll_to_cell: assertion `tree_view->priv->tree != NULL' failed
self.tv.scroll_to_cell(path)
/usr/lib/pymodules/python2.7/gladevcp/hal_mdihistory.py:90: GtkWarning: IA__gtk_tree_path_append_index: assertion `index >= 0' failed
self.tv.set_cursor(path)
/usr/lib/pymodules/python2.7/gladevcp/hal_mdihistory.py:90: GtkWarning: IA__gtk_tree_row_reference_new_proxy: assertion `path->depth > 0' failed
self.tv.set_cursor(path)
/home/linuxcnc/linuxcnc/configs/craftsmancnc/bin/craftsmancnc:896: GtkWarning: IA__gtk_widget_grab_default: assertion `gtk_widget_get_can_default (widget)' failed
self.builder.add_from_file(xmlname)
/home/linuxcnc/linuxcnc/configs/craftsmancnc/bin/craftsmancnc:903: RuntimeWarning: missing handler 'jog_y_plus'
self.builder.connect_signals(self)
/home/linuxcnc/linuxcnc/configs/craftsmancnc/bin/craftsmancnc:903: RuntimeWarning: missing handler 'gremlin_redraw'
self.builder.connect_signals(self)
/home/linuxcnc/linuxcnc/configs/craftsmancnc/bin/craftsmancnc:903: RuntimeWarning: missing handler 'close_gcode'
self.builder.connect_signals(self)
Traceback (most recent call last):
File "/home/linuxcnc/linuxcnc/configs/craftsmancnc/bin/craftsmancnc", line 1370, in <module>
app = craftsman(sys.argv[2])
File "/home/linuxcnc/linuxcnc/configs/craftsmancnc/bin/craftsmancnc", line 951, in __init__
self._scale_screen_widget(self.builder.get_object("power_button"))
File "/home/linuxcnc/linuxcnc/configs/craftsmancnc/bin/craftsmancnc", line 1122, in _scale_screen_widget
self.builder.get_object(self.scrnLayout).move(widget, (widget.allocation.x * self.w_ratio), (widget.allocation.y * self.h_ratio))
TypeError: integer argument expected, got float
3997
PID TTY STAT TIME COMMAND
4042
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Last edit: 08 Jun 2016 18:23 by aer73.
Please Log in or Create an account to join the conversation.
08 Jun 2016 18:31 #75696
by pietvr
Replied by pietvr on topic My custom designed GUI
aer73, what version of Ubuntu are you running? This was made to run Python2.6 and I see you have Python2.7 running. It won't work on Python2.7
The following user(s) said Thank You: aer73
Please Log in or Create an account to join the conversation.
08 Jun 2016 18:45 - 08 Jun 2016 19:31 #75697
by aer73
Replied by aer73 on topic My custom designed GUI
@Pietvr.
Iḿ Using Debian not Ubuntu.
Maybe is the end of my match.
Iḿ Using Debian not Ubuntu.
Maybe is the end of my match.
Last edit: 08 Jun 2016 19:31 by aer73.
Please Log in or Create an account to join the conversation.
09 Jun 2016 10:48 #75715
by cncbasher
Replied by cncbasher on topic My custom designed GUI
it will work on debian ,
we should be able to update to 2.7 as well
i'll have more time shortly
we should be able to update to 2.7 as well
i'll have more time shortly
The following user(s) said Thank You: aer73
Please Log in or Create an account to join the conversation.
09 Jun 2016 10:52 #75716
by aer73
Replied by aer73 on topic My custom designed GUI
Nice news Cncbasher.
I hope can work with it under Debian.
Waiting for news.
Many thanks.
Kindly regards.
I hope can work with it under Debian.
Waiting for news.
Many thanks.
Kindly regards.
Please Log in or Create an account to join the conversation.
14 Jun 2016 15:06 - 14 Jun 2016 15:09 #76015
by BosniaCNC
Replied by BosniaCNC on topic My custom designed GUI
Last edit: 14 Jun 2016 15:09 by BosniaCNC. Reason: stupid situation
Please Log in or Create an account to join the conversation.
27 Jul 2016 14:32 #78073
by newbynobi
Replied by newbynobi on topic My custom designed GUI
craftmansns.hal Line 146
he is missing file craftman_toolchange
Norbert
he is missing file craftman_toolchange
Norbert
Please Log in or Create an account to join the conversation.
Time to create page: 0.229 seconds