Tool.tbl error
- newbynobi
-
Topic Author
- Offline
- Moderator
-
Less
More
- Posts: 2081
- Thank you received: 413
09 Sep 2017 12:21 #98726
by newbynobi
Tool.tbl error was created by newbynobi
Could you explain more in detail, what you did?
I have never had that issue, IMHO either others.
According to your Tool File you are German, same as me, so if it is more convenient for you, just explain in German.
Norbert
I have never had that issue, IMHO either others.
According to your Tool File you are German, same as me, so if it is more convenient for you, just explain in German.
Norbert
Please Log in or Create an account to join the conversation.
- absolut15
- Offline
- Junior Member
-
Less
More
- Posts: 29
- Thank you received: 2
11 Sep 2017 05:21 #98815
by absolut15
Replied by absolut15 on topic Tool.tbl error
hallo norbert.
dannke für deine antwort. deutsch ist besser für mich.
wenn ich bei manchen werkzeugen eine änderung vornehme (zb 39) dann bekomme ich eine fehlermeldung
und die tool.tbl datei leert sich.
dazu gibts eine fehlermeldung. siehe bild
bei manchen werkzeugen ist es aber so wie immer und es läuft alles wir gewohnt.
ich mache die änderungen jetzt einfach mit dem texeditor direkt in der file so geht es auch, nur umständlich.
vielleicht kannst du mir ja helfen.
danke im voraus
und danke auch für deine tolle arbeit mit gmoccapy , das war für linuxcnc sehr wichtig meiner meinung.
dazu noch mit nativecam unschlagbar.
lg
florian
dannke für deine antwort. deutsch ist besser für mich.
wenn ich bei manchen werkzeugen eine änderung vornehme (zb 39) dann bekomme ich eine fehlermeldung
und die tool.tbl datei leert sich.
dazu gibts eine fehlermeldung. siehe bild
bei manchen werkzeugen ist es aber so wie immer und es läuft alles wir gewohnt.
ich mache die änderungen jetzt einfach mit dem texeditor direkt in der file so geht es auch, nur umständlich.
vielleicht kannst du mir ja helfen.
danke im voraus
und danke auch für deine tolle arbeit mit gmoccapy , das war für linuxcnc sehr wichtig meiner meinung.
dazu noch mit nativecam unschlagbar.
lg
florian
Please Log in or Create an account to join the conversation.
- newbynobi
-
Topic Author
- Offline
- Moderator
-
Less
More
- Posts: 2081
- Thank you received: 413
12 Sep 2017 08:01 - 12 Sep 2017 08:02 #98864
by newbynobi
Replied by newbynobi on topic Tool.tbl error
Hallo Florian,
ich habe das mal mit Deinem Toolfile getestet. Bei mir tritt kein Fehler auf, ich habe diverse Werkzeuge im Durchmesser und in den Längen modifiziert, alles OK hier. Ich arbeite mit master, so wie du auch. ich habe hier Debian jessie mit Chinamon am laufen, was nimmst du?
Norbert
halo florian,
i just tested with your tool file and i am not able to reproduce the errors you show. I did change various tools in diameter and length, all OK on this side. I tested with master, as you do use that too. I am using Debian jessie with Chinamon, what do you use?
Norbert
P.S. Ih habe bemerkt, dass ich das Komma des Nummernblockes nicht mehr verwenden kann, sondern den Punkt als Dezimaltrennzeichen verwenden musste.
P.S. I found that i am not able to use the German Keypad Deciman separator "," , I needed to use the dot.
ich habe das mal mit Deinem Toolfile getestet. Bei mir tritt kein Fehler auf, ich habe diverse Werkzeuge im Durchmesser und in den Längen modifiziert, alles OK hier. Ich arbeite mit master, so wie du auch. ich habe hier Debian jessie mit Chinamon am laufen, was nimmst du?
Norbert
halo florian,
i just tested with your tool file and i am not able to reproduce the errors you show. I did change various tools in diameter and length, all OK on this side. I tested with master, as you do use that too. I am using Debian jessie with Chinamon, what do you use?
Norbert
P.S. Ih habe bemerkt, dass ich das Komma des Nummernblockes nicht mehr verwenden kann, sondern den Punkt als Dezimaltrennzeichen verwenden musste.
P.S. I found that i am not able to use the German Keypad Deciman separator "," , I needed to use the dot.
Last edit: 12 Sep 2017 08:02 by newbynobi.
Please Log in or Create an account to join the conversation.
- absolut15
- Offline
- Junior Member
-
Less
More
- Posts: 29
- Thank you received: 2
13 Sep 2017 06:28 #98913
by absolut15
Replied by absolut15 on topic Tool.tbl error
hi norbert
ich verwende das wheezy mit xfce ...also die ganz normale image die man runterladen kann.
das witzige ist auch das dieses problem erst vor kurzen aufgetreten ist, und es vorher nie probleme gegeben hat.
vielleicht soll ich einfach verssuchen linuxcnc und linuxcnc-dev zu deinstalieren und dann nochmal neu zu installieren?
lg florian
ich verwende das wheezy mit xfce ...also die ganz normale image die man runterladen kann.
das witzige ist auch das dieses problem erst vor kurzen aufgetreten ist, und es vorher nie probleme gegeben hat.
vielleicht soll ich einfach verssuchen linuxcnc und linuxcnc-dev zu deinstalieren und dann nochmal neu zu installieren?
lg florian
Please Log in or Create an account to join the conversation.
- newbynobi
-
Topic Author
- Offline
- Moderator
-
Less
More
- Posts: 2081
- Thank you received: 413
24 Sep 2017 11:08 #99372
by newbynobi
Replied by newbynobi on topic Tool.tbl error
Hallo Florian,
ich habe etwas am ToolEditor gebastelt, so dass nun auch das Komma wieder verwendet werden kann.
Bitte losche mal alle var Dateien aus deienme Config Verzeichnis, Benenne die tool.tbl um und erstelle diese neu mit der neuesten Version von gmoccapy.
Was passiert nun?
Norbert
Hallo Florian,
i changed some part of the tool editor and now I can use also the german "," as decimal separator. Please delete all var files and rename your tool.tbl. Update to the latest gmoccapy and rebuild your tool table with the gmoccapy toll editor. What happen now?
Norbert
ich habe etwas am ToolEditor gebastelt, so dass nun auch das Komma wieder verwendet werden kann.
Bitte losche mal alle var Dateien aus deienme Config Verzeichnis, Benenne die tool.tbl um und erstelle diese neu mit der neuesten Version von gmoccapy.
Was passiert nun?
Norbert
Hallo Florian,
i changed some part of the tool editor and now I can use also the german "," as decimal separator. Please delete all var files and rename your tool.tbl. Update to the latest gmoccapy and rebuild your tool table with the gmoccapy toll editor. What happen now?
Norbert
Please Log in or Create an account to join the conversation.
- lexxa
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
24 Sep 2017 16:55 - 24 Sep 2017 16:55 #99382
by lexxa
Replied by lexxa on topic Tool.tbl error
Hello!
I changed the file /usr/share/pyshared/gladevcp/tooledit_widget.py
#locale.setlocale(locale.LC_ALL, '')
locale.setlocale(locale.LC_ALL, 'en_US.utf8')
but I added setlocale in function Save too.
This is my draft:
I changed the file /usr/share/pyshared/gladevcp/tooledit_widget.py
#locale.setlocale(locale.LC_ALL, '')
locale.setlocale(locale.LC_ALL, 'en_US.utf8')
but I added setlocale in function Save too.
This is my draft:
def save(self,widget):
if self.toolfile == None:return
file = open(self.toolfile, "w")
#print self.toolfile
liststore = self.model
locale.setlocale(locale.LC_ALL, 'en_US.utf8')
for row in liststore:
values = [ value for value in row ]
#print values
line = ""
for num,i in enumerate(values):
if num == 0: continue
elif num in (1,2): # tool# pocket#
line = line + "%s%d "%(KEYWORDS[num], i)
print "1,2"
elif num == 16: # comments
test = i.strip()
line = line + "%s%s "%(KEYWORDS[num],test)
else:
test = i.lstrip() # localized floats
line = line + "%s%s "%(KEYWORDS[num], locale.atof(test))
print >>file,line
# Theses lines are required to make sure the OS doesn't cache the data
# That would make linuxcnc and the widget to be out of synch leading to odd errors
file.flush()
os.fsync(file.fileno())
# tell linuxcnc we changed the tool table entries
try:
linuxcnc.command().load_tool_table()
except:
print "Reloading tooltable into linuxcnc failed"
# This is for changing the display after tool editor was loaded using the style button
# note that it toggles the display
Last edit: 24 Sep 2017 16:55 by lexxa.
Please Log in or Create an account to join the conversation.
- newbynobi
-
Topic Author
- Offline
- Moderator
-
Less
More
- Posts: 2081
- Thank you received: 413
25 Sep 2017 14:50 #99407
by newbynobi
Replied by newbynobi on topic Tool.tbl error
If you update, your changes will be gone, as they will be overridden with the original file.
But my changes to gmoccapy should also make your changes unnecessary.
Please pull latest release and inform.
Norbert
But my changes to gmoccapy should also make your changes unnecessary.
Please pull latest release and inform.
Norbert
Please Log in or Create an account to join the conversation.
Moderators: newbynobi, HansU
Time to create page: 0.094 seconds