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

Graph is not shown in Chrome #512

Open
leky40 opened this issue Apr 14, 2023 · 9 comments
Open

Graph is not shown in Chrome #512

leky40 opened this issue Apr 14, 2023 · 9 comments

Comments

@leky40
Copy link

leky40 commented Apr 14, 2023

Does anyone have a problem of using Annotatrix in Chrome now? Graph is not shown when using Chrome. Could anyone suggest how to fix this problem?

@ftyers
Copy link
Collaborator

ftyers commented Sep 12, 2023

Can you give the CoNLL-U that you're trying to view? Or at least some more details?

@jonorthwash
Copy link
Owner

@leky40, one thing you could try is ctrl+0. Sometimes the graph might be displayed entirely off-screen or is zoomed in or out too far to see. That keyboard shortcut will reset the view.

@leky40
Copy link
Author

leky40 commented Oct 13, 2023

I use Mac. And these are what I am having a problem now -- no graphs are shown in Safari, Firefox and Chrome. I tried what @jonorthwash suggested, but it's not working.
Safari
Firefox
Google Chrome

any other suggestions?

Thank you

@nschneid
Copy link

For me (on Mac), scrolling the mouse wheel to zoom out usually helps if it's not displaying.

@leky40
Copy link
Author

leky40 commented Oct 13, 2023

@nschneid Thank you. But it's not working. I tried everything, still not working.

One weird thing is that after running command line:
cd ud-annotatrix
npm run server
open Firefox and go to localhost:5361

it shows all the files I have been working till last night, I wanted to continue where I stopped. I clicked on such file. All the sentences I did are just gone. And then I realized I forgot to get online. So I did and redid all the these steps. All the annotated sentences in this file are completely gone.

I tried it with Chrome and Safari, they are gone.

I checked the folder ud-annotatrix in my Mac, they are gone too.

It's really strange.

any suggestions to get those sentences back?

And these days I have received the message "error to connect to server" while working on my files. Could this be the reason?

@jonorthwash
Copy link
Owner

ctrl+0 usually only works if you change focus outside of the textbox. From your screenshot it's not entirely clear that those sentences have parsed graphs—I'd need to see one of the other tabs.

Treebanks save to browser storage, not to disk (unless you're running the server—but it sounds like you're running the tool in browser-only mode). And that data stored is different for different locations that you run Annotatrix from. However, it's known that there is buggy behaviour recalling treebanks from browser storage. It's recommended that you copy annotated material from Annotatrix after using the tool to prepare it.

If you open the inspector (F12 in most browsers), you may be able to find various revisions of your data in browser storage. If you're able to dump all the browser storage data for Annotatrix, I could probably extract it for you. Instructing you on how to extract it might also be possible, but I expect would take a lot of back-and-forth.

@leky40
Copy link
Author

leky40 commented Nov 6, 2023

Sorry for late reply.

I attached a few more different screenshots with the other tabs.

I think I have run the sever mode. The folder, ud-annotatrix, is saved in my Mac and when I checked the folder corpora, all the annotated sentences saved as json files. And what I have annotated is saved there.

I don't know which server mode you mentioned is. Could you suggest? I need UD-Annotatrix to develop my Thai treebank for my thesis. I don't want to change the tool because I am used to UD-Annotatrix.

The inspector F12 is not working in Mac, I guess. I just clicked right on the browser and it showed the data. I have no idea what it is though.

I can start over to annotate my corpus. And I am doing word segmentation in TextEdit now. But when it comes to POS and syntactic annotation levels, I need UD Annotatrix. Could you help me to get the stable version?
Screenshot 2023-10-25 at 15 54 49
Screenshot 2023-10-25 at 15 54 38
Screenshot 2023-10-25 at 15 54 56

@jonorthwash
Copy link
Owner

@leky40, what happens if you put the same sentence in the interface at https://jonorthwash.github.io/ud-annotatrix/ ? This will always be the latest version.

As for why it's not displaying, I suspect it's just zoomed or panned so you can't see the graph. Try clicking in the graph area and typing 0 (the number zero key).

@leky40
Copy link
Author

leky40 commented Dec 10, 2023

@jonorthwash Thank you for the help.

With this suggestion of yours "As for why it's not displaying, I suspect it's just zoomed or panned so you can't see the graph. Try clicking in the graph area and typing 0 (the number zero key).", I can see the graphs.

I have not tried this latest interface: https://jonorthwash.github.io/ud-annotatrix/, but this one would work better than the localhost one I have been using?

To enable me work on my thesis without losing all of my annotated sentences, should I use this interface rather than the localhost one which I downloaded from the Github page?

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

4 participants