Skip to content

The rescan_library function is crashing SAM #544

@diegolinhares

Description

@diegolinhares

Describe the bug
I was using a script to add a folder to the solar library. When I run the script, SAM crashes.

I think it's some memory/access problem with rescan_library.

To Reproduce

Use this script:

create_case('PVWatts', 'Commercial', 'PVWattsCommercial');

downloaded_solar_files_path = homedir() + '/solar_files/';
set_settings('solar_data_paths', downloaded_solar_files_path);
rescanlibrary('solar');

Expected behavior
Add my folder to SAM's library.

Metadata

Metadata

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