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

Error testing NsfwProtection protection #576

Open
amandahla opened this issue Feb 20, 2025 · 0 comments
Open

Error testing NsfwProtection protection #576

amandahla opened this issue Feb 20, 2025 · 0 comments

Comments

@amandahla
Copy link

I enabled the NsfwProtection protection but got this error while uploading an image to the protected room.

Is this feature ready to be used?

2025-02-20T19:27:51.067Z [mjolnir] Thu, 20 Feb 2025 19:27:51 GMT [INFO] [Mjolnir] Joined !HZhSiAdUKuyBvQfylx:banana
2025-02-20T19:29:13.649Z [mjolnir] Thu, 20 Feb 2025 19:29:13 GMT [INFO] [Mjolnir] Command being run by @operator1:banana: !mjolnir protections
2025-02-20T19:29:31.349Z [mjolnir] Thu, 20 Feb 2025 19:29:31 GMT [INFO] [Mjolnir] Command being run by @operator1:banana: !mjolnir enable NsfwProtection
2025-02-20T19:29:40.054Z [mjolnir] Thu, 20 Feb 2025 19:29:40 GMT [ERROR] [ProtectionManager] Error handling protection: NsfwProtection
2025-02-20T19:29:40.054Z [mjolnir] Thu, 20 Feb 2025 19:29:40 GMT [ERROR] [ProtectionManager] Failed event: https://matrix.to/#/!HZhSiAdUKuyBvQfylx:banana/$PZS24KWDE1rjzavvE45IcI6F3HbUv_U2bLlTBq9X-X4
2025-02-20T19:29:40.054Z [mjolnir] Thu, 20 Feb 2025 19:29:40 GMT [ERROR] [ProtectionManager] TypeError: Cannot read properties of undefined (reading 'classify')
2025-02-20T19:29:40.054Z [mjolnir]     at NsfwProtection.handleEvent (/mjolnir/protections/NsfwProtection.js:87:54)
2025-02-20T19:29:40.054Z [mjolnir]     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2025-02-20T19:29:40.054Z [mjolnir]     at async ProtectionManager.handleEvent (/mjolnir/protections/ProtectionManager.js:285:36)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant