You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2022/02/23 03:31:26 UTC
[GitHub] [skywalking] katelei6 opened a new issue #8581: [Bug] skywalking-python mysqlclent db not in param when use django
katelei6 opened a new issue #8581:
URL: https://github.com/apache/skywalking/issues/8581
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar issues.
### Apache SkyWalking Component
Python Agent (apache/skywalking-python)
### What happened
when i use django and mysqlclient , import skywalking, the error is
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/skywalking/plugins/sw_mysqlclient.py", line 40, in _sw_connect
con.db = kwargs['db']
KeyError: 'db'
because:

### What you expected to happen
the plugin can use db and database.
### How to reproduce
I have update the plugin to compatible。
[pr](https://github.com/apache/skywalking-python/pull/186)
### Anything else
_No response_
### Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [skywalking] kezhenxu94 closed issue #8581: [Bug] skywalking-python mysqlclent db not in param when use django
Posted by GitBox <gi...@apache.org>.
kezhenxu94 closed issue #8581:
URL: https://github.com/apache/skywalking/issues/8581
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org