内部服务器错误,将Google App Engine项目作为第二所有者上传

时间:2011-08-05 11:32:09

标签: java google-app-engine

我有几个GAE项目,上传它们没有问题。我现在和我哥哥一起做项目。他今天晚上补充说我是这个项目的共同拥有者。然后我使用我的谷歌帐户上传了一个新版本的项目,并得到以下错误...

Unable to update:
java.io.IOException: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=mouse-master&version=1.1&
500 Internal Server Error

Server Error (500)
A server error has occurred.

    at com.google.appengine.tools.admin.AbstractServerConnection.send(AbstractServerConnection.java:249)
    at com.google.appengine.tools.admin.AbstractServerConnection.post(AbstractServerConnection.java:207)
    at com.google.appengine.tools.admin.AppVersionUpload.send(AppVersionUpload.java:639)
    at com.google.appengine.tools.admin.AppVersionUpload.beginTransaction(AppVersionUpload.java:446)
    at com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java:137)
    at com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:300)
    at com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:52)
    at com.google.appengine.tools.admin.AppCfg$UpdateAction.execute(AppCfg.java:598)
    at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:157)
    at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:65)
    at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:61)
com.google.appengine.tools.admin.AdminException: Unable to update app: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=mouse-master&version=1.1&
500 Internal Server Error

Server Error (500)
A server error has occurred.

    at com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:305)
    at com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:52)
    at com.google.appengine.tools.admin.AppCfg$UpdateAction.execute(AppCfg.java:598)
    at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:157)
    at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:65)
    at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:61)
Caused by: java.io.IOException: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=mouse-master&version=1.1&
500 Internal Server Error

Server Error (500)
A server error has occurred.

    at com.google.appengine.tools.admin.AbstractServerConnection.send(AbstractServerConnection.java:249)
    at com.google.appengine.tools.admin.AbstractServerConnection.post(AbstractServerConnection.java:207)
    at com.google.appengine.tools.admin.AppVersionUpload.send(AppVersionUpload.java:639)
    at com.google.appengine.tools.admin.AppVersionUpload.beginTransaction(AppVersionUpload.java:446)
    at com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java:137)
    at com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:300)
    ... 5 more

是否有人成功上传了Google App作为项目的二级所有者。我的兄弟可以使用他的Google帐户上传项目。但是我们俩都能做到这一点会很好。根据我在Google Apps文档中阅读的内容,应该可以实现。在接受兄弟共同所有权请求之后,我必须等待XX小时,直到我有权上传?

以下是我尝试使用控制台上传时的输出

C:\Users\Dad\Documents\eclipse\plugins\com.google.appengine.eclipse.sdkbundle_1.
5.2.r35v201107211953\appengine-java-sdk-1.5.2\bin>appcfg.cmd update c:\Users\Dad
\workspace\MouseMaze3\war
Reading application configuration data...
5/08/2011 11:53:32 PM com.google.apphosting.utils.config.AppEngineWebXmlReader r
eadAppEngineWebXml
INFO: Successfully processed c:/Users/Dad/workspace/MouseMaze3/war\WEB-INF/appen
gine-web.xml
5/08/2011 11:53:32 PM com.google.apphosting.utils.config.AbstractConfigXmlReader
 readConfigXml
INFO: Successfully processed c:/Users/Dad/workspace/MouseMaze3/war\WEB-INF/web.x
ml
5/08/2011 11:53:32 PM com.google.apphosting.utils.config.IndexesXmlReader readCo
nfigXml
INFO: Successfully processed c:\Users\Dad\workspace\MouseMaze3\war\WEB-INF\appen
gine-generated\datastore-indexes-auto.xml
Beginning server interaction for mouse-master...
0% Created staging directory at: 'C:\Users\Dad\AppData\Local\Temp\appcfg34090768
50418058192.tmp'
5% Scanning for jsp files.
20% Scanning files on local disk.
25% Initiating update.

java.io.IOException: Error posting to URL: https://appengine.google.com/api/appv
ersion/create?app_id=mouse-master&version=1.1&
500 Internal Server Error

Server Error (500)
A server error has occurred.

Unable to update app: Error posting to URL: https://appengine.google.com/api/app
version/create?app_id=mouse-master&version=1.1&
500 Internal Server Error

Server Error (500)
A server error has occurred.

Please see the logs [C:\Users\Dad\AppData\Local\Temp\appcfg6558856430947435547.l
og] for further information.

C:\Users\Dad\Documents\eclipse\plugins\com.google.appengine.eclipse.sdkbundle_1.
5.2.r35v201107211953\appengine-java-sdk-1.5.2\bin>

1 个答案:

答案 0 :(得分:4)

this stackoverflow page找到答案 实际问题是我已将版本号更改为1.1。 Google Apps Engine中的版本号只能包含字母,数字和连字符。