JT's custom GUI tutorial
26 Sep 2014 21:30 - 26 Sep 2014 21:31 #51596
by mariusl
Regards
Marius
www.bluearccnc.com
JT's custom GUI tutorial was created by mariusl
I am busy working through JT's excellent Glade and python tutorial. It is found
here
I got everythng to work but at part 6d I got an error that I dont know what to do about.
The code loads halshow via a menu action and the ini file is supposed to be displayed.
Like this
I get this error
Any suggestions please.
I got everythng to work but at part 6d I got an error that I dont know what to do about.
The code loads halshow via a menu action and the ini file is supposed to be displayed.
Like this
def on_menu_halshow_activate(self, widget, data=None):
print "Menu Hal Show"
subprocess.Popen([self.tcl_dir + "halshow.tcl", "-- -ini " + self.ini_file])
I get this error
Menu Hal Show
Cannot read file <-- -ini /home/marius/linuxcnc/configs/gui6/gui6.ini>
Usage:
halshow.tcl [Options] [watchfile]
Options:
--help (this help)
Notes:
Create watchfile in halshow using: 'File/Save Watch List'
linuxcnc must be running for standalone usage
Any suggestions please.
Regards
Marius
www.bluearccnc.com
Last edit: 26 Sep 2014 21:31 by mariusl.
Please Log in or Create an account to join the conversation.
26 Sep 2014 23:01 #51597
by mariusl
Regards
Marius
www.bluearccnc.com
Replied by mariusl on topic JT's custom GUI tutorial
I see that I had to remove the ini file stuff from the halshow call
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
26 Sep 2014 23:43 #51599
by BigJohnT
Replied by BigJohnT on topic JT's custom GUI tutorial
I'm glad you got that sorted out.
JT
JT
Please Log in or Create an account to join the conversation.
26 Sep 2014 23:56 #51600
by mariusl
Regards
Marius
www.bluearccnc.com
Replied by mariusl on topic JT's custom GUI tutorial
Hi John
Great tutorial man. I got a customer to do the tutorial so I decided to do it myself as well. I must say I learnt a lot of stuff. I am busy compiling the gui8 repo now so I will be finishing the tutorial later tonight.
Great tutorial man. I got a customer to do the tutorial so I decided to do it myself as well. I must say I learnt a lot of stuff. I am busy compiling the gui8 repo now so I will be finishing the tutorial later tonight.
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
Time to create page: 0.090 seconds