- Posts: 798
- Thank you received: 0
My custom designed GUI
10 years 4 months ago #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
Please Log in to join the conversation.
10 years 4 months ago #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.
Please Log in to join the conversation.
10 years 4 months ago #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
Please Log in to join the conversation.
10 years 4 months ago #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
Please Log in to join the conversation.
10 years 4 months ago #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
Please Log in to join the conversation.
10 years 4 months ago #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. :blush:
Iḿ Using Debian not Ubuntu.
Maybe is the end of my match. :blush:
Please Log in to join the conversation.
10 years 4 months ago #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
Please Log in to join the conversation.
10 years 4 months ago #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 to join the conversation.
10 years 4 months ago #76015
by BosniaCNC
Replied by BosniaCNC on topic My custom designed GUI
Very unfair! I logged in as "craftsman" and the result you can see in the pictures:
Perhaps someone is funny but I do not!?
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Perhaps someone is funny but I do not!?
Please Log in to join the conversation.
Time to create page: 0.136 seconds
