motioneye icon indicating copy to clipboard operation
motioneye copied to clipboard

Cannot add camera with 0.43.1b1

Open developerfromjokela opened this issue 1 year ago • 8 comments

Näyttökuva 2024-05-28 kello 18 09 27

motionEye Version 0.42.1 Motion Version 4.3.2 OS Version Ubuntu 22.04

developerfromjokela avatar May 28 '24 15:05 developerfromjokela

motionEye Version 0.42.1 is Python2 only, it won't work with Python 3.12 which you seem to have. Please install the prerelease of 0.43 using these instructions.

zagrim avatar May 30 '24 04:05 zagrim

However as I now notice the title of this issue mentions 0.43.1b1: which one is correct?

zagrim avatar May 30 '24 04:05 zagrim

I start the script with python3, so why is it picking up py2 libs?

On Thu 30. May 2024 at 7.10, Esa Tikka @.***> wrote:

motionEye Version 0.42.1 is Python2 only, it won't work with Python 3.12 which you seem to have. Please install the prerelease of 0.43 using these instructions https://github.com/motioneye-project/motioneye?tab=readme-ov-file#installation .

— Reply to this email directly, view it on GitHub https://github.com/motioneye-project/motioneye/issues/2990#issuecomment-2138639940, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJU4T5TYBMRYGLPDNMZRVU3ZE2RERAVCNFSM6AAAAABINERLWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZYGYZTSOJUGA . You are receiving this because you authored the thread.Message ID: @.***>

developerfromjokela avatar May 30 '24 04:05 developerfromjokela

However as I now notice the title of this issue mentions 0.43.1b1: which one is correct?

?

developerfromjokela avatar May 30 '24 04:05 developerfromjokela

Ignore the versio 0.42, it's 0.43

developerfromjokela avatar May 30 '24 04:05 developerfromjokela

This error seems to occur when network camera is unavailable, so poor error handling here. Working cameras don't throw this error

developerfromjokela avatar May 30 '24 04:05 developerfromjokela

The version confusion came from your problem description which specifically said "motionEye Version 0.42.1". But ok, if you are really running 0.43.x then fine, let's move on.

Having the full stack trace would likely make it easier to figure out the reason things go wrong (=why the callback passed to tornado lacks a positional argument), unless someone with more experience on dealing with Tornado can guess the cause from that snippet you posted.

Please also post the output of this command in case there's some sort of version incompatibility:

pip freeze | grep tornado

zagrim avatar May 30 '24 04:05 zagrim

There are no more stack traces in logs.

I'll send tornado version later.

On Thu 30. May 2024 at 7.33, Esa Tikka @.***> wrote:

The version confusion came from your problem description which specifically said "motionEye Version 0.42.1". But ok, if you are really running 0.43.x then fine, let's move on.

Having the full stack trace would likely make it easier to figure out the reason things go wrong (=why the callback passed to tornado lacks a positional argument), unless someone with more experience on dealing with Tornado can guess the cause from that snippet you posted.

Please also post the output of this command in case there's some sort of version incompatibility:

pip freeze | grep tornado

— Reply to this email directly, view it on GitHub https://github.com/motioneye-project/motioneye/issues/2990#issuecomment-2138658966, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJU4T5ULV55HMD74AEZ2CALZE2TYJAVCNFSM6AAAAABINERLWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZYGY2TQOJWGY . You are receiving this because you authored the thread.Message ID: @.***>

developerfromjokela avatar May 30 '24 04:05 developerfromjokela