Danbooru

Danbooru 2 Issues Topic

Posted under General

This topic has been locked.

Getting this error:

Magick::ImageMagickError exception raised
negative or zero image size `/var/www/danbooru2/releases/20171121225459/public/data/9b67e12436b4b941e440bad581f0fa44.gif' @ error/gif.c/ReadGIFImage/1276
app/models/post.rb:220:in `ping'
app/models/post.rb:220:in `is_animated_gif?'
app/models/post.rb:724:in `add_automatic_tags'
app/models/post.rb:677:in `normalize_tags'
app/controllers/posts_controller.rb:48:in `update'

when attempting to add chibi and goggles on head tags to post #1046167.

I'm able to update other posts fine.

kuuderes_shadow said:

Getting this error:

when attempting to add chibi and goggles on head tags to post #1046167.

The GIF is corrupt. GIF files should end with the trailer character ;, but this one ends with the frame start character ,. The error you’re seeing is ImageMagick complaining that the last frame has zero size because it correctly expects frame data after the frame start character but there’s none. Gimp complains about the preceding < character, which is invalid as well, but ignores the trailing garbage and displays the image. The file could be fixed by stripping of the last one or two bytes, but that would change the file’s hash.

kittey said:

The GIF is corrupt. GIF files should end with the trailer character ;, but this one ends with the frame start character ,. The error you’re seeing is ImageMagick complaining that the last frame has zero size because it correctly expects frame data after the frame start character but there’s none. Gimp complains about the preceding < character, which is invalid as well, but ignores the trailing garbage and displays the image. The file could be fixed by stripping of the last one or two bytes, but that would change the file’s hash.

The best thing to do for the above then would be to replace the image via topic #14156, and leave the exception in as it should prevent future corrupt GIFs from being uploaded.

I'm not that familiar with image formats, so I'll leave that to someone more knowledgeable to fix.

BrokenEagle98 said:

The best thing to do for the above then would be to replace the image via topic #14156, and leave the exception in as it should prevent future corrupt GIFs from being uploaded.

I'm not that familiar with image formats, so I'll leave that to someone more knowledgeable to fix.

I don't have a better version of it though.

It's pretty low quality anyway, though, so I'm tempted just to flag it. If it lets you flag it.

I am unable to post this appeal: When I try to submit, nothing happens. It doesn't say if I've hit a cooldown nor is there any error message.

post #2933148

Appeal message (submit attempt without quotations)

"Unable to find anatomy issues - Overall image is well drawn. Anatomically correct, good interaction between body and clothing, great lighting and competent reflection detail on skin, fabric and metal. This piece is also one of the more tamer stylistic exaggerations normally associated with this artist."

I've refined the message several times but I'm not getting any luck: Could it be limit length? Restricted characters? Formatting issues? I haven't a clue.

the 'create new artist' link on the upload page will frequently (if not always) fetch two pixiv urls, one without a trailing / and one with, the one with the trailing / is wrong, because it goes to an artist not found page. Also it would be nice if it converted the links to https instead of plain http.

DeusExCalamus said:

the 'create new artist' link on the upload page will frequently (if not always) fetch two pixiv urls, one without a trailing / and one with, the one with the trailing / is wrong, because it goes to an artist not found page. Also it would be nice if it converted the links to https instead of plain http.

issue #3078 was created for that back in May, so IDK when that's going to get done.

Squishy said:

I am unable to post this appeal: When I try to submit, nothing happens. It doesn't say if I've hit a cooldown nor is there any error message.

post #2933148

Appeal message (submit attempt without quotations)

"Unable to find anatomy issues - Overall image is well drawn. Anatomically correct, good interaction between body and clothing, great lighting and competent reflection detail on skin, fabric and metal. This piece is also one of the more tamer stylistic exaggerations normally associated with this artist."

I've refined the message several times but I'm not getting any luck: Could it be limit length? Restricted characters? Formatting issues? I haven't a clue.

What browser are you using? Is Javascript enabled? Can you go into the browser developer console (usually by F12) to see if anything gets output when you experience a failure?

BrokenEagle98 said:

issue #3078 was created for that back in May, so IDK when that's going to get done.

What browser are you using? Is Javascript enabled? Can you go into the browser developer console (usually by F12) to see if anything gets output when you experience a failure?

Sorry for the delay, got around to trying again. Here's what I can find out

Browser: Firefox ver56 (always been on this since mid 2017)

Console error: Loading failed for the <script> with source “http://danbooru.donmai.us/assets/application-28943324231aeae9f4dcc69d1add7a50.js”.

Javascripts have not been blocked, nor are ads (yay Gold membership!)

Squishy said:

Sorry for the delay, got around to trying again. Here's what I can find out

Browser: Firefox ver56 (always been on this since mid 2017)

Console error: Loading failed for the <script> with source “http://danbooru.donmai.us/assets/application-28943324231aeae9f4dcc69d1add7a50.js”.

Javascripts have not been blocked, nor are ads (yay Gold membership!)

Yeah, that's a problem since that is THE Javascript for the whole site. If that doesn't load, then much of this site's functionality won't work.

Check all of your addons to make sure that none of them are blocking the script. The following Stack Overflow article indicated it may one of several different addons.

https://stackoverflow.com/questions/45879671/only-on-firefox-loading-failed-for-the-script-with-source

The best way to approach this though would be to start by disabling all Firefox addons, and then incrementally enabling them until you replicate the console error you noted above. Though if disabling all of the addons still can't clear the above error, then more drastic measures might be required, such as resetting Firefox, and if need be reinstalling Firefox.

BrokenEagle98 said:

Yeah, that's a problem since that is THE Javascript for the whole site. If that doesn't load, then much of this site's functionality won't work.

Check all of your addons to make sure that none of them are blocking the script. The following Stack Overflow article indicated it may one of several different addons.

https://stackoverflow.com/questions/45879671/only-on-firefox-loading-failed-for-the-script-with-source

The best way to approach this though would be to start by disabling all Firefox addons, and then incrementally enabling them until you replicate the console error you noted above. Though if disabling all of the addons still can't clear the above error, then more drastic measures might be required, such as resetting Firefox, and if need be reinstalling Firefox.

Thanks, I'll see what I can do. For some reason it's JUST that post where it fails to load.

I do not get that error in any other part of the site; I was able to appeal post #2941566 just now without changing anything, for example.

/posts/2750969
/posts/2883763
and several others

For some reason, I get

This image is unavailable

instead of the image, or even a bit of text saying why the image is unavailable (e.g. no "You need a Gold account" or "The artist requested removal of this image" message)

Cliff_Edge said:

/posts/2750969
/posts/2883763
and several others

For some reason, I get

instead of the image, or even a bit of text saying why the image is unavailable (e.g. no "You need a Gold account" or "The artist requested removal of this image" message)

Are you on Safebooru or have Safe mode enabled in your user settings? Neither of those two posts is rated safe.

Btw, please link to posts like so: post #2750969

kittey said:

Are you on Safebooru or have Safe mode enabled in your user settings? Neither of those two posts is rated safe.

Btw, please link to posts like so: post #2750969

Ah, I see the issue I had. Somehow I was on Safebooru instead of Danbooru. Thank you for your help.