a4963290 / simple-todo Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/simple-todo
Automatically exported from code.google.com/p/simple-todo
如题
但是我部署到sae上不会报错.应该是环境原因
错误:
<type 'exceptions.ValueError'> at /todo/5/edit
__len__() should return >= 0
Python /Library/Python/2.7/site-packages/web/utils.py in __nonzero__, line 687
Web GET http://127.0.0.1:8080/todo/5/edit
报错代码:
def get_by_id(id):
s = db.select(tb, where='id=$id', vars=locals())
if not s:
return False
return s[0]
看了一下web.py的文档,db.select返回的对象是一个迭代对象,对py�
��言没有深入了解,不确定是什么原因
Original issue reported on code.google.com by [email protected]
on 25 Jun 2013 at 7:33
按照相关说明在 Debian testing 上配置了lighttpd flup postgresql
simple-todo等等,已能成功运行该项目,但是不能够呈现/static/�
��的css、img等文件。
google了无数都未找到答案。
下面是我的lighttpd fastcgi 配置文件。请帮助检查一下 。
Original issue reported on code.google.com by [email protected]
on 17 Jun 2012 at 9:59
Attachments:
首先web.py的web目录要拷过去
安装python的mysqldb,保证import mysqldb成功
启动mysql:net start mysql
修改mysql的密码:在setting.py里面
创建database,table
Original issue reported on code.google.com by [email protected]
on 31 Jul 2011 at 5:54
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.