[web2py] compileapp error

2010-07-12 Thread topher.baron
An ajax request I'm making is erroring on the server with in a place that it shouldn't. Here is the ticket : Traceback (most recent call last): File "gluon/main.py", line 508, in wsgibase File "gluon/main.py", line 206, in serve_controller File "gluon/compileapp.py", line 435, in run_contro

[web2py] Re: compileapp error

2010-07-12 Thread topher.baron
returning a reference to a row created for an ajax call creates this error can anyone confirm this ? On Jul 12, 1:21 pm, "topher.baron" wrote: > An ajax request I'm making is erroring on the server with in a place > that it shouldn't. > > Here is the ticket : >

[web2py] storing hierarchical data in web2py database

2010-07-13 Thread topher.baron
I need to store tree information in a database. For each node in the tree, there are multiple rows that need to be inserted into a couple of database tables. I'm under the impression that calling a recursive function that iterates through the tree to insert the appropriate rows for each node will

[web2py] Re: storing hierarchical data in web2py database

2010-07-13 Thread topher.baron
I'm looking forward to it. On Jul 13, 1:12 pm, Vasile Ermicioi wrote: > I am developing a solution for my needs, something similar to nested sets, > if you could wait a few days I think I will be able to share it

[web2py] cPickle large object causes web2py to crash

2010-07-22 Thread topher.baron
web2py community, I'm currently implementing a web application on localhost running OS 10.6.4. When I cPickle.dump a large object to the /tmp directory, web2py crashes. The same operations work with smaller objects. Does this mean I need to increase the heap? If so, how do I do this? If not, a

[web2py] Re: cPickle large object causes web2py to crash

2010-07-26 Thread topher.baron
e database. What do you think? On Jul 22, 5:37 pm, mdipierro wrote: > How big is the pickled file? > > On Jul 22, 5:08 pm, "topher.baron" wrote: > > > web2py community, > > > I'm currently implementing a web application on localhost running OS > &g

[web2py] Re: cPickle large object causes web2py to crash

2010-07-27 Thread topher.baron
ry > > block for web2py? > > > I'm thinking my other option would be to keep it in cache.ram and in > > the database.  What do you think? > > > On Jul 22, 5:37 pm, mdipierro wrote: > > > > How big is the pickled file? > > > > On Jul 22, 5:0

[web2py] file upload / download

2010-03-30 Thread topher.baron
Hi all, I have XML being generated on the client side using javascript - more specifically its SVG XML, but it doesn't really matter. I would like the user of the web application to be able to click an 'export' button and receive a download dialog for the XML created on the client side. At the m

[web2py] Re: file upload / download

2010-03-30 Thread topher.baron
Hi again, I've solved my problem. I took a look at the appadmin file download example to find a solution. Thanks rubber duck! On Mar 30, 10:01 am, "topher.baron" wrote: > Hi all, > > I have XML being generated on the client side using javascript - more > speci

[web2py] Why am I getting this error ?

2010-04-12 Thread topher.baron
Traceback (most recent call last): File "gluon/main.py", line 478, in wsgibase File "gluon/main.py", line 193, in serve_controller File "gluon/compileapp.py", line 435, in run_controller_in TypeError: 'NoneType' object is not callable I make a jquery ajax call to a url that calls the follo

[web2py] Re: Why am I getting this error ?

2010-04-12 Thread topher.baron
oblem with sending the response back to the client. On Apr 12, 2:02 pm, Alexandre Andrade wrote: > TypeError: 'NoneType' object is not callable > > usually is a object not instancied. > > Verify your objects and put "try" around to help to debug

[web2py] Re: Why am I getting this error ?

2010-04-13 Thread topher.baron
; On Mon, Apr 12, 2010 at 4:32 PM, mdipierro wrote: > > > I have no idea but you can stop to my office tomorrow and we will post > > > the solution then. > > > > Massimo > > > > On Apr 12, 2:05 pm, "topher.baron" wrote: > > >> I should

[web2py] Ajax response is not complete

2010-09-17 Thread topher.baron
Hi web2py users, I'm encountering a strange issue. About half of every ajax response I get from web2py is not complete. For instance, I'm usually sending a json string from the server to the client. Upon trying to eval the json, I get an unterminated string literal error because the string is n

[web2py] component question

2010-10-22 Thread topher.baron
Hello web2py users, I just started messing around with components and am having a little problem. Here is part of my view : {{=LOAD('default','addTreeComponent.load', target='addTreeContainer')}} {{=LOAD('default','treeInfoPanel.load', target='treeInfoPanel')}} When the

[web2py] Re: component question

2010-10-22 Thread topher.baron
When I add, Ajax=True to the LOAD call, they are in separate DIVs. On Oct 22, 10:52 am, "topher.baron" wrote: > Hello web2py users, > > I just started messing around with components and am having a little > problem.  Here is part of my view : > >

[web2py] Re: Ajax response is not complete

2010-10-25 Thread topher.baron
e response from firebug, the string sent back to the client is not all there. When I debug on the server, it writes the entire string to a file. The call works intermittently. Any suggestions ? On Sep 17, 10:47 pm, Adi wrote: > It would help to see some code. > > On Sep 17, 9:40 pm, &

[web2py:31764] Ubuntu web2py

2009-09-27 Thread topher.baron
All, I've been using web2py on OSX and have been trying to get it up and running on 9.04 Ubuntu, but have not been able to. From the bash shell : cba...@cbaron-ubuntu:~$ python Desktop/web2py/web2py.py WARNING:root:unable to import dbhash WARNING:root:GUI not available because Tk library is not