Danbooru

Danbooru 2 Issues Topic

Posted under General

This topic has been locked.

NCAA_Gundam said:

What does that mean in regards to unloading pixiv posts onto Danbooru?

Need new code to get metadata like tags. Dunno how much work it'll be for danbooru. It took me a couple hours to get working but I'm doing really basic stuff.
It's easier to get full image URLs though since the new API will just hand them to you instead of requiring string manipulation.

Krugger said:

So we can upload again (Thank You Very Much) It seems artist tags for recent pixiv art are not recognized older post can do artist check but the new ones don't return results

Danbooru still needs to be updated to use Pixiv's new api (issue #2383). Until then only some Pixiv-related functions will work, not all.

nanami said:

Also, when one uploads, I noted it uploads the 600-pixel-long version, not the full image.

That was one of the features that relied on Pixiv's spapi. Until the fix you need to use the full-size url when uploading.

Tangentially related: does anyone have an idea if it's possible to use the new API if one already has a PHPSESSID? Otherwise greasemonkey scripts for pixiv would have to ask the user for his credentials, which seems kinda suboptimal.

I kinda wonder if the queue master won't look at my uploads and then they will get ignored, they will get deleted by three days, right? So I if I want them to get approved I need to upload them till they get noticed?

nakkuo said:

I kinda wonder if the queue master won't look at my uploads and then they will get ignored, they will get deleted by three days, right? So I if I want them to get approved I need to upload them till they get noticed?

Once a picture is deleted, it can't be uploaded again. If you want to mods to take another look at a specific picture, post in the Deletion Appeal Thread: topic #8554 Remember to read the rules in first post of the thread before posting.

ElectricSheep said:

Tangentially related: does anyone have an idea if it's possible to use the new API if one already has a PHPSESSID?

No. PAPI rely entirely on OAuth flow. But endpoints still sets PHPSESSID cookie, maybe it's used for something (history?) or php is a jerk.

Log said:

Searches in the mod queue seem to take twice as long to execute as searches in the site itself.

Searches in the mod queue have the following differences from normal searches:

  • Automatically adds status:any to the end of your search
  • Only shows posts that are pending, or have been flagged in the last week
  • 100 posts are displayed, instead of 20 or whatever your posts-per-page is
  • Ordered by ascending id
  • Excludes posts that you have hidden from the mod queue

I'm surprised to hear they're only twice as slow. I thought they'd be way slower than that.

Trying to add tags results in a ~200 line error message starting with:

PG::QueryCanceled exception raised

    ERROR: canceling statement due to statement timeout
    /var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/postgresql_adapter.rb:834:in `get_last_result'
    /var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/postgresql_adapter.rb:834:in `block in exec_cache'
    /var/www/danbooru2/shared/bundle/ruby/2.1.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract_adapter.rb:373:in `block in log'
1 81 82 83 84 85 86 87 88 89 315