recognize icon indicating copy to clipboard operation
recognize copied to clipboard

"Movinet does not support WASM mode" even though it is disabled

Open myxor opened this issue 7 months ago • 0 comments
trafficstars

Which version of recognize are you using?

8.2.0

Enabled Modes

Face recognition

TensorFlow mode

WASM mode

Downstream App

Memories App

Which Nextcloud version do you have installed?

30.0.6

Which Operating system do you have installed?

aio

Which database are you running Nextcloud on?

Psql

Which Docker container are you using to run Nextcloud? (if applicable)

No response

How much RAM does your server have?

6GiB

What processor Architecture does your CPU have?

x86_64

Describe the Bug

Enabled Recognize app in WASM mode.

Video detection is disabled.

docker exec -u www-data nextcloud-aio-nextcloud /var/www/html/occ config:app:get recognize movinet.enabled
> false

I see in logs: "Movinet does not support WASM mode"

{
    "reqId": "zlLrem2LByBeAFROUMmZ",
    "level": 2,
    "time": "2025-03-21T12:19:33+00:00",
    "remoteAddr": "",
    "user": "--",
    "app": "recognize",
    "method": "",
    "url": "--",
    "message": "Movinet does not support WASM mode",
    "userAgent": "--",
    "version": "30.0.6.2",
    "exception": {
        "Exception": "OCA\\Recognize\\Exception\\Exception",
        "Message": "Movinet does not support WASM mode",
        "Code": 0,
        "Trace": [
            {
                "file": "/var/www/html/custom_apps/recognize/lib/Command/Classify.php",
                "line": 152,
                "function": "classify",
                "class": "OCA\\Recognize\\Classifiers\\Video\\MovinetClassifier",
                "type": "->",
                "args": [
                    []
                ]
            },
            {
                "file": "/var/www/html/3rdparty/symfony/console/Command/Command.php",
                "line": 326,
                "function": "execute",
                "class": "OCA\\Recognize\\Command\\Classify",
                "type": "->",
                "args": [
                    {
                        "__class__": "Symfony\\Component\\Console\\Input\\ArgvInput"
                    },
                    {
                        "__class__": "Symfony\\Component\\Console\\Output\\ConsoleOutput"
                    }
                ]
            },
            {
                "file": "/var/www/html/3rdparty/symfony/console/Application.php",
                "line": 1078,
                "function": "run",
                "class": "Symfony\\Component\\Console\\Command\\Command",
                "type": "->",
                "args": [
                    {
                        "__class__": "Symfony\\Component\\Console\\Input\\ArgvInput"
                    },
                    {
                        "__class__": "Symfony\\Component\\Console\\Output\\ConsoleOutput"
                    }
                ]
            },
            {
                "file": "/var/www/html/3rdparty/symfony/console/Application.php",
                "line": 324,
                "function": "doRunCommand",
                "class": "Symfony\\Component\\Console\\Application",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Recognize\\Command\\Classify"
                    },
                    {
                        "__class__": "Symfony\\Component\\Console\\Input\\ArgvInput"
                    },
                    {
                        "__class__": "Symfony\\Component\\Console\\Output\\ConsoleOutput"
                    }
                ]
            },
            {
                "file": "/var/www/html/3rdparty/symfony/console/Application.php",
                "line": 175,
                "function": "doRun",
                "class": "Symfony\\Component\\Console\\Application",
                "type": "->",
                "args": [
                    {
                        "__class__": "Symfony\\Component\\Console\\Input\\ArgvInput"
                    },
                    {
                        "__class__": "Symfony\\Component\\Console\\Output\\ConsoleOutput"
                    }
                ]
            },
            {
                "file": "/var/www/html/lib/private/Console/Application.php",
                "line": 183,
                "function": "run",
                "class": "Symfony\\Component\\Console\\Application",
                "type": "->",
                "args": [
                    {
                        "__class__": "Symfony\\Component\\Console\\Input\\ArgvInput"
                    },
                    {
                        "__class__": "Symfony\\Component\\Console\\Output\\ConsoleOutput"
                    }
                ]
            },
            {
                "file": "/var/www/html/console.php",
                "line": 87,
                "function": "run",
                "class": "OC\\Console\\Application",
                "type": "->",
                "args": [
                    {
                        "__class__": "Symfony\\Component\\Console\\Input\\ArgvInput"
                    }
                ]
            },
            {
                "file": "/var/www/html/occ",
                "line": 11,
                "args": [
                    "/var/www/html/console.php"
                ],
                "function": "require_once"
            }
        ],
        "File": "/var/www/html/custom_apps/recognize/lib/Classifiers/Video/MovinetClassifier.php",
        "Line": 38,
        "message": "Movinet does not support WASM mode",
        "exception": [],
        "CustomMessage": "Movinet does not support WASM mode"
    },
    "id": "67dd595ea1903"
}

Expected Behavior

I expect to not see the message in the logs when movinet is disabled.

To Reproduce

  1. Enabled Recognize app in WASM mode.
  2. Leave Video detection disabled

Debug log

No response

myxor avatar Mar 21 '25 12:03 myxor