Skip to content

NSRDB download intermittent error #531

@cpaulgilman

Description

@cpaulgilman

Describe the bug

When NSRDB API service is down, attempt to download a weather file from Solar Resource page results in:

Could not evaluate callback function:btn_download->on_change
[507]: error: _s
[507]: failed to evaluate function call argument _d to '_s()'
[507]: failed to evaluate function call argument _d to '_s()'
[507]: eval error in statement list
[497]: eval error in statement list
[468]: eval error in statement list
[468]: error inside function call
[644]: eval error in statement list
[609]: eval error in statement list
[609]: error inside function call
[115]: eval error in statement list

To Reproduce

  1. Modify UI callback in Solar Resource Data UI form to force error from API:

image

  1. Try to download a weather file.

Expected behavior

Callback should gracefully handle API errors with a useful message.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions