Bug 250564 - Import corrupted pictures with facebook tool (read html files)
Summary: Import corrupted pictures with facebook tool (read html files)
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-Facebook (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: LO normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-08 15:17 UTC by Thomas Richard
Modified: 2018-02-04 13:01 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.12.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Richard 2010-09-08 15:17:57 UTC
Version:           1.2.0 (using KDE 4.4.2) 
OS:                Linux

Some of the pictures i download with the facebook plugin seem to be corrupted. I don't know whether this is digikam's or facebook's fault.

After reading the content of the non working images i suspect this might be facebook's fault. Digikam doesn't provide any kind of error message/retry method to me though.

Reproducible: Sometimes




Content of the file:
<HTML><HEAD>
<TITLE>Gateway Timeout - In read </TITLE>
</HEAD><BODY>
<H1>Gateway Timeout</H1>
The proxy server did not receive a timely response from the upstream server.<P>
Reference&#32;&#35;1&#46;f76e9e5d&#46;1283951705&#46;22676d2d
</BODY></HTML>
Comment 1 Dirk Tilger 2011-06-25 09:51:54 UTC
Hi Thomas,

the error message you're getting is most likely generated by a proxy server between your digikam and Facebook. When the proxy server encounters a connection timeout it has no way to hand this timeout through to the client (digikam), so it generates this error message.

We could in theory check after downloading images, whether the received file is indeed an image.
Comment 2 caulier.gilles 2011-12-22 13:12:23 UTC
Thomas,

This file still valid using kipi-plugins 2.4 ?

Gilles Caulier
Comment 3 caulier.gilles 2015-05-19 10:50:10 UTC
Thomas,

This file still valid using kipi-plugins 4.10.0 ?

Gilles Caulier
Comment 4 caulier.gilles 2015-06-29 17:53:39 UTC
New Kipiplugins 4.11.0 is available :

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?

Gilles Caulier
Comment 5 caulier.gilles 2015-07-21 11:48:52 UTC
Git commit 946a4ed104c954f532efc27061a740b9904e317d by Shourya Singh Gupta.
Committed on 21/07/2015 at 10:37.
Pushed by shouryasinghgupta into branch 'master'.

Facebook up and running now
FIXED-IN: 4.12.0

M  +4    -1    facebook/fbwindow.cpp

http://commits.kde.org/kipi-plugins/946a4ed104c954f532efc27061a740b9904e317d