Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible with nextcloud maps? #1064

Closed
alfwro13 opened this issue Dec 27, 2023 · 6 comments
Closed

Incompatible with nextcloud maps? #1064

alfwro13 opened this issue Dec 27, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@alfwro13
Copy link

Which version of recognize are you using?

5.0.3

Enabled Modes

Face recognition

TensorFlow mode

Normal mode

Downstream App

Photos App

Which Nextcloud version do you have installed?

27.1.5

Which Operating system do you have installed?

Debian 12

Which database are you running Nextcloud on?

MySQL 15.1

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

No response

How much RAM does your server have?

16

What processor Architecture does your CPU have?

x86_64

Describe the Bug

I have downloaded enabled the Recognizer app, downloaded the models and then occ recognize:recrawl

Expected Behavior

Face recognition.

To Reproduce

download and enable the app, download models and occ recognize:recrawl

Debug log

{"reqId":"7xi2lzulaE24YjNUJVnt","level":3,"time":"2023-12-27T10:31:39+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Error while running background job (class: OCA\\Recognize\\BackgroundJobs\\ClassifyFacesJob, arguments: Array\n(\n [storageId] => 70\n [rootId] => 17635450\n)\n)","userAgent":"--","version":"27.1.5.1","exception":{"Exception":"ParseError","Message":"syntax error, unexpected token \")\"","Code":0,"Trace":[{"file":"/home/clients_ssl/domain.net/www/nc/lib/composer/composer/ClassLoader.php","line":427,"function":"Composer\\Autoload\\{closure}","args":["*** sensitive parameters replaced ***"]},{"file":"/home/clients_ssl/domain.net/www/nc/apps/recognize/lib/Classifiers/Classifier.php","line":153,"function":"loadClass","class":"Composer\\Autoload\\ClassLoader","type":"->"},{"file":"/home/clients_ssl/domain.net/www/nc/apps/recognize/lib/Classifiers/Images/ClusteringFaceClassifier.php","line":84,"function":"classifyFiles","class":"OCA\\Recognize\\Classifiers\\Classifier","type":"->"},{"file":"/home/clients_ssl/domain.net/www/nc/apps/recognize/lib/BackgroundJobs/ClassifyFacesJob.php","line":41,"function":"classify","class":"OCA\\Recognize\\Classifiers\\Images\\ClusteringFaceClassifier","type":"->"},{"file":"/home/clients_ssl/domain.net/www/nc/apps/recognize/lib/BackgroundJobs/ClassifierJob.php","line":73,"function":"classify","class":"OCA\\Recognize\\BackgroundJobs\\ClassifyFacesJob","type":"->"},{"file":"/home/clients_ssl/domain.net/www/nc/apps/recognize/lib/BackgroundJobs/ClassifyFacesJob.php","line":33,"function":"runClassifier","class":"OCA\\Recognize\\BackgroundJobs\\ClassifierJob","type":"->"},{"file":"/home/clients_ssl/domain.net/www/nc/lib/public/BackgroundJob/Job.php","line":81,"function":"run","class":"OCA\\Recognize\\BackgroundJobs\\ClassifyFacesJob","type":"->"},{"file":"/home/clients_ssl/domain.net/www/nc/lib/public/BackgroundJob/TimedJob.php","line":103,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->"},{"file":"/home/clients_ssl/domain.net/www/nc/lib/public/BackgroundJob/TimedJob.php","line":93,"function":"start","class":"OCP\\BackgroundJob\\TimedJob","type":"->"},{"file":"/home/clients_ssl/domain.net/www/nc/cron.php","line":152,"function":"execute","class":"OCP\\BackgroundJob\\TimedJob","type":"->"}],"File":"/home/clients_ssl/domain.net/www/nc/apps/maps/vendor/symfony/process/Process.php","Line":311,"message":"Error while running background job (class: OCA\\Recognize\\BackgroundJobs\\ClassifyFacesJob, arguments: Array\n(\n [storageId] => 70\n [rootId] => 17635450\n)\n)","exception":{},"CustomMessage":"Error while running background job (class: OCA\\Recognize\\BackgroundJobs\\ClassifyFacesJob, arguments: Array\n(\n [storageId] => 70\n [rootId] => 17635450\n)\n)"}}

@alfwro13 alfwro13 added the bug Something isn't working label Dec 27, 2023
Copy link

Hello 👋

Thank you for taking the time to open this issue with recognize. I know it's frustrating when software
causes problems. You have made the right choice to come here and open an issue to make sure your problem gets looked at
and if possible solved.
I try to answer all issues and if possible fix all bugs here, but it sometimes takes a while until I get to it.
Until then, please be patient.
Note also that GitHub is a place where people meet to make software better together. Nobody here is under any obligation
to help you, solve your problems or deliver on any expectations or demands you may have, but if enough people come together we can
collaborate to make this software better. For everyone.
Thus, if you can, you could also look at other issues to see whether you can help other people with your knowledge
and experience. If you have coding experience it would also be awesome if you could step up to dive into the code and
try to fix the odd bug yourself. Everyone will be thankful for extra helping hands!
One last word: If you feel, at any point, like you need to vent, this is not the place for it; you can go to the forum,
to twitter or somewhere else. But this is a technical issue tracker, so please make sure to
focus on the tech and keep your opinions to yourself. (Also see our Code of Conduct. Really.)

I look forward to working with you on this issue
Cheers 💙

@alfwro13
Copy link
Author

OK, found a temporary solution to this problem - I have disabled nextcloud maps app and everything started working.

@marcelklehr
Copy link
Member

Ah, damnit. Another incompatibilty :/

@marcelklehr marcelklehr changed the title An error occurred during face recognition, please check the Nextcloud logs. Incompatible with nextcloud maps? Jan 9, 2024
@marcelklehr
Copy link
Member

/home/clients_ssl/domain.net/www/nc/apps/maps/vendor/symfony/process/Process.php

AH, not an incompatibility. The maps app shouldn't ship symfony/process

@alfwro13
Copy link
Author

So what is the fix here?

@marcelklehr
Copy link
Member

The maps app should not ship simfony/process. I cannot do anything about this. You may open an issue on their repo and link to this one here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants