GoodForNothing Image Optimizer [Paid] [Deleted]

@Mr. Goodie2Shoes - Since installation, my process logs show a lot (more than 100 pages) of errors of the two types shown below. I don't think I had this kind of error before enabling deferred processing, but I could be wrong about that. Please advise.

Record #73496
Information
Storage Type: Attachment
Storage Content ID: 73667
Status: Error
Error Message: Unable to process attachment.
Error Information
array(5) {
["error_date"] => int(1426427646)
["error_type"] => string(34) "GFNKraken_StorageHandler_Exception"
["file"] => string(42) "library/GFNKraken/StorageHandler/Trait.php"
["line"] => int(16)
["trace_string"] => string(1899) "#0 /home/asabet/public_html/mu-43.com/library/GFNKraken/StorageHandler/Attachment.php(49): GFNKraken_StorageHandler_Abstract->exception(Object(XenForo_Phrase))
#1 /home/asabet/public_html/mu-43.com/library/GFNKraken/Deferred/Compressor.php(68): GFNKraken_StorageHandler_Attachment->process(73496, Array)
#2 /home/asabet/public_html/mu-43.com/library/XenForo/Deferred/Atomic.php(66): GFNKraken_Deferred_Compressor->execute(Array, Array, 7.96738505363, '')
#3 /home/asabet/public_html/mu-43.com/library/XenForo/Model/Deferred.php(294): XenForo_Deferred_Atomic->execute(Array, Array, 7.96747088432, '')
#4 /home/asabet/public_html/mu-43.com/library/XenForo/Model/Deferred.php(428): XenForo_Model_Deferred->runDeferred(Array, 7.96747088432, '', false)
#5 /home/asabet/public_html/mu-43.com/library/XenForo/Model/Deferred.php(373): XenForo_Model_Deferred->_runInternal(Array, 7.96747279167, '', false)
#6 /home/asabet/public_html/mu-43.com/library/XenForo/ViewRenderer/Abstract.php(352): XenForo_Model_Deferred->run(true, 7.96747279167)
#7 /home/asabet/public_html/mu-43.com/library/XenForo/ViewRenderer/Json.php(147): XenForo_ViewRenderer_Abstract::hasManualDeferredToRun()
#8 /home/asabet/public_html/mu-43.com/library/XenForo/ViewRenderer/Json.php(185): XenForo_ViewRenderer_Json::_addDefaultParams(Array)
#9 /home/asabet/public_html/mu-43.com/library/XenForo/ViewRenderer/Json.php(37): XenForo_ViewRenderer_Json::jsonEncodeForOutput(Array)
#10 /home/asabet/public_html/mu-43.com/library/XenForo/FrontController.php(597): XenForo_ViewRenderer_Json->renderRedirect(4, 'http://www.mu-4...', NULL, Array)
#11 /home/asabet/public_html/mu-43.com/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_Redirect), Object(XenForo_ViewRenderer_Json), Array)
#12 /home/asabet/public_html/mu-43.com/admin.php(13): XenForo_FrontController->run()
#13 {main}"
}

Record #19384
Information
Storage Type: Attachment
Storage Content ID: 19610
Status: Error
Error Message: API credentials not set.
Error Information
array(5) {
["error_date"] => int(1426419294)
["error_type"] => string(17) "XenForo_Exception"
["file"] => string(46) "library/GFNKraken/ImageCompressor/KrakenIO.php"
["line"] => int(112)
["trace_string"] => string(2083) "#0 /home/asabet/public_html/photographerslounge.org/library/GFNKraken/ImageCompressor/KrakenIO.php(40): GFNKraken_ImageCompressor_KrakenIO->_getDefaultUploadParameters()
#1 /home/asabet/public_html/photographerslounge.org/library/GFNKraken/ImageCompressor/Abstract.php(94): GFNKraken_ImageCompressor_KrakenIO->__construct()
#2 /home/asabet/public_html/photographerslounge.org/library/GFNKraken/ImageCompressor/Abstract.php(70): GFNKraken_ImageCompressor_Abstract::_create('GFNKraken_Image...')
#3 /home/asabet/public_html/photographerslounge.org/library/GFNKraken/ImageCompressor/Abstract.php(22): GFNKraken_ImageCompressor_Abstract::create(3)
#4 /home/asabet/public_html/photographerslounge.org/library/GFNKraken/StorageHandler/Trait.php(34): GFNKraken_ImageCompressor_Abstract::compress('/home/asabet/pu...')
#5 /home/asabet/public_html/photographerslounge.org/library/GFNKraken/StorageHandler/Attachment/Default.php(26): GFNKraken_StorageHandler_Attachment_Abstract->_compress('/home/asabet/pu...')
#6 /home/asabet/public_html/photographerslounge.org/library/GFNKraken/StorageHandler/Attachment.php(43): GFNKraken_StorageHandler_Attachment_Default->process(Array)
#7 /home/asabet/public_html/photographerslounge.org/library/GFNKraken/Deferred/Compressor.php(68): GFNKraken_StorageHandler_Attachment->process(19384, Array)
#8 /home/asabet/public_html/photographerslounge.org/library/XenForo/Deferred/Atomic.php(66): GFNKraken_Deferred_Compressor->execute(Array, Array, 7.99989461899, '')
#9 /home/asabet/public_html/photographerslounge.org/library/XenForo/Model/Deferred.php(294): XenForo_Deferred_Atomic->execute(Array, Array, 7.99999785423, '')
#10 /home/asabet/public_html/photographerslounge.org/library/XenForo/Model/Deferred.php(428): XenForo_Model_Deferred->runDeferred(Array, 7.99999785423, '', false)
#11 /home/asabet/public_html/photographerslounge.org/library/XenForo/Model/Deferred.php(373): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#12 /home/asabet/public_html/photographerslounge.org/deferred.php(23): XenForo_Model_Deferred->run(false)
#13 {main}"
}
 
@Mr. Goodie2Shoes - Since installation, my process logs show a lot (more than 100 pages) of errors of the two types shown below. I don't think I had this kind of error before enabling deferred processing, but I could be wrong about that. Please advise.

Okay, now I get it... this is happening because of something like this: The image is queued and a deferred process created but the attachment hasn't been associated with the content type as the user hasn't "saved" the content. And the deferred process is being called by another visitor and thus getting this logged. This is mainly a coding error, I'll have to work around it... :)

I did find a work around on it which I was going to publish... then this happened:
I have been doing all my work on my only workstation that I bought over 7 years ago and I was actually planning to buy a new one from the funds I was going to make from selling the product. But unfortunately, my computer died two days ago and now all my works are on hold.

I have lost the database which was in my primary drive that crashed but the source files are in my secondary drive. I have a backup which were a week old or so... so going to create them once I am out of this predicament :)
 
I did find a work around on it which I was going to publish... then this happened:


I have lost the database which was in my primary drive that crashed but the source files are in my secondary drive. I have a backup which were a week old or so... so going to create them once I am out of this predicament :)

In the meanwhile, can I just disable the deferred processing? Also, does that explain both of the error types I posted or just one of them?
 
kraken.io module is not enabled.
ahhh... okay, I actually can't see don't have access to the source code so can't make any suggestion...

But this is completely harmless as looking at the stack trace I get the gist that its only happening to GIF and PNG which would throw an error "No compressor found." nonetheless. :)
 
ahhh... okay, I actually can't see don't have access to the source code so can't make any suggestion...

But this is completely harmless as looking at the stack trace I get the gist that its only happening to GIF and PNG which would throw an error "No compressor found." nonetheless. :)

What happens on the user side? Do they see an error?
 
@Mr. Goodie2Shoes - If I use this addon to convert embedded/hotlinked images to attachments, would GFN Kraken process those images in real time? Or could I run GFN Kraken occasionally (eg, once monthly) to process all the unprocessed images while leaving alone the ones which previously had been processed?
 
@Mr. Goodie2Shoes - If I use this addon to convert embedded/hotlinked images to attachments, would GFN Kraken process those images in real time? Or could I run GFN Kraken occasionally (eg, once monthly) to process all the unprocessed images while leaving alone the ones which previously had been processed?
I looks like the add-on does not follow the "regular" way to add the attachments so Kraken wont be able to process them the regular way.
And yes, you can run the deferred the task and the already processed ones will be skipped ;)
 
I looks like the add-on does not follow the "regular" way to add the attachments so Kraken wont be able to process them the regular way.
And yes, you can run the deferred the task and the already processed ones will be skipped ;)

If I run "Rebuild Caches -> Rebuild Attachments (Compress/Optimize)" will it skip the already processed ones or will it take a very long time like it did the first time?
 
If I run "Rebuild Caches -> Rebuild Attachments (Compress/Optimize)" will it skip the already processed ones or will it take a very long time like it did the first time?
The first deferred task will look into all the rows for attachments and insert those that do not exists in the process log. That will take roughly about the same time... (which is a couple of minutes)
And the second deferred task that will be called once inserting are done will be a lot faster as only a couple of hundreds (or even less) will be processed this time :D
 
The first deferred task will look into all the rows for attachments and insert those that do not exists in the process log. That will take roughly about the same time... (which is a couple of minutes)
And the second deferred task that will be called once inserting are done will be a lot faster as only a couple of hundreds (or even less) will be processed this time :D

But I don't have to worry about things getting compressed twice and losing quality, eg 90% of 90%, right?
 
Back
Top Bottom