相关疑难解决方法(0)

由于1.7.6更新,我是否真的需要安装Xcode并编译PyObjC?

必须有一个更简单的方法.

我今天尝试启动我的应用时收到此警告:

/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/devappserver2/file_watcher.py:97:

UserWarning:不支持检测源代码更改,因为您的Python版本不包含PyObjC(http://pyobjc.sourceforge.net/).请安装PyObjC,如果不切实际,请在http://code.google.com/p/appengine-devappserver2-experiment/issues/list上提交错误.

python google-app-engine

8
推荐指数
1
解决办法
1115
查看次数

在Visual Studio的Python工具中调试GAE

我可以使用Python工具for Visual Studio 2012 运行我的Google App Engine webapp2应用程序,无需遵循本教程,甚至单步执行服务器初始化代码,但是我无法在获取或发布方法时使用它来解决问题.网站已加载,类似于此视频中显示的main()方法.当我暂停调试器时,它总是在wsgi_server.py中的以下无限循环中结束:

def _loop_forever(self):
  while True:
  self._select()

def _select(self):
  with self._lock:
    fds = self._file_descriptors
    fd_to_callback = self._file_descriptor_to_callback
if fds:
  if _HAS_POLL:
    # With 100 file descriptors, it is approximately 5x slower to
    # recreate and reinitialize the Poll object on every call to _select
    # rather reuse one. But the absolute cost of contruction,
    # initialization and calling poll(0) is ~25us so code simplicity
    # …
Run Code Online (Sandbox Code Playgroud)

python google-app-engine visual-studio webapp2 ptvs

6
推荐指数
1
解决办法
3094
查看次数

标签 统计

google-app-engine ×2

python ×2

ptvs ×1

visual-studio ×1

webapp2 ×1