Setting up OctoPrint on Windows

hi. i'm new in this matter , any idea what to do or what i do it wrong when installing from here : checking the API key... but never finishing.

. i change it the address from 80 to 3344 but not working. the octoprint said is connected with printer but i can't connect with cura 4.3 version. thanks.

OctoPrint normally doesn't run on port 3344. It runs on port 5000 and with the help of haproxy, it also is seen on port 80, the default.

Also, keep this to one thread please. You've already asked this somewhere else on here.

i try it with 80 too and not working. of course i asked ,where i saw that is about this problem.what else to do? and how to try with port 5000 and haproxy? a step by step guide ? something somewhere is missing and can't be connected together.

Setting up OctoPrint on Windows

You're on the step-by-step guide here. Start from the first post.

1 Like

THE PROBLEM IS SOLVED .
fieldOfView helped me. thanks.

@frakman1 How did you get your Yawcam to work, I have spent way to long trying.

This might help
https://www.ispyconnect.com/man.aspx?n=Yawcam

Did my download and install on win10, python 3.7, running it in admin powershell.
I go to localhost:5000 and it just spins and say "Loading Octoprint's UI, please wait..."

you need python 2 - unless you want to test the latest dev rc

Only 27 days until Python 2 goes to Sunset mode.
Python 3 has been out for 11 years.
I'm a software developer and having Python 2 on my machines causes a lot of complication in terms of path and environment management for my commercial work.

well yes but it doesn't suddenly stop working.
@foosel is working on 1.4.0 which supports python 3. The second rc is out now and as I said you're free to test it :wink:

Tell that to Google.

I did this and it works so far, but now i want to update my marlin version. Every tutorial i found assumes you are running octoprint on a Pi. Using the plugin Firmware Updater i need to select the path to avrdude, but it doesn't work with the directory where i installed avrdude... can anyone help?

I followed the instructions exactly, after start I get an error - octoprint.startup - crytical - Could not initialize plugin mansger: 'ascii' codec can't decode byte 0xc0 in position64: ordinal not in range(128)

Providing the octoprint.log would allow others to help you. The 0xc0 character is À for what it's worth. It's possible that this appears somewhere that's not expected, perhaps in a filename on your SD card or in your uploads to OctoPrint.

Re: [OctoPrint Community] [Get Help/Guides] Setting up OctoPrint on Windows
hi. Are we talking about the same thing? I install Octoprint on Windows and get an error after running the "octoprint serve" command. There are no octoprint.log files in any folder. All file and folder name are in English. I do not understand how the SD card relates to the process of starting an octoprint.

OutsourcedGuru Regular
January 11Providing the octoprint.log would allow others to help you. The 0xc0 character is À for what it's worth. It's possible that this appears somewhere that's not expected, perhaps in a filename on your SD card or in your uploads to OctoPrint.

Your printer's Arduino board may or may not have an SD card in it. At the beginning of connecting to your board, OctoPrint sends something like an M20 command to read the contents of that card (optionally). I'm guessing that this could be a place where the character shows up and may be confusing OctoPrint which expects a low-bit ASCII character, presumably.

Somewhere on your Windows installation of OctoPrint is the octoprint.log file. It might possibly be in C:\OctoPrint\logs or somewhere else.

Instead of a shortcut I created a .bat and .vbs-file to automatically startup in the background when computer starts. Output from the program will be stored in a textfile (OctoPrint_out.txt) and deleted every server-start. Short guide below (Replace C:\OctoPrint\ with your install location):

octoprint.bat (Place in C:\OctoPrint)
del /f "C:\OctoPrint\OctoPrint_out.txt"
start /b "" "C:\OctoPrint\venv\Scripts\octoprint.exe" serve > "C:\OctoPrint\OctoPrint_out.txt" 2>&1

octoprint.vbs (WIN+R -> shell:startup, place here for automatic startup)
Dim WinScriptHost
Set WinScriptHost = CreateObject("WScript.Shell")
WinScriptHost.Run Chr(34) & "C:\OctoPrint\octoprint.bat" & Chr(34), 0
Set WinScriptHost = Nothing

1 Like
start /b "" "C:\OctoPrint\venv\Scripts\octoprint.exe" serve > "C:\OctoPrint\OctoPrint_out.txt" 2>&1

You might try the version I've given you. It should also direct STDERR to that same file as well. Sometimes OctoPrint logs something as ...warning('whatever') and this normally goes to STDERR instead of STDOUT, I'm guessing.

1 Like

I see, thanks for the info/heads up :slight_smile: