Title: 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 · Issue #3 · simwrapper/simwrapper-python-tools · GitHub
Open Graph Title: 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 · Issue #3 · simwrapper/simwrapper-python-tools
X Title: 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 · Issue #3 · simwrapper/simwrapper-python-tools
Description: When I try to run the example project using simwrapper 4.0.6 navigating to the dashboards (under /data/dashboards/) leads to the error: cannot access local variable 'e' where it is not associated with a value In the UI this results in an...
Open Graph Description: When I try to run the example project using simwrapper 4.0.6 navigating to the dashboards (under /data/dashboards/) leads to the error: cannot access local variable 'e' where it is not associated w...
X Description: When I try to run the example project using simwrapper 4.0.6 navigating to the dashboards (under /data/dashboards/) leads to the error: cannot access local variable 'e' where it is not asso...
Opengraph URL: https://github.com/simwrapper/simwrapper-python-tools/issues/3
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"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","articleBody":"When I try to run the [example project](https://github.com/simwrapper/simwrapper-example-project/archive/refs/heads/main.zip) using simwrapper 4.0.6 navigating to the dashboards (under `/data/dashboards/`) leads to the error:\n\n```\ncannot access local variable 'e' where it is not associated with a value\n```\n\nIn the UI this results in an error at the bottom of the screen:\n\n```\nError parsing: dashboards/4-charts-and-maps/dashboard-2-maps.yaml\n```\n\n## Steps to reproduce\n1. Create the following folder structure:\n ```\n |- data/\n |---- berlin/\n |---- dashboards/\n |---- \u003cetc... all contents of the example project\u003e\n |- config.yaml\n ```\n2. Edit `config.yaml` such that it looks like this:\n ```yaml\n storage:\n simwrapper:\n path: './data'\n description: 'Local data from this server'\n \n tagline: 'Config file for issue'\n readme: |\n Dummy text for issue\n ====================\n ```\n3. In the top-folder (where config.yaml resides) run: `uvx simwrapper==4.0.6 run config.yaml --debug`\n4. Open http://localhost:4999, navigate to simwrapper -\u003e dashboards -\u003e 4-charts-and-maps\n - Or go there directly: http://localhost:4999/simwrapper/dashboards/4-charts-and-maps/\n\n\n### Expected outcome\nThe dashboard is shown, with graphs and an option in the sidebar to go to a page with maps.\n\n\u003cimg width=\"740\" height=\"382\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/1d16c863-cc92-4b61-b687-6dafbb0b44a8\" /\u003e\n\n### Actual outcome\nThe folder contents are shown in the Simwrapper \"file lister\" and an error is shown at the bottom:\n\n\u003cimg width=\"691\" height=\"501\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/190d2e15-25ad-44b8-b630-b61f1a190d2c\" /\u003e\n\nIn the commandline that is running simwrapper I see:\n\n```\nDEBUG:simwrapper:DIR simwrapper /\nDEBUG:simwrapper:DIR simwrapper /dashboards/\nDEBUG:simwrapper:GET simwrapper dashboards/4-charts-and-maps/dashboard-1-charts.yaml\ncannot access local variable 'e' where it is not associated with a value\nDEBUG:simwrapper:GET simwrapper dashboards/4-charts-and-maps/dashboard-2-maps.yaml\ncannot access local variable 'e' where it is not associated with a value\n```\n\n### Workaround\nIf 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.\n\n## System info\n- Windows 11 24H2\n- Edge 140.0.3485.54, but also tried on Firefox 141.0.3\n\n","author":{"url":"https://github.com/b-a0","@type":"Person","name":"b-a0"},"datePublished":"2025-09-08T21:56:03.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/3/simwrapper-python-tools/issues/3"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:066ae2e2-fad7-56d8-fa15-f55a080023c1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8E86:3BF48:91355:BCDE4:698EA53D |
| html-safe-nonce | 55869ee862b9edc8b9f1086c8dde9389236c38a26ecaf352d2403c41726bc3b2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTg2OjNCRjQ4OjkxMzU1OkJDREU0OjY5OEVBNTNEIiwidmlzaXRvcl9pZCI6Ijg2MDIzOTk1NTk1MjY1NTY5ODkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 96884f3775ef7fade3147db3337f4516e71a10cb399bd6f8db5750bee3f9a415 |
| hovercard-subject-tag | issue:3395869632 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/simwrapper/simwrapper-python-tools/3/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2f2e601f236eec875cb9064589521e972274f5f5be409012b4999f19894fb8f7/simwrapper/simwrapper-python-tools/issues/3 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2f2e601f236eec875cb9064589521e972274f5f5be409012b4999f19894fb8f7/simwrapper/simwrapper-python-tools/issues/3 |
| og:image:alt | When I try to run the example project using simwrapper 4.0.6 navigating to the dashboards (under /data/dashboards/) leads to the error: cannot access local variable 'e' where it is not associated w... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | b-a0 |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb2828a801ee6b7be618f3ac76fbf55def35bbc30f053a9c41bf90210b8b72ba |
| turbo-cache-control | no-preview |
| go-import | github.com/simwrapper/simwrapper-python-tools git https://github.com/simwrapper/simwrapper-python-tools.git |
| octolytics-dimension-user_id | 87439087 |
| octolytics-dimension-user_login | simwrapper |
| octolytics-dimension-repository_id | 433750923 |
| octolytics-dimension-repository_nwo | simwrapper/simwrapper-python-tools |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 433750923 |
| octolytics-dimension-repository_network_root_nwo | simwrapper/simwrapper-python-tools |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e6b91a7e6e46287d26887e3fb7a4161657bab8f7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width