Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot convert string to float #34

Closed
hunch-13 opened this issue Jan 20, 2021 · 1 comment
Closed

cannot convert string to float #34

hunch-13 opened this issue Jan 20, 2021 · 1 comment

Comments

@hunch-13
Copy link

When I try to use the discord bot portion to rename a park with a ' in the name the following error occurs:

Ignoring exception in on_message
Traceback (most recent call last):
File "/var/local/nestwatcher/ENV/lib/python3.8/site-packages/discord/client.py", line 343, in _run_event
await coro(*args, **kwargs)
File "tools.py", line 176, in on_message
points = [float(p.strip()) for p in points]
File "tools.py", line 176, in
points = [float(p.strip()) for p in points]
ValueError: could not convert string to float: "Nor'west Optimist Park"

@ccev
Copy link
Collaborator

ccev commented Mar 5, 2021

This is because you clicked the reaction for changing the nest marker's location, not the name. Make sure to click the 📝 emoji.

@ccev ccev closed this as completed Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants