✔️ Python 2.6.6, mod_python 3.3.1에서 테스트하였습니다.
- DeprecationWarning: catching of string exceptions is deprecated
1 문제상황[ | ]
Console
Copy
[root@zetawiki ~]# cat /var/log/httpd/error_log | grep 'catching of string exceptions is deprecated' -A1 -m1
/usr/lib64/python2.6/site-packages/mod_python/importer.py:1549: DeprecationWarning: catching of string exceptions is deprecated
except apache.PROG_TRACEBACK, traceblock:
2 해결[ | ]
Python
Copy
except apache.PROG_TRACEBACK, traceblock:
3 같이 보기[ | ]
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.