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

Timelapse crashes when trying to update settings #144

Open
Compupaq opened this issue Jan 1, 2024 · 5 comments
Open

Timelapse crashes when trying to update settings #144

Compupaq opened this issue Jan 1, 2024 · 5 comments

Comments

@Compupaq
Copy link

Compupaq commented Jan 1, 2024

When I try to update the settings in Mainsail, (settings, timelapse tab), if I delete everything in a field to type in a different value, timelapse crashes and unloads. It'll continue to not work until I manually define the broken value in the timelapse section in moonraker.conf.

This is the message I got in the moonraker.log after deleting everything in the park travel speed field:

2024-01-01 13:11:50,195 [common.py:build_error()] - JSON-RPC Request Error - Requested Method: machine.timelapse.post_settings, Code: 400, Message: Unable to convert argument [park_travel_speed] to <class 'int'>: value recieved:

It seems like the settings tries to update on every keypress, which causes the error once the field is blank.

@zellneralex
Copy link
Member

@meteyou

@zellneralex
Copy link
Member

zellneralex commented Jan 1, 2024

@Compupaq I will try to reproduce that.

@Compupaq
Copy link
Author

Compupaq commented Jan 1, 2024

I forgot to mention, I'm also running the current versions of everything on a Raspberry PI 4b running Armbian.
image

@meteyou
Copy link
Member

meteyou commented Jan 1, 2024

just a quick side question. why are you using armbian on the raspberry pi? where do you see the advantage compared to raspberry pi os?

@Compupaq
Copy link
Author

Compupaq commented Jan 1, 2024

Just trying it out to see how it works. It's been running fine so far 🤞

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

3 participants