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

Server Error (500) #31

Open
yojimble opened this issue Dec 22, 2024 · 12 comments
Open

Server Error (500) #31

yojimble opened this issue Dec 22, 2024 · 12 comments

Comments

@yojimble
Copy link

I get this error often when using open librarian, am unable to save any relays or books

@RydalWater
Copy link
Owner

Hi, thanks for letting me know I have a suspicion this is because you may not have any relays set in your profile. I'll do some testing on my side and put in a work around so that it handles this situation asap.

500 is a generic error which doesn't help. Can you let me know your public key (NPUB), and I'll take a look see if I can figure it out?

There may be a workaround to log into another client and set some relays like https://coracle.social/ or something.

@yojimble
Copy link
Author

ah I see, yes it has no relays yet, I used the sign up option and created a new npub: npub1cw5x2jqq0gd4xc6a53urhxe84ces3vlgzu3lhuspwdpcmyffufgqsv08p6

have done as suggested and added relays via coracle, appears to be working now!

will you have a login with extension feature coming?

@yojimble
Copy link
Author

yojimble commented Dec 23, 2024

there is also some difficulty moving books to different shelf, same error 500 but feels like its timing out

@RydalWater
Copy link
Owner

RydalWater commented Dec 23, 2024

have done as suggested and added relays via coracle, appears to be working now!

OK great, I'll take a look into this issue more deeply as for a new key it should really have set some default relays for you. Will dig into what is happening here so that other users don't get this issue.

will you have a login with extension feature coming?

This is on the roadmap, going to try look at it as soon as possible once I have reviews and basic challenges added (and some bugs * see above and below * squashed)

there is also some difficulty moving books to different shelf, same error 500 but feels like its timing out

Will look at this one tonight as this shouldn't have had issues. I have a sneaking suspicion it is related to new books and empty progress objects not interacting well.

Good news is your profile loaded when I looked at at via the library card. https://www.openlibrarian.com/card/npub1cw5x2jqq0gd4xc6a53urhxe84ces3vlgzu3lhuspwdpcmyffufgqsv08p6/

Please keep the bug reports coming in when you find things as I think you're one of the first people to go through all the steps from scratch. I'll keep this issue open until these items are resolved.

@yojimble
Copy link
Author

Brill! I'll keep looking around and see if anything else comes up :)

@RydalWater
Copy link
Owner

RydalWater commented Dec 23, 2024

Brill! I'll keep looking around and see if anything else comes up :)

Just a heads up I will take down the site to figure out a bug in the progress section. It seems to be throwing out an issue with the list of ISBNs just now so will bring it back up in the morning once I've got that sorted.

@RydalWater
Copy link
Owner

Site is back up online

@yojimble
Copy link
Author

is it possible to have multiple book on the currently reading shelf, or to move something from read to reading? I am hitting 500 error moving a read book

@RydalWater
Copy link
Owner

RydalWater commented Dec 30, 2024

is it possible to have multiple book on the currently reading shelf, or to move something from read to reading? I am hitting 500 error moving a read book

It should be possible. To have as many things on one shelf as you like, if you are moving from read to reading it could be that the progress code is falling over because it will likely be trying to add a start date again even though there is an end date. Let me check, can you just confirm the steps you're taking to get the error?

EDIT: I've updated the code and test. When moving from "Read" to "Reading" it was encountering an error where the book was already tracked as complete. It should now be resolved, please try moving the book from one shelf to the next again and let me know if you have the same issues.

@yojimble
Copy link
Author

brilliant, so this time there was a finish box and rating screen available

@RydalWater
Copy link
Owner

Yo, @yojimble before I close out this issue I wanted to check if you've continued to experience problems?

Also I wanted to let you know I have now added NIP-07 login. If you wouldn't mind can you test from your side and let me know if you have any issues using it?

@yojimble
Copy link
Author

yojimble commented Feb 3, 2025

Hiya! nip07 login seems to be working! have not noticed any more 500 errors

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