2
em Client having issues with an contact image
Problem reported by James McEachern - 8/29/2023 at 1:03 PM
Submitted
I have been trying em Client to see how it works.
Overall very nice, and fast.

But,  I get this error in em Client:

1:43:00 PM user@dmain.ca [Exchange Web Services] MailClient.Storage.Application.OperationException: Synchronizing folder ' user@dmain.ca/Contacts' failed due to the following error: The specified object was not found in the store.
            ---> Microsoft.Exchange.WebServices.Data.ServiceResponseException: The specified object was not found in the store.

And in the EWS log, I get this:

13:42:58.907 [NN.NNN.NNN.NNN,user@dmain.ca,86cc1903-3d35-469f-a0a0-3461eca756b9] [AAMkADY4MWI1M2E5LTQ0ODAtNDQwYy1hY2YyLWRkMjA2ODkzZGVjOAAsAAIAAQCpUxtogEQMRKzy3SBok97IGicAAAAAAADUnQAAAAAAAAAAAAAAAAAAAQAFAAABAAAA]: System.IO.InvalidDataException: Image format not supported.  Please ensure the input file is an image and that a WIC codec capable of reading the image is installed. ---> System.Runtime.InteropServices.COMException: The component cannot be found. (Exception from HRESULT: 0x88982F50)
   at PhotoSauce.Interop.Wic.IWICImagingFactory.CreateDecoderFromStream(IStream pIStream, Guid[] pguidVendor, WICDecodeOptions metadataOptions)
   at PhotoSauce.MagicScaler.WicImageDecoder.createDecoder[T](Func`2 factory, T arg)
   --- End of inner exception stack trace ---
   at PhotoSauce.MagicScaler.WicImageDecoder.createDecoder[T](Func`2 factory, T arg)
   at PhotoSauce.MagicScaler.WicImageDecoder.Load(Stream inStream, PipelineContext ctx)
   at PhotoSauce.MagicScaler.MagicImageProcessor.ProcessImage(Stream imgStream, Stream outStream, ProcessImageSettings settings)
   at MailService.Protocols.Properties.ContactProperties.ContactsHelper.ContactPictureAsJpeg(db_contact_readonly contact)
   at MailService.Protocols.EWS.ItemOperations.GetAttachment.GetContactAttachment(User owner, db_folder_readonly dbFolder, EwsId ewsId, RequestAttachmentIdType attachmentId)
   at MailService.Protocols.EWS.ItemOperations.GetAttachment.Execute(GetAttachmentType request)

Apparently PhotoSauce Library is having an issue.
I am happy to find and correct the image, but this user has 571 contacts.
Hard to tell which one is in error.
em Client manages to import about 369 and stop, and there are contacts from A - Z, so, not imported in alphabetical order.
Outlook says there are 558, so it keeps going after an error.
And the web interface says 571.

Any ideas on how to find the one (or more) in issue?
Cheers,

3 Replies

Reply to Thread
0
Andrew Barker Replied
Employee Post
The image import issue reads like a problem with the image format. We'd be happy to take a look at it, but we'll need more information. Please start a ticket and we'll look into it with you. If nothing else, we can help you identify which contact is causing the problem.

As for Outlook showing a different count than the web interface, are you referring to Outlook for Mac or Outlook on Windows?
Andrew Barker Software Developer SmarterTools Inc. www.smartertools.com
0
James McEachern Replied
Hi Andrew,

I will start a ticket to see what's going on with the em Client connection.
I tried the em Client forum, but it looks like it is not monitored by staff liek here, and 
they just suggested buying support.
I am just trying to see if it is a fit for some clients that use non-Outlook solutions that are difficult.
Seems very capable.

Okay, I was mistaken, the counts are correct, I had the GAL contacts in the count on the 
web interface, which explained the differences. So all good.
But, I noticed that none of the contacts in Outlook show avatars, but the web interface 
and em Client did, for the few it did load.

Is Outlook 365 Version 2309 - 16818.20000 Beta Channel for Windows supposed to show avatars
with EWS?  
I did find 2 contacts that had avatars, and they were both hotmail.com.
And they do not have images from the web interface, so Outlook is scraping them 
from their server

Cheers,
0
Andrew Barker Replied
Employee Post
I believe that version of Outlook should be showing avatars. Keep in mind that Outlook 365 on Windows uses MAPI while eM Client uses EWS, so there may be some minor differences.

If you've mentioned this in your ticket, the support team should help you investigate.
Andrew Barker Software Developer SmarterTools Inc. www.smartertools.com

Reply to Thread