V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  l0wkey  ›  全部回复第 31 页 / 共 79 页
回复总数  1569
1 ... 27  28  29  30  31  32  33  34  35  36 ... 79  
2016-02-16 11:16:37 +08:00
回复了 imlonghao 创建的主题 程序员 使用 Pyspider 爬取京东 Wap 版本商品价格
@binux
[E 160215 11:35:00 app:1423] Exception on /results/dump/zhihu.json [GET]
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1461, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/local/lib/python2.7/dist-packages/pyspider/webui/result.py", line 37, in dump_result
resultdb.get(project, 'any')
File "/usr/local/lib/python2.7/dist-packages/pyspider/database/mysql/resultdb.py", line 99, in get
where=where, where_values=(taskid, )):
File "/usr/local/lib/python2.7/dist-packages/pyspider/database/basedb.py", line 69, in _select2dic
dbcur = self._execute(sql_query, where_values)
File "/usr/local/lib/python2.7/dist-packages/pyspider/database/basedb.py", line 36, in _execute
dbcur.execute(sql_query, values)
File "/usr/lib/python2.7/dist-packages/mysql/connector/cursor.py", line 515, in execute
self._handle_result(self._connection.cmd_query(stmt))
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1461, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/local/lib/python2.7/dist-packages/pyspider/webui/result.py", line 37, in dump_result
resultdb.get(project, 'any')
File "/usr/local/lib/python2.7/dist-packages/pyspider/database/mysql/resultdb.py", line 99, in get
where=where, where_values=(taskid, )):
File "/usr/local/lib/python2.7/dist-packages/pyspider/database/basedb.py", line 69, in _select2dic
dbcur = self._execute(sql_query, where_values)
File "/usr/local/lib/python2.7/dist-packages/pyspider/database/basedb.py", line 36, in _execute
dbcur.execute(sql_query, values)
File "/usr/lib/python2.7/dist-packages/mysql/connector/cursor.py", line 515, in execute
self._handle_result(self._connection.cmd_query(stmt))
File "/usr/lib/python2.7/dist-packages/mysql/connector/connection.py", line 488, in cmd_query
result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
File "/usr/lib/python2.7/dist-packages/mysql/connector/connection.py", line 395, in _handle_result
raise errors.get_exception(packet)
DatabaseError: 1205 (HY000): Lock wait timeout exceeded; try restarting transaction
[I 160215 11:35:00 _internal:87] 127.0.0.1 - - [15/Feb/2016 11:35:00] "GET /results/dump/zhihu.json HTTP/1.1" 500 -
2016-02-15 23:58:55 +08:00
回复了 imlonghao 创建的主题 程序员 使用 Pyspider 爬取京东 Wap 版本商品价格
2016-02-15 12:04:21 +08:00
回复了 imlonghao 创建的主题 程序员 使用 Pyspider 爬取京东 Wap 版本商品价格
@binux
我也遇到无法导出了, wget 的 json 流,数据量是 300w 多一点

--2016-02-15 11:51:41-- http://127.0.0.1:5000/results/dump/zhi.json
Connecting to 127.0.0.1:5000... connected.
HTTP request sent, awaiting response... 401 UNAUTHORIZED
Connecting to 127.0.0.1:5000... connected.
HTTP request sent, awaiting response... 500 INTERNAL SERVER ERROR
2016-02-15 11:52:41 ERROR 500: INTERNAL SERVER ERROR.
2016-02-14 14:45:15 +08:00
回复了 lingdong2000 创建的主题 旅行 我在河内吃着路边摊
@movtoy 420,000 越南盾换人民币也就一百二三吧
「公司搬家了,没通知你」的节奏
2016-02-03 18:13:14 +08:00
回复了 domty 创建的主题 北京 去北京工作租房地点求攻略
@domty 小猪短租,或者 ziroom 的月租
2016-02-03 18:04:25 +08:00
回复了 domty 创建的主题 北京 去北京工作租房地点求攻略
可以先租短租,找好工作再考虑距离租房
比较想了解,你们的话题是靠人工维护,还是靠爬虫呀
表示合上会比打开略热,不过好像没风扇不停转那么严重。是不是你盖上的时候开了 flash
不止电信,联通也抽了
2016-01-29 20:57:37 +08:00
回复了 niuer 创建的主题 酷工作 牛厂招聘——七牛云
七牛云「存储」的「存储」去掉了呀~
2016-01-29 13:44:38 +08:00
回复了 myywin 创建的主题 分享发现 围观微信张小龙日记人太多,饭否挂了
没挂啊
2016-01-28 18:34:45 +08:00
回复了 anthonyeef 创建的主题 北京 年后在北京找到租房感觉不大容易 :(
@anthonyeef 没办法看房子就租标准化的,比如: uoko ,自如
2016-01-27 13:52:52 +08:00
回复了 qdlts1 创建的主题 推广 网易蜂巢现在热推“充 1 送 30 ”活动
docker ?
2016-01-22 11:45:41 +08:00
回复了 v1024 创建的主题 macOS 按 cmd+W 偶尔误按到 cmd+Q,有什么办法?
2016-01-22 10:28:44 +08:00
回复了 baiyuxiong 创建的主题 问与答 大家怎么保存多年的照片?
谷歌相册 + iCloud
2016-01-21 11:51:30 +08:00
回复了 whatisnew 创建的主题 问与答 请教:很多 o2o 应用的坐标数据都是哪来的?
这种叫 POI 数据,各地图厂商都有接口的。
参考 https://www.zhihu.com/question/19658716
2016-01-20 10:49:40 +08:00
回复了 skyworker 创建的主题 分享发现 Dnspod 的底限哪?
LZ 干嘛把邮件通知,电话通知全部忽略了。
我有个不用了的域名,在到期前提前 30 天, 7 天, 3 天, 1 天(好像还有个哪一天),都有语音电话通知,早上 9 点~10 点之间,语音电话,我都接烦了
1 ... 27  28  29  30  31  32  33  34  35  36 ... 79  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1808 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 39ms · UTC 16:19 · PVG 00:19 · LAX 08:19 · JFK 11:19
Developed with CodeLauncher
♥ Do have faith in what you're doing.