Trados Studio 2019 plugin database file not accessible on network path

Hello,

we are using SDL Trados Studio 2019 SR2 - 15.2.8.3007 on Windows 10 22H2.

We cannot start Trados Studio 2019 if the "Qualitivity" plugin is installed. The database files are created in the "Documents" folder, which is a network path. According to the following, the error can be caused by a bug in sqlite3:
https://gateway.rws.com/csm?id=kb_article_view&sysparm_article=KB0038037

We cannot change the documents folder to a local path. What else can we do?

This is the error message:

<SDLErrorDetails time="07.12.2022 17:25:13">
  <ErrorMessage>Failed to initialize view 'QualitivityViewController'.</ErrorMessage>
  <Exception>
    <Type>Sdl.Desktop.Platform.StudioException, Sdl.Desktop.Platform, Version=15.2.0.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888</Type>
    <HelpLink />
    <Source>Sdl.Desktop.Platform</Source>
    <HResult>-2146233088</HResult>
    <StackTrace><![CDATA[   bei Sdl.Desktop.Platform.Implementation.StudioWindow.EnsureViewSite(IViewReference viewReference)
   bei Sdl.Desktop.Platform.Implementation.StudioWindow.GetController(String viewId)
   bei Sdl.Desktop.IntegrationApi.Internal.ExtensionBuilders.AbstractViewControllerBuilder.Build(IExtension extension, Object defaultInstance, ExtensionArguments arguments)
   bei Sdl.Core.PluginFramework.Integration.ExtensionsRepository.AddExtension[TResult](IExtension extension, ExtensionArguments arguments, Func`4 instanceCreator)
   bei Sdl.Core.PluginFramework.Integration.ExtensionBuilderFactory.Build[TResult](IExtension extension, ExtensionArguments arguments, Boolean useCache)
   bei Sdl.Core.PluginFramework.Integration.ExtensionBuilderFactory.<>c__DisplayClass4_0`2.<Build>b__0(IExtension extension)
   bei System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   bei System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   bei System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   bei Sdl.Core.PluginFramework.Integration.ExtensionBuilderFactory.Build[TAttribute,TResult](ExtensionArguments arguments, Boolean useCache)
   bei Sdl.Core.PluginFramework.Integration.ExtensionsFactory.Create[TAttribute,TResult](ExtensionArguments arguments, Boolean useCache)
   bei Sdl.Desktop.Platform.Implementation.StudioWindow.Init(IEventAggregator eventAggregator)
   bei Sdl.Desktop.Platform.Implementation.Studio.CreateWindowInternal(Boolean setActive, IEventAggregator eventAggregator)
   bei Sdl.Desktop.Platform.Implementation.Studio.Run(ISplashScreen splashScreen, IEventAggregator eventAggregator)
   bei Sdl.TranslationStudio.Application.Launcher.RunApplication()]]></StackTrace>
    <InnerException>
      <Type>System.Data.SQLite.SQLiteException, System.Data.SQLite, Version=1.0.111.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139</Type>
      <ResultCode>CantOpen</ResultCode>
      <ErrorCode>14</ErrorCode>
      <HelpLink />
      <Source>System.Data.SQLite</Source>
      <HResult>-2147481601</HResult>
      <StackTrace><![CDATA[   bei System.Data.SQLite.SQLite3.Open(String strFilename, String vfsName, SQLiteConnectionFlags connectionFlags, SQLiteOpenFlagsEnum openFlags, Int32 maxPoolSize, Boolean usePool)
   bei System.Data.SQLite.SQLiteConnection.Open()
   bei Sdl.Community.TM.Database.Query.InitializeSettings(String databasePath, List`1 viewSettings, List`1 backupSettings, List`1 generalSettings, List`1 trackerSettings)
   bei Sdl.Community.Qualitivity.Panels.Main.QualitivityViewController.Initialize(IViewContext context)
   bei Sdl.Desktop.IntegrationApi.AbstractViewController.Sdl.Desktop.IntegrationApi.Internal.IViewController.Initialize(IViewContext context)
   bei Sdl.Desktop.IntegrationApi.Internal.Adaptors.InternalDockingViewAdaptor.OnInit(IViewSite site, ISettingsGroup settings)
   bei Sdl.Desktop.Platform.AbstractView.Init(IViewSite site, ISettingsGroup settings)
   bei Sdl.Desktop.Platform.Implementation.StudioWindow.EnsureViewSite(IViewReference viewReference)]]></StackTrace>
    </InnerException>
  </Exception>
  <Environment>
    <ProductName>SDL Trados Studio</ProductName>
    <ProductVersion>15.0.0.0</ProductVersion>
    <EntryAssemblyFileVersion>15.2.8.3007</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 10 Enterprise</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1031</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>DOLMAIN\user</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>PCNAME</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>16441396 MB</PhysicalMemory>
  </Environment>
</SDLErrorDetails>


Regards, Daniel

emoji
Parents Reply
  • Hi  ,

    I have prepared a new release of Qualitivity with changes that should unblock your team in overriding the default system paths that users don't have authorization to access from your domain.  The release version is 5.1.6.0 (Studio 2022); it's currently in QA so might be a few days before it is officially released on the AppStore.

    The changes I have applied are only applicable for the version that supports Trados Studio 2022, so if you need these changes applied to an earlier release of Trados Studio, then I suggest to review the commits that I have applied (underneath) and apply them to the specific version you are working with (e.g. Trados Studio 2021, 2019 etc...).  All of the source code is available from the Github, RWS community, github.com/.../Sdl-Community

    Updates:

    Details:
    Starting with this latest release, a new configuration file 'Qualitivity.dll.config' is unpacked in plugins folder (...\Trados\Trados Studio\17\Plugins\Unpacked\Qualitivity\Qualitivity.dll.config) when you load the plugin in Trados Studio. The configuration file enables the user to override the default system paths for MyDocumentsPath & ApplicationDataPath
    Note: It is possible to specify the same folder for both.  If the folder/s specified are empty or not valid, then the default system path/s are used.

    Example: (Qualitivity.dll.config)

    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
     <appSettings>
      <add key="MyDocumentsPath" value="C:\Temp\" />
      <add key="ApplicationDataPath" value="C:\Temp\" />
     </appSettings>
    </configuration> 

    let me know how it goes,

    emoji
Children