jfrederickson / pidgin-sendscreenshot

Automatically exported from code.google.com/p/pidgin-sendscreenshot
GNU General Public License v2.0
0 stars 0 forks source link

Cannot fetch the URL of your screenshot ! #30

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Attempting to send screenshot as 'HTML Upload'

What is the expected output? What do you see instead?
Instead of an imageshack link, the following error message.

"Cannot fetch the URL of your screenshot !
Regular expression doesn't match (see debug window).
Most likeley 'ImageShack' has been updated..."

Pidgin version : 2.10.2
Purple library version (libpurple) : 2.10.2

Operating System : Vista 32-bit

Please provide any additional information below.

I don't know how to produce a debug log, or I would attach one.

Original issue reported on code.google.com by LostHon...@gmail.com on 21 Mar 2012 at 7:20

GoogleCodeExporter commented 8 years ago
Additional Note: This is (apparently) only with the default selected provider, 
imageshack. I've since changed the setting to imgur and it continues to work 
properly.

Original comment by LostHon...@gmail.com on 21 Mar 2012 at 8:20

GoogleCodeExporter commented 8 years ago
i get the same error on windows xp3. Here is my debug window output:

(09:15:41) gtk-rberger-screenshot: Regexp doesn't match HTTP upload response 

!
Server: ImageShack
Regexp:
\[IMG\](http:\/\/img.*?)\[\/IMG\]
Response:
<links>
<error id="auth_error">You must provide a valid auth token or dev key. see 

http://code.google.com/p/imageshackapi/</error>
</links>

Pidgin version : 2.?.?
Purple library version (libpurple) : Pidgin 2.10.1 (libpurple 2.10.1)

Operating System : Windows XP Profession SP3

Original comment by mdm1...@gmail.com on 1 May 2012 at 2:11

GoogleCodeExporter commented 8 years ago
Looks like the image_hosting_providers.xml file is badly outdated. Only imgur 
and hostingpics work. All others are failing.

I get the same error with PixsUP_(png):

(11:26:58) gtk-rberger-screenshot: Regexp doesn't match HTTP upload response !
Server: PixsUP_(png)
Regexp:
\[img\](http:\/\/www.Pixsup.com\/uploads\/.*)\[\/img\]
Response:
(null)

Freeimagehosting.net also fails but for a different reason:

"Cannot fetch the URL of your screenshot !
Regular expression doesn't match (see debug window).
Most likeley 'Freeimagehosting' has been updated..."

Instead of returning an auth error like ImageShack does, Freeimagehosting 
returns an entire page to the plugin as copied from the debug window (see 
attached html file):

(11:18:18) gtk-rberger-screenshot: Regexp doesn't match HTTP upload response !
Server: Freeimagehosting
Regexp:
.*"(http:\/\/www\.freeimagehosting\.net\/image\.php.*?)".*
Response:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
    <title>FreeImageHosting.net - Upload Image</title>
...
</html>

(see attached html file):

Original comment by mdmy...@gmail.com on 1 May 2012 at 3:36

Attachments: