[ubuntu-mono] [Bug 256698] [NEW] [hardy] Export to Web Gallery 1.5 does not work

Alvaro del Castillo acs at barrapunto.com
Sun Aug 10 19:23:20 BST 2008


Public bug reported:

Binary package hint: f-spot

f-spot: 0.4.3.1-0ubuntu1
gallery: 1.5.4-3

When I try to export a photo after creating a new account in my Web
Gallery (login and user tested using the web interface) F-Spot crashes
with:

Gallery created: GalleryRemote.Gallery1
StatusText : Login successful.
GalleryRemote.GalleryException: Server returned response without Gallery content
  at GalleryRemote.Gallery.findResponse (System.Net.HttpWebResponse response) [0x00000] 
  at GalleryRemote.Gallery.ParseFetchAlbums (System.Net.HttpWebResponse response) [0x00000] 
  at GalleryRemote.Gallery1.FetchAlbums () [0x00000] 
  at G2Export.GalleryExport.PopulateAlbumOptionMenu (GalleryRemote.Gallery gallery) [0x00000] 
  at G2Export.GalleryExport.Connect (G2Export.GalleryAccount selected) [0x00000] 
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
GalleryRemote.GalleryException: Server returned response without Gallery content
  at GalleryRemote.Gallery.findResponse (System.Net.HttpWebResponse response) [0x00000] 
  at GalleryRemote.Gallery.ParseFetchAlbums (System.Net.HttpWebResponse response) [0x00000] 
  at GalleryRemote.Gallery1.FetchAlbums () [0x00000] 
  at G2Export.GalleryExport.PopulateAlbumOptionMenu (GalleryRemote.Gallery gallery) [0x00000] 
  at G2Export.GalleryExport.Connect (G2Export.GalleryAccount selected) [0x00000] 
  at G2Export.GalleryExport.Connect () [0x00000] 
  at G2Export.GalleryExport.Run (IBrowsableCollection selection) [0x00000] 
  at FSpot.Extensions.ExportMenuItemNode.OnActivated (System.Object o, System.EventArgs e) [0x00000] 
  at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr data) [0x00000] 
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at GLib.Signal.voidObjectCallback(IntPtr handle, IntPtr data)
   at GLib.Signal.voidObjectCallback(IntPtr , IntPtr )
   at Gtk.Application.gtk_main()
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Gnome.Program.Run()
   at FSpot.Driver.Main(System.String[] args)


Using wireshark to take a look to the network traffic


>POST /gallery/gallery_remote2.php HTTP/1.1

>Accept-Charset: utf-8;

>User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7)
Gecko/20040626 Firefox/0.9.1

>Content-Type: application/x-www-form-urlencoded

>Content-Length: 60

>Expect: 100-continue

>Connection: keep-alive

>Host: acs.barrapunto.org


<HTTP/1.1 100 Continue


>cmd=login&protocol_version=2.3&uname=acs&password=XXXXXXX
<HTTP/1.1 200 OK

<Date: Sun, 10 Aug 2008 18:07:21 GMT

<Server: Apache/2.2.3 (Debian) DAV/2 SVN/1.4.2 mod_python/3.2.10
Python/2.4.4 PHP/5.2.0-8+etch11 mod_ssl/2.2.3 <OpenSSL/0.9.8c

<X-Powered-By: PHP/5.2.0-8+etch11

<Set-Cookie: GallerySession=3aa789c87ed9e6125ae5f955514b362c; path=/

<Expires: Thu, 19 Nov 1981 08:52:00 GMT

<Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-
check=0

<Pragma: no-cache

<Content-Length: 196

<Keep-Alive: timeout=15, max=100

<Connection: Keep-Alive

<Content-Type: text/plain


<#__GR2PROTO__
<debug_album=
<debug_gallery_version=1.5.4-debian1
<debug_user=acs
<debug_user_type=Gallery_User
<debug_user_already_logged_in=
<server_version=2.15
<status=0
<status_text=Login successful.
>POST /gallery/gallery_remote2.php HTTP/1.1

>Accept-Charset: utf-8;

>User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7)
Gecko/20040626 Firefox/0.9.1

>Content-Type: application/x-www-form-urlencoded

>Content-Length: 37

>Expect: 100-continue

>Host: acs.barrapunto.org

>Cookie:
GallerySession=3aa789c87ed9e6125ae5f955514b362c;$Path=/;$Domain=acs.barrapunto.org


>cmd=fetch-albums&protocol_version=2.3
<HTTP/1.1 100 Continue


<HTTP/1.1 200 OK

<Date: Sun, 10 Aug 2008 18:07:21 GMT

<Server: Apache/2.2.3 (Debian) DAV/2 SVN/1.4.2 mod_python/3.2.10
Python/2.4.4 PHP/5.2.0-8+etch11 mod_ssl/2.2.3 <OpenSSL/0.9.8c

<X-Powered-By: PHP/5.2.0-8+etch11

<Expires: Thu, 19 Nov 1981 08:52:00 GMT

<Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-
check=0

<Pragma: no-cache

<Content-Length: 0

<Content-Type: text/plain


>POST /gallery/gallery_remote2.php HTTP/1.1

>Accept-Charset: utf-8;

>User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7)
Gecko/20040626 Firefox/0.9.1

>Content-Type: application/x-www-form-urlencoded

>Content-Length: 37

>Expect: 100-continue

>Host: acs.barrapunto.org

>Cookie:
GallerySession=3aa789c87ed9e6125ae5f955514b362c;$Path=/;$Domain=acs.barrapunto.org


>cmd=fetch-albums&protocol_version=2.3
<HTTP/1.1 100 Continue


<HTTP/1.1 200 OK

<Date: Sun, 10 Aug 2008 18:07:22 GMT

<Server: Apache/2.2.3 (Debian) DAV/2 SVN/1.4.2 mod_python/3.2.10
Python/2.4.4 PHP/5.2.0-8+etch11 mod_ssl/2.2.3 <OpenSSL/0.9.8c

<X-Powered-By: PHP/5.2.0-8+etch11

<Expires: Thu, 19 Nov 1981 08:52:00 GMT

<Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-
check=0

<Pragma: no-cache

<Content-Length: 0

<Content-Type: text/plain

** Affects: f-spot (Ubuntu)
     Importance: Undecided
         Status: New

-- 
[hardy] Export to Web Gallery 1.5 does not work
https://bugs.launchpad.net/bugs/256698
You received this bug notification because you are a member of MOTU Mono
Team, which is subscribed to f-spot in ubuntu.



More information about the Ubuntu-mono mailing list