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

ratings.json is not generating #1

Closed
Drunkender opened this issue Jul 9, 2023 · 3 comments
Closed

ratings.json is not generating #1

Drunkender opened this issue Jul 9, 2023 · 3 comments

Comments

@Drunkender
Copy link

The ratings.json does not generate when closing the software and manually creating an empty file with "ratings.json" as the name crashes the program.

@matjojo
Copy link
Owner

matjojo commented Jul 9, 2023

That sounds very inconvenient!

I need some information to help you:

  1. What version of hydrus are you using?
  2. What version of hydrus-api are you using?
    2.1. (execute pip freeze in the terminal and see what the version of hydrus-api is in that list)
  3. Is your version of tagrank up to date?
    3.1. Go into the folder that you git cloneed tagrank into and do the following:
    3.2. Type git log and copy the hash of the topmost commit. It should look something like commit 8c16879e097e27092f0cf5b2afe5abfc1ab91205
    3.3. Press q to exit that command.
  4. What is the output of tagrank when you execute it?
    4.1. I don't need your tag scores, but I do need to know if they are printed. So you can remove that part from the text, just make sure to tell me if it was shown.
  5. What is the output of tagrank when you create the empty ratings.json file?

Now, ensure that you tagrank is up to date:

  1. Go into the folder that you git cloneed tagrank into.
  2. Type git pull to update tagrank
    2.1. Type git log and copy the hash of the topmost commit. It should look something like commit 8c16879e097e27092f0cf5b2afe5abfc1ab91205
    2.2. Press q to exit that command.
  3. If the hash you just copied is different from the one above you were using an old tagrank version.
  4. Please give me the output of tagrank again, just like above.
  5. Please give me the output of tagrank when you create the empty rating.json file again, just like above.

@Drunkender
Copy link
Author

Apparently if you press the program close button instead of ESC it behaves normally but does not generate the ratings.json file.
Pressing the ESC key when done DOES generate the file.

Maybe add a note in the terminal for derps like me.
Sorry for the bother.

@matjojo
Copy link
Owner

matjojo commented Jul 9, 2023

No problem at all! I completely forgot that that is an option. The newest release will also save the results when you use the close button.

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

2 participants