本地使用 dev_server.py 运行正常,
部属到云后:
Traceback (most recent call last):
File "/data1/www/htdocs/826/radar4crx/2/index.wsgi", line 20, in <module>
, reloader=True)
File "/data1/www/htdocs/826/radar4crx/2/bottle.py", line 3079, in run
if os.path.exists(lockfile):
File "/usr/local/sae/python/lib/python2.7/genericpath.py", line 18, in exists
os.stat(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found
应该是...定制的 py27 有问题了!?
--
life is pathetic, go Pythonic! 人生苦短, Python当歌!
俺:
http://zoomquiet.io
授:
http://creativecommons.org/licenses/by-sa/2.5/cn/
怒: 冗余不做,日子甭过!备份不做,十恶不赦!
KM keep growing environment culture which promoting organization be learnning!