[web2py] Re: What does this mean?

2010-10-21 Thread BigBaaadBob
So, is this a bug in populuate, or something else? On Oct 19, 8:27 pm, BigBaaadBob bigbaaad...@gmail.com wrote: # The origin of the requirement: i.e. whether it is fundamental or derived db.define_table('origin',     Field('name', requires=IS_NOT_EMPTY()),     Field('key',

[web2py] Re: What does this mean?

2010-10-19 Thread BigBaaadBob
I can reliably create this problem with a model that contains references xxx and using populate. Trying to access the table in the db manager causes the referenced error.

[web2py] Re: What does this mean?

2010-10-19 Thread BigBaaadBob
# The origin of the requirement: i.e. whether it is fundamental or derived db.define_table('origin', Field('name', requires=IS_NOT_EMPTY()), Field('key', requires=IS_NOT_EMPTY()), format='%(name)s' ) # The category of the requirement db.define_table('kind', Field('name',

[web2py] Re: What does this mean?

2010-10-02 Thread Sundar
I have a similar situation. My table, say, Purchase Order contains two fields: client, endclient. The client ID from the Clients table is the foreign key for both. For the above table, when I try AppAdmin, I get the broken reference error. I think that two fields in a single table both

[web2py] Re: What does this mean?

2010-10-02 Thread mdipierro
Can you please post your model? On Oct 2, 9:20 am, Sundar suns...@gmail.com wrote: I have a similar situation. My table, say, Purchase Order contains two fields: client, endclient. The client ID from the Clients table is the foreign key for both. For the above table, when I try AppAdmin, I

[web2py] Re: What does this mean?

2010-10-02 Thread Sundar
I think it is some data (which is already in the DB) related problems, since if a duplicate the table definition, appadmin works OK on the new one. Let me do some more homework before coming back. Thanks and sorry. - On Oct 2, 7:37 pm, mdipierro mdipie...@cs.depaul.edu

[web2py] Re: What does this mean?

2010-09-26 Thread mdipierro
somehow you are doing something like this a=db.mytable.insert(myfield='xxx') del db.mytable[a] print a.xxx ### your error The problem should only exist if the three statements happen in the same process because of transactions. On Sep 26, 3:38 am, weheh richard_gor...@verizon.net wrote:  

[web2py] Re: What does this mean?

2010-09-26 Thread weheh
Massimo, as I said, there are 2 processes. The background process is a queueing engine. The queue is doing stuff like you describe: creating and deleting records and writing out to a log file. However, the queue is running just fine and doesn't have the print a.xxx statement that you flag as the

[web2py] Re: What is this mean?

2010-04-07 Thread drayco
Good afternoon Dr.Massimo: I fixed the problem. Previously I had done the following: I Removed web2py I downloaded and unzipped all I passed my application But I forgot to stop the previous process of web2py And I only restarted this process and it recovered, and now, everything works well. On

[web2py] Re: What is this mean?

2010-04-07 Thread drayco
Good afternoon Dr.Massimo: I fixed the problem. Previously I had done the following: I Removed web2py I downloaded and unzipped all I passed my application But I forgot to stop the previous process of web2py And I only restarted this process and it recovered, and now, everything works well. On

[web2py] Re: What is this mean?

2010-04-06 Thread mdipierro
can you open a regular python shell and run import os print os.path.abspath(os.path.join('applications/admin/','hello')) ? looks like a python issue, it cannot determine os.getcwd() On Apr 7, 12:23 am, drayco antrod...@gmail.com wrote: I have web2py 1.76.5 with red hat 5.5 enterprise linux 5.5