After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 608281 - F-Spot "Viewer" crash when using --view %U
F-Spot "Viewer" crash when using --view %U
Status: RESOLVED WONTFIX
Product: f-spot
Classification: Other
Component: General
0.6.1
Other Linux
: Normal critical
: ---
Assigned To: F-spot maintainers
F-spot maintainers
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2010-01-27 18:50 UTC by Pedro Villavicencio
Modified: 2018-07-01 08:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Catch exceptions in URI creation. (955 bytes, patch)
2010-03-18 00:44 UTC, Christopher Halse Rogers
needs-work Details | Review

Description Pedro Villavicencio 2010-01-27 18:50:50 UTC
this report has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/f-spot/+bug/513252

"When starting F-Spot in terminal with 'f-spot --view %U'

I get the following error;
(/usr/lib/f-spot/f-spot.exe:6269): GLib-WARNING **: g_set_prgname() called multiple times
[Info 14:34:10.586] Initializing DBus
[Info 14:34:10.704] Initializing Mono.Addins
[Info 14:34:10.863] Starting new FSpot server (f-spot 0.6.1.5)
[Warn 14:34:10.940] Caught an exception - Invalid URI: The format of the URI could not be determined: %U (in `System')
  at System.Uri..ctor (System.String uriString, Boolean dontEscape) [0x00000]
  at System.Uri..ctor (System.String uriString) [0x00000]
  at FSpot.Utils.UriList.AddUnknown (System.String unknown) [0x00000]
  at FSpot.Driver.Main (System.String[] args) [0x00000]

and gives a fatal error; Invalid URI: The format of the URI could not be determined: %U

An unhandled exception was thrown: Invalid URI: The format of the URI could not be determined: %U

  at System.Uri..ctor (System.String uriString, Boolean dontEscape) [0x00000]
  at System.Uri..ctor (System.String uriString) [0x00000]
  at FSpot.Utils.UriList.AddUnknown (System.String unknown) [0x00000]
  at FSpot.Driver.Main (System.String[] args) [0x00000]
.NET Version: 2.0.50727.1433"
Comment 1 Christopher Halse Rogers 2010-03-18 00:44:54 UTC
Created attachment 156418 [details] [review]
Catch exceptions in URI creation.
Comment 2 Christopher Halse Rogers 2010-03-18 00:45:23 UTC
Here's a patch to catch exceptions in adding URIs like this.  When the user passes an invalid URI to --view, it'll get logged.  If all the URIs given by the user on the command line are invalid, Help () will be displayed.
Comment 3 Maxxer 2010-06-20 09:57:40 UTC
Review of attachment 156418 [details] [review]:

thanks for your contribution, but the patch is now obsolete, as f-spot switched to Hyena parsing code.
if you could update it, it will be merged.
thanks
Comment 4 André Klapper 2018-07-01 08:54:45 UTC
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.