Problem with importing a package

Hi, I'm getting this error (Cannot find part of the path:  ......

I can open it with Trados 2017, with Trados 2020 not. My distributor of Trados cannot find a solution either. Please help.

Trados Studio error message displaying 'Importing package' with a red exclamation mark indicating a problem during the package import process.



Generated Image Alt-Text
[edited by: Trados AI at 12:12 PM (GMT 0) on 4 Mar 2024]
emoji
Parents
  • It would be helpful if you could provide the full error details?  You may be able to get these by clicking on the message an looking for a link to the error details, or simply something that says "details".

    Otherwise, try making sure the path to your package doesn't have any diacritics in it (old bug but worth checking); also make sure your package is on a local folder and not a network or cloud drive somewhere.

    What kind of package was it?

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

  • Hi Paul, it turns out that there was a space in the project file name which apparently caused the problem (diagnosis by LSP software). But still, why does Trados 2017 open the package without problems and the "upgraded" 2021 does not? Here's the error message.

    <?xml version="1.0"?>
    -<SDLErrorDetails time="23.11.2020 11:06:08">
    <ErrorMessage>Nie można odnaleźć części ścieżki „C:\Users\Janusz\Documents\Studio 2021\Projects\ID140308 Daytona Corporation und Remus Markenshop \Tm\pl-PL”.</ErrorMessage>
    -<Exception>
    <Type>System.IO.DirectoryNotFoundException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <HelpLink/>
    <Source>mscorlib</Source>
    <HResult>-2147024893</HResult>
    -<StackTrace>
    -<![CDATA[ w System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    w System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
    w System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
    w System.IO.Directory.CreateDirectory(String path)
    w Sdl.ProjectApi.Implementation.Util.CopyFile(String sourceFilePath, String targetFilePath)
    w Sdl.ProjectApi.Implementation.FileOperations.CopyFile(String sourceFilePath, String targetFilePath)
    w Sdl.ProjectApi.Implementation.CopyableTranslationProviderItem.CopyTranslationProvider()
    w Sdl.ProjectApi.Implementation.Project.CopyTranslationProviderCascadeEntry(ProjectCascadeEntryItem fromEntry, ProjectCascadeItem toCascade, Boolean copyMainTm, Boolean copyProjectTm, ILanguageDirection toLanguageDirection)
    w Sdl.ProjectApi.Implementation.ProjectPackageImport.UpdateTranslationProviderCascade(ProjectCascadeItem fromCascadeItem, ProjectCascadeItem toCascadeItem, Project toProject, LanguageDirection toLanguageDirection)
    w Sdl.ProjectApi.Implementation.ProjectPackageImport.ImportPackageProject(IPackageProject packageProject, Boolean& isNewProject)
    w Sdl.ProjectApi.Implementation.ProjectPackageImport.StartImpl()
    w Sdl.ProjectApi.Implementation.PackageOperation.Start()]]>
    </StackTrace>
    </Exception>
    -<Environment>
    <ProductName>SDL Trados Studio</ProductName>
    <ProductVersion>Studio16</ProductVersion>
    <EntryAssemblyFileVersion>16.0.2.3343</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 10 Pro</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1045</OperatingSystemLanguage>
    <CodePage>1250</CodePage>
    <LoggedOnUser>DESKTOP-NEK35VH\Janusz</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>DESKTOP-NEK35VH</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>16625540 MB</PhysicalMemory>
    </Environment>
    </SDLErrorDetails>

Reply
  • Hi Paul, it turns out that there was a space in the project file name which apparently caused the problem (diagnosis by LSP software). But still, why does Trados 2017 open the package without problems and the "upgraded" 2021 does not? Here's the error message.

    <?xml version="1.0"?>
    -<SDLErrorDetails time="23.11.2020 11:06:08">
    <ErrorMessage>Nie można odnaleźć części ścieżki „C:\Users\Janusz\Documents\Studio 2021\Projects\ID140308 Daytona Corporation und Remus Markenshop \Tm\pl-PL”.</ErrorMessage>
    -<Exception>
    <Type>System.IO.DirectoryNotFoundException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <HelpLink/>
    <Source>mscorlib</Source>
    <HResult>-2147024893</HResult>
    -<StackTrace>
    -<![CDATA[ w System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    w System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
    w System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
    w System.IO.Directory.CreateDirectory(String path)
    w Sdl.ProjectApi.Implementation.Util.CopyFile(String sourceFilePath, String targetFilePath)
    w Sdl.ProjectApi.Implementation.FileOperations.CopyFile(String sourceFilePath, String targetFilePath)
    w Sdl.ProjectApi.Implementation.CopyableTranslationProviderItem.CopyTranslationProvider()
    w Sdl.ProjectApi.Implementation.Project.CopyTranslationProviderCascadeEntry(ProjectCascadeEntryItem fromEntry, ProjectCascadeItem toCascade, Boolean copyMainTm, Boolean copyProjectTm, ILanguageDirection toLanguageDirection)
    w Sdl.ProjectApi.Implementation.ProjectPackageImport.UpdateTranslationProviderCascade(ProjectCascadeItem fromCascadeItem, ProjectCascadeItem toCascadeItem, Project toProject, LanguageDirection toLanguageDirection)
    w Sdl.ProjectApi.Implementation.ProjectPackageImport.ImportPackageProject(IPackageProject packageProject, Boolean& isNewProject)
    w Sdl.ProjectApi.Implementation.ProjectPackageImport.StartImpl()
    w Sdl.ProjectApi.Implementation.PackageOperation.Start()]]>
    </StackTrace>
    </Exception>
    -<Environment>
    <ProductName>SDL Trados Studio</ProductName>
    <ProductVersion>Studio16</ProductVersion>
    <EntryAssemblyFileVersion>16.0.2.3343</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 10 Pro</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1045</OperatingSystemLanguage>
    <CodePage>1250</CodePage>
    <LoggedOnUser>DESKTOP-NEK35VH\Janusz</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>DESKTOP-NEK35VH</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>16625540 MB</PhysicalMemory>
    </Environment>
    </SDLErrorDetails>

Children