FlickrNet.ParsingException: Unknown element: publiceditability

Nov 25, 2010 at 1:28 AM

Hello,

It's the first time using the tool, and when I found it online it looked very cool. When I try to do my first synch with Flickr, I get the following error (From the log)

FlickrMetadataSynchr.exe Error: 0 : Yorrick.FlickrMetadataSynchr.Flickr.FlickrHelperException: Could not fetch photo info from Flickr.
(Unknown element: publiceditability) ---> FlickrNet.ParsingException: Unknown element: publiceditability
   at FlickrNet.UtilityMethods.CheckParsingException(XmlReader reader) in C:\Sources\FlickrNet-78452\FlickrNet\UtilityMethods.cs:line 483
   at FlickrNet.PhotoInfo.LoadElements(XmlReader reader) in C:\Sources\FlickrNet-78452\FlickrNet\PhotoInfo.cs:line 370
   at FlickrNet.PhotoInfo.FlickrNet.IFlickrParsable.Load(XmlReader reader) in C:\Sources\FlickrNet-78452\FlickrNet\PhotoInfo.cs:line 312
   at FlickrNet.Flickr.GetResponse[T](Dictionary`2 parameters, TimeSpan cacheTimeout) in C:\Sources\FlickrNet-78452\FlickrNet\Flickr_GetResponse.cs:line 92
   at FlickrNet.Flickr.GetResponseCache[T](Dictionary`2 parameters) in C:\Sources\FlickrNet-78452\FlickrNet\Flickr_GetResponse.cs:line 22
   at FlickrNet.Flickr.PhotosGetInfo(String photoId, String secret) in C:\Sources\FlickrNet-78452\FlickrNet\Flickr_Photos.cs:line 339
   at Yorrick.FlickrMetadataSynchr.Flickr.AsyncPhotoInfoFetcher.ProcessItem(Photo metadata) in C:\Sources\FlickrMetadataSynchr\Main\FlickrMetadataSynchr\Flickr\AsyncPhotoInfoFetcher.cs:line 43
   at Yorrick.FlickrMetadataSynchr.Flickr.AsyncFlickrWorker`2.StartWork() in C:\Sources\FlickrMetadataSynchr\Main\FlickrMetadataSynchr\Flickr\AsyncFlickrWorker.cs:line 148
   --- End of inner exception stack trace ---
   at Yorrick.FlickrMetadataSynchr.Flickr.FlickrHelper.ProcessMetadataWithMultipleWorkers[TIn,TOut](IList`1 metadataInList, EventHandler`1 progressCallback, CreateAsyncFlickrWorker`2 workerFactoryMethod) in C:\Sources\FlickrMetadataSynchr\Main\FlickrMetadataSynchr\Flickr\FlickrHelper.cs:line 1004
   at Yorrick.FlickrMetadataSynchr.Flickr.FlickrHelper.GetPhotoInfo(IList`1 photoList, EventHandler`1 progressCallback) in C:\Sources\FlickrMetadataSynchr\Main\FlickrMetadataSynchr\Flickr\FlickrHelper.cs:line 521
   at Yorrick.FlickrMetadataSynchr.Sync.SynchronizationWorker.GetFlickrPictureSyncMetadata(IList`1 flickrPhotoList, Int32 startProgress, Int32 targetProgress) in C:\Sources\FlickrMetadataSynchr\Main\FlickrMetadataSynchr\Sync\SynchronizationWorker.cs:line 822
   at Yorrick.FlickrMetadataSynchr.Sync.SynchronizationWorker.FetchPictureMetadata(Int32 currentProgress, Int32 targetProgress, IList`1& flickrPictureSyncMetadataList, IList`1& localPictureSyncMetadataList) in C:\Sources\FlickrMetadataSynchr\Main\FlickrMetadataSynchr\Sync\SynchronizationWorker.cs:line 575
   at Yorrick.FlickrMetadataSynchr.Sync.SynchronizationWorker.DoSync() in C:\Sources\FlickrMetadataSynchr\Main\FlickrMetadataSynchr\Sync\SynchronizationWorker.cs:line 401
   at Yorrick.FlickrMetadataSynchr.Sync.SynchronizationWorker.DoSync(Object sender, DoWorkEventArgs e) in C:\Sources\FlickrMetadataSynchr\Main\FlickrMetadataSynchr\Sync\SynchronizationWorker.cs:line 939
    DateTime=2010-11-25T02:13:27.2679126Z

 

 

Any ideas?

Coordinator
Nov 26, 2010 at 12:08 PM

I can repro this problem. Apparently Flickr changed their XML format somewhere between my last release (October 28) and a couple of days ago. I will see if I can fix it quickly. Thanks for reporting this issue!

Coordinator
Nov 26, 2010 at 12:45 PM

The issue has been fixed. I've uploaded a new version 1.4.1.0. Please give that version a try.