pyswim偶尔会出现的错误

2 views
Skip to first unread message

acid.rain.cn

unread,
May 1, 2008, 1:14:08 PM5/1/08
to pyswim-discuss
http://192.168.0.104/article/Wikipedia/

默认打开这个页面时(192.168.0.104是我分配给架在vmware-ubuntu jeOS7.10上的pyswim的IP)时会报错,还有
部分词条也会报错,部分不会,看来是某些特定格式内容的解析出错,主要报错信息为

-----------------
AttributeError at /article/香港/
'HTMLWriter' object has no attribute 'writeCaption'
Request Method: GET
Request URL: http://192.168.0.104/article/香港/
Exception Type: AttributeError
Exception Value: 'HTMLWriter' object has no attribute 'writeCaption'
Exception Location: /usr/lib/python2.5/site-packages/mwlib-0.5.1.dev-
py2.5-linux-i686.egg/mwlib/htmlwriter.py in write, line 42
-----------------

出错的trackback我已经上传到group里,希望 Xie Yanbo能及时修正,谢谢。。。。

http://pyswim-discuss.googlegroups.com/web/%28for%20pyswim%E5%81%B6%E5%B0%94%E4%BC%9A%E5%87%BA%E7%8E%B0%E7%9A%84%E9%94%99%E8%AF%AF%29AttributeError%20at%20_article_%E9%A6%99%E6%B8%AF_.html?gda=X4aQn7wAAADRIiH1d53gCDtSGk_PTh37YcdGHitv6qK2baifnmCfZGG1qiJ7UbTIup-M2XPURDQwkyjLJHjsJtbZCB9n53_dIusfusc-iQgCRltsPl9aVqYqYVAI8k-SPF5VEuusJcWFpJAWdpZMrIBkHmEBKKa8Jn24oZmM9yjJzLMqTko6oo3Gu6gbt-DtNnJqREIdi6C_vxfZqyPYOcZfPBCpfbpq3isdYO3x9DHvfPsySd61aXOdfCAYgt5FgxCBvia_Mac&gsc=zzgEyAsAAAChyhPI62ilv8PrOQDEodhi

Xie Yanbo

unread,
May 6, 2008, 12:14:15 PM5/6/08
to pyswim-...@googlegroups.com
看起来是新版本的mwlib改动造成的问题,我会尽快更新pyswim,使它适应现在的mwlib。

非常感谢!

2008/5/2 acid.rain.cn <acid.r...@gmail.com>:

Reply all
Reply to author
Forward
0 new messages