Appears to be a permissions issue as it goes away if I start web2py with
sudo.
On Wednesday, September 28, 2016 at 10:15:18 PM UTC-7, pbreit wrote:
>
> Weird. I keep getting auth_user already exists errors. I cloned a fresh
> web2py from Github (with the --recursive flag), added a "New simple
Weird. I keep getting auth_user already exists errors. I cloned a fresh
web2py from Github (with the --recursive flag), added a "New simple
application" and upon the very first access of the new app I get that
error. I guess what is happening is it creates "sql.log" file in /databases
and then
On Tuesday, September 27, 2016 at 2:10:49 PM UTC-7, Yoel Baez wrote:
>
> I want to add a button on a SQLFORM.grid to inactivate the row
>
I'd look at the way SQLFORM.grid update is handled, or maybe even co-opt
it.
/dps
>
> 2016-09-27 17:07 GMT-04:00 Dave S :
>
>>
>>
I'm doing a database-heavy app, and one of the things which has bothered me
a little about web2py is that I can't depend on the Row object generated by
a query. Sometimes it has a key for each table of a multi-table join, but
if the query comes from a single table, there is no table key.
Thank you Niphlod, as always :)
I've seen your answer in the other post. Sorry for my lack of knowledge :P
Now I understand better.
I was dealing today with a strange error: the same code worked ok when I
run the app with web2py's embedded server, but the app couldnt connect to
redis when I
the POV of this question is wrong. Scheduler processes do what you ask them
to do, without nothing else added.
The same thing you observe would happen if you try to execute your tasks
manually. It just seems that what you are asking them to do violates your
model (i.e. either you had already a
jwt is the emerging standard for apis and such, but if the usage is
all-internal, why don't you just start simple and do
if request.vars.token not in ('xa', 'bbxb', 'cc'):
raise HTTP(403)
?
On Wednesday, September 28, 2016 at 2:15:19 PM UTC+2, Marlysson Silva wrote:
>
> This
see the other thread. accessing redis through an ssl channel just encrypts
the traffic from your frontend to the redis instance: it has nothing to do
with how a user accesses your app (i.e. https or http).
On Wednesday, September 28, 2016 at 9:42:28 PM UTC+2, Lisandro wrote:
>
> I think I know
first and foremost, ssl connection with redis and https have absolutely no
relation.
you can get every combination of the matrix:
- http with std redis
- http with ssl redis
- https with std redis
- https with ssl redis
Redis server doesn't offer anything as ssl is concerned. Redis service
On Wednesday, September 28, 2016 at 3:58:10 AM UTC-7, Pierre wrote:
>
> Hi ,
>
>
> I noticed an unexpected behaviour when running two scheduler processes.
>
>
> The situation is this :
>
>
> A db with a table like :
>
>
> db.define_table('taba',
> Field('fa', unique=True, requires =
Hi there.
Is there any working example using ssl to connect to redis?
My web2py app is served through HTTPS since some time ago (using an old
web2py version).
Today I've tried to update web2py to the last stable version, and I've
noticed all this awesome improvements to redis cache.
However,
I think I know what's going on.
I've found this post from Niphlod regarding new redis cache:
https://groups.google.com/forum/#!searchin/web2py/redis$20unavailable$20instance%7Csort:relevance/web2py/x1CCFWflmV8/POdMQmcYEgAJ
There he says: "...want to connect to redis through ssl (previously
how configure email??
i do according to the book but it not work...
please anyone tell me another method???
--
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)
Hi everyone!!
I am working in a plugin for add some security against bots to forms
without using captcha (or recaptcha) and it is what I have right now:
https://github.com/daxslab/web2py-no-captcha-security
I have implemented a Honeyspot field and a js generated checkbox.
What did you
I was using an old web2py version
(2.10.3-stable+timestamp.2015.04.02.21.42.07), but today I've updated to
the last stable (2.14.6-stable+timestamp.2016.05.10.00.21.47).
I've seen that in the new version of redis_cache the usage has changed.
Before it was like this:
from
Try look whether a instance of Redis return a type of redis , it is like
that redis connection are failing and returning a string intead redis
object. I Think.
Em quarta-feira, 28 de setembro de 2016 11:24:10 UTC-3, Lisandro escreveu:
>
> Hi there!
> Recently I've updated web2py to the last
the body virtual field displays normally outside of a sqlform.grid.
--
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
Hi,
here is the situation:
TABLE:
db.define_table('amsg',
Field('ufrom'),
Field('uto', 'reference auth_user'),
Field('mailbox_to_use','list:string',requires=IS_IN_SET((
'internal','private'),multiple=True),
Hi there!
Recently I've updated web2py to the last stable
version 2.14.6-stable+timestamp.2016.05.10.00.21.47
ERROR:web2py:Traceback (most recent call last):
File "/home/gonguinguen/medios/gluon/restricted.py", line 227, in
restricted
exec ccode in environment
File
This is what you need:
http://web2py.readthedocs.io/en/latest/tools.html#gluon.tools.Auth.jwt
Json Web Token , communications to services "rest" .. I think that
facilitates your work
Em quarta-feira, 28 de setembro de 2016 08:57:59 UTC-3, Lisandro escreveu:
>
> Hi there!
> I have a web2py app
The website that contains the video should be have link to add in
your site.
Em segunda-feira, 26 de setembro de 2016 15:59:48 UTC-3, SR escreveu:
>
> How do I embed a video file in my webpage?
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
Hi there!
I have a web2py app that implements a JSON-RPC public webservice, over
HTTPS.
It's public as it doesn't require user and password to authenticate.
However, the webservice is only consumed by a set of other applications
that I manage.
So I would like those apps to use a key in order to
Hi ,
I noticed an unexpected behaviour when running two scheduler processes.
The situation is this :
A db with a table like :
db.define_table('taba',
Field('fa', unique=True, requires = IS_NOT_IN_DB(db,'taba.fa')),
Field('fb'))
a task (same function different args) distributed
Thanks Anthony, i understand clearly now, getcourseids was indeed a Rows
object and it works now with just this line:
s = db(db.item.id.belongs([c.item_id for c in getcourseids])).select(db.item
.course_title)
Thanks a lot really!
On Wednesday, September 21, 2016 at 8:59:05 PM UTC+2, Anthony
24 matches
Mail list logo