V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  dbfox  ›  全部回复第 38 页 / 共 40 页
回复总数  783
1 ... 30  31  32  33  34  35  36  37  38  39 ... 40  
2013-07-29 13:32:00 +08:00
回复了 dbfox 创建的主题 奇思妙想 有一个想法,关于服装行业的
怎么没人?
很奇怪
2013-07-15 15:06:07 +08:00
回复了 crazybubble 创建的主题 随想 异地恋爱的恋人要怎么让对方感到不是一个人
每天中午电话 ,晚上视频,过几个月去 千里跑去找她,带她去想去的地方,每天晚上睡觉前说 爱她 晚安,让她的时间里充斥的全是你
做 IT 的思维比较严谨,担心出异常,一定要 try catch 到所有可能发生的情况,这样放心
可以看《尸体解剖》
2011-07-20 16:11:54 +08:00
回复了 dbfox 创建的主题 问与答 V2EX 安装成功了,可是发了主题后,跳转到 V2EX.com 了?
@napoleonu what?
2011-07-20 12:42:29 +08:00
回复了 dbfox 创建的主题 问与答 V2EX 安装成功了,可是发了主题后,跳转到 V2EX.com 了?
@hellmash tell me why?
呃,我搞错了,可以访问了,我的网站是 www.zhuozei.net
终于搞好了!
感谢楼上的各位仁人志士!
可是新的问题又出现了!
GAE 搭建的 V2EX 需要 翻墙才能访问,这样很是不爽啊,很是不爽!
求 方法!
经过我一个下午的折腾,最终还是没有成功,
Python 2.5
Google App Engine 1.5.1
出现下列错误

2011-07-19 17:29:49 Running command: "['C:\\Python25\\pythonw.exe', '-u', 'C:\\Program Files\\Google\\google_appengine\\appcfg.py', '--no_cookies', u'[email protected]', '--passin', 'update', 'D:\\zhuozei']"
Application: zhuozei; version: 1
Host: appengine.google.com

Starting update of app: zhuozei, version: 1
Scanning files on local disk.
2011-07-19 17:30:09,515 WARNING appengine_rpc.py:435 ssl module not found.
Without the ssl module, the identity of the remote host cannot be verified, and
connections may NOT be secure. To fix this, please install the ssl module from
http://pypi.python.org/pypi/ssl .
To learn more, see http://code.google.com/appengine/kb/general.html#rpcssl .
Password for [email protected]: Could not guess mimetype for static/img/favicon.ico. Using application/octet-stream.
Cloning 65 static files.
Cloning 252 application files.
Cloned 100 files.
Cloned 200 files.
Uploading 2 files and blobs.
Uploaded 2 files and blobs
Compilation starting.
2011-07-19 17:32:03,640 ERROR appcfg.py:2064 An unexpected error occurred. Aborting.
Traceback (most recent call last):
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 2029, in DoUpload
self.Precompile()
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 1794, in Precompile
files = self.PrecompileBatch(files)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 1811, in PrecompileBatch
response = self.Send('/api/appversion/precompile', payload=payload)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 1632, in Send
return self.rpcserver.Send(url, payload=payload, **self.params)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appengine_rpc.py", line 365, in Send
f = self.opener.open(req)
File "C:\Python25\lib\urllib2.py", line 374, in open
response = self._open(req, data)
File "C:\Python25\lib\urllib2.py", line 392, in _open
'_open', req)
File "C:\Python25\lib\urllib2.py", line 353, in _call_chain
result = func(*args)
File "C:\Python25\lib\urllib2.py", line 1109, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "C:\Program Files\Google\google_appengine\lib\fancy_urllib\fancy_urllib\__init__.py", line 367, in do_open
raise url_error
URLError: <urlopen error (8, 'EOF occurred in violation of protocol')>
Rolling back the update.
Traceback (most recent call last):
File "C:\Program Files\Google\google_appengine\appcfg.py", line 76, in <module>
run_file(__file__, globals())
File "C:\Program Files\Google\google_appengine\appcfg.py", line 72, in run_file
execfile(script_path, globals_)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 3708, in <module>
main(sys.argv)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 3699, in main
result = AppCfgApp(argv).Run()
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 2345, in Run
self.action(self)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 3484, in __call__
return method()
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 2745, in Update
app_summary = self.UpdateVersion(rpcserver, self.basepath, appyaml)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 2734, in UpdateVersion
lambda path: self.opener(os.path.join(basepath, path), 'rb'))
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 2029, in DoUpload
self.Precompile()
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 1794, in Precompile
files = self.PrecompileBatch(files)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 1811, in PrecompileBatch
response = self.Send('/api/appversion/precompile', payload=payload)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 1632, in Send
return self.rpcserver.Send(url, payload=payload, **self.params)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appengine_rpc.py", line 365, in Send
f = self.opener.open(req)
File "C:\Python25\lib\urllib2.py", line 374, in open
response = self._open(req, data)
File "C:\Python25\lib\urllib2.py", line 392, in _open
'_open', req)
File "C:\Python25\lib\urllib2.py", line 353, in _call_chain
result = func(*args)
File "C:\Python25\lib\urllib2.py", line 1109, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "C:\Program Files\Google\google_appengine\lib\fancy_urllib\fancy_urllib\__init__.py", line 367, in do_open
raise url_error
urllib2.URLError: <urlopen error (8, 'EOF occurred in violation of protocol')>
2011-07-19 17:32:08 (Process exited with code 1)

You can close this window now.
@Livid 呃非常感谢你的回复,我继续搞
@john737 非常感谢你的回复,但是新问题又来了
config.py 我是这样搞的

import os

mobileme_enabled = False
mobileme_username = ''
mobileme_password = ''

if os.environ['SERVER_SOFTWARE'] == 'Development/1.0':
twitter_consumer_key = 'kyrGq6tPBcxxxxxxxxxx'
twitter_consumer_secret = '6iJAsESsSNxpsktTuxxxxxxxxxxHk5sQDcW6Sr3mvno'
else:
twitter_consumer_key = 'kyrGq6tPBcxxxxxxxxxx'
twitter_consumer_secret = '6iJAsESsSNxpsktTuxxxxxxxxxxHk5sQDcW6Sr3mvno'

fts_enabled = False
fts_server = ''
fts_username = ''
fts_password = ''

# change this for deploy is you can registration from http://www.google.com/recaptcha
recaptcha_public_key = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
recaptcha_private_key = 'xxxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxx'

daydream_secret = ''



下面是用 Google APP Engine 的提示:

Beginning update of app: zhuozei, version: 1
Scanning files on local disk.
Initiating update of app: zhuozei, version: 1
Password for [email protected]: 2011-07-19 16:59:57,640 ERROR appcfg.py:1935 An unexpected error occurred. Aborting.
Traceback (most recent call last):
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 1884, in DoUpload
missing_files = self.Begin()
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 1617, in Begin
self.Send('/api/appversion/create', payload=self.config.ToYAML())
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 1567, in Send
return self.rpcserver.Send(url, payload=payload, **self.params)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appengine_rpc.py", line 358, in Send
f = self.opener.open(req)
File "C:\Python27\lib\urllib2.py", line 392, in open
response = self._open(req, data)
File "C:\Python27\lib\urllib2.py", line 410, in _open
'_open', req)
File "C:\Python27\lib\urllib2.py", line 370, in _call_chain
result = func(*args)
File "C:\Python27\lib\urllib2.py", line 1194, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "C:\Program Files\Google\google_appengine\lib\fancy_urllib\fancy_urllib\__init__.py", line 367, in do_open
raise url_error
URLError: <urlopen error [Errno 8] _ssl.c:499: EOF occurred in violation of protocol>
Traceback (most recent call last):
File "C:\Program Files\Google\google_appengine\appcfg.py", line 78, in <module>
run_file(__file__, globals())
File "C:\Program Files\Google\google_appengine\appcfg.py", line 74, in run_file
execfile(script_path, globals_)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 3298, in <module>
main(sys.argv)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 3289, in main
result = AppCfgApp(argv).Run()
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 2155, in Run
self.action(self)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 3142, in __call__
return method()
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 2532, in Update
self.UpdateVersion(rpcserver, basepath, appyaml)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 2520, in UpdateVersion
lambda path: open(os.path.join(basepath, path), 'rb'))
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 1884, in DoUpload
missing_files = self.Begin()
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 1617, in Begin
self.Send('/api/appversion/create', payload=self.config.ToYAML())
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 1567, in Send
return self.rpcserver.Send(url, payload=payload, **self.params)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appengine_rpc.py", line 358, in Send
f = self.opener.open(req)
File "C:\Python27\lib\urllib2.py", line 392, in open
response = self._open(req, data)
File "C:\Python27\lib\urllib2.py", line 410, in _open
'_open', req)
File "C:\Python27\lib\urllib2.py", line 370, in _call_chain
result = func(*args)
File "C:\Python27\lib\urllib2.py", line 1194, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "C:\Program Files\Google\google_appengine\lib\fancy_urllib\fancy_urllib\__init__.py", line 367, in do_open
raise url_error
urllib2.URLError: <urlopen error [Errno 8] _ssl.c:499: EOF occurred in violation of protocol>
2011-07-19 16:59:57 (Process exited with code 1)

You can close this window now.
@Livid
WebSite: *
Your application's publicly accessible home page, where users can go to download, make use of, or find out more information about your application. This fully-qualified URL is used in the source attribution for tweets created by your application and will be shown in user-facing authorization screens.
(If you don't have a URL yet, just put a placeholder here but remember to change it later.)

Callback URL:
Where should we return after successfully authenticating? For @Anywhere applications, only the domain specified in the callback will be used. OAuth 1.0a applications should explicitly specify their oauth_callback URL on the request token step, regardless of the value given here. To restrict your application from using callbacks, leave this field blank.

晕了,不理解什么意思
2011-07-18 14:11:47 +08:00
回复了 dbfox 创建的主题 问与答 求V2EX Google APP 下安装的详细步骤?
@Hyperion thank u,看看去
2011-07-18 13:31:26 +08:00
回复了 dbfox 创建的主题 问与答 求V2EX Google APP 下安装的详细步骤?
@bcxx 求手段 另外问下 V2EX 不是用的 Google App Engine 么?
2011-07-18 13:27:16 +08:00
回复了 dbfox 创建的主题 问与答 求V2EX Google APP 下安装的详细步骤?
@bcxx 是不是国内无法使用 GOogle App Engine ?
2011-07-15 11:43:34 +08:00
回复了 Nourl 创建的主题 服务器 有意转出:Justhost空间一个,剩300+天
仁兄 推荐个vps 国内的、国外的 有什么优势?
2011-07-12 11:29:23 +08:00
回复了 hippies 创建的主题 Bitcoin 以物换B:用win7旗舰版正版换4枚BTC,包顺丰
BTC 这东西有什么用,什么好处,是不是类似money?
1 ... 30  31  32  33  34  35  36  37  38  39 ... 40  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   873 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 31ms · UTC 21:18 · PVG 05:18 · LAX 14:18 · JFK 17:18
Developed with CodeLauncher
♥ Do have faith in what you're doing.