Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while creating grids in Creator #37

Closed
jiahechu opened this issue Aug 14, 2023 · 2 comments
Closed

Error while creating grids in Creator #37

jiahechu opened this issue Aug 14, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@jiahechu
Copy link
Collaborator

I got the following error when creating the single market scenario:
Screenshot 2023-08-15 at 00 44 07

I opened the debugger to figure out how to fix the error. I noticed at line 507 in setup.py (where the error occurs) self.grids is an empty dict. Then I went to lines 488-502 in setup.py, the following code defines self.grids:
Screenshot 2023-08-15 at 00 38 53

Here, path_grids is defined as 'HAMLET/04 - scenarios/example_single_market/grids'. But this folder doesn't exist at all. So at line 495, when using os.walk(path_grids) to define self.grids, we will get an empty dict for self.grids because nothing was looped through.

Let me know if this error while creating grids also occurs on your laptop or if I misunderstood something.

@jiahechu jiahechu added the bug Something isn't working label Aug 14, 2023
@TUM-Doepfert
Copy link
Collaborator

Hey Jiahe, somehow it didn't occur before but does now. I will fix it today.

TUM-Doepfert added a commit that referenced this issue Aug 16, 2023
Architecture for controller and agents plus minor bugfix (#37)
@TUM-Doepfert
Copy link
Collaborator

Solved with PR #38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants