Additional information...
In thinking that perhaps GAE hadn't delete *all* my data and hence had
hidden corruption I looked at an earlier version of my app.
GAE allows me to run different versions of an app against the same
database (big table data).
I ran my previous version that is built on
Hello
Lets define at db.py
db.define_table ('a',
SQLField('a'))
And lets insert to this table (not by web2py admin panel)
sqlite insert into a values(0,0);
And then
def test():
return dict(message=db.a[0].a)
---
Will give:
Traceback (most recent call last):
File
I just installed web2py and it is connecting on localhost only.
Is it necessary to configure it to listen on the external IP address
as well?
/vfclists
--
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to
id starts counting a zero. It is not a rule but a convention in SQL.
web2py makes sure it is followed.
Massimo
On Jan 16, 7:42 am, KMax mkostri...@gmail.com wrote:
Hello
Lets define at db.py
db.define_table ('a',
SQLField('a'))
And lets insert to this table (not by web2py admin panel)
You have to use
web2py.py -i 0.0.0.0 -p 80
instead of
web2py.py -i 127.0.0.1 -p 8000
you can use 0.0.0.0 in the startup widget as well.
On Jan 16, 4:58 am, vfclists vfcli...@googlemail.com wrote:
I just installed web2py and it is connecting on localhost only.
Is it necessary to configure
Some of you may have gotten a message like this today. I pass it along a)
because the subject of GGroups has been a topic here, and b) because of the
note about their having moved all their old discussions to the new system, a
big plus.
OTOH, I have no experience at all with Zoho
The
to put some context on this:
http://discussions.zoho.com/pricing
On Jan 16, 11:43 am, Jonathan Lundell jlund...@pobox.com wrote:
Some of you may have gotten a message like this today. I pass it along a)
because the subject of GGroups has been a topic here, and b) because of the
note about
So, I make a resume. Using zero id was bad idea.
Thank you.
On 16 янв, 23:16, mdipierro mdipie...@cs.depaul.edu wrote:
id starts counting a zero. It is not a rule but a convention in SQL.
web2py makes sure it is followed.
Massimo
--
You received this message because you are subscribed to the
The fact is you should not be able to choose the value of the ID of a
new record. if you an auto increment fiels starting at 1 (which is the
default for many SQL implementations).
Massimo
On Jan 16, 1:38 pm, KMax mkostri...@gmail.com wrote:
So, I make a resume. Using zero id was bad idea.
I note about force id value on insert:
sqlite insert into a values(0,0);
Yes, it is hack. Yes, I was trying to cheat with id for my own
reasons.
And then I was surprised that db.a[0].a does not exist while db.a[1].a
is.
Looking in to the sourcecode does not give me the answer 'Why'
due to luck of
remider
On 20 дек, 23:25, mdipierro mdipie...@cs.depaul.edu wrote:
Please remind me
when the new DAL is out (in 2-3 weeks) so you test it.
--
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to
currently, if you are pooling connections and a connection is closed
by the DB, one request will fail badly (no rollback bacause the
connection is closed) and the connection does not go in pool again so
the error should be very rare.
Do you experience this problem frequently? What kind of
In web2py we do not have the concept of a project. We have
applications. Each application is a subfolder under applications. With
other frameworks the concept of a project is needed because there is a
single place where the project is configured (such as database uri).
In the case of web2py there
I also will have one version of web2py and simlink my projects to the
applications folder.
So for example my web2py blog actually resides in
/home/thadeusb/Workspace/Web/ThadeusB/
Here you find the following folders
- docs
- src
-- databases/models/controllers/views/static/etc...
I have
On Jan 16, 5:33 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Back to PyCon. Rejecting all web2py talks for 3 years in a row is not
a fluke. We do have more users that some of the projects that will be
talked about at PyCon 2010.
Just check
This one is on MySQL by I believe this is also happening in Postgres
based on previous searches in the groups, the problem appears to be in
the parsing of the ORM code
Consider the following controller code:
# Grab all questions
questions = db(
(db.questions.is_visible==True) \
Several major frameworks for Python work well with App Engine.
Django, Pylons,
web2py, and CherryPy work as is or with the help of an adapter
component, and some
frameworks (such as web2py) have added explicit support for App
Engine.
--
You received this message because you are subscribed to the
What is the best way to determine if your controller is returning a
dict for a view to be rendered or straight content (like a file or csv
data or RPC result) ?
-Thadeus
--
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send
So there is a major disadvantage for using the following format for
keeping track of foreign keys in things like comments plugin and
tagging plugin
db.define_table('comments_link',
Field('table_name'),
Field('record_id'),
Field('comment_id', db.comment),
)
SO you end up with the following csv
Well, maybe next year. Massimo, do try again.
On Jan 16, 4:30 pm, John Heenan johnmhee...@gmail.com wrote:
On Jan 16, 5:33 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Back to PyCon. Rejecting all web2py talks for 3 years in a row is not
a fluke. We do have more users that some of the
20 matches
Mail list logo