Error sending telemetry in Studio 2019 (Sdl.SDK.ProjectAutomation.Samples.BatchAnalyze)

I have been using the SDL Project API SDK for a few years, since the 2015 edition.

I amended Samples.BatchAnalyze.exe (that comes with the SDK) to suit my needs, but essentially it is the same beast.

On each Studio upgrade release, I check for compatibility changes, etc. and am now testing for the Studio 2019 release, having updated to the .NETFramework,Version=v4.7.2 build, and added the correct/new 2019 references.

However, I am now getting the following warnings, relating to the Sdl.ProjectApi.AutomaticTasks.TelemetryHelper:

    
2018-07-30 12:17:09,753 [27052] INFO  Sdl.ProjectApi.AutomaticTasks.Conversion.ConversionTask [(null)] - ProcessFile: {PATH_TO_FILE}
2018-07-30 12:17:09,772 [27052] INFO  Sdl.ProjectApi.AutomaticTasks.Conversion.ConversionTask [(null)] - ProcessFile: getting filter manager
2018-07-30 12:17:09,773 [27052] INFO  Sdl.ProjectApi.AutomaticTasks.Conversion.ConversionTask [(null)] - ProcessFile: getting converter
2018-07-30 12:17:09,891 [27052] INFO  Sdl.ProjectApi.AutomaticTasks.Conversion.ConversionTask [(null)] - ProcessFile: checking source language
2018-07-30 12:17:09,891 [27052] INFO  Sdl.ProjectApi.AutomaticTasks.Conversion.ConversionTask [(null)] - ProcessFile: checking target language
2018-07-30 12:17:09,892 [27052] INFO  Sdl.ProjectApi.AutomaticTasks.Conversion.ConversionTask [(null)] - ProcessFile: converting file
2018-07-30 12:17:10,057 [27052] INFO  Sdl.ProjectApi.AutomaticTasks.Conversion.ConversionTask [(null)] - ProcessFile: completed
2018-07-30 12:17:16,489 [27052] WARN  Sdl.ProjectApi.AutomaticTasks.TelemetryHelper [(null)] - SendTelemetricsData: Error occured when sending telemetry
Sdl.Desktop.Platform.Services.ServiceNotAvailableException: The requested service is not available: Sdl.Desktop.Platform.Services.ITelemetryService.
   at Sdl.Desktop.Platform.Implementation.Services.GlobalServiceContext.GetService[T]()
   at Sdl.ProjectApi.AutomaticTasks.TelemetryHelper.SendTelemetricsData(TranslationUnit[] segmentsSearched, SegmentAndSubsegmentSearchResultsMerged[] mergedResults, ProjectCascade searchCascade, TranslationMemorySettings tmSettings)
   ....repeated... 

I cannot find any reference to "Telemetry" in the C# project, under "AutomaticTasks" or elsewhere.

Checking the .dll files in Studio5 vs Studio15 for "Telemetry" in the filename, I found that Studio15 does not have the following files:

  • Sdl.Desktop.ProductTelemetrics.Client.dll
  • Sdl.Desktop.ProductTelemetrics.Common.dll
  • Sdl.Desktop.ProductTelemetrics.Contracts.dll

But I am not sure if this relevant or not...?

Anyone know if this is expected behaviour or if there is something I am missing...?

Thanks in advance

Parents Reply Children
No Data