What is the problem?
When hitting the "connect" button on the OctoPrint dashboard, I get this error in the terminal: Error: IOError: '[Errno 25] Inappropriate ioctl for device'
regardless of whether any printers are plugged into/on the same network as the RPi, making me think this is an issue with the RPi. I am using dev/ttl/AMA0 as my serial port and have tried with printers plugged into the Ethernet and USB ports of the RPi. I'd really appreciate any help on the matter, thank you!
What did you already try to solve it?
Updating pyserial, editing cmdline.text to try to permit use of serial ports, reinstalling Octopi image, installing GBX plugin for flashforge printer
Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware,
serial.log or output on terminal tab, ...)
OctoPrint version : 1.3.8
OctoPi version : 0.15.1
Running on Raspberry Pi 3 Model B, 1GB RAM
Printer: Ultimaker 3 (wireless) and Flashforge (wired USB)
Exact Terminal output:
Connecting to: /dev/ttyAMA0
Changing monitoring state from "Offline" to "Opening serial port"
Connected to: Serial<id=0x6ba4a990, open=True>(port='/dev/ttyAMA0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
Starting baud rate detection
Changing monitoring state from "Opening serial port" to "Detecting baudrate"
Unexpected error while reading serial port, please consult octoprint.log for details: IOError: '[Errno 25] Inappropriate ioctl for device' @ comm.py:_readline:2417
Changing monitoring state from "Detecting baudrate" to "Offline (Error: IOError: '[Errno 25] Inappropriate ioctl for device' @ comm.py:_readline:2417)"
Connection closed, closing down monitor