::-- ZoomQuiet [2007-12-22 15:05:32]
Contents
1. 解决 python-gtkmozembed 崩溃
Jiahua Huang <[email protected]> reply-to [email protected], to "python. cn" <[email protected]>, date Dec 22, 2007 9:27 AM subject [CPyUG:37113] 解决 python-gtkmozembed 崩溃的问题 mailing list <python-cn.googlegroups.com> Filter messages from this mailing list mailed-by googlegroups.com signed-by googlegroups.com
现在在 Python 里的嵌入浏览器组件基本就是 firefox、gtkhtml 和 webkit, 不过 QtWebkit 和 webkitGtk 还有中文输入的问题, gtkhtml 效果跟 WxHtml 一样差, 于是就只有 firefox 的 gtkmoz 好用了
现在 ubuntu 里边默认 python-gtkmozembed 会在显示的时候崩溃, 可以暂时先用这个解决
解决 gutsy 里 python-gtkmozembed 崩溃::
export LD_LIBRARY_PATH=/usr/lib/firefox MOZILLA_FIVE_HOME=/usr/lib/firefox
让你的启动脚本在启动 python 程序前先设上边两个环境变量,就能用了。