Infinite Loop Bug: Image Posting with file.txt TJ Version 1.8.2.5

Ask any support / help / issues / problem or question related to TumblingJazz
Post Reply
snibi
Posts: 400
Joined: Thu Sep 17, 2015 6:48 am

Infinite Loop Bug: Image Posting with file.txt TJ Version 1.8.2.5

Post by snibi »

Got a problem posting images on Tj from file.txt.

I tried to post 3 images to 1 account. But it never stops to post, because of an error.
It posts the image. But it appears it didn´t understood it was posted so there we are in a infinite loop.

Code: Select all

Pull posting page with user: * *
Pull: https://www.tumblr.com/new/photo
Posting: 1 for this tumblr post
Post path: *
Image Path: URL valid: *
Successfull uploaded 1 for this tumblr post
Upload meta: Extract posting keys for meta
Channel Id: *
Post for secure form key: Proxy: *
Attempt Extract key from resp: 
Extracted key from resp: *|*
Extracted form key from src: *
Posting meta
Posted Image: http://*.tumblr.com/post/*
Posted Image: http://*.tumblr.com/post/* - * *
Logging processed: -1 
* ERROR: Object reference not set to an instance of an object.
Pausing for: 8
Paused for: 8
i cancel this operation at 6 posted ones:
LOGS ID: 71901
TJ Version 1.8.2.5


here is another try, if the 10x occuring error will break the routine:
i canceled again: It will NOT cancel current operation. it already got 23 posted instead of max action: 3
LOGS ID: 23323
TJ Version 1.8.2.5


restarted server, update to 1.8.2.6, new test
same problem. canceled again at 9 instead of max action: 3
LOGS ID: 27590
TJ Version 1.8.2.6



#NSFW
User avatar
martin@rootjazz
Site Admin
Posts: 34634
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Infinite Loop Bug: Image Posting with file.txt TJ Version 1.8.2.5

Post by martin@rootjazz »

let me check and get you an update
User avatar
martin@rootjazz
Site Admin
Posts: 34634
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Infinite Loop Bug: Image Posting with file.txt TJ Version 1.8.2.5

Post by martin@rootjazz »

All issues fixed: https://rootjazz.com/tumblingjazz/updatetesting.html

My apologies, the issue was caused by a recent update to recording which images were uploaded when you watermark the image (previously the watermarked image CRC hash was stored, not the original image, so as the watermark changes the uniqueness of the image it was uploaded the same image multiple times. Fixing this changed how original images was used, which exposed another bug in uploading from URL which wasn't correctly working with original image either.

The bug was then jumping to another part of code to be handled which bypassed the fail 10 mechanism. That has also been fixed so any other bug in future will trigger the 10 and fail


Nice and easy start to a sunny Saturday morning. I need another coffee.....
snibi
Posts: 400
Joined: Thu Sep 17, 2015 6:48 am

Re: Infinite Loop Bug: Image Posting with file.txt TJ Version 1.8.2.5

Post by snibi »

Many Thanks Martin! Unfortunately it seems on my test here there is still a problem.

It didn't stop at that number i have given at #max upload.

I did processor pause, then it logs but didnt break:

Code: Select all

* That's enough now, stopping....391 / 114
Pausing for: 9
Paused for: 9
Posting: 392/6953
additional note: i used folder upload this time.
edit again: i just tried list.txt upload: its the same: it writes enough stopping, but it does not stop.

It didnt exit post-loop.
LOG ID: 41933
TJ Version 1.8.2.9
hups
Posts: 56
Joined: Thu Jan 07, 2016 11:35 am

Re: Infinite Loop Bug: Image Posting with file.txt TJ Version 1.8.2.5

Post by hups »

hi i have newest tj updatetesting and it do not stop to post even when i set max uploads limit. what to do?
User avatar
martin@rootjazz
Site Admin
Posts: 34634
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Infinite Loop Bug: Image Posting with file.txt TJ Version 1.8.2.5

Post by martin@rootjazz »

update ready in 5 minutes
User avatar
martin@rootjazz
Site Admin
Posts: 34634
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Infinite Loop Bug: Image Posting with file.txt TJ Version 1.8.2.5

Post by martin@rootjazz »

hups
Posts: 56
Joined: Thu Jan 07, 2016 11:35 am

Re: Infinite Loop Bug: Image Posting with file.txt TJ Version 1.8.2.5

Post by hups »

can confirm new 1830 works again,

Thanks for lightspeed repair! :)
User avatar
martin@rootjazz
Site Admin
Posts: 34634
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Infinite Loop Bug: Image Posting with file.txt TJ Version 1.8.2.5

Post by martin@rootjazz »

Thanks for confirming, do let me know any other issues you find
Post Reply