mirror of
https://github.com/patrickchugh/terravision.git
synced 2026-05-09 16:35:30 +02:00
[GH-ISSUE #82] Unhandled error: <class 'TypeError'>, unsupported operand type(s) for +: 'bool' and 'str', <traceback object at 0x1065cab40> #42
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#42
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 @thiagooliveira-sh on GitHub (Nov 27, 2023).
Original GitHub issue: https://github.com/patrickchugh/terravision/issues/82
Problem Description
When running the terravision draw command in a local directory containing Terraform code, an unhandled error is triggered:
Unhandled error: <class 'TypeError'>, unsupported operand type(s) for +: 'bool' and 'str', <traceback object at 0x1065cab40>Context
Command Executed: terravision draw
Environment: Python 3.9.6
Terravision Version: 0.5
Terraform Version: v1.4.6
Steps to Reproduce
Access the directory with the Terraform code.
Run the terravision draw command.
Observe the mentioned error.
Expected Behavior
The terravision draw command was expected to execute correctly without generating errors related to unsupported operand types between data types.
Additional Notes
@rodrigo-segui commented on GitHub (Nov 28, 2023):
I'm also having this problem.
Can anyone help?
@patrickchugh commented on GitHub (Nov 29, 2023):
@rodrigo-segui @thiagoalexandria Can you try to do a git pull with the latest code and see if this is fixed? If not please supply some sample source so I can try to reproduce the error. Thanks!
@thiagooliveira-sh commented on GitHub (Nov 30, 2023):
I'm facing the same error, @patrickchugh it generates the plan, reads it, but when it reaches the Conditional resource list stage, it fails with an error indicated in the issue:
Here's the link to the repository with the code I'm testing.
https://github.com/thiagoalexandria/terravision-example
@patrickchugh commented on GitHub (Dec 2, 2023):
@thiagoalexandria I fixed it and was able to get this to run when I tagged some subnets. Please download the latest code and try again.
@thiagooliveira-sh commented on GitHub (Dec 3, 2023):
Now it works, thanks a lot !