Octolapse icon indicating copy to clipboard operation
Octolapse copied to clipboard

internal server error after install

Open junkheadog opened this issue 2 years ago • 13 comments

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

junkheadog avatar Sep 20 '22 22:09 junkheadog

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

Chef-Tom avatar Oct 28 '22 16:10 Chef-Tom

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

TechniKalCancer avatar Nov 10 '22 11:11 TechniKalCancer

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?

idmnstr avatar Dec 25 '22 15:12 idmnstr

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.

endrift avatar Jan 02 '23 08:01 endrift

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?.

Minionflo avatar Jan 17 '23 23:01 Minionflo

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.

dkaser avatar Jan 23 '23 03:01 dkaser

Thanks for the info! Worked perfect for me!

darthtate avatar Jan 27 '23 06:01 darthtate

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

MarianDz avatar Mar 21 '23 10:03 MarianDz

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?

rmreichert avatar Mar 22 '23 22:03 rmreichert

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 avatar Mar 27 '23 10:03 YiepNet

like @endrift said

YiepNet avatar Mar 27 '23 10:03 YiepNet

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

FormerLurker avatar Apr 02 '23 18:04 FormerLurker