Salesforce

WorldServer - Error message pointing to the server dependency folder in WorldServer: 'Could not find a part of the path..'. or 'Could not find file...'

« Go Back

Information

 
Article TypeSolution Article
Scope/EnvironmentWorldServer
Symptoms/Context
When attempting to:

1- Open a file from a WorldServer project in Trados Studio
2- Importing a Return package to WorldServer
3- Save a file/task in WorldServer

you get this error message pointing to the SERVER's Dependency's file and folder path (not user's path):

An error occurred while saving the asset into AIS. Details: com.idiominc.wssdk.asset.WSAssetSegmentationException: Could not find a part of the path …' or "Could not find file...

The same error happens when attempting to upload a return package back to WorldServer.

 
Resolution

This easy workaround should fix the issue:

1- Select all the project's tasks and export them to a WSXZ package. Save the WSXZ package in a folder of your choice.
2- Right after exporting, import back the same WSXZ package that you have just exported (click on Import, browse to the WSXZ package and import back)
3- During the import, make sure to check the DETAILS of the import. If the import is successful, the issue/error will also be fixed. 
4- Repeat the action that led to the error before and confirm that the error no longer appears. If the error appears at a Save or Save target step as an Autoerror, complete the Autoerror.


Other workarounds:

Note: to fix the issue, you need to have access to the server where the directory mentioned in the error is located.

1- Download all the source files associated with the Tasks in Autoerror

2- Check the content of the Autoerror, for instance:

Could not find a part of the path 'W:/WorldServer/temp/ftsserver\DependencyFiles\F19238626\DF917914_MarketingProduct_3.xliff'. Could not find a part of the path 'W:/WorldServer/temp/ftsserver\DependencyFiles\F19238626\DF917914_MarketingProduct_3.xliff'.

3- Following the error below, you need to create a folder with the same name as the folder mentioned in the error, right under the DependencyFiles folder. In this example, create an empty folder called F19238626
4- Still referring to the error above, rename the file MarketingProduct_3.xliff to DF917914_MarketingProduct_3.xliff
5- Move the renamed file ("DF917914_MarketingProduct_3.xliff") to the folder created in step #2.
6- Now copy the folder with the file inside to the SERVER and to the directory mentioned in the error, in this case the directory is: W:/WorldServer/temp/ftsserver\DependencyFiles
7- Now the folder and file referred to in the error as missing are present again on the server. Now complete the Autoerror. The Save action/step will be successful.

If there are multiple tasks with the same error, repeat these steps for each file/task with the same error, always checking the error details.
Root Cause
The error happens when files in the DependencyFiles folder on the server have been deleted. These files are created during segmentation and are needed to perform further FTS-related operations such as GENERATE (Save), Export and Import. If the file/folder is missing, an error will display and the operations will not be completed.

For some reasons, the folders and files that were created in the server's dependency folder when the project was created, have been deleted either manually or by a scheduled server rule.

Note: if the customer is a RWS hosted customer, RWS Support needs to check the folder on the server and work with Cloud Operations to understand why folders have been deleted.
On Premises customer needs to do the same on their server.
Reference
Attachment 1 
Attachment 2 
Attachment 3 
Attachment 4 
Attachment 5 

Powered by