#14 Cannot find IronPython.Modules.dll

1.0
open
nobody
None
2023-01-30
2023-01-30
Flarup
No

I'm having trouble running python scripts in codesys4linux

+ wine /home/wineuser/.wine.cds/drive_c/CODESYS/CODESYS/Common/CODESYS.exe --culture=en '--profile='\''CODESYS' V3.5 'SP16'\''' --runscript=test2.py --noUI
002c:err:ole:CoGetContextToken apartment not initialised
0030:err:ole:CoGetContextToken apartment not initialised
Error: Running script 'test2.py' caused exception System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\users\wineuser\Local Settings\Application Data\assembly\dl3\DQYN4MHH.6NE\29Z05JKM.1R3\eba359c7\801ec7f7_4e32d901\IronPython.Modules.dll'.

But IronPython.Modules.dll is installed here:

+ find / -name IronPython.Modules.dll
/home/wineuser/.wine.cds/drive_c/CODESYS/CODESYS/LacBinaries/GAC_MSIL/IronPython.Modules/2.7.7.0__83380e73b2486719/IronPython.Modules.dll
/home/wineuser/.wine.cds/drive_c/users/wineuser/Local Settings/Application Data/assembly/temp/2FO26RIEOU/IronPython.Modules.dll

Just to make me totally confused, running the find in the codesys script just before running codesys makes it work!!!!

I installed codesys4linux with

docker build https://forge.codesys.com/git/tol,codesys-4-linux,docker.git\#:codesys-ide -t codesys-ide

Discussion


Log in to post a comment.