You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Example project does not work in 4.0.6 when using simwrapper run config.yaml: cannot access local variable 'e' where it is not associated with a value #3
|- data/
|---- berlin/
|---- dashboards/
|---- <etc... all contents of the example project>
|- config.yaml
Edit config.yaml such that it looks like this:
storage:
simwrapper:
path: './data'description: 'Local data from this server'tagline: 'Config file for issue'readme: | Dummy text for issue ====================
In the top-folder (where config.yaml resides) run: uvx simwrapper==4.0.6 run config.yaml --debug
Open http://localhost:4999, navigate to simwrapper -> dashboards -> 4-charts-and-maps
The dashboard is shown, with graphs and an option in the sidebar to go to a page with maps.
Actual outcome
The folder contents are shown in the Simwrapper "file lister" and an error is shown at the bottom:
In the commandline that is running simwrapper I see:
DEBUG:simwrapper:DIR simwrapper /
DEBUG:simwrapper:DIR simwrapper /dashboards/
DEBUG:simwrapper:GET simwrapper dashboards/4-charts-and-maps/dashboard-1-charts.yaml
cannot access local variable 'e' where it is not associated with a value
DEBUG:simwrapper:GET simwrapper dashboards/4-charts-and-maps/dashboard-2-maps.yaml
cannot access local variable 'e' where it is not associated with a value
Workaround
If I keep everything the same, but in step 3 run: uvx simwrapper==4.0.5 run config.yaml --debug (4.0.5 instead of 4.0.6) I get the expected outcome.
System info
Windows 11 24H2
Edge 140.0.3485.54, but also tried on Firefox 141.0.3
Activity