V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
DAOCLOUD
推荐学习书目
Python Cookbook
Using Google App Engine
推荐下载
Latest Google App Engine SDK
其他兼容技术
AppScale
darcy
V2EX  ›  Google App Engine

运行在GAE上的图床

  •  
  •   darcy · 2010-11-19 00:25:01 +08:00 · 5747 次点击
    这是一个创建于 4931 天前的主题,其中的信息可能已经有所发展或是发生改变。
    演示 http://storage-cdn.appspot.com/

    上传 http://storage-cdn.appspot.com/upload

    仅支持HTML5上传,自动去除重复图片(hash)

    其它功能不断添加中~
    8 条回复    1970-01-01 08:00:00 +08:00
    majunbo
        1
    majunbo  
       2010-11-19 08:17:05 +08:00
    我一点演示:

    Traceback (most recent call last):
    File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 511, in __call__
    handler.get(*groups)
    File "/base/data/home/apps/storage-cdn/1.346308665961154080/main.py", line 47, in get
    toprank = q.fetch(5)
    File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/db/__init__.py", line 1849, in fetch
    raw = raw_query.Get(limit, offset, rpc=rpc)
    File "/base/python_runtime/python_lib/versions/1/google/appengine/api/datastore.py", line 1269, in Get
    limit=limit, offset=offset, prefetch_count=limit, **kwargs)._Get(limit)
    File "/base/python_runtime/python_lib/versions/1/google/appengine/api/datastore.py", line 1178, in _Run
    rpc=rpc)
    File "/base/python_runtime/python_lib/versions/1/google/appengine/api/datastore.py", line 1211, in _RunInternal
    str(exc) + '\nThis query needs this index:\n' + yaml)
    NeedIndexError: The index for this query is not ready to serve. See the Datastore Indexes page in the Admin Console.
    This query needs this index:
    - kind: Blobs
    properties:
    - name: deleted
    - name: view_count
    direction: desc
    darcy
        2
    darcy  
    OP
       2010-11-19 11:39:46 +08:00
    昨天index更新错误,已经修复了。
    alai
        3
    alai  
       2010-11-20 16:18:55 +08:00
    Bottle?
    saga
        4
    saga  
       2010-11-20 18:26:59 +08:00
    最能体现GAE的Image特性都没有啊

    还是用大菠萝相册
    saga
        5
    saga  
       2010-11-20 18:32:47 +08:00
    darcy
        6
    darcy  
    OP
       2010-11-20 19:22:58 +08:00
    @saga 不清楚你所谓的GAE的Image特性是指何特性?
    Jays
        7
    Jays  
       2011-05-04 20:28:54 +08:00
    @darcy 请问这个程序能分享一下吗?想用GS做个个人相册
    darcy
        8
    darcy  
    OP
       2011-05-05 00:24:57 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2420 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 15:20 · PVG 23:20 · LAX 08:20 · JFK 11:20
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.