linuxcnc-fetaures: No output generated
Добавлено: 13 фев 2015, 11:36
Hi,
I did all the steps described on the github repo when I installed the stuff.
Everything now is working, but I am unable to produce output.
Neither in standalone version, nor in axis ui embedded tab.
I suppose the reason should be quite simple and the same for both cases.
In standalone version I can save only the XML file, but not the NGC.
In axis embedded ui nothing happens when I push Refresh button.
This is the error message I get on the console:
Traceback (most recent call last):
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
System is ubuntu 12.04, with python 2.7 (/usr/lib/pymodules/python2.7/gladevcp)
LinuxCNC is buildbot 2.7.0 master
Thank you for your help in advance.
Best regards
I did all the steps described on the github repo when I installed the stuff.
Everything now is working, but I am unable to produce output.
Neither in standalone version, nor in axis ui embedded tab.
I suppose the reason should be quite simple and the same for both cases.
In standalone version I can save only the XML file, but not the NGC.
In axis embedded ui nothing happens when I push Refresh button.
This is the error message I get on the console:
Traceback (most recent call last):
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
System is ubuntu 12.04, with python 2.7 (/usr/lib/pymodules/python2.7/gladevcp)
LinuxCNC is buildbot 2.7.0 master
Thank you for your help in advance.
Best regards