Support forum of the software localization tool Sisulizer


.NET, Delphi, ... - Sisulizer Localization Tool Support Home

Get in contact with the makers of Sisulizer.
Our forum is open for all questions around Sisulizer from customers and prospects.
Don't hesitate to register and ask. The Sisulizer team will answer ASAP.

Search     Help Home Sisulizer Website Download
Search by username
Not logged in - Login | Register 

 Moderated by: Sisusupport, Renate.Reinartz, Markus.Kreisel, Ilkka.Salmenius
New Topic Reply Printer Friendly
Concurrent runs of slmake.exe - Bugs and Quirks in Sisulizer - Technical Support (You need to be registered at the forum to write) - .NET, Delphi, ... - Sisulizer Localization Tool Support
AuthorPost
 Posted: Wed Apr 29th, 2020 08:42 am
PM Private Upload Quote Reply
chrisper
Member
 

Joined: Fri Dec 13th, 2019
Location:  
Posts: 4
Status: 
Offline
On our build server different git branches of a project are built on the same time (the build plans are automatically created and use the same periodcal trigger as the master plan). Therefore slmake is called multiple times at approximately same time. This causes slmake to fail with different error messages, like:

Could not create the assembly file. Error code 1: Microsoft (R) Assembly Linker version 14.0.1055.0
Copyright (C) Microsoft Corporation. All rights reserved.

ALINK: error AL1019: Metadata failure while creating assembly -- The process cannot access the file because it is being used by another process.


or

Could not read component hierarcy for the form: Unable to open 'C:\Users\CHRIST~1.PER\AppData\Local\Temp\SLA21E.ild' for output.

File "C:\Src\Git\DRP\bin\DRP.exe" may be encrypted.


So I'm have no possiblity to change the trigger time for the branches, do you know how to solve this problem?

Regards,

Christian

Back To Top PM Private Upload Quote Reply

 Posted: Fri May 1st, 2020 03:47 pm
PM Private Upload Quote Reply
jaska
Member
 

Joined: Thu Dec 7th, 2017
Location:  
Posts: 3
Status: 
Offline
It seems that Al.exe (that SlMake.exe calls) cannot write the assembly file because it is opened by some other. SlMake uses Al.exe when linking localized satellite assembly files. Could it be that two or more projects output the satellites into the same directory and then they both try to write the same output file.

The second message comes when SlMake is scanning the file. It is using .NET SKD tool to read .il data to figure out the hierarcy. This fails.

Make sure that your build process builds the .NET projects before starting any SlMake.exe operations.

Back To Top PM Private Upload Quote Reply

 Posted: Mon May 4th, 2020 04:51 am
PM Private Upload Quote Reply
chrisper
Member
 

Joined: Fri Dec 13th, 2019
Location:  
Posts: 4
Status: 
Offline
Hi,

for the first part you are right: the log lines above are from an attempt to reproduce my problem, because I haven't found the right logs on the build server.
In the second log the build of the project was already finished. For sure.

Now here is a log entry from real world:

22-Apr-2020 04:00:36 ?SlMake version 4.0.374 Copyrights (c) 2005-2018 Sisulizer
22-Apr-2020 04:00:36
22-Apr-2020 04:00:38 Loading file "S:\bamboo\bamboo-home\xml-data\build-dir\DRP-DEP-JOB1\DRP\Sprachen\DRP.slp"
22-Apr-2020 04:00:38
22-Apr-2020 04:00:38 Building "S:\bamboo\bamboo-home\xml-data\build-dir\DRP-DEP-JOB1\Bin\Languages\cs\CommonDRPRes.resources.dll", the Czech version of "S:\bamboo\bamboo-home\xml-data\build-dir\DRP-DEP-JOB1\Bin\CommonDRPRes.dll"
22-Apr-2020 04:00:38
22-Apr-2020 04:00:38 There are unused items in the project
22-Apr-2020 04:00:38 EFCreateError: Cannot create file "C:\Users\BAMBOO~1\AppData\Local\Temp\Win7468.res". The process cannot access the file because it is being used by another process.
22-Apr-2020 04:00:38 There are changed items in the project
22-Apr-2020 04:00:38 Failing task since return code of [C:\Program Files (x86)\Sisulizer 4\SlMake.exe create -e DRP.slp] was 1 while expected 0


This is our main problem when our build is failing. IMHO the concurrent running slmake-instances create temporary filenames that an other instance is also using. The problem is gone if the builds are not starting at the same time.

Last edited on Thu May 7th, 2020 05:40 am by chrisper

Back To Top PM Private Upload Quote Reply

 Posted: Thu May 7th, 2020 06:13 am
PM Private Upload Quote Reply
chrisper
Member
 

Joined: Fri Dec 13th, 2019
Location:  
Posts: 4
Status: 
Offline
Once again another one:
07-May-2020 00:33:40 S:\bamboo\bamboo-home\xml-data\build-dir\PRJ-NB-JOB1>"C:\Program Files (x86)\Sisulizer 4\SlMake.exe" create Project.slp
07-May-2020 00:33:45 ?SlMake version 4.0.374 Copyrights (c) 2005-2018 Sisulizer
07-May-2020 00:33:45
07-May-2020 00:35:06 Loading file "S:\bamboo\bamboo-home\xml-data\build-dir\PRJ-NB-JOB1\Project.slp"
07-May-2020 00:35:06
07-May-2020 00:35:06 Building source "Project.sln"
07-May-2020 00:35:06 Because "PT.Storages.dll" file does not contain any resources a satellite assembly file was not created.
07-May-2020 00:35:06 Because "PT.PrintService.dll" file does not contain any resources a satellite assembly file was not created.
07-May-2020 00:35:06 "S:\bamboo\bamboo-home\xml-data\build-dir\PRJ-NB-JOB1\Project.sln" file has been changed since the last scan.
07-May-2020 00:43:16 Building source "Project.sln"
07-May-2020 00:43:16 Because "PT.Storages.dll" file does not contain any resources a satellite assembly file was not created.
07-May-2020 00:44:43 Could not create the assembly file. Error code 1: Microsoft (R) Assembly Linker version 14.0.1055.0
07-May-2020 00:44:43 Copyright (C) Microsoft Corporation. All rights reserved.
07-May-2020 00:44:43
07-May-2020 00:44:43 Because "PT.PrintService.dll" file does not contain any resources a satellite assembly file was not created.
07-May-2020 00:44:43 Building source "Project.sln"
07-May-2020 00:44:43
07-May-2020 00:44:49 Please send "S:\bamboo\bamboo-home\xml-data\build-dir\PRJ-NB-JOB1\bin\Release\Languages\pt\PT.ObstacleControllerSettings.resources.zip" file to Sisulizer support team.
07-May-2020 00:44:49 Because "PT.Storages.dll" file does not contain any resources a satellite assembly file was not created.
07-May-2020 00:46:29 Because "PT.PrintService.dll" file does not contain any resources a satellite assembly file was not created.
07-May-2020 00:59:53 There are new items in the project
07-May-2020 00:59:53 There are unused items in the project
07-May-2020 00:59:53 ALINK: error AL1019: Metadata failure while creating assembly -- The system cannot find the file specified.
07-May-2020 00:59:53 There are changed items in the project
07-May-2020 00:59:53 Failing task since return code of [S:\bamboo\bamboo-home\temp\PRJ-NB-JOB1-46-ScriptBuildTask-4750052974504996186.bat] was 1 while expected 0

I shortend the output, but kept the relevant lines, I think. I can't post the zip-file because the directory was cleaned automatically.

Back To Top PM Private Upload Quote Reply

Current time is 09:25 am  
.NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Bugs and Quirks in Sisulizer > Concurrent runs of slmake.exe



WowUltra modified by Sisulizer Copyright © 2007-18 by Jim Hale - Based on WowBB Copyright © 2003-2006 Aycan Gulez

Impress - Privacy statement

Sisulizer software localization tool - Three simple steps to localize