23 messages in com.googlegroups.google-picasa-data-apiRe: Google Data API SDK 1.1.0.0 problem?| From | Sent On | Attachments |
|---|---|---|
| Shiv | 06 Oct 2007 08:44 | |
| Ryan Boyd (Google) | 06 Oct 2007 08:58 | |
| Shiv | 06 Oct 2007 09:11 | |
| Shiv | 06 Oct 2007 09:16 | |
| Augustin Calin | 08 Oct 2007 07:59 | |
| Frank Mantek | 08 Oct 2007 08:20 | |
| Augustin Calin | 08 Oct 2007 11:00 | |
| Frank Mantek | 08 Oct 2007 11:07 | |
| Augustin Calin | 08 Oct 2007 11:17 | |
| Shiv | 11 Oct 2007 21:58 | |
| Frank Mantek | 11 Oct 2007 22:49 | |
| Shiv | 14 Oct 2007 13:34 | |
| Frank Mantek | 15 Oct 2007 05:36 | |
| Shiv | 15 Oct 2007 14:54 | |
| Frank Mantek | 16 Oct 2007 00:16 | |
| Shiv | 16 Oct 2007 15:38 | |
| Shiv | 16 Oct 2007 18:44 | |
| Frank Mantek | 17 Oct 2007 01:57 | |
| Shiv | 17 Oct 2007 08:12 | |
| Shiv | 17 Oct 2007 19:37 | |
| Frank Mantek | 18 Oct 2007 01:11 | |
| Ryan Boyd (Google) | 18 Oct 2007 08:08 | |
| Shiv | 19 Oct 2007 06:56 |
| Subject: | Re: Google Data API SDK 1.1.0.0 problem?![]() |
|---|---|
| From: | Frank Mantek (fman...@gmail.com) |
| Date: | 10/17/2007 01:57:28 AM |
| List: | com.googlegroups.google-picasa-data-api |
Can you send me (zipped) a sample solution to reproduce this. I can substitute my credentials, as this should not be account depending. I am a bit puzzled on how that can still happen. The code i changed in simplecontainer.cs should prevent empty attributes (NULL values) to be written out, but in your case they still do....
Frank Mantek Google On Oct 17, 2007, at 3:44 AM, Shiv wrote:
To add, the request/error detailed below is when I try to edit an album. I get a similar error for images too.
Regards, Shiv
On Oct 16, 5:38 pm, Shiv <Shiv...@gmail.com> wrote:
Got the latest version and faced the same error again. Used fiddler to check the transfer and this is returned :
=====
62 [Line 19, Column 180, element media:content] Invalid integer value for attribute: 'height' 0
=====
Line 19 from the request is
<media:content fileSize="" height="" medium="image" type="image/jpeg" url="http://lh5.google.com/john.doe/RkjDqyJ65KE/AAAAAAAAAL4/ lH4hp5y9dxI/hf02.jpg" width="" />
My edit code is identical to yours, though I do not edit immediately after an insert.
Regards, Shiv
On Oct 16, 2:17 am, Frank Mantek <fman...@gmail.com> wrote:
Ok, let's try to figure that out.
I rebuild them again (just to make sure) and also checked in the unittest that i am using. Please pull them again, and make sure that you are using version: 1.1.0.14790, those should be the new ones.
Check phototest.cs in the unittest directory. There is a method "insertphototest" that gets an album, insert the photo, and then modifies the returned entry and updates it. This works for me under windows/mono. Is this similar to your code? Can you trace the wire ? Meaning use Fiddler to see what you are sending when you update and what is returned?
I appreciate your help on this.
Frank Mantek Google On Oct 15, 2007, at 11:54 PM, Shiv wrote:
Hi Frank,
I pulled out the binaries under svn/trunk/clients/cs/lib/ Release/ and encountered the same errors while trying to editing an album.
Regards, Shiv
On Oct 15, 7:37 am, Frank Mantek <fman...@gmail.com> wrote:
I fixed an issue in a base class where the .NET code would save out empty attributes. The fix is that attributes with NULL value won't get saved for those extension elements.
This fixes the issue you are describing for my tests.
The source code for that is in subversion, as well as an updated DLL package (in cs/lib/release...). If you can give that a spin and let me know, i would appreciate it. I want to release a bugfix update this week, so your help in confirming that this issue is solved would be fantastic.
Frank Mantek Google On Oct 14, 2007, at 10:35 PM, Shiv wrote:
Thanks Frank. I am able to add an image now.
Editing albums and images is still failing. I store the Entry, make changes to it and try to update it.
////// Entry.Title.Text = Name; Entry.Summary.Text = Comment; Entry.Update();
///////
throws the following exception.
======
Google.GData.Client.GDataRequestException was unhandled by user code Message="Execution of request failed: http://picasaweb.google.com/data/entry/api/user/john.doe/albumid/ 5118256158364413377/photoid/5120593144559447506/1192230997438707" Source="Google.GData.Client" ResponseString="[Line 22, Column 184, element media:content] Invalid long value for attribute: 'fileSize'"
======
Regards, Shiv
On Oct 12, 12:49 am, Frank Mantek <fman...@gmail.com> wrote:
Have you seen the file:
client/cs/src/unittests/photostest.cs
there is code in there to upload a new file (editing should work identical in that respect).
Frank Mantek Google On Oct 12, 2007, at 6:58 AM, Shiv wrote:
Some quick 2 line samples will be of great help. Just a differential from the already existing samples - that is some specific extras that we need to do in the case of Picasa which are not found in the existing examples ought to be enough. I mean samples for the standard 4 operations (view/create/edit/delete) for both album and image.
I am able to view albums and images and also create albums. Trying to create an image and trying to edit albums/images has not been successful yet. Instead of spending hours on trial and error, the samples would make life easier.
Thanks, Shiv
On Oct 8, 1:18 pm, "Augustin Calin" <augu...@gmail.com> wrote:
No, I didn't know about authsubutil, I'm reading only the chapter Google.Gdata.Photos (PicasaWeb it's about photos so I was thinking it's enough). I was hoping there will be methods like:
Albums GetAlbums(string userName); Photos GetPhotos(string albumName);
I will wait for that Picasa project in samples folder. Meanwhile I will try to figure out reading the other samples for other services.
Thanks, Gusti.
-----Original Message----- From: Goog...@googlegroups.com
I actually don't have a special picasaweb class (like java has). Did you look at the generic authsub documentation? You would use a picasaservice and then just replace the factory class to use authsub.
I checked, and for now i remove the Picasa project from the solution. That sample was not ready for release yet.
Frank Mantek Google On Oct 8, 2007, at 8:00 PM, Augustin Calin wrote:
Thanks Frank for yours fast response! Please, could you also add samples for accessing PicasaWeb? Because, as far as I see, this item is missing from samples folder. Because only reading the chm it's not obvious how can I get a list of albums and photos for an user.
Thank you, Gusti.
yes, you can. i am going to add the project to the subversion repository shortly.
Frank Mantek Google On Oct 8, 2007, at 4:59 PM, Augustin Calin wrote:
Hello, I'm not very sure this is a problem, but in Google Data API SDK.sln (both in .zip and .msi files) there is a missing project: Picasa.
But I think I can use the Google.GData.Photos dll and read the .chm chapter on how I can use it, right?
Gusti.- Hide quoted text -
- Show quoted text -- Hide quoted text -
- Show quoted text -- Hide quoted text -
- Show quoted text -- Hide quoted text -
- Show quoted text -- Hide quoted text -
- Show quoted text -




