Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

material_opt script error #794

Closed
BarelyPotato opened this issue Mar 16, 2022 · 4 comments
Closed

material_opt script error #794

BarelyPotato opened this issue Mar 16, 2022 · 4 comments

Comments

@BarelyPotato
Copy link

Hello,
When running the "material identification" script, i get the following error
"state = out[-1][1].get_state_parts()
AttributeError: 'State' object has no attribute 'get_state_parts'"

@rc
Copy link
Member

rc commented Mar 16, 2022

Hi,

Either consult the latest release docs (https://sfepy.org/doc/mat_optim.html) or, better, get the git version of sfepy (the default docs on the website are the development docs). See #764 for background.

@BarelyPotato
Copy link
Author

I got sfepy using the conda forge command. Now i'm trying to reset conda and run sfepy without installation from sources after installing the relevant packages and the c extension modules. It's taking a while since i'm facing compatibility issues with different python versions. I will report back when it's done.

@BarelyPotato
Copy link
Author

The problem is solved.

However, at the end of the script run ("material optimization FINISHED <<<" is printed) the figure interface freezes, then when I force close it, an array of the optimized parameters is printed followed by an error due to force closing the figure. I will try in a different machine and a different OS and see if the same happens.

Thank you @rc.

@rc
Copy link
Member

rc commented Feb 22, 2023

Closing answered issues with no further reaction...

@rc rc closed this as completed Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants