Conversation
Following up with tests on Windows and MacOS
|
@cpaulgilman I'm still subscribed to the hypothesis from the meeting yesterday that the issue is on our end, and there's something strange in the interaction between rapid json and curl, potentially around special characters. Are you able to print the JSON that's being passed to the curl request for the first call to the REopt API? Possibly related issues from around the internet: |
@brtietz , @cpaulgilman , I am still working on testing on the three platforms… the json is not the issue since the same on all three. The built in curl library seems to be causing different responses on the various Linux distros. Also, I am testing using the “failing” json with the reopt examples using python on all platforms. Thanks for the additional testing and the url encoding link! |
|
Definitely a REopt API issue limiting Content-length after all fixes. Runs on Ubuntu 20.04 now! (So, mint, too.) Please verify @cpaulgilman using Linux Download: https://samrepo.nrelcloud.org/beta-releases/sam-linux-2023-12-17-r2.run |
|
@sjanzou On macOS from SAM 2023.12.17 r2 dated August 19, 2024, I get a UI callback error followed by a SAM Error window: Works fine on Windows 11. |
|
Paul,
Thanks - that is a debugging file used for command line curl calls…
I will remove and repost the package installer!
Steve
…On Mon, Aug 19, 2024 at 7:13 AM Paul Gilman ***@***.***> wrote:
@sjanzou <https://github.com/sjanzou> On macOS from SAM 2023.12.17 r2
dated August 19, 2024, I get a UI callback error
Could not evaluate callback function:call_reopt->on_change
[91]: error: _s
[12]: eval error in statement list
followed by a SAM Error window:
06:04:48: can't open file '/Applications/SAM_2023.12.17/SAM.app/Contents/MacOS/reopt_jsonpost.json' (error 13: Permission denied)
06:04:48: Could not open file for writing!
—
Reply to this email directly, view it on GitHub
<#1204 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABRSQB5H4JC7OVDHS6JOC5TZSHVQ5AVCNFSM6AAAAABMQBQQU2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJWGU2TAMBQHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
|
Branch deleted and pull request closed with NatLabRockies/SAM#1845 |


Test with either building on each platform or using installers
Windows Download: https://samrepo.nrelcloud.org/beta-releases/sam-windows-2023-12-17-r2.exe
Mac Download: https://samrepo.nrelcloud.org/beta-releases/sam-macos-2023-12-17-r2.pkg
Linux Download: https://samrepo.nrelcloud.org/beta-releases/sam-linux-2023-12-17-r2.run
Expected results

Linux
MacOS

Windows
