Bug 150737 - picasawebexport does not use correct album name if special characters present
Summary: picasawebexport does not use correct album name if special characters present
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-Google (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-12 03:30 UTC by Peter Onyisi
Modified: 2018-03-23 11:33 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 0.3.0


Attachments
patch for handling album names with special chars (1.81 KB, patch)
2008-08-19 02:26 UTC, Lukas Krejci
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Onyisi 2007-10-12 03:30:55 UTC
Version:           svn rev 722559 (using KDE KDE 3.5.7)
Installed from:    SuSE RPMs
Compiler:          gcc 4.2.1 
OS:                Linux

The picasawebexport plugin uploads photos correctly to an album only if the "presentation name" of the album is the same as the name used in the URL.  If the album name has a space or other special characters, the two names are different (e.g. "Portland, Oct 2007" -> "PortlandOct2007").  If one tries to upload to such an album, the progress indicator stays stuck at 0% indefinitely.
Comment 1 Darek Borkowski 2008-01-19 21:34:05 UTC
I confirm this bug. The way to omit this problem is to prepare new album in picasa web interface. The album name cannot contain any spaces. In case some album names contain spaces the plugin cannot fetch album names from serwer (the "Not feteched" info is displaed in the album names list instead of actual names).
Comment 2 solsTiCe 2008-02-07 17:45:04 UTC
i confirm this bug too.
but the plugin is able to fetch the album name but removes spaces and letters with  accent like à

and the upload does not happen and the progress bar stays stuck at 0%
Comment 3 caulier.gilles 2008-06-09 08:22:57 UTC
Jain,

With my commit #818665, i think this bug is fixed. 

Can you take a look please ?

Best

Gilles Caulier

Comment 4 Lukas Krejci 2008-08-19 02:26:11 UTC
Created attachment 26930 [details]
patch for handling album names with special chars

Hello everybody,

I'm attaching a patch for the special names handling and also the inability to login for people without a gmail account.

The patch is kind of a hack but I think it is better than nothing.
Instead of using an album's description (a "pretty" name) in the album selection combobox, I've replaced it with the album's name, which is the same "name" appearing in the URLs while browsing picasa web interface. Not as user friendly but at least the albums can be identified and uploaded to.

The second fix included in the patch is ensuring that users with their google account not ending with @gmail.com can still log on. This means that you have to provide the full email address as the username even if your address ends with gmail.com (which you didn't have to before).

Phew, the description is at least ten times bigger than the patch itself.. ;)

Hope this helps and thanks for the absolutely best photomanager in the known universe...
Comment 5 Vardhman 2008-08-27 20:17:56 UTC
I just submitted a patch to upload using the album Id instead of album names, this should fix most of the problem, Can someone reverify this bug ?
Comment 6 caulier.gilles 2008-12-08 08:56:18 UTC
Peter,

This file still valid using kipi-plugins 0.1.6 ?

Gilles Caulier
Comment 7 Luka Renko 2009-03-21 21:19:52 UTC
This bug is fixed in KDE4 0.2.0 release: tested with both accented characters and spaces.