ghost.py 在 Yemosite 有问题,有没有谁遇到

2015-02-14 14:15:21 +08:00
 parkman
Python 解释器出错 :
Segmentation fault: 11


****

#!/usr/bin/env python
# coding=utf-8

# Created by Parkman on 15/2/13
# Do have a faith in what you're doing.
# Make your life a story worth telling.

from ghost import Ghost

ghost = Ghost()
#first_url = "http://homebbs.nanjing.fang.com/board/zxpd/"

first_url = 'http://www.baidu.com'
page, resources = ghost.open(first_url)

*****
3074 次点击
所在节点    Python
5 条回复
geeklian
2015-02-14 19:45:44 +08:00
python版本?操作系统版本?
Segmentation fault 基本是上面这2者的问题。和第三方库没啥关系。
huigeer
2015-02-15 10:32:20 +08:00
strace 追踪下
parkman
2015-02-15 11:13:34 +08:00
@geeklian Mac Yemosite Python2.7.8
parkman
2015-02-15 11:13:52 +08:00
@huigeer 有网址吗 ? 我学习下
janxin
2015-02-15 15:50:04 +08:00
没有遇到lz说的这个问题,我的ghost.py执行没问题

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/170944

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX