LinuxCNC Features - a kind of NGCGUI
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
cd /usr/share/locale/<<<YOUR LOCALE>>>/LC_MESSAGES
sudo ln /<full path to features sourse>/locale/<<<YOUR LOCALE>>>/LC_MESSAGES/linuxcnc-features.mo -s
I have got 'features' appearing in 'axis' but I cannot update 'axis' from 'features', I get the following:
File "/usr/lib/pymodules/python2.7/gladevcp/features.py", line 912, in refresh
f.write(self.to_gcode())
File "/usr/lib/pymodules/python2.7/gladevcp/features.py", line 894, in to_gcode
g,d = self.refresh_recursive(iter)
File "/usr/lib/pymodules/python2.7/gladevcp/features.py", line 871, in refresh_recursive
gcode_def += f.get_definitions()
File "/usr/lib/pymodules/python2.7/gladevcp/features.py", line 257, in get_definitions
s = self.process(self.attr["definitions"])
File "/usr/lib/pymodules/python2.7/gladevcp/features.py", line 324, in process
s = re.sub(r"(?i)(<eval>(.*?)</eval>)", eval_callback, s)
File "/usr/lib/python2.7/re.py", line 151, in sub
return _compile(pattern, flags).sub(repl, string, count)
File "/usr/lib/pymodules/python2.7/gladevcp/features.py", line 287, in eval_callback
return str( eval(m.group(2), globals(),{"self":self}) )
File "<string>", line 1, in <module>
File "/usr/lib/pymodules/python2.7/gladevcp/features.py", line 274, in include_once
return self.include(src)
File "/usr/lib/pymodules/python2.7/gladevcp/features.py", line 265, in include
f = open(search_path(SUBROUTINES_PATH,src))
TypeError: coercing to Unicode: need string or buffer, NoneType found
Any help would be appreciated.
Cheers, Phill
Please Log in or Create an account to join the conversation.
you can skip this step... currently there are no translations except Russian.as there are no locale files other than ru
Can you attach your ini file. It seems it does not have SUBROUTINES_PATH parameter...
Please Log in or Create an account to join the conversation.
If I do only a facing function it will refresh to 'axis'.
If I do multiple facing functions it will refresh to 'axis'.
If I do a od-simple function it errors as per my previous post.
If I try to open a file it errors as follows:
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/gladevcp/features.py", line 1279, in load
filter.set_name("XML")
AttributeError: 'builtin_function_or_method' object has no attribute 'set_name'
Please Log in or Create an account to join the conversation.
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
mariusl wrote: See my previous post about the variable #<_z> not being present. It would seem that there are uninitialized variables under certain conditions.
#<_z> is a convenience variable but only defined in 2.6 / master.
www.linuxcnc.org/docs/devel/html/gcode/o...d_named_parameters_a
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
phillc54 wrote: I am currently using 2.6.0-pre3-37-gd131cf1.
Do the other named parameters exist?
(You can test in the MDI window with (debug, #<_motion_mode>) for example. You need the brackets and braces, and no space before the comma)
Please Log in or Create an account to join the conversation.
More version numbers if it helps (or hinders...)
phill@lcnc:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.4 LTS
Release: 12.04
Codename: precise
phill@lcnc:~$ uname -a
Linux lcnc 3.4.55-rtai-2 #1 SMP PREEMPT Sun Dec 15 23:40:48 MST 2013 i686 i686 i386 GNU/Linux
phill@lcnc:~$
Please Log in or Create an account to join the conversation.
Mariusl said that #<_z> didn't exist, then Phillc54 said that it did.
Both could be true.
Please Log in or Create an account to join the conversation.