- Posts: 19899
- Thank you received: 4655
Work with probe
- andypugh
- Offline
- Moderator
-
gizmo6023 wrote: max_feed_override = float(inifile.find("DISPLAY", "MAX_FEED_OVERRIDE"))
TypeError: float() argument must be a string or a number
What is the entry in MAX_FEED_OVERRIDE in the INI? (perhaps it is blank?)
Please Log in or Create an account to join the conversation.
- gizmo6023
- Offline
- Senior Member
-
- Posts: 55
- Thank you received: 2
andypugh wrote:
gizmo6023 wrote: max_feed_override = float(inifile.find("DISPLAY", "MAX_FEED_OVERRIDE"))
TypeError: float() argument must be a string or a number
What is the entry in MAX_FEED_OVERRIDE in the INI? (perhaps it is blank?)
this is the line from my .ini
MAX_FEED_OVERRIDE = 1.2
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
- Posts: 19899
- Thank you received: 4655
Do you have a text editor that allows you to turn on visibility of invisible characters?
I wonder if there is something wierd on that line.
You could try deleting it and re-typing it.
Please Log in or Create an account to join the conversation.
- gizmo6023
- Offline
- Senior Member
-
- Posts: 55
- Thank you received: 2
andypugh wrote: Odd.
Do you have a text editor that allows you to turn on visibility of invisible characters?
I wonder if there is something wierd on that line.
You could try deleting it and re-typing it.
I do not think my editor is that sophisticated but but not sure, Linux is a foreign language to me at the moment, only been using it for a little over a month while attempting to get my machine running.
I deleted and re entered the value in the .ini and get the same error message.
Please Log in or Create an account to join the conversation.
- gizmo6023
- Offline
- Senior Member
-
- Posts: 55
- Thank you received: 2
broken ini:
# Generated by stepconf 1.1 at Mon Mar 14 19:49:20 2016
# If you make changes to this file, they will be
# overwritten when you run stepconf again
[EMC]
MACHINE = ShopFoxMill
DEBUG = 0
[DISPLAY]
DISPLAY = axis
EMBED_TAB_NAME=Probe Screen
EMBED_TAB_COMMAND=halcmd loadusr -Wn gladevcp gladevcp -c gladevcp -u python/probe_screen.py -x {XID} probe_icons/probe_screen.glade
[RS274NGC]
FEATURES=30
SUBROUTINE_PATH = home/dave/linuxcnc/configs/subroutines
[TOOLSENSOR]
# Control probe rapid feed
RAPID_SPEED = 600
EDITOR = gedit
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
ARCDIVISION = 64
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
MAX_FEED_OVERRIDE = 1.2
vs working .ini:
# Generated by stepconf 1.1 at Mon Mar 14 19:49:20 2016
# If you make changes to this file, they will be
# overwritten when you run stepconf again
[EMC]
MACHINE = ShopFoxMill
DEBUG = 0
[DISPLAY]
DISPLAY = axis
EDITOR = gedit
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
ARCDIVISION = 64
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
MAX_FEED_OVERRIDE = 1.2
Please Log in or Create an account to join the conversation.
- verser
- Offline
- Senior Member
-
- Posts: 78
- Thank you received: 69
To repair attach here your broken ini.
Please Log in or Create an account to join the conversation.