On Tuesday, November 18, 2014 12:09:43 PM UTC-8, Dave S wrote:
>
>
>
> On Tuesday, November 18, 2014 11:56:59 AM UTC-8, Dave S wrote:
>>
>> I actually used a Form!
>>
>> I have a very simple web site. Originally it had one page beyond the
>> (sample) index.html, which just did a query of my db
On Thursday, November 20, 2014 1:29:18 AM UTC-8, Dave S wrote:
>
>
> [...]
> And because my csv file had some entries like 1987-1-23, I also needed
>
> select * from composer where strftime('%m', birthdate) is null ;
>
>
>
>
Between Opera and Groups, the "isnull" got split into 2 words. :-(
/dps
i have this error and only using one worker, with 2 i eventually get an
error after some time .
My 8 tasks connects to 8 ftp servers to read a csv file and then connects
to other system via ODBC to save the data.
I dont understant why its saying "database is locked"
I´m not saving documents to my w
Thanks a lot Anthony. It'll be perfect.
On Saturday, November 15, 2014 3:28:15 PM UTC+5:30, T.R.Rajkumar wrote:
>
> In book chapter 3 overview the following is given to restrict access to
> second page.
>
> if not request.function=='first' and not session.visitor_name:
> redirect(URL('first'
Yes, Anthony I'll do as you said. Thanks once again.
On Tuesday, November 18, 2014 12:06:31 PM UTC+5:30, T.R.Rajkumar wrote:
>
> form_upload = SQLFORM.factory(Field('your_excel_file', 'upload',
> uploadfolder='helloworld/uploads'))
> if form_upload.process().accepted:
> session.your_excel_
sqlite has very well known problems dealing with concurrent access. every
write operation blocks the database. you may mitigate it enabling WAL, but
in any case, the limitation stands.
On Thursday, November 20, 2014 10:32:56 AM UTC+1, Ramos wrote:
>
> i have this error and only using one worker,
the "new task report" line is logged when the status is either COMPLETED or
FAILED.
These are not the statuses of the task itself, it's the status of the task
being returned by the "executor" process, that knows only if the task ended
correctly or raised some exceptions.
The "finer grained" st
Il 20/11/14 02:36, Massimo Di Pierro ha scritto:
> I do not remember but please open a ticket and I will look at this asap.
done! https://code.google.com/p/web2py/issues/detail?id=2019
Thank you Massimo
M.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://gi
Maybe i just use mongo for this .
Its a simple app with only 8 tasks (more to come)
What do you think ?
2014-11-20 9:50 GMT+00:00 Niphlod :
> sqlite has very well known problems dealing with concurrent access. every
> write operation blocks the database. you may mitigate it enabling WAL, but
> i
I mean, only tasks, no front end or user accounts.
Its only to avoid using cron
2014-11-20 10:16 GMT+00:00 António Ramos :
> Maybe i just use mongo for this .
> Its a simple app with only 8 tasks (more to come)
>
> What do you think ?
>
> 2014-11-20 9:50 GMT+00:00 Niphlod :
>
>> sqlite has very
The flash message could allow us to define background color and maybe some
icon in the popup message.
Not important but visuallly more appealing.
Regards
António
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://
Not really I added that functionality to one of my applications using
bootstrap alerts, it's a little complicated but I can share the solution if
you want.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.g
What version is this?
--
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 subscribed to the Google Groups
"web2py-u
thank you,
a different and yet related problem that I found when I was testing the
timeout behaviour using a simple task that just does a time.sleep(3000) is
that this keeps the CPU load of its process close to 100% during the whole
time. This, however it's not a CPU intensive function and you
Yes i also used bootstrap.
I just think that the flash message should include it.
2014-11-20 11:01 GMT+00:00 Leonel Câmara :
> Not really I added that functionality to one of my applications using
> bootstrap alerts, it's a little complicated but I can share the solution if
> you want.
>
> --
2.9.11
On Thursday, November 20, 2014 6:04:15 AM UTC-5, Leonel Câmara wrote:
>
> What version is this?
>
--
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)
---
Ok here it goes, brace yourself.
First in layout.html replace the original flash div with:
{{if
response.flash:}}{{=response.flash}}{{pass}}
This will be enough to put some color in it using response.flash_status in
a controller for example:
response.flash = 'Form Accepted'
response.flash_st
more errors with web2py 2.9.5
[image: Imagem inline 1]
2014-11-20 10:22 GMT+00:00 António Ramos :
> I mean, only tasks, no front end or user accounts.
>
> Its only to avoid using cron
>
> 2014-11-20 10:16 GMT+00:00 António Ramos :
>
>> Maybe i just use mongo for this .
>> Its a simple app with
Another possible approach:
In a model or module:
def flash(message, classes=None):
return CAT(message,
SCRIPT('jQuery(".flash").addClass("%s");' % classes) if
classes else '')
Then to create a flash message:
response.flash = flash('Congratulations, it worked!', 'success')
A
Can you check the browser developer tools to see the network traffic in
each case (also check the console for any JS errors)?
A few other observations:
- You set response.flash but then do a redirect, so the flash message
will get ignored. You should instead set session.flash.
- In one
Can you check the browser developer tools to see the network traffic in
each case (also check the console for any JS errors)?
A few other observations:
- You set response.flash but then do a redirect, so the flash message
will get ignored. You should instead set session.flash.
- In one
Do you have request.requires_https() anywhere in your code?
On Wednesday, November 19, 2014 1:52:32 AM UTC-5, joe black :) wrote:
>
>
> Hi,
>
> Just deployed a new web2py using deployment script on Ubuntu.* Problem is
> all the traffic is forwarded to https. giving certificate error to users.*
>
am seeking to display a button in view only if grid is in "view" mode.
otherwise, button inappropriately pops up in edit mode.
anyone see anything wrong with this code in the view?
{{if request(0) == 'view':}}Post a brand new suggestion}}{{pass}
error is:
Request' object is not callable
tha
Should be request.args(0). You could also just do: if 'view' in
request.args.
Anthony
On Thursday, November 20, 2014 1:56:14 PM UTC-5, Alex Glaros wrote:
>
> am seeking to display a button in view only if grid is in "view" mode.
>
> otherwise, button inappropriately pops up in edit mode.
>
> any
if you care to post an app that reproduces the behaviour, I'd be glad to
iron out the bug, if there's one.
On Thursday, November 20, 2014 12:07:50 PM UTC+1, Francisco Ribeiro wrote:
>
> thank you,
>
> a different and yet related problem that I found when I was testing the
> timeout behaviour usi
mongo is not supported (being experimental and no relational).
On Thursday, November 20, 2014 2:04:53 PM UTC+1, Ramos wrote:
>
> more errors with web2py 2.9.5
>
> [image: Imagem inline 1]
>
> 2014-11-20 10:22 GMT+00:00 António Ramos
> >:
>
>> I mean, only tasks, no front end or user accounts.
>>
Which is the "master", Hg on Google Code or Git on GitHub?
On Tuesday, November 18, 2014 11:46:41 AM UTC-8, Dave S wrote:
>
>
>
> On Tuesday, November 18, 2014 4:02:17 AM UTC-8, Dragan Matic wrote:
>>
>> Also, file scripts/setup-web2py-centos7.sh is missing from mercurial
>> repository. Obviously
git.
On Thursday, November 20, 2014 10:16:20 PM UTC+1, pbreit wrote:
>
> Which is the "master", Hg on Google Code or Git on GitHub?
>
> On Tuesday, November 18, 2014 11:46:41 AM UTC-8, Dave S wrote:
>>
>>
>>
>> On Tuesday, November 18, 2014 4:02:17 AM UTC-8, Dragan Matic wrote:
>>>
>>> Also, file
Is there a way to donate money to web2py project? I can only see "donate
bitcoins" on front page.
On Thursday, November 20, 2014 4:44:37 AM UTC+1, Massimo Di Pierro wrote:
>
> Honestly I do not understand how Meteor pulled it off.
> I would have been happy to rebuilt something better than meteo
29 matches
Mail list logo