Unable to add Gallery2 gallery to F-Spot

Bug #544393 reported by UrsusExplorans
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
f-spot (Ubuntu)
New
Low
Unassigned

Bug Description

Binary package hint: f-spot

It is impossible to problem access Gallery2 (2.3.1) with Remote plugin (1.0.18 and enabled) via F-Spot (0.6.1.5-ubuntu1) on Ubuntu 9.10.

When accessing the Gallery with such information:
gallery name: Gallery
URL: http://mydomain.de/gallery2/
username: admin
password: mypass

F-Spot says, that it cannot connect to a gallery for which the version is unknown. One should check that Remote plugin 1.0.8 or later is installed.

F-Spot started from a terminal with --debug says (when selecting an image):
[Debug 19:13:29.600] open uri = file:///home/juser/Pictures/2002/12/31/DSCN0937.jpg
error parsing 0000:00:00 00:00:00
System.ArgumentOutOfRangeException: Argument is out of range.
Parameter name: Parameters describe an unrepresentable DateTime.
  at System.DateTime..ctor (Int32 year, Int32 month, Int32 day, Int32 hour, Int32 minute, Int32 second, Int32 millisecond) [0x00000]
  at System.DateTime..ctor (Int32 year, Int32 month, Int32 day, Int32 hour, Int32 minute, Int32 second) [0x00000]
  at FSpot.Tiff.DirectoryEntry.DateTimeFromString (System.String dt) [0x00000]
  at FSpot.Tiff.DirectoryEntry.get_ValueAsDate () [0x00000]
  at FSpot.Tiff.Header.SelectDirectory (FSpot.Tiff.ImageDirectory dir, StatementSink sink) [0x00000]

When trying to export the image, it says:
(/usr/lib/f-spot/f-spot.exe:10948): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
Detecting Gallery version
Detected: VersionUnknown
Detecting Gallery version
Detected: VersionUnknown

When extending the URL with /main.php (which exists in the Gallery2 installation), F-Spot pops up the following message:
"The following error was encountered while attempting to log in: Unhandled exception"

In the terminal it says:
(/usr/lib/f-spot/f-spot.exe:10948): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
Detecting Gallery version
Detected: Version2
Gallery created: GalleryRemote.Gallery2
Gallery2: Attempting to login

That is all what happens. The dialog with the login information is still there and in the plugin's maindialog no albums appear.

ProblemType: Bug
Architecture: i386
Date: Mon Mar 22 19:28:32 2010
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: wl nvidia
Package: f-spot 0.6.1.5-0ubuntu1
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-20.58-generic
SourcePackage: f-spot
Uname: Linux 2.6.31-20-generic i686

Revision history for this message
UrsusExplorans (eriedenk) wrote :
description: updated
Changed in f-spot (Ubuntu):
importance: Undecided → Low
Revision history for this message
scott_selberg (sselberg) wrote :

When F-Spot tries to connect, it tries to detect V2 by quering http://.../gallery_remote2.php and is expecting to get back "HTTP/1.0 404 Not Found". Ubuntu is currently returning "HTTP/1.1 404 Not Found" which doesn't match and the check errors out.

To work around. Create gallery_remote2.php in the gallery2 folder with the following

<?php
  header("HTTP/1.0 404 Not Found");
  exit;
?>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.