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

Annotation are not shown in the document after annotation editing. #301

Open
SalahAdDin opened this issue Feb 26, 2023 · 0 comments
Open

Comments

@SalahAdDin
Copy link

Hello, I had a problem with the document I'm using to annotate a book.

I saved it in Markdown mode, and as I have the linter plugin with a very aggressive configuration, all note formats were broken a lot. I had to fix it with another editor. I could see all my notes in the document.

Well, I just opened the document again, and even if all notes are ok in the document, they are not being rendered over the document. Why?
Screenshot_20230226_225419
Screenshot_20230226_225350
AnnotationBug

I opened the console to check the error, and I find this.

file opened
plugin:obsidian-annotator:22 file not found 
{url: URL}
plugin:obsidian-annotator:22 file not found 
{url: URL}
DevTools failed to load source map: Could not load content for app://obsidian.md/highlights.css.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for app://obsidian.md/pdfjs-overrides.css.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for app://obsidian.md/annotator.css.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for app://obsidian.md/sidebar.css.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for app://obsidian.md/katex.min.css.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for app://obsidian.md/sidebar.css.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for app://obsidian.md/katex.min.css.map: System error: net::ERR_FILE_NOT_FOUND
plugin:obsidian-annotator:22 failed to load annotations 
{error: TypeError: Cannot read properties of null (reading 'groups')
    at uj (plugin:obsidian-annotator:1…}
error
: 
TypeError: Cannot read properties of null (reading 'groups') at uj (plugin:obsidian-annotator:14:33391) at pj (plugin:obsidian-annotator:14:36116) at eval (plugin:obsidian-annotator:14:36770) at Generator.next (<anonymous>) at o (plugin:obsidian-annotator:6:780)
message
: 
"Cannot read properties of null (reading 'groups')"
stack
: 
"TypeError: Cannot read properties of null (reading 'groups')\n    at uj (plugin:obsidian-annotator:14:33391)\n    at pj (plugin:obsidian-annotator:14:36116)\n    at eval (plugin:obsidian-annotator:14:36770)\n    at Generator.next (<anonymous>)\n    at o (plugin:obsidian-annotator:6:780)"
[[Prototype]]
: 
Error
[[Prototype]]
: 
Object
plugin:obsidian-annotator:14 
 GET http://localhost:8001/api/search?limit=50&sort=created&order=asc&_separate_…%2580%2599a+Theory%2C+Practice%2C+Transformations+%28Wael+B.+Hallaq%29.pdf net::ERR_CONNECTION_REFUSED
plugin:obsidian-annotator:22 failed to load annotations 
{error: TypeError: Cannot read properties of null (reading 'groups')
    at uj (plugin:obsidian-annotator:1…}
error
: 
TypeError: Cannot read properties of null (reading 'groups') at uj (plugin:obsidian-annotator:14:33391) at pj (plugin:obsidian-annotator:14:36116) at eval (plugin:obsidian-annotator:14:36770) at Generator.next (<anonymous>) at o (plugin:obsidian-annotator:6:780)
[[Prototype]]
: 
Object
plugin:obsidian-annotator:14 
 GET http://localhost:8001/api/search?limit=50&sort=created&order=asc&_separate_…%2580%2599a+Theory%2C+Practice%2C+Transformations+%28Wael+B.+Hallaq%29.pdf net::ERR_CONNECTION_REFUSED
index.html#config=%7…Findex.html%22%7D:1 The resource blob:app://obsidian.md/300ce6bf-3f5a-4b24-bd87-98cdc9725ab4 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
index.html#config=%7…Findex.html%22%7D:1 The resource blob:app://obsidian.md/b3ec52f2-78a5-4745-9177-b875def62be1 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.

Before, when I added a new note, I could see it, but now, even the new one is not rendered. I have to delete all the notes and begin again to have normal behavior. This is not what I want, I want to get all my annotations again.

Could you help me, please?

Thanks!

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