Personal tools
You are here: Home Forum Use UnicodeDecodeError while run_salome.bat executing

UnicodeDecodeError while run_salome.bat executing

Up to Use


This forum is DEPRECATED, please create new topics in the new SALOME forum.
For existing topics please transfer them to the new forum.

UnicodeDecodeError while run_salome.bat executing

Posted by zhukovskiy_rodion at June 22. 2015

Hello everyone!

At some PCs after extracting archive I get error like in attached picture. What should I do for cure this?

OS is windows.

Attachments

Re: UnicodeDecodeError while run_salome.bat executing

Posted by anastasya241 at June 22. 2015

Hello, Rodion!

Please, provide more information about these PCs: architecture, platform, system, code page( type 'chcp' in cmd)

 

Regards,

 Anastasiya.

Re: UnicodeDecodeError while run_salome.bat executing

Posted by zhukovskiy_rodion at June 23. 2015

Hello, Anastasiya!
Windows 7 x64, code page 866

Thank you.

Re: UnicodeDecodeError while run_salome.bat executing

Posted by anastasya241 at June 26. 2015

Hello, Rodion!

It seems to be the problem with coding pages.

Try to replace win32pm.py file from SALOME-7.5.1-WIN64\PRODUCTS\win32pm directory by the attached file and try to restart Salome.

BR,

Anastasiya

Attachments

Re: UnicodeDecodeError while run_salome.bat executing

Posted by smeap at July 21. 2015

Hello Anastasiya

I get the same error. Replacing win32pm.py by the provided one does not solve the problem. Could you help?

St.Michael

Re: UnicodeDecodeError while run_salome.bat executing

Posted by anastasya241 at July 21. 2015

Hi Saint Michael,

Conflict between coding pages raises such errors. I hope, this bug will be fixed in future versions.

As temporary solution you can use following:

In WORK\set_env.bat script replace

@REM HOME DIRECTORY
@SET HOME=%userprofile%

by the

@REM HOME DIRECTORY
@SET HOME=%SALOME_ROOT_DIR%\TMP

Then try to restart Salome from new console.

 

BR,

Anastasiya

Re: UnicodeDecodeError while run_salome.bat executing

Posted by smeap at July 21. 2015

It works! Thanks a lot!

St.Michael


This forum is DEPRECATED, please create new topics in the new SALOME forum.
For existing topics please transfer them to the new forum.

Powered by Ploneboard
Document Actions