PupSnap-2.6

Paint programs, vector editors, 3d modelers, animation editors, etc.
Message
Author
radky
Posts: 977
Joined: Mon 03 May 2010, 03:13

#61 Post 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
Last edited by radky on Thu 20 Dec 2012, 18:11, edited 1 time in total.

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#62 Post 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!
Last edited by RSH on Tue 11 Dec 2012, 22:16, edited 3 times in total.
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

User avatar
chrome307
Posts: 708
Joined: Thu 15 Jan 2009, 11:00

#63 Post by chrome307 »

OK thanks for the feedback and explanation guys :)

radky
Posts: 977
Joined: Mon 03 May 2010, 03:13

#64 Post 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

radky
Posts: 977
Joined: Mon 03 May 2010, 03:13

#65 Post 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

User avatar
chrome307
Posts: 708
Joined: Thu 15 Jan 2009, 11:00

#66 Post by chrome307 »

@ Radky

Your 'fix' works perfectly :)

Thanks again for this great application!

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#67 Post 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
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

radky
Posts: 977
Joined: Mon 03 May 2010, 03:13

#68 Post 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

User avatar
chrome307
Posts: 708
Joined: Thu 15 Jan 2009, 11:00

#69 Post by chrome307 »

Looking forward for the update :)

radky
Posts: 977
Joined: Mon 03 May 2010, 03:13

#70 Post 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.
[color=blue][b][url=http://www.smokey01.com/radky/PupMates.html]PupMates[/url][/b][/color]

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#71 Post 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
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

radky
Posts: 977
Joined: Mon 03 May 2010, 03:13

#72 Post 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
[color=blue][b][url=http://www.smokey01.com/radky/PupMates.html]PupMates[/url][/b][/color]

radky
Posts: 977
Joined: Mon 03 May 2010, 03:13

#73 Post 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.
[color=blue][b][url=http://www.smokey01.com/radky/PupMates.html]PupMates[/url][/b][/color]

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

#74 Post 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
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]

radky
Posts: 977
Joined: Mon 03 May 2010, 03:13

#75 Post 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). :)
[color=blue][b][url=http://www.smokey01.com/radky/PupMates.html]PupMates[/url][/b][/color]

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#76 Post 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..

radky
Posts: 977
Joined: Mon 03 May 2010, 03:13

#77 Post 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
[color=blue][b][url=http://www.smokey01.com/radky/PupMates.html]PupMates[/url][/b][/color]

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#78 Post by Semme »

Hey 8) >> DONE!

radky
Posts: 977
Joined: Mon 03 May 2010, 03:13

#79 Post 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.
[color=blue][b][url=http://www.smokey01.com/radky/PupMates.html]PupMates[/url][/b][/color]

darry1966

Works in 3.01 - good for Retro Pupplies

#80 Post 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,

Post Reply