GNOME Bugzilla – Bug 507895
Exporting images with filenames with international characters halts the upload
Last modified: 2018-07-01 08:58:41 UTC
Please describe the problem: If I choose to export (to Web Gallery) a couple of files that are named for example: åäö.jpg ån.jpg This won't work. It will halt the upload. Steps to reproduce: 1. Export image with perhaps an 'å' in it. Actual results: The progress bar will halt at 100% Expected results: It should go on with the next image in queue or say that it's finished Does this happen every time? yes Other information:
The error happens in src/GalleryRemote.cs:557 When uploading a photo with one of that characters inside, Gallery returns some extra response after the common "status, status_text, item_name, auth_token" headers. The extra content is the following: <html><head> <title>501 Method Not Implemented</title> </head><body> <h1>Method Not Implemented</h1> <p>- to / not supported.<br /> </p> <hr> <address>Apache/2.2.4 (Ubuntu) PHP/5.2.3-1ubuntu6.3 Server at 127.0.1.1 Port 80</address> </body></html> Not having any = on the line, the method GetNextLine will return an array with only 1 value, which makes the WriteLine data[1] fail. Some further investigation is needed, because it could be a Gallery [RemotePlugin] problem. Even commenting out the data[1] access, the next picture upload fails with System.Net.WebException: Unhanded exception ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error. Have you ever tried uploading such pictures using GalleryRemote application?
Just did, it worked with GalleryRemote although the filenames was changed to the "html-equivalent" of the international characters. For example, å became å and a file called 'test med allt åäö.jpg' became 'test med allt åäö öö.JPG'.
f-spot is not under active development anymore, has not seen code changes for five years, and saw its last tarball release in the year 2010. Its codebase has been archived: https://gitlab.gnome.org/Archive/f-spot/commits/master Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this ticket (or rather transfer the project to GNOME Gitlab, as GNOME Bugzilla is deprecated) if anyone takes the responsibility for active development again.