mirror of
https://github.com/patrickchugh/terravision.git
synced 2026-05-09 08:25:25 +02:00
[GH-ISSUE #71] RecursionError #35
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#35
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 @pmatra on GitHub (Nov 6, 2023).
Original GitHub issue: https://github.com/patrickchugh/terravision/issues/71
I'm trying a sample terraform manifest with subdirectories containing local-exec, and a private-key and I get this error.
Unhandled error: <class 'RecursionError'>, maximum recursion depth exceeded in instancecheck, <traceback object at 0x7f846389c200>
https://github.com/stacksimplify/terraform-on-aws-ec2.git//08-AWS-ELB-Classic-LoadBalancer/terraform-manifests
Also it would be great if this worked on Gitlab as well as Github without having to make changes to the code.
@patrickchugh commented on GitHub (Nov 21, 2023):
@pmatra Hello, thank you for your feedback and thanks for testing out Terravision and helping to make this a better product. I have recently completed a major revamp to the code which uses the terraform binary to download source files and generate initial relationships, before augmenting it with source code parsing as before. This is a significant departure from the previous approach and whilst slower, ensures a more accurate output and will handle all terraform in built functions now when encountered in the source. Please do a git pull and re-test again with the latest source code. If your problem is resolved, please close the the thread in github issues and mark it as completed. If not, please give as much detail as you can about the errors and include any source files if possible so I can reproduce your issue. Once again, thanks for helping and look forward to hearing from you soon.
P.
@pmatra commented on GitHub (Nov 21, 2023):
I am getting this error now after reinstalling the new code and Terraform. I get this on multiple manifests of Terraform. Even the examples.
https://github.com/stacksimplify/terraform-on-aws-ec2.git//08-AWS-ELB-Classic-LoadBalancer/terraform-manifests
Also https://github.com/stacksimplify/terraform-on-aws-ec2.git//09-AWS-ALB-Application-LoadBalancer-Basic/terraform-manifests produces the same error
The K8 example on the github site produces this error too.
@patrickchugh commented on GitHub (Nov 26, 2023):
@pmatra Can you try again with the latest code?
@pmatra commented on GitHub (Nov 26, 2023):
Using the same URLS I get this error
@patrickchugh commented on GitHub (Nov 27, 2023):
Looks like you are missing the debugpy python module. Type
pip install debugpy@pmatra commented on GitHub (Nov 28, 2023):
My first tests were done with WSL Ubuntu 22. Now I switched to a full install of Ubuntu 22 on my server. I'm getting these kind of errors while testing out manifests.
Unhandled error: <class 'KeyError'>, 'original_count', <traceback object at 0x7ff670b19a80>@patrickchugh commented on GitHub (Nov 29, 2023):
@pmatra can you try to do a git pull with the latest code and see if this is fixed? I am able to run it on my machine now with your source link
@pmatra commented on GitHub (Nov 29, 2023):
It looks good, It worked on my two of my tests that was a simple VPC with EC2 instances and also a load balancer!
When I tested this URL with EKS and Cloudwatch Iogs I got an error: terravision draw --source https://github.com/stacksimplify/terraform-on-aws-eks.git//08-AWS-EKS-Cluster-Basics/01-ekscluster-terraform-manifests
@patrickchugh commented on GitHub (Dec 20, 2023):
@pmatra I tested it with the EKS link and it works with the latest code now