FormerLurker / Octolapse

Stabilized timelapses for Octoprint
GNU Affero General Public License v3.0
638 stars 99 forks source link

internal server error after install #866

Open junkheadog opened 2 years ago

junkheadog commented 2 years ago

im getting a internal server error after numorus attempts of installing octolapse my octoprint version is 1.8.3 running on a windows 10 machine

Chef-Tom commented 2 years ago

Seeing the same error. Running Debian 11.05, kernel 6.0.0-2 x86_64 Installed through the plugin manager.

TechniKalCancer commented 2 years ago

Same here after fresh install of Ubuntu and OctoPrint I cannot get the OctoLapse to work.

idmnstr commented 1 year ago

I am running Octoprint on an old windows 10 laptop. I attempted to install Octolapse and now receiving errors.

This error occurs when I enter values into the Octolapse dialog and attempt a save. Screenshot_20221221_112822 This error occurs each time I startup Octoprint Screenshot_20221221_124417

Is there a reason? Is there a solution?

endrift commented 1 year ago

Seeing this on my end too. Seems to be due to use of the collections.Iterable class, which was moved to collections.abc.Iterable sometime after 3.8. Replacing every instance of collections in settings.py with collections.abc fixed it for me.

Minionflo commented 1 year ago

Seeing this on my end too. Seems to be due to use of the collections.Iterable class, which was moved to collections.abc.Iterable sometime after 3.8. Replacing every instance of collections in settings.py with collections.abc fixed it for me.

The only two lines are just imports.

from collections import ChainMap from collections.abc import KeysView

What lines did you change?.

dkaser commented 1 year ago

The modification listed by @endrift worked for me, I replaced every instance of collections.Iterable with collections.abc.Iterable and things started working correctly.

@Minionflo : That's from the OctoPrint settings.py file (octoprint/settings.py), not the OctoLapse one. The file to modify is octoprint_octolapse/settings.py.

darthtate commented 1 year ago

Thanks for the info! Worked perfect for me!

MarianDz commented 1 year ago

where can I find the file "octoprint_octolapse/settings.py"?

rmreichert commented 1 year ago

where can I find the file "octoprint_octolapse/settings.py"?

I cant seem to find this file either. I've scanned my entire computer for it and cannot find it. Can anyone point out the Windows install path for this file?

YiepNet commented 1 year ago

for those struggling to find collections they are in ( if you use the auto installer on debain ) home / OctoPrint / lib64 / python3.10 / site-packages / octoprint_octolapse / settings.py then open settings.py then press on the ---- (stacked) find and replace in the find = collections in the replace with = collections.abc then replace all

this worked for me

YiepNet commented 1 year ago

like @endrift said

FormerLurker commented 1 year ago

This should be fixed in the latest release. VERY SORRY for the long delays, and let me know if you continue to have issues.