While the server is listening, I try to add the printer to Windows 10 using the printer configuration wizard. As soon as Windows tries to add the printer, the following exception is thrown:
Exception occurred during processing of request from ('127.0.0.1', 56230)
Traceback (most recent call last):
File "C:\Users\username\AppData\Local\Programs\Python\Python310\lib\socketserver.py", line 683, in process_request_thread
self.finish_request(request, client_address)
File "C:\Users\username\AppData\Local\Programs\Python\Python310\lib\socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "C:\Users\username\AppData\Local\Programs\Python\Python310\lib\socketserver.py", line 747, in __init__
self.handle()
File "C:\Users\username\AppData\Local\Programs\Python\Python310\lib\http\server.py", line 432, in handle
self.handle_one_request()
File "C:\Users\username\AppData\Local\Programs\Python\Python310\lib\http\server.py", line 420, in handle_one_request
method()
File "C:\Users\username\AppData\Local\Programs\Python\Python310\lib\site-packages\ippserver\server.py", line 101, in do_POST
self.handle_ipp()
File "C:\Users\username\AppData\Local\Programs\Python\Python310\lib\site-packages\ippserver\server.py", line 130, in handle_ipp
self.ipp_request = request.IppRequest.from_file(self.rfile)
File "C:\Users\username\AppData\Local\Programs\Python\Python310\lib\site-packages\ippserver\request.py", line 56, in from_file
raise Exception('No section delimiter')
Exception: No section delimiter
----------------------------------------
While the server is listening, I try to add the printer to Windows 10 using the printer configuration wizard. As soon as Windows tries to add the printer, the following exception is thrown: