SAEspot SAE版开源了
需要SAE python环境,
本程序全用SAE kvdb存储数据,最大数据空间100G,
头像、用户上传图片可存储在SAE Storage,最大空间支持2G,
如果用又拍云存储则最大空间不限。
下载列表 http://code.google.com/p/saespot/downloads/list
直接下载地址 http://saespot.googlecode.com/files/myskoda.zip
能不能放在自己的服务器上?
SAE的python还要申请,等等看看能不能下来
挺快的,申请就下来了
麻烦问一下,那个开发者认证,好通过么?貌似如果没有开发者认证,会产生不少费用呢。
请问基于sae的spot上的又拍云上传好用么?
为什么我这边运行一直出错?出错在:
try:
connection.set_debuglevel(1)
connection.request(method, path , data, final_headers)
resp = connection.getresponse() #这里出错。。。。
if self.debug : #and resp.status != 200 and method != "HEAD" :
raise UpYunException(u'ERROR: Code:%d,Message:%s'%(resp.status))
return resp
except:
pass
@saespot
嗯,谢谢提醒,但应该不是这个问题,因为Image.open能正常执行
o_filename = o_filename + os.path.splitext(os.path.basename(file.filename))[1]
im = Image.open(StringIO(file.stream.read()))
output = StringIO()
im.convert('RGB').save(output, im.format, quality = 95)#95
data = output.getvalue()
output.close()
这里的im是有值的,而且im.size都OK,不知道问题出在哪。
ps.saespot有点v2ex的意思~~
唉,不知道这个程序什么时候会再开源 ,现在已经因为一个spammer而关闭了