Page 4 of 5

Posted: Tue 11 Dec 2012, 17:14
by radky
Hi chrome307 and RSH,

At times, imgur.com is very busy and the API upload service is overloaded. Typically, the downtime is relatively short. :)

Thanks,
radky

Posted: Tue 11 Dec 2012, 17:24
by RSH
At times, imgur.com is very busy and the API upload service is overloaded. Typically, the downtime is relatively short.
Yes, this may be at times.

I have uploaded earlier today images directly on their web page - which works well. But uploading using the provided API Key doesn't work at the same time.

That's all I can say - currently direct upload still doesn't work.

EDIT:

20:04 GMT+1 (Germany Time) and still not working
21:01 GMT+1 (Germany Time) and still not working
22:07 GMT+1 (Germany Time) and still not working
23:16 GMT+1 (Germany Time) and still not working

So, it looks like we do need a new provided API Key!

Posted: Tue 11 Dec 2012, 19:55
by chrome307
OK thanks for the feedback and explanation guys :)

Posted: Tue 11 Dec 2012, 23:41
by radky
As noted above by RSH, it seems imgur.com has recently switched to API version 3 for direct image uploads.

Consequently, applications designed for the direct upload of images must comply with the more exacting specifications of the OAuth 2.0 protocol for authorization and authentication (password and token generation).

For now, the Imgur hosting option of PupSnap-2.0 is nonfunctional, and may be removed in future releases. :(

radky

Posted: Wed 12 Dec 2012, 22:35
by radky
Hi chrome307,

Please check your PM. Hopefully, the proposed fix for the Image Hosting module will address the requirements of Imgur API version 3.

Thanks

Posted: Thu 13 Dec 2012, 09:08
by chrome307
@ Radky

Your 'fix' works perfectly :)

Thanks again for this great application!

Posted: Fri 14 Dec 2012, 14:38
by RSH
@ Radky

Your 'fix' works perfectly

Thanks again for this great application!
Hi!

Does this mean, the 'fix' will be only available for chrome307, or will it also be published for anyone else?

RSH

Posted: Fri 14 Dec 2012, 14:56
by radky
RSH wrote:
@ Radky

Your 'fix' works perfectly

Thanks again for this great application!
Hi!

Does this mean, the 'fix' will be only available for chrome307, or will it also be published for anyone else?

RSH
Hi RSH,

Sorry for the delay. :)

I'll upload the new PupSnap-2.1 later today after additional testing.

Thanks,
radky

Posted: Fri 14 Dec 2012, 17:53
by chrome307
Looking forward for the update :)

Posted: Sat 15 Dec 2012, 14:54
by radky
PupSnap-2.1
- Restored functionality of the Image Host module by adding compatibility with the new Imgur API 3.

Code: Select all

Notes for the Image Host module:

PupSnap is registered as a non-commercial application with imgur.com, in accordance with API version 3.
As noted in the Imgur FAQ: "The Imgur API uses a credit allocation system to ensure fair distribution of capacity.
Each application can allow approximately 1,250 uploads per day or approximately 12,500 requests per day."

Please go to http://api.imgur.com/#limits and http://api.imgur.com/errorhandling for additional information.

Posted: Sun 16 Dec 2012, 06:14
by RSH
PupSnap-2.1
- Restored functionality of the Image Host module by adding compatibility with the new Imgur API 3.
Hi.

Has it been much work to get a API Key for API 3?

Will you get in trouble, if there would be a excessive use?

I would like to restore this also for my LazImUL, which has had used also the "imgur script". But I don't want to get in trouble.

If LazImUL could be restored, we could have 2500 uploads per day. But I don't want to get in trouble.

RSH

Posted: Sun 16 Dec 2012, 16:06
by radky
RSH wrote:
PupSnap-2.1
- Restored functionality of the Image Host module by adding compatibility with the new Imgur API 3.
Hi.

Has it been much work to get a API Key for API 3?

Will you get in trouble, if there would be a excessive use?

I would like to restore this also for my LazImUL, which has had used also the "imgur script". But I don't want to get in trouble.

If LazImUL could be restored, we could have 2500 uploads per day. But I don't want to get in trouble.

RSH
Hi RSH,

It seems compliance with the new API 3 requires significantly more effort than needed for the prior API versions.

First, you must register your application to receive the Client ID (API key), which identifies your application and grants permissive rights to access Imgur services.

Furthermore, according to the online FAQ, the API indicates each client application must comply with OAuth 2 authentication, which requires additional registration and compliance restrictions.

Overall, registration for API 3 is certainly more involved than registration for the old API 2.

According to the Imgur FAQ, the API 3 is free for non-commercial usage and each client application can allow approximately 1,250 uploads per day. If the daily limit is hit five times in a month, then the application will be blocked for the rest of the month. This should be no problem for PupSnap which has a small usage base, but it could be an issue for popular applications that have heavy upload usage. In such cases, if your (non-commerical) application becomes rate limited, you can contact Imgur and request a white-list status which (if approved) will remove rate limits for your application.

whew!! :D

Posted: Sat 06 Jul 2013, 05:40
by radky
PupSnap-2.2. See main post.
- Added GUI support for the 96-dpi font metrics of Woof-built Puppies effective 2013-03-26.
- Improved GUI checkbox interaction when selecting capture modes (fullscreen, region, window, border).
- Converted combobox widget to comboboxentry.

Posted: Fri 02 Aug 2013, 08:27
by ASRI éducation
I appreciate PupSnap from long time and I use it regularly. This is a lightweight, efficient and user-friendly application.

Together, I have the chance to offer a fun and educational puplet (ASRIedu300 based on Lucid528) that integrates PupSnap 1.6.1.

Today, I wanted to use PupSnap 2.2. But I have a problem.
Any idea?

Cordialement,

Code: Select all

# gtkdialog --version
gtkdialog version 0.7.21 (C) 2004, 2005, 2006, 2007 by Laszlo Pere
# PupSnap 
# 
** ERROR **: gtkdialog: Error in line 77, near token 'string': syntax error

aborting...
/usr/local/PupSnap/PupSnap-bin: line 662:  3683 Abandon                 $GTKDIALOG --center -p PUPSNAP_DIALOG > $WORKDIR/pupsnap.rc

Posted: Fri 02 Aug 2013, 17:43
by radky

Code: Select all

# gtkdialog --version
gtkdialog version 0.7.21 (C) 2004, 2005, 2006, 2007 by Laszlo Pere
# PupSnap
#
** ERROR **: gtkdialog: Error in line 77, near token 'string': syntax error

aborting...
/usr/local/PupSnap/PupSnap-bin: line 662:  3683 Abandon                 $GTKDIALOG --center -p PUPSNAP_DIALOG > $WORKDIR/pupsnap.rc
ASRI éducation,

Today I installed PupSnap-2.2_Scrot-0.8_32Bit.pet in Lucid 528 and everything is working properly on my PC with Language: en_US.

In PupSnap-2.2, line 77 of PupSnap-bin pertains to the DELAY variable, at which point your installation aborts with a syntax error.

To avoid the syntax error, if you have created a gettexted version of PupSnap, make sure to properly escape the quotes of the DELAY variable.

In the same manner, you should escape the quotes of the FILE_TYPE, FILE_QUALITY, FILE_SIZE, FILE_VIEWER and FILE_EDITOR variables.

Please post again if this helps (or does not help). :)

Posted: Fri 09 Aug 2013, 18:15
by Semme
Hi Radky- do you or some other kind soul have a spare copy of v1.8 lay'n around? This would be great..

Posted: Fri 09 Aug 2013, 20:33
by radky
Semme wrote:Hi Radky- do you or some other kind soul have a spare copy of v1.8 lay'n around? This would be great..
Hi Semme,

As you know, PupSnap-1.8 is an old release which uses the combobox widget (now deprecated). If I understand correctly, Thunor no longer supports the old combobox widget in gtkdialog, but he fully supports the newer comboboxentry and comboboxtext widgets. The current PupSnap-2.2 uses the comboboxentry widget.

That said, I do have version 1.8 in my archives and would be happy to send you a copy. Currently, the forum has size restrictions for uploaded files. If you are still interested, please send me a PM and I'll try to upload offsite.

Thanks

Posted: Fri 09 Aug 2013, 20:40
by Semme
Hey 8) >> DONE!

Posted: Thu 29 Aug 2013, 19:22
by radky
PupSnap-2.2.1. See main post.
- Added support for spaces in directory names. (thanks greengeek)
- Removed the inconsistent xdialog folder selector. Added the gtkdialog folder selector.

Works in 3.01 - good for Retro Pupplies

Posted: Sun 22 Sep 2013, 03:33
by darry1966
this is a nice app for screenshots working in 3.01 with gtkdialog 4 from Wary repo installed. Most useful even for older Puppies,