-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Unhandled exception (#44440a38) #5863
Comments
I encountered a TypeError while running sqlmap.py, which seems to originate from an operation in difflib.py where a dictionary type is being added to a string. Here’s the relevant part of the traceback: |
Could you please contact me privately (on miroslav(at)sqlmap.org) and give
me more details? i am trying to track this error for some time without any
luck. I am aware of the issue but not able to reproduce it
…On Sat, Mar 1, 2025, 05:29 Utkarsh Karambhe ***@***.***> wrote:
I encountered a TypeError while running sqlmap.py, which seems to
originate from an operation in difflib.py where a dictionary type is being
added to a string. Here’s the relevant part of the traceback:
TypeError: unsupported operand type(s) for +: 'dict' and 'str'
This error occurs when the code attempts to perform an addition operation
between incompatible types. It appears that the error may be occurring in
the _comparison function, specifically at line 643, where a quick ratio
calculation is performed.
To address this, it would be helpful to review the types of the variables
involved in that addition. We should ensure that both operands are either
strings or are converted appropriately before performing the operation.
If someone is already working on a fix or if there are any pointers on
handling this, I’d be glad to help!
Thank you!
—
Reply to this email directly, view it on GitHub
<#5863 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACHX7YXROGZCFZTA5VOCRBT2SEZTTAVCNFSM6AAAAABX7UO3GSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOJRHEZTMNJQHA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
[image: Utkarsh-Karambhe]*Utkarsh-Karambhe* left a comment
(sqlmapproject/sqlmap#5863)
<#5863 (comment)>
I encountered a TypeError while running sqlmap.py, which seems to
originate from an operation in difflib.py where a dictionary type is being
added to a string. Here’s the relevant part of the traceback:
TypeError: unsupported operand type(s) for +: 'dict' and 'str'
This error occurs when the code attempts to perform an addition operation
between incompatible types. It appears that the error may be occurring in
the _comparison function, specifically at line 643, where a quick ratio
calculation is performed.
To address this, it would be helpful to review the types of the variables
involved in that addition. We should ensure that both operands are either
strings or are converted appropriately before performing the operation.
If someone is already working on a fix or if there are any pointers on
handling this, I’d be glad to help!
Thank you!
—
Reply to this email directly, view it on GitHub
<#5863 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACHX7YXROGZCFZTA5VOCRBT2SEZTTAVCNFSM6AAAAABX7UO3GSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOJRHEZTMNJQHA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
The text was updated successfully, but these errors were encountered: