error while creating input files

Post Reply
yihong
Posts: 4
Joined: Fri Nov 18, 2022 2:13 pm

error while creating input files

Post by yihong » Fri Nov 18, 2022 2:29 pm

Dear STKOteam:
i am a beginer of STKO,i download the ex4 from class 3 ,but when i select a directory to analysis,it encounters the problem like this,i checked my directory,it seems no illegal character in directory,i am confused.this is my directory:
C:\Users\Administrator\Desktop\steelframe\Week3\case4
i don't know how to insert image by url,and this is error
'gbk' codec can't encode character '\xa0' in position 1: illegal mutibyte sequence

STKO Team
Posts: 1589
Joined: Tue Oct 29, 2019 8:45 am

Re: error while creating input files

Post by STKO Team » Mon Nov 21, 2022 9:27 am

Is this related to your issue?
viewtopic.php?f=54&t=2434

yihong
Posts: 4
Joined: Fri Nov 18, 2022 2:13 pm

Re: error while creating input files

Post by yihong » Tue Nov 22, 2022 1:46 am

Dear STKO Team:
sorry,i have not solved the problem, the error code is not actually same,i double checked the directory,and run a simple analysis in same folder,it could be done
Attachments
2.png
2.png (11.58 KiB) Viewed 319 times
1.png
1.png (22.21 KiB) Viewed 319 times

STKO Team
Posts: 1589
Joined: Tue Oct 29, 2019 8:45 am

Re: error while creating input files

Post by STKO Team » Tue Nov 22, 2022 7:53 am

I do not understand, do you still have the issue?

Can you share your file? And also a screenshot of the error message where I can fully see the traceback of the error?
(Enlarge the error windows so that I can read everything)

yihong
Posts: 4
Joined: Fri Nov 18, 2022 2:13 pm

Re: error while creating input files

Post by yihong » Tue Nov 22, 2022 11:53 am

Dear STKO Team:
sorry,i have posted enlarged image and file,i just downloaded ex4 from official website,and i didn't change anything
Attachments
ex4.zip
(194.19 KiB) Downloaded 3 times
error.png
error.png (46.81 KiB) Viewed 312 times

STKO Team
Posts: 1589
Joined: Tue Oct 29, 2019 8:45 am

Re: error while creating input files

Post by STKO Team » Wed Nov 23, 2022 8:33 am

We just found the issue.
It's strange that it happens only to Chinese users.
There was a problem with the formatting in the SurfaceLoad.py python file.

Here's the updated file:
SurfaceLoad.zip
(9.58 KiB) Downloaded 6 times
Unzip it, and copy it to C:\Program Files\STKO\external_solvers\opensees\conditions\Loads\Generic, replacing the existing one.
The new version of STKO will have this issue fixed.

Side note:
In ex4, change the Constraint Handler from Penalty to Transformation

yihong
Posts: 4
Joined: Fri Nov 18, 2022 2:13 pm

Re: error while creating input files

Post by yihong » Wed Nov 23, 2022 9:38 am

Dear STKO team:
Thanks!the problem has been perfectly solved

STKO Team
Posts: 1589
Joined: Tue Oct 29, 2019 8:45 am

Re: error while creating input files

Post by STKO Team » Thu Nov 24, 2022 7:49 am

You're welcome

Post Reply