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 in http://localhost:5000/messages #2

Open
iagovelasco opened this issue Oct 2, 2023 · 2 comments
Open

Error in http://localhost:5000/messages #2

iagovelasco opened this issue Oct 2, 2023 · 2 comments

Comments

@iagovelasco
Copy link

Hi

first off this is an amazing prooject great job!

I have an error in the request when I request the messages

{
"error": "name 'messages' is not defined"
}

@oven-one
Copy link

oven-one commented Nov 1, 2023

Any luck working through this issue?

@chakrupka
Copy link

chakrupka commented Jul 2, 2024

The issue is likely either with the path itself or with permissions.

  1. Add a print statement after DB_FILEPATH is declared in server.py
  2. Copy the path, open Finder, hit ⌘+Shift+G, paste the path in, and it should take you to a file called chat.db
  3. If it doesn't take you there, something is wrong with the path
  4. If it does, it may be a permissions related issue, you may not have followed the step that asks for full file system access. You can check if you have permissions by entering tail /Users/$USER/Library/Messages/chat.db. If you get denied, you have to give it permission in settings, check the README.md. You should see a bunch of symbols.

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

3 participants