Glade 3.20.will not work with LinuxCNC , please follow this for 3.8.6

More
28 Jan 2018 21:17 #105115 by newbynobi
Replied by newbynobi on topic Glade 3.8.3
Glad you got it working.

Please Log in or Create an account to join the conversation.

More
28 Jan 2018 21:52 #105120 by Mike_Eitel
Replied by Mike_Eitel on topic Glade 3.8.3
Never ever without your patient help!

Please Log in or Create an account to join the conversation.

More
16 May 2019 23:29 - 16 May 2019 23:38 #134019 by Mavili74
Replied by Mavili74 on topic Glade 3.8.3
Hi Norbert,

I hope this is the right place to right my problem.

I installed and used gmoccapy with linuxcnc 2.7.14 without problem. I also installed glade 3.8.6 and followed your instructions to edit gmoccapy.glade file with glade 2 all was good so far but my problem started when i upgraded to linuxcnc 2.8 via synaptic from buildbot repo.
now, gmocccapy does not work. It gives me these error what ever i do to make it work. I hope you can help me.
I even built linuxcnc master from source then started as rip but no luck.
Thanks
Berkdan

The error message :

Found an error!
The following information may be useful in troubleshooting:

Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gladevcp/tooledit_widget.py", line 103, in __init__
self.set_col_visible(list='spyabcuvwdijq', bool= False, tab= '2')
File "/usr/lib/python2.7/dist-packages/gladevcp/tooledit_widget.py", line 401, in set_col_visible
renderer.set_property('visible', bool)
AttributeError: 'NoneType' object has no attribute 'set_property'

it gives me this error first when i press OK Gmoccapy screen appear below an error message again then when i click ok it shuts down.

the next error message is :

ound an error!
The following information may be useful in troubleshooting:

Found an error!
The following information may be useful in troubleshooting:

Traceback (most recent call last):
File "/usr/bin/gmoccapy", line 4755, in <module>
app = gmoccapy(sys.argv)
File "/usr/bin/gmoccapy", line 303, in __init__
self._init_tooleditor()
File "/usr/bin/gmoccapy", line 1055, in _init_tooleditor
self.widgets.tooledit1.set_filename(toolfile)
File "/usr/lib/python2.7/dist-packages/gladevcp/tooledit_widget.py", line 233, in set_filename
self.reload(None)
File "/usr/lib/python2.7/dist-packages/gladevcp/tooledit_widget.py", line 240, in reload
self.model.clear()
AttributeError: 'ToolEdit' object has no attribute 'model'
Last edit: 16 May 2019 23:38 by Mavili74. Reason: I have added some more infos.

Please Log in or Create an account to join the conversation.

More
17 May 2019 00:18 - 17 May 2019 00:25 #134020 by Grotius
Replied by Grotius on topic Glade 3.8.3
Hi Mavi,

I even built linuxcnc master from source then started as rip but no luck.

github.com/LinuxCNC/linuxcnc/releases you will see : on Jun 18, 2018 presented version : 2.7.14

This will work.

If i look in the files : /usr/lib/python2.7/dist-packages/gladevcp/tooledit_widget.py
Your lines 103 and 401 aren't even presented. So much is changed in v2.8 for sure.

Why don't stay at the stable 2.7.14 version? At git you can't download 2.8 so far as i can see.
I see you post on Git the same question with other user name... github.com/LinuxCNC/linuxcnc/issues/592

Python version up to : ls /usr/bin/python*
v3.5

Is the file tool.tbl presented in your linux gmocappy directory?
Last edit: 17 May 2019 00:25 by Grotius.

Please Log in or Create an account to join the conversation.

More
17 May 2019 04:09 - 17 May 2019 04:10 #134026 by cmorley
Replied by cmorley on topic Glade 3.8.3

Hi Norbert,

I hope this is the right place to right my problem.

I installed and used gmoccapy with linuxcnc 2.7.14 without problem. I also installed glade 3.8.6 and followed your instructions to edit gmoccapy.glade file with glade 2 all was good so far but my problem started when i upgraded to linuxcnc 2.8 via synaptic from buildbot repo.
now, gmocccapy does not work. It gives me these error what ever i do to make it work. I hope you can help me.
I even built linuxcnc master from source then started as rip but no luck.
Thanks
Berkdan


Are you trying to use the modified GLADE file from 2.7.x screen in master?
I'm pretty sure enough has changed that you would be better off taking the master version GLADE file and modifying it.

Chris M
Last edit: 17 May 2019 04:10 by cmorley.

Please Log in or Create an account to join the conversation.

More
17 May 2019 07:20 #134029 by newbynobi
Replied by newbynobi on topic Glade 3.8.3
It seems you are trying to use the tooledit widget from 2.7 in master release, that will not work.
Does the error also apear, if you start a gmoccapy sim config?

Norbert

Please Log in or Create an account to join the conversation.

More
17 May 2019 07:24 #134030 by Mavili74
Replied by Mavili74 on topic Glade 3.8.3
Hi again.
I answer your questions Norbert.
<Why don't stay at the stable 2.7.14? >

I think trajectory planner has changed a lot in 2.8. when I use 2.7.14 stepper motors so much noise like something is hitting the machine very fast while machining a relief. Very similar what you hear when you drive a car with abs brake system and you make sudden brake. I don't know if I can describe that. The motors run very smooth if i make pockets or profiles. Whenever Z axis makes small moves constantly then the noise i described starts. The same machine the same computer the same motors same gcode with mach3 runs very smooth. I tried everything but couldn't make it run smoother. I upgraded to 2.8 and now motors works very smooth.

<At git you can't download 2.8 so far as i can see.>

I meant 2.8.0-pre1-4728-g26311513b
Isn't master branch is 2.8.pre...? Because when I run axis it says so.
I can even see gmoccapy screen below the error message and it is upgraded version for sure with + and - indicators on orange speed control. I followed a tutorial how to build linuxcnc from source. as i said axis works very well.

<Python version up to : ls /usr/bin/python*
v3.5>
Python versions 2.7and 3.5 are installed.

<Is the file tool.tbl presented in your linux gmocappy directory?>
Yes it is.

Thank you very much for your quick replies btw.

Is it possible to see the version number of gladevcp?

Please Log in or Create an account to join the conversation.

More
17 May 2019 07:30 #134031 by Mavili74
Replied by Mavili74 on topic Glade 3.8.3
Since i dont know how to find gladevcp version the only reasonable cause seems that glade version is wrong in my system. Isnt it updated version of gladevcp on linuxcnc master branch?
I mean linuxcnc-dev/lib/python/gladevcp does not contain newer version?
Is there any place where i get newest gladevcp?

Please Log in or Create an account to join the conversation.

More
17 May 2019 07:34 #134032 by Mavili74
Replied by Mavili74 on topic Glade 3.8.3

It seems you are trying to use the tooledit widget from 2.7 in master release, that will not work.
Does the error also apear, if you start a gmoccapy sim config?

Norbert


Yes it does appear with sim config.

The only reason that make sense for me is wrong gladevcp version. But even i copied it with manually from linuxcnc-dev folder. No luck.

Regards,
Berkdan

Please Log in or Create an account to join the conversation.

More
17 May 2019 08:36 #134035 by Mavili74
Replied by Mavili74 on topic Glade 3.8.3
related part of tooledit_widget.py as follows

388 def set_col_visible(self, list, bool= False, tab= '1'):
389 #print list,bool,tab
390 for i in range(0, len(tab)):
391 if tab in ('1','2','3'):
392 #print tab
393 for index in range(0, len(list)):
394 colstr = str(list[index])
395 #print colstr
396 colnum = 'stpxyzabcuvwdijq;'.index(colstr.lower())
397 #print colnum
398 name = KEYWORDS[colnum].lower()+tab
399 #print name
400 renderer = self.wTree.get_object(name)
401 renderer.set_property('visible', bool)

Please Log in or Create an account to join the conversation.

Moderators: HansU
Time to create page: 0.084 seconds
Powered by Kunena Forum