今天在群里看到金山的金山卫士开源
GUI框架代码,WTL写的,于是到网上找了下下载地址想去看一下,结果出了这样的问题
这个是开源的地址
Traceback (most recent call last ) :
File " /data/app/python2.5/lib/python2.5/site-packages/Trac-0.12dev_r13614-py2.5.egg/trac/web/api.py " , line 375 , in send_error
data , ' text/html ' )
File " /data/app/python2.5/lib/python2.5/site-packages/Trac-0.12dev_r13614-py2.5.egg/trac/web/chrome.py " , line 691 , in render_template
data = self . populate_data(req , data)
File " /data/app/python2.5/lib/python2.5/site-packages/Trac-0.12dev_r13614-py2.5.egg/trac/web/chrome.py " , line 594 , in populate_data
d[ ' chrome ' ] . update(req . chrome)
File " /data/app/python2.5/lib/python2.5/site-packages/Trac-0.12dev_r13614-py2.5.egg/trac/web/api.py " , line 198 , in __getattr__
value = self . callbacks[name](self)
File " /data/app/python2.5/lib/python2.5/site-packages/Trac-0.12dev_r13614-py2.5.egg/trac/web/chrome.py " , line 463 , in prepare_request
for category , name , text in contributor . get_navigation_items(req) :
File " /data/app/python2.5/lib/python2.5/site-packages/Trac-0.12dev_r13614-py2.5.egg/trac/ticket/web_ui.py " , line 170 , in get_navigation_items
if ' TICKET_CREATE ' in req . perm :
File " /data/app/python2.5/lib/python2.5/site-packages/Trac-0.12dev_r13614-py2.5.egg/trac/perm.py " , line 530 , in has_permission
return self . _has_permission(action , resource)
File " /data/app/python2.5/lib/python2.5/site-packages/Trac-0.12dev_r13614-py2.5.egg/trac/perm.py " , line 544 , in _has_permission
check_permission(action , perm . username , resource , perm)
File " /data/app/python2.5/lib/python2.5/site-packages/Trac-0.12dev_r13614-py2.5.egg/trac/perm.py " , line 431 , in check_permission
perm)
File " /data/app/python2.5/lib/python2.5/site-packages/Trac-0.12dev_r13614-py2.5.egg/trac/perm.py " , line 289 , in check_permission
get_user_permissions(username)
File " /data/app/python2.5/lib/python2.5/site-packages/Trac-0.12dev_r13614-py2.5.egg/trac/perm.py " , line 364 , in get_user_permissions
for perm in self . store . get_user_permissions(username) :
File " /data/app/python2.5/lib/python2.5/site-packages/Trac-0.12dev_r13614-py2.5.egg/trac/perm.py " , line 175 , in get_user_permissions
db = self . env . get_db_cnx()
File " /data/app/python2.5/lib/python2.5/site-packages/Trac-0.12dev_r13614-py2.5.egg/trac/env.py " , line 266 , in get_db_cnx
return DatabaseManager(self) . get_connection()
File " /data/app/python2.5/lib/python2.5/site-packages/Trac-0.12dev_r13614-py2.5.egg/trac/db/api.py " , line 77 , in get_connection
return self . _cnx_pool . get_cnx(self . timeout or None)
File " /data/app/python2.5/lib/python2.5/site-packages/Trac-0.12dev_r13614-py2.5.egg/trac/db/pool.py " , line 174 , in get_cnx
return _backend . get_cnx(self . _connector , self . _kwargs , timeout)
File " /data/app/python2.5/lib/python2.5/site-packages/Trac-0.12dev_r13614-py2.5.egg/trac/db/pool.py " , line 107 , in get_cnx
cnx = connector . get_connection( ** kwargs)
File " /data/app/python2.5/lib/python2.5/site-packages/Trac-0.12dev_r13614-py2.5.egg/trac/db/postgres_backend.py " , line 46 , in get_connection
cnx = PostgreSQLConnection(path , user , password , host , port , params)
File " /data/app/python2.5/lib/python2.5/site-packages/Trac-0.12dev_r13614-py2.5.egg/trac/db/postgres_backend.py " , line 134 , in __init__
cnx = psycopg . connect ( ' ' . join (dsn))
OperationalError : 致命错误 : 对不起 , 已经有太多的客户
这么大公司不是在和我们开玩笑吧!!!