Closed kocane closed 1 year ago
The only thing I can tell from the error is that it's permissions related with the registry. I've never seen this before, so might suspect some form of virus protection maybe preventing the access.
@jneilliii fair enough, maybe my Windows install is just botched. I've disabled Defender completely so there's not even that. I really don't know. Is the function nessesary or could it essentially be commented out, do you know?
Not completely sure, but seems to be related to mimetypes which are important/necessary for serving the files properly. When you reinstalled, did you delete the C:\OctoPrint folder completely?
Just curious, if you open services app in windows and find OctoPrint on Port 5000 does it list the "Log On As" as local system like this?
Yep, its set to log on as system.
I fixed it by commenting out line 253 and 254 in mimetypes.py as per the suggestion here. Now it starts just fine. I haven't configured anything yet so I'm unsure if it will cause any weird issues but service starts and webui is accessible.
I've honestly no idea what would be causing this but I'm fairly sure it's some anomaly on my PC and as worst an issue with Python and not your installer. I also had trouble getting OctoPrint/Python to work with the manual installation process, but looks like there's finally luck with it by using your installer, so thank you so much for making it!
I'm sorry if this doesn't really belong in here but I can't for the life of me get the service to start.
The log gives me the following:
I've of course tried to reinstall it, where I also cleared out anything Python related I could fine, but to no avail. I've tried making Python.exe run as administator always but it obviously didn't change anything, since the service is running as system as it is.
I'm running Windows 10 LTSC x64.