-
Notifications
You must be signed in to change notification settings - Fork 47
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
Python 3.11.7 bug on Json read? #172
Comments
It looks like it's due to this issue: #164 This issue is fixed but hasn't been released yet. Modify your code to
|
Thanks Darice! This is what I'm getting trying that solution on python 3.11.7, but maybe I'm interpreting it wrong ? @dguittet (btw, it seems it indees was/is related to the python version, the computer that had 3.11.7 we added an environment with 3.11.4 and it worked). |
Can you print the |
Ah, try switching the code to
|
Having trouble opening a Sam-exported SamJson file on the new python.
This works well on Python 3.11.4
It doesn't work on Python 3.11.7 , so suspecting this is the issue.
Info about our system (the one that runs; other one is the same but 3.11.7)
![image](https://private-user-images.githubusercontent.com/22824806/329374313-2473b5a0-bd55-487d-b9e9-068bed6da146.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxNTEzMDQsIm5iZiI6MTcyNjE1MTAwNCwicGF0aCI6Ii8yMjgyNDgwNi8zMjkzNzQzMTMtMjQ3M2I1YTAtYmQ1NS00ODdkLWI5ZTktMDY4YmVkNmRhMTQ2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEyVDE0MjMyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMzNmU4NDUyYmYxMGRiODU0ZDVkNmY1MTA5MjY2OTdhNzNhYzY0Y2NmNzc4MDNiZTQyZTJlZDk3OTI5ZTc5YTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.LTgRcY6ATQ_JN4q-tfyHWk3ZiUpVvPrfIQFUy-JtVBw)
This is the journal, SAM file and Jsons we were using to test in both computers
https://github.com/shirubana/pySAMtutorial/tree/main/4%20-%20Passing%20POA%20through%20pySAM
The text was updated successfully, but these errors were encountered: