I've read the posts from early/mid 2007 on the [initial] inability to
write directly to the "Blogger" album in Picasa (either through the
web UI or the API).

I'm basically just pinging the issue to see if anything has changed
since that time.

What I've observed, using the API, is that I am able to execute a
PicasaService.Insert into any non-"Blogger" album without error; I am
also able to effect the insertion of my new image into the "Blogger"
album using PicasaService.Insert, but there is an exception in the
process resulting in my inability to retrieve the resulting PhotoEntry
instance that should be returned (to repeat, the new image *is*
inserted into the Picasa "Blogger" web album, but the function still
throws an exception).

To summarize, using the .Net API library for Picasa, I can:
* enumerate albums
* enumerate photos within a given album (with or without custom query
predicates)
* create a new album
* insert images into any non-"Blogger" album
* update images in any non-"Blogger" album
* delete images in any non-"Blogger" album
* insert images into a "Blogger" album [with exceptions]
(Note: I have not attempted to update to or delete from the "Blogger"
album)

The exception messages read:
(outer exception):"Execution of request failed:
http://picasaweb.google.com/data/feed/api/user/[user name]/albumid/
[albumId]"
(inner exception): "The underlying connection was closed: The
connection was closed unexpectedly."

...and the full stack trace (outer + inner exceptions) is as follows:
   at System.Net.HttpWebRequest.GetResponse()
   at Google.GData.Client.GDataRequest.Execute()   at
Google.GData.Client.GDataGAuthRequest.Execute(Int32 retryCounter)
   at Google.GData.Client.GDataGAuthRequest.Execute()
   at Google.GData.Client.MediaService.EntrySend(Uri feedUri, AtomBase
baseEntry, GDataRequestType type, AsyncSendData data)
   at Google.GData.Client.Service.Insert(Uri feedUri, AtomEntry
newEntry, AsyncSendData data)
   at Google.GData.Client.Service.internalInsert(Uri feedUri,
AtomEntry newEntry)
   at Google.GData.Photos.PicasaService.Insert[TEntry](Uri feedUri,
TEntry entry)
   at GoogleConnect.Picasa.CreateAlbumPost(PicasaService
picasaService, String albumId, String filePath) in C:\_Dev\SampleCode
\GoogleConnect\Picasa.cs:line 52
   at GoogleAPITests.Program.Main(String[] args) in C:\_Dev\SampleCode
\GoogleAPITests\Program.cs:line 44
   at System.AppDomain._nExecuteAssembly(Assembly assembly, String[]
args)
   at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence
assemblySecurity, String[] args)
   at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly
()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

Thanks a lot for any help you can offer.  The Data API is a tremendous
aid to application development and it's much appreciated!

Jared Wennstrom

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Picasa Web Albums API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Picasa-Data-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to