tom-pytel edited a comment on pull request #143:
URL: https://github.com/apache/skywalking-python/pull/143#issuecomment-893427661
> sanic test case seems to always fail in Python 3.8, need to check why
I did a basic check on my side with python 3.8.11 and sanic 20.3.0 and it
works, (note, the exception is intentional when the server was accessed to test
error):
```
(.venvdebug38) tom@tom-VirtualBox:~/src/revdebugpy/test-apm {master} $
python --version
Python 3.8.11
(.venvdebug38) tom@tom-VirtualBox:~/src/revdebugpy/test-apm {master} $ pip
list | grep sanic
sanic 20.3.0
(.venvdebug38) tom@tom-VirtualBox:~/src/revdebugpy/test-apm {master} $
./srv_sanic.py
skywalking [MainThread] [WARNING] failed to install plugin sw_aiohttp
skywalking [MainThread] [WARNING] failed to install plugin sw_celery
skywalking [MainThread] [WARNING] failed to install plugin sw_django
skywalking [MainThread] [WARNING] failed to install plugin sw_elasticsearch
skywalking [MainThread] [WARNING] failed to install plugin sw_flask
skywalking [MainThread] [WARNING] failed to install plugin sw_kafka
skywalking [MainThread] [WARNING] failed to install plugin sw_psycopg2
skywalking [MainThread] [WARNING] failed to install plugin sw_pymongo
skywalking [MainThread] [WARNING] failed to install plugin sw_pymysql
skywalking [MainThread] [WARNING] failed to install plugin sw_pyramid
skywalking [MainThread] [WARNING] failed to install plugin sw_rabbitmq
skywalking [MainThread] [WARNING] failed to install plugin sw_redis
skywalking [MainThread] [WARNING] failed to install plugin sw_tornado
[2021-08-05 09:42:02 -0300] [3022510] [INFO] Goin' Fast @ http://0.0.0.0:8005
[2021-08-05 09:42:02 -0300] [3022510] [INFO] Starting worker [3022510]
[2021-08-05 09:42:04 -0300] [3022510] [ERROR] Exception occurred while
handling uri: 'http://localhost:8005/error'
Traceback (most recent call last):
File
"/home/tom/src/revdebugpy/debug38/.venvdebug38/lib/python3.8/site-packages/sanic/app.py",
line 973, in handle_request
response = await response
File "./srv_sanic.py", line 26, in error
raise Exception('Error from Sanic!')
Exception: Error from Sanic!
[2021-08-05 09:42:04 -0300] - (sanic.access)[INFO][127.0.0.1:57966]: GET
http://localhost:8005/error 500 250
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]