Saving new album shows errors in picasa.module

design.er - August 21, 2009 - 02:08
Project:Picasa
Version:6.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Issue tags:albums, Picasa
Description

Hello,

when I try to save a new Album I receive the following error:

* Google reported an error. This album was not created properly Bad Request
* warning: Invalid argument supplied for foreach() in /var/www/vhosts/mysite.tld/subdomains/drupal/httpdocs/sites/all/modules/picasa/picasa.module on line 106.
* warning: Invalid argument supplied for foreach() in /var/www/vhosts/mysite.tld/subdomains/drupal/httpdocs/sites/all/modules/picasa/picasa.module on line 124.

The watchdog delivers more info:

Google reported an error. stdClass Object ( [request] => POST /data/feed/api/user/default HTTP/1.0 Host: picasaweb.google.com User-Agent: Drupal (+http://drupal.org/) Content-Length: 897 Authorization: AuthSub token="COLH7NqtFhCE-djD-_____8B" Content-Type: application/atom+xml; charset=UTF-8 <?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://www.w3.org/2005/Atom' xmlns:exif='http://schemas.google.com/photos/exif/2007' xmlns:geo='http://www.w3.org/2003/01/geo/wgs84_pos#' xmlns:gml='http://www.opengis.net/gml' xmlns:georss='http://www.georss.org/georss' xmlns:batch='http://schemas.google.com/gdata/batch' xmlns:media='http://search.yahoo.com/mrss/' xmlns:gphoto='http://schemas.google.com/photos/2007'><title type='text'>asdf</title><summary type='text'><p>asdf</p></summary><category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/photos/2007#album'></category><gphoto:location>Erlangen</gphoto:location><gphoto:access>public</gphoto:access><gphoto:timestamp>1250798400000</gphoto:timestamp><gphoto:commentingEnabled>true</gphoto:commentingEnabled><georss:where><gml:Point><gml:pos>49.599937 11.0063</gml:pos></gml:Point></georss:where></entry> [data] => Error trying to parse element. [headers] => Array ( [Set-Cookie] => _rtok=tSFqBvPL943y; Path=/; HttpOnly,S=photos_html=cR_Bwbz_QGpLkU4yWevs0A; Domain=.google.com; Path=/; HttpOnly [Content-Type] => text/html; charset=UTF-8 [Date] => Fri, 21 Aug 2009 02:01:45 GMT [Cache-control] => private, must-revalidate, max-age=0 [X-Content-Type-Options] => nosniff [Server] => GFE/2.0 ) [error] => Bad Request [code] => 400 )

After I have saved the node I tried to create a photo and could not see the created album in the dropdown-list of available albums.

Please let me know if you need more information.

Stefan

#1

richmahn - October 9, 2009 - 17:27

I get the same error. Using all the latest devel releases of Picasa and google_auth. No one has an answer?

 
 

Drupal is a registered trademark of Dries Buytaert.