Open jegb opened 10 years ago
Are you using Features as stand alone app or not? Verify that PROGRAM_PREFIX and SUBROUTINE_PATH are defined in your LinuxCNC ini file.
I am using in both ways, as vcp and stand alone. I changed the paths in ini file to make sure they point to the linuxcnc-features base dir and subroutines subdir.
PROGRAM_PREFIX = /home/cnc-virtual/linuxcnc/linuxcnc-features
SUBROUTINE_PATH= /home/cnc-virtual/linuxcnc/linuxcnc-features/subroutines
What I have found on the embedded case: -adding features does not work (via +), the dialog does no exit on double clicking on the feature. -the shortcuts work though. -there is not the problem of the features.ngc access denied, axis can open it and write on it. -Axis does not refresh the graphical window, but only the code area is visible, for example by adding one of those hexagons on the panel tree.
On the stand alone panel: -Error of the access, but works if I run it as sudo.
features.py:1077: DeprecationWarning: integer argument expected, got float
self.timeout = gobject.timeout_add(self.autorefresh_timeout.get_value()*1000, self.autorefresh_call)
Traceback (most recent call last):
File "features.py", line 1063, in autorefresh_call
self.refresh()
File "features.py", line 909, in refresh
f = open(PROGRAM_PREFIX + "/features.ngc","w")
IOError: [Errno 13] Permission denied: '/features.ngc'
-Then in this case also noticed that parenting is not possible, but adding features is possible from the dialog window.
Shift_L
Traceback (most recent call last):
File "features.py", line 724, in unindent
while parent != xml and not (parent.tag=="param" and parent.get("type") == "items") and parent is not None :
AttributeError: 'NoneType' object has no attribute 'tag'
-axis does not refresh (as it does not load features.ngc)
Let me know how can I help sorting this, the software is really promising. Currently using HeeksCAD/CNC.
I get this error:
this relates to the fix you commented on the forum:
I managed to avoid this by hardcoding both PROGRAM_PREFIX, but SUBROUTINE_PATH still gives a later error: