简体   繁体   English

无法在Google App Engine中运行Coursebuilder

[英]Can't run coursebuilder in google app engine

It is really weird that after clicking run button, it does nothing and also no log and show a clock sign on the first column. 确实很奇怪,在单击“运行”按钮后,它什么也不做,也没有日志,并且在第一列上显示时钟符号。 在此处输入图片说明在此处输入图片说明

It works normally before. 它以前可以正常工作。 However, after I messed up my python environment, the google coursebuilder can't run web application. 但是,在弄乱了python环境后,google coursebuilder无法运行Web应用程序。 That's my guessing. 那是我的猜测。 When I run which python .it only shows: 当我运行which python .it时仅显示:

/Library/Frameworks/Python.framework/Versions/2.7/bin/python

These let me feel like I have no way to solve it!Are there anyone who came across this problem before? 这些让我觉得我没有办法解决!以前有人遇到过这个问题吗? Any ideas or suggestions? 有什么想法或建议吗?

Updated: I follow suggestions to use command line to run web application on GAE. 更新:我遵循建议使用命令行在GAE上运行Web应用程序。 It reminds me here: 这让我想起了: 在此处输入图片说明

Update: The error message shows that GAE can't get the allocated port and domain. 更新:错误消息显示GAE无法获取分配的端口和域。 The reason why it happens is that when I use command line to run the web application, I also open GAE GUI to run a web app with the same port number. 发生这种情况的原因是,当我使用命令行运行Web应用程序时,我还打开了GAE GUI以使用相同的端口号运行Web应用程序。

So the way to solve it is to close the GAE GUI and free the port. 因此解决该问题的方法是关闭GAE GUI并释放端口。 Or we also could designate another kind of port number with command line.(--port=XXXX and --admin_port=YYYY). 或者,我们也可以使用命令行指定另一种端口号。(-port = XXXX和--admin_port = YYYY)。 Or take a look at the doc: 或看看文档:

Again thanks for the help of Mihail R ! 再次感谢Mihail R的帮助!

The OP had multiple issues with GAE setup which were resolved by simply reinstalling the GAE Launcher and making sure the app was first copied into Applications from the .dmg file, then ran from the Applications instead of from inside the .dmg file, and appropriate permissions were suppose to be given so that GAE Launcher created the symlinks it needed to work properly. OP的GAE设置存在多个问题,只需重新安装GAE Launcher并确保首先将Applications.dmg文件复制到Applications ,然后再从Applications而不是.dmg文件内部运行,并获得适当的权限,即可解决该问题应该给出,以便GAE Launcher创建正常工作所需的符号链接。

More instructions on proper GAE SDK installation can be found here: https://cloud.google.com/appengine/downloads after clicking on the needed SDK and then the OS the SDK will be installed on. 单击所需的SDK之后,可在以下网址找到有关正确安装GAE SDK的更多说明: https ://cloud.google.com/appengine/downloads,然后将在其上安装SDK的操作系统。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM