Skip to content

Camera Init, error when establishing camera event notification #1

@tohox

Description

@tohox

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions