[web2py] Re: Response Stream Control

2014-09-22 Thread Leonel Câmara
Can't you just check what wget returns for errors? That said, the only way to be sure there was no corruption is using the hash method, I don't think that's too much for even that machine to do to be honest, you can use cksum instead of md5sum if md5sum is too resource intensive. If this is stil

[web2py] Re: Interactive computer vision project

2014-09-22 Thread Leonel Câmara
If you already split the movie into its frames that's pretty easy to do using javascript. This isn't really a web2py problem. For instance you could use something like imgareaselect to let the user select an area of the image and then you send it to

[web2py] Re: Signed url to non users of the app

2014-09-22 Thread Niphlod
you code your own logic to check for a time-limited token in some request.vars On Sunday, September 21, 2014 11:35:35 PM UTC+2, Ramos wrote: > > Hello i have an app that creates some graph about some data > > > How can i share a link to a view of that graph and send it to a person > that is

[web2py] Re: Bootstrap icons don't work with latest web2py?

2014-09-22 Thread Sif Baksh
How do I download the fix, I just upgraded to version 2.9.11-stable+timestamp.2014.09.15.23.35.11 Do I need to download a file? Sorry very new to web2py and was testing glyphicons today Thanks, Sif On Saturday, September 22, 2012 9:24:12 AM UTC-6, Massimo Di Pierro wrote: > > Just fixed in tr

[web2py] Re: Running a long task with task scheduler multiple times in the same browser

2014-09-22 Thread Douglas Campbell
You are awesome Niphlod. I restructured the process a bit so that page running the process does not have a form and just call session.forget(response) before starting it and it works great now. I can run it multiple times in the same browser and they all return the correct values independently

[web2py] Re: Running a long task with task scheduler multiple times in the same browser

2014-09-22 Thread Chukwudi Nwachukwu
Please @Niphlod, could you give at least the simplest example of *if you need n parallel jobs to run, the best thing is to use the Scheduler with n active processes, and leave the webserver just queuing and reading the results (the simplest thing would be to poll periodically for results)* This

[web2py] Re: Running a long task with task scheduler multiple times in the same browser

2014-09-22 Thread Anthony
> there could be race conditions among several "parallel" requests. The way > to turn this behaviour "off" is to avoid using session (make sure you don't > have forms in the page, because they require a sesson to be there) and use > session.forget(). You can read about it on the book. > Note

[web2py] Re: Response Stream Control

2014-09-22 Thread Derek
Well, if this is http, there really is no way to tell how much of a file was downloaded by a client, unless you write the webserver part yourself. Web2py never sees if a file is completely downloaded or not. Why are you using HTTP if you need to be absolutely sure that the file transferred? Hav

Re: [web2py] Re: auth.login() does not return input value (username) on error, if auth.define_tables(username=True).

2014-09-22 Thread Mark Li
Feel like this should be the default behavior, although I'm not sure if there's a particular reason for redirecting as opposed to returning a form. On Thu, Sep 18, 2014 at 12:21 PM, Leonel Câmara wrote: > Humm I had to add keepvalues=True (there could be an > auth.settings.keepvalues) to the for

[web2py] Re: Version 2.9.6 indeed breaks backward compat for some users

2014-09-22 Thread PN
Seems like a related issue still exists in web2py 2.9.11 for Microsoft SQL Server. list:integer type fields get mapped to 'text' type fields in MS SQL. The text type fields cannot use functions like 'LOWER', only varchar type fields can. So now queries like field.contains() will not work becau

[web2py] Re: Version 2.9.6 indeed breaks backward compat for some users

2014-09-22 Thread Leonel Câmara
The MSSQLAdapter could cast to varchar and avoid the problem. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are su

[web2py] Re: Version 2.9.6 indeed breaks backward compat for some users

2014-09-22 Thread Niphlod
Unfortunately, mssql:// is there only for MSSQL 2000 (and others derived from that baseclass). It's a known issue...unfortunately there's no operator / function that can turn a 'text' into a something that gets a LIKE applied correctly without the possibility of truncation, not until MSSQL 200

Re: [web2py] Response Stream Control

2014-09-22 Thread Ricardo Pedroso
On 9/22/14, Aldo Bassanini wrote: > Hello everyone. > Is there any way to control the final status of the response.stream > function? > > I need to serve a small file to a client application (the client app uses > wget, not a browser), but I wish to know if the client successfully > downloaded the

[web2py] Re: web2py grid auto page

2014-09-22 Thread Dave S
On Saturday, September 20, 2014 9:43:34 PM UTC-7, T.R.Rajkumar wrote: > > I have a SQLFORM.grid. It paginates the returned rows. Now I want to move > through all the pages on a set timer interval without clicking the page > numbers, i.e I want to auto page like an album without post back using

[web2py] Re: web2py setup scripts for windows

2014-09-22 Thread Tim Richardson
I made a new docroot folder and cloned web2py into it. So when the site runs for the first time, it attempts to create folders. There is a permission error because it can't do this. I looked at the permissions granted to the default docroot (inetpub/wwwroot) but it wasn't obvious to me what to