mirror of
https://github.com/patrickchugh/terravision.git
synced 2026-05-09 08:25:25 +02:00
[GH-ISSUE #100] KeyError Unhandled error: <class 'KeyError'>, 'count', <traceback object at 0x7fec41ed67c0> #47
Labels
No labels
bug
enhancement
enhancement
good first issue
good first issue
good first issue
pipeline
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/terravision#47
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @simon-pp on GitHub (Jan 9, 2024).
Original GitHub issue: https://github.com/patrickchugh/terravision/issues/100
terravision draw --source --show
Key error from debug, terraform provider is aws
Traceback (most recent call last): File "terravision/terravision", line 245, in <module> cli( File "/home/simon/.local/lib/python3.10/site-packages/click/core.py", line 1130, in __call__ return self.main(*args, **kwargs) File "/home/simon/.local/lib/python3.10/site-packages/click/core.py", line 1055, in main rv = self.invoke(ctx) File "/home/simon/.local/lib/python3.10/site-packages/click/core.py", line 1657, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/simon/.local/lib/python3.10/site-packages/click/core.py", line 1404, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/simon/.local/lib/python3.10/site-packages/click/core.py", line 760, in invoke return __callback(*args, **kwargs) File "terravision/terravision", line 169, in draw tfdata = compile_tfdata(source, varfile, debug, annotate) File "terravision/terravision", line 72, in compile_tfdata tfdata = graphmaker.handle_special_resources(tfdata) File "terravision/modules/graphmaker.py", line 462, in handle_special_resources tfdata = getattr(resource_handlers, handler)(tfdata) File "terravision/modules/resource_handlers.py", line 154, in aws_handle_subnet_azs tfdata["meta_data"][az]["count"] = tfdata["meta_data"][subnet]["count"] KeyError: 'count'@macindra commented on GitHub (Feb 27, 2024):
It happens the same for me. Any update about this error?
@haisumriaz-tkxel commented on GitHub (Apr 9, 2024):
now we stuck on this error here @patrickchugh
@Dgmmarian commented on GitHub (Apr 16, 2024):
hi, any updates here?
@patrickchugh commented on GitHub (Apr 16, 2024):
Working on a new version that fixes a lot of bugs will be pushed to main in 2 or 3 days
@haisumriaz-tkxel commented on GitHub (Apr 16, 2024):
Thanks for the feedback! Much Appreciated!
@patrickchugh commented on GitHub (Apr 16, 2024):
If you want to be sure your TF code will work please share with me so I can run tests before release the next version
@haisumriaz-tkxel commented on GitHub (Apr 16, 2024):
it wasn't much, just modularised AWS specific code to create a basic vpc, and subnet to launch an ec2 instance, nothing special
@AlexisDaciuk commented on GitHub (May 9, 2024):
+1 , same error here, is that release coming soon?
@patrickchugh commented on GitHub (May 12, 2024):
@AlexisDaciuk @haisumriaz-tkxel can you try with the latest release?
@AlexisDaciuk commented on GitHub (May 13, 2024):
Hi, now it fails with
Unhandled error: <class 'IndexError'>, list index out of range, <traceback object at 0x7fb3bfb0c640>
Unfortunately I won't be able to debug more this week, maybe friday, what info will be useful for debugging this?
@patrickchugh commented on GitHub (Apr 14, 2026):
@simon-pp @AlexisDaciuk @haisumriaz-tkxel Can this issue be closed?
@patrickchugh commented on GitHub (Apr 27, 2026):
Closing due to no response
@haisumriaz-tkxel commented on GitHub (Apr 27, 2026):
Hi Patrick
Sorry for late response, please mark this as closed as i did not get to
work furthur on this. also ill be closing this organizational github
account. ill try again using my personal github account. if i get any
furthur issues, ill let you know in a new separate issue. Thanks you for
following up on this. Really appreciate it.
On Mon, 27 Apr 2026, 12:47 pm Patrick Chugh, @.***>
wrote:
--debugflag to draw and graphlist commands #142