Hi,
I often get an exception at line 413 of OlympusAir.py when creating a new instance of the OlympusAir class like so:
cam = OlympusAir()
At first I got this only while debugging if the previous script didn't close the connection properly. I assumed that port 65000 was left open for some reason preventing the next connection and power cycling the camera usually fixed this but now I seem to be getting the error systematically even after power cycling.
The first request.get(http://... /get_connectmode.cgi' seems to go through fine but the second one to /start_pushevent.cgi' fails with the following error message:
requests.exceptions.ConnectionError: ('Connection aborted.', BadStatusLine("''",))
Any ideas?
Thanks for your great port of the Olympus SDK!
P.S. If you are interested I was able to get the Bluetooh LE wakeup command working under Python.
Hi,
I often get an exception at line 413 of OlympusAir.py when creating a new instance of the OlympusAir class like so:
cam = OlympusAir()
At first I got this only while debugging if the previous script didn't close the connection properly. I assumed that port 65000 was left open for some reason preventing the next connection and power cycling the camera usually fixed this but now I seem to be getting the error systematically even after power cycling.
The first request.get(http://... /get_connectmode.cgi' seems to go through fine but the second one to /start_pushevent.cgi' fails with the following error message:
requests.exceptions.ConnectionError: ('Connection aborted.', BadStatusLine("''",))
Any ideas?
Thanks for your great port of the Olympus SDK!
P.S. If you are interested I was able to get the Bluetooh LE wakeup command working under Python.