khoadng / Boorusama

A mobile client for booru sites built with Flutter
GNU General Public License v3.0
146 stars 8 forks source link

Saved searches doesn't seem to work. #441

Closed duvjones closed 3 months ago

duvjones commented 3 months ago

Describe the bug While logged in to danbooru, the "saved search" list seems to fail

To Reproduce Steps to reproduce the behavior:

  1. Configure to use danbooru.donmai.us
  2. Login to a user account
  3. Scroll down to "Saveed search"
  4. See error

Smartphone (please complete the following information):

There is something that I have noted, first off this only seems to affect danbooru.donmai.us... safebooru.donmai.us is unaffected by this. On a side note the saved search meta tag is also not working but only on danbooru.donmai.us.

khoadng commented 3 months ago

Saved search is not real-time, so you can check back after a few minutes to see the results. It works for me.

Also what kind of error? Can you send a screenshot?

duvjones commented 3 months ago

Saved search is not real-time, so you can check back after a few minutes to see the results. It works for me.

That is what has me miffed, because it is working with the safebooru mirror but not danbooru itself. I should also note that this error is happening on the two devices that I own... the Tab and a Moto One 5G Ace with Lineage OS 20 (Android 13)

Also what kind of error? Can you send a screenshot?

Sure.... Screenshot_20240725-112103_Trebuchet

khoadng commented 3 months ago

I need more information. Can you go to Settings > Debug logs and send it here? Make sure to restart the app and go to the Saved search screen first.

duvjones commented 3 months ago

I need more information. Can you go to Settings > Debug logs and send it here? Make sure to restart the app and go to the Saved search screen first.

Done

Oh and with the meta tags... this is the error that I have been getting. With the log... Screenshot_20240725-113235_Trebuchet boorusama_logs.txt

khoadng commented 3 months ago

There are a lot of authorization errors. Did you create an API key with restricted permissions? The app expects a fully granted permission key. You can provide a minimal permissions key, but you will need to play around it to see what works and what doesn't.

duvjones commented 3 months ago

There are a lot of authorization errors. Did you create an API key with restricted permissions? The app expects a fully granted permission key. You can provide a minimal permissions key, but you will need to play around it to see what works and what doesn't.

No, I didn't. That said the key between dan and safe are the same. Could that be an issue?

khoadng commented 3 months ago

I use a single key for everything and it works fine. Can you create a brand new key with all permissions and try again? Leaving the permissions box empty will give all permissions.

duvjones commented 3 months ago

I use a single key for everything and it works fine. Can you create a brand new key with all permissions and try again? Leaving the permissions box empty will give all permissions.

I have... still getting the same error.

khoadng commented 3 months ago

I use a single key for everything and it works fine. Can you create a brand new key with all permissions and try again? Leaving the permissions box empty will give all permissions.

I have... still getting the same error.

Maybe your login (username) is incorrect then. Can you open the 'Profile' screen and see if it displays the correct information? How about create a new profile for danbooru with the same information as the safe domain.

duvjones commented 3 months ago

I use a single key for everything and it works fine. Can you create a brand new key with all permissions and try again? Leaving the permissions box empty will give all permissions.

I have... still getting the same error.

Maybe your login (username) is incorrect then. Can you open the 'Profile' screen and see if it displays the correct information? How about create a new profile for danbooru with the same information as the safe domain.

I don't know how.... I think that I might of missed something when typing in the website. Remade it in a new profile and it works. The user name wasn't wrong but if I am to make a guess, I concluded that I have used http than https.

That said, thank you for the help. I have corrected this.