doulan4939 2016-03-22 15:25
浏览 49

从GAE API使用endpointscfg生成Java客户端库时出现HTTP 500错误

I tried to generate java client library using a discovery doc retrieved from my API endpoints (which is running on golang) but failed wit the following message. gen_client_lib java

Traceback (most recent call last):
  File "//Users/lorenz/go/go_appengine/", line 133, in <module>
    run_file(__file__, globals())
  File "//Users/lorenz/go/go_appengine/", line 129, in run_file
    execfile(_PATHS.script_file(script_name), globals_)
  File "/Users/lorenz/go/go_appengine/google/appengine/tools/", line 561, in <module>
  File "/Users/lorenz/go/go_appengine/google/appengine/tools/", line 557, in main
  File "/Users/lorenz/go/go_appengine/google/appengine/tools/", line 458, in _GenClientLibCallback
  File "/Users/lorenz/go/go_appengine/google/appengine/tools/", line 335, in _GenClientLib
    build_system, client_name)
  File "/Users/lorenz/go/go_appengine/google/appengine/tools/", line 366, in _GenClientLibFromContents
    raise ServerRequestException(error)
__main__.ServerRequestException: HTTP 500 (Internal Server Error) error when communicating with URL: Response: 

I tried to use the same command and generated for a very simple program, and it runs without errro. From the syntax or structure of the discovery doc, i can't see anything ran wrong. Do you guys have any idea?

  • 写回答

1条回答 默认 最新


    相关推荐 更多相似问题


    • ¥15 gradle项目报错
    • ¥60 有关C#的问题,基础牢固的来
    • ¥15 Python算法设计Seam carving--让图片比例随心缩放
    • ¥15 页面制作,HTML CSS
    • ¥15 通个批处理实现 win7和win10 修改或设置:显示操作系统列表时间为2秒
    • ¥20 报错:Unsupported class file major version 59
    • ¥15 用ASP代码实现跨站脚本攻击
    • ¥50 ABP中怎样接收vue上传的图片
    • ¥15 uniapp设置音频的倍速播放无效
    • ¥15 关于#hc#的问题,如何解决?