Bug 234395 - Unable to get list of albums
Summary: Unable to get list of albums
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-Google (show other bugs)
Version: unspecified
Platform: Gentoo Packages Unspecified
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-14 23:51 UTC by Ian Hubbertz
Modified: 2018-09-03 21:26 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Hubbertz 2010-04-14 23:51:03 UTC
Version:           1.2.0 (using KDE 4.4.1)
Installed from:    Gentoo Packages

Picasaweb does not find the list of albums for my account.

Login is ok, but then it shows

"Aufruf von Picasaweb fehlgeschlagen: Die Liste der Fotosätze kann nicht abgefragt werden."
(Translated: Call to Picasaweb failed: List of photo-sets [album?] can not be queried).

The Log to stdout/stderr shows:

digikam(9870)/kio (Slave) KIO::Slave::createSlave: createSlave "http" for KUrl("http://picasaweb.google.com/data/feed/api/user/ian%2540hubbertz.de")  


Maybe this is wrong, my user-account is "ian@hubbertz.de" - it seems the @ is quoted to %40, than the % is quoted to %25. ?!
Comment 1 Ian Hubbertz 2010-04-14 23:56:41 UTC
TCP stream dump (wireshark)

GET /data/feed/api/user/ian%2540hubbertz.de HTTP/1.1

Host: picasaweb.google.com

Connection: Keep-Alive

User-Agent: Mozilla/5.0 (compatible; Konqueror/4.4; Linux) KHTML/4.4.0 (like Gecko)

Accept: text/html, image/jpeg;q=0.9, image/png;q=0.9, text/*;q=0.9, image/*;q=0.9, */*;q=0.8

Accept-Encoding: x-gzip, x-deflate, gzip, deflate

Accept-Charset: utf-8, utf-8;q=0.5, *;q=0.5

Accept-Language: de, en-US, en

Cookie: _rtok=yyyyyyyyyyyyyyyyy; S=photos_html=zzzzzzzzzzzzzzzzz
Authorization: GoogleLogin auth=xxxxxxxxxxx


HTTP/1.1 404 Not Found

Content-Type: text/html; charset=UTF-8

Content-Encoding: gzip

Transfer-Encoding: chunked

Date: Wed, 14 Apr 2010 21:54:06 GMT

Cache-control: private, must-revalidate, max-age=0

X-Content-Type-Options: nosniff

X-Frame-Options: SAMEORIGIN

Server: GSE



A

..........

42

..KL.IU(.WH..KQ(-N-R(.,.PH.M..Q.L.S51.(MJJ-*..KIuH...%.......9:...

0
Comment 2 Ian Hubbertz 2010-04-15 01:03:49 UTC
I replaced
    //url.addPath("/user/" + QUrl::toPercentEncoding(username));
by
    url.addPath("/user/" + username);

in picasawebtalker.cpp:227. Now downloading the album list is fine, but uploading foto etc. is still broken (same problem).

Now I can see in Wireshark that the Username is not enquoted at all, so it does not seem that the problem was that toPercentEncoding was called twice... ?!
Comment 3 Jens Mueller 2010-04-15 07:44:52 UTC
Ian,

the problem has been fixed in trunk. So please eighter use trunk or apply the full patch from on #230201 your own.

Regards, Jens

*** This bug has been marked as a duplicate of bug 230201 ***
Comment 4 caulier.gilles 2018-09-03 21:26:10 UTC
Not reproducible with 6.0.0