0].setLevel(logging.INFO)
>
> that seemed to help me weed out some extra logs (i never had luck with
> logging.conf and GAE). can you try and see if that helps? if so let's
> submit an patch to massimo!
>
> thanks,
>
> christian
>
> On Wednesday, June 19,
Hi!,
I've change to GAE 1.8.1 and suddenly (before, with GAE 1.7.5 everything
worked ok) the LOG is not working. None of my debugs lines are dump to
console. Then I've see that my logging.conf was not being used. This is my
log config:
[loggers]
keys=root,rocket,markdown,web2py,rewrite,cron,ap
gine/docs/python/taskqueue/overview-pushbut
>> I'm lost about how to use it from my controller and Web2Py.
>> Thanks!
>>
>>
>> On Monday, June 3, 2013 9:12:14 PM UTC+2, Niphlod wrote:
>>>
>>> ehmm.. scheduler is NOT meant to be run on GAE.
eue
> for that.
>
> On Monday, June 3, 2013 7:59:45 PM UTC+2, José Manuel López wrote:
>>
>> Hi Massimo,
>> this is my Web2Py version: Version
>> 2.4.6-stable+timestamp.2013.04.06.17.37.38
>> And I'm running on 2.5 Python version, maybe I've to
Ops!, ok Niphold, then I'm going to use their task queue :))
Thanks for the help!
On Monday, June 3, 2013 9:12:14 PM UTC+2, Niphlod wrote:
>
> ehmm.. scheduler is NOT meant to be run on GAE. They have task queue
> for that.
>
> On Monday, June 3, 2013 7:59:45 PM UTC+
You may be on an early Python
> version that does include multiprocessing.
>
> On Monday, 3 June 2013 11:01:38 UTC-5, José Manuel López wrote:
>>
>> Hi,
>> I've a function call SendReport that send an email to every user in my
>> system every day (morning), s
Hi,
I've a function call SendReport that send an email to every user in my
system every day (morning), something like a newsletter.
Now, I've to make this task with the scheduler but I'm not sure how to do
it.
I've see the video (thanks Massimo), but I'm not sure where I've to do it.
This is m
Now it's perfectly working!
A simple "if" in the main index :) and a redirect... the most simple
solution, like always...
Thank you so much for your time and for let me understand (a little more)
this awesome tool
On Wednesday, May 8, 2013 8:12:54 PM UTC+2, José Manuel López
so, then when you attempt to go to that URL after having logged out, it
> will immediately redirect again to the login page.
>
> Anthony
>
> On Wednesday, May 8, 2013 1:42:19 PM UTC-4, José Manuel López wrote:
>>
>> For a moment I can see the "logout" that yo
wrote:
>
> OK, my mistake -- the _next variable points to auth.settings.logout_next
> -- so just change that setting to whatever URL you want.
>
> Also, are you sure the Logout URL is pointing to /default/user/login and
> not /default/user/logout?
>
> Anthony
>
> On Wedn
> pack it, and attach it here?
>
> Anthony
>
> On Wednesday, May 8, 2013 12:30:49 PM UTC-4, José Manuel López wrote:
>>
>> Sorry my ignorance but am newbie ... where can I find it?
>>
>> On Wednesday, May 8, 2013 6:27:15 PM UTC+2, Anthony wrote:
>&
Sorry my ignorance but am newbie ... where can I find it?
On Wednesday, May 8, 2013 6:27:15 PM UTC+2, Anthony wrote:
>
> What does your Auth setup code look like?
>
> On Wednesday, May 8, 2013 12:01:48 PM UTC-4, José Manuel López wrote:
>>
>> Hi Anthony,
>> This is
the navbar? Is it just
> auth.navbar(mode="dropdown")? The logout link on the navbar should point to
> /appname/default/user/logout?_next=[URL of the current page] -- it should
> not point to /default/user/login at all.
>
> Anthony
>
> On Wednesday, May 8, 2013 1
2013 4:04:53 PM UTC+2, Anthony wrote:
>
> What do you mean by "close the session"?
>
> On Wednesday, May 8, 2013 9:58:13 AM UTC-4, José Manuel López wrote:
>>
>> Hi!,
>> I'm a lost with this problem, maybe anyone can help me.
>> Let's say I'm
Hi!,
I'm a lost with this problem, maybe anyone can help me.
Let's say I'm logged in this route: /AppName/*normalController*/*index*,
and then close the session.
Why when I close the session web2py redirects me to this URL? ->> AppName/*
default/user/login*?_next=/AppName/*default/index* , I was
Hi,
Let's say I'm in this route: /AppName/*normalController*/*index*, logged
and then I close the session. Why when I close the session web2py redirects
me to this URL? AppName/*default/user/login*?_next=/AppName/*default/index*, I
was expecting something like:
AppName/*default/user/login*?_ne
the .belongs() to only 30 items, though, so if it
> might contain more, you may need to build the list separately and use an
> IS_IN_SET() validator instead. Others with GAE experience may have better
> ideas.
>
> Anthony
>
> On Tuesday, May 7, 2013 9:55:37 AM UTC-4, José Man
table = SQLFORM.smartgrid(db.OffersCity, linked_tables=linked_tables)
return dict(table=table)
As you can see it's very simple.
On Tuesday, May 7, 2013 3:46:30 PM UTC+2, LightDot wrote:
>
> This is not your entire database definition, is it? It might help if you
> post
Thank you Anthony for your help,
The problem now is this:
Too many tables selected
Can be a problem that I'm over GAE?
On Tuesday, May 7, 2013 3:43:32 PM UTC+2, Anthony wrote:
>
> yes, you are right, db.auth_user will return all the users table.
>
> please try to change
>> Field('hotel_chain_m
=None)
> should be
> table = SQLFORM.smartgrid(db.OffersCity, constraints=None)
>
> best regards
>
> On Tuesday, May 7, 2013 7:29:49 AM UTC-4, José Manuel López wrote:
>>
>> Hi,
>> Lets say I have this table:
>> db.define_table('OffersCity',
>
b.auth_user)
> into
> Field('hotel_chain_manager', 'reference auth_user',
> default=auth.has_membership('Admin'))
>
> hope this can help
>
> best regards
>
> On Tuesday, May 7, 2013 7:24:05 AM UTC-4, José Manuel López wrote:
>>
>>
>
Hi,
Lets say I have this table:
db.define_table('OffersCity',
Field('city', db.City),
Field('offer', db.Offer),
Field('hotel', db.Hotel))
I want to create a smartgrid, but it's not working... I don't know why:
Here it's my code:
table = SQLFORM.s
0:36:04 AM UTC+2, 黄祥 wrote:
>
> i think you can achieve it (in controller using grid) with
> editable = auth.has_membership('Admin')
>
> e.g.
> def booking():
> has_membership=auth.has_membership('Admin')
> grid=SQLFORM.grid(db.booking, editable=
Hi,
I've a " form = SQLFORM.grid " that let the user edit the rows.
In the edit form I want that one of the field populated only with "Admins".
Now I have this field populated with all the db.auth_user and is huge and
very hard to find the correct user.
How can I do it?, I'm thinking in someth
list fields, but don't have the projection
> indexes.
>
> let us know if that doesn't fix it for you!
>
> cfh
>
> On Monday, May 6, 2013 12:17:44 AM UTC-7, José Manuel López wrote:
>>
>> Hi,
>> I've to make an adHoc user management formulary
Hi,
I've to make an adHoc user management formulary and I'm making a table with
a "role filter". I'm in GAE and the joins must to be done by hand.
This is my code:
auth_user_with_role = db(db.auth_membership.group_id==request.vars.role).
select(db.auth_membership.ALL)
auth_user_ids_role_selected
int of the grid is to do
> paginations without having all the records. If you do, you do not need the
> grid.
>
> On Friday, 3 May 2013 06:30:57 UTC-5, José Manuel López wrote:
>>
>> Lets say I have a Rows object with the info I want to represent in a gird
>> or smar
Lets say I have a Rows object with the info I want to represent in a gird
or smartgrid, is there any way to create a grid passing this rows?.
Something like this:
form = SQLFORM.grid(*ROWS*, <<-
searchable=True,
deletable=True,
Hi, I have this routes in route.py
routes_in = (
('/hoteles', '/hoteluser/index'),
)
routes_out = (
('/hoteluser/index', '/hoteles'),
)
It's a very simple test where I want that an URL like this: *
http://localhost:8088/myapp//hoteluser/index* looks like this *
http://localhost:8088/urroomserv
> db(condition and condition).select()
>
> On Wednesday, April 17, 2013 8:52:09 AM UTC+2, José Manuel López wrote:
>>
>> I'm trying to make a very simple query:
>>
>> offersInRange= db(db.Offer.hotel == request.vars.hotel
Thank you Christian!. Now it works.
Any clues to low the overhead?
On Tuesday, April 16, 2013 6:28:30 PM UTC+2, Christian Foster Howes wrote:
>
> ahhh yes...i remember. given that appstats, while helpful for testing,
> has a significant performance overhead (200ish ms per request i think),
> a
I'm trying to make a very simple query:
offersInRange= db(db.Offer.hotel == request.vars.hotel
anddb.Offer.valid_from_date >
= form.vars.valid_to_date and
db.Offer.valid_from_date <=form.vars.valid_to_date
).select(db.Offer.ALL)
I have test this too:
offersInRang
abled in app.yaml?
> - what does your appengine_config.py look like?
>
> cfh
>
> On Monday, April 15, 2013 12:28:59 AM UTC-7, José Manuel López wrote:
>>
>>
>> <https://lh4.googleusercontent.com/-xPEFarglbpA/UWvXiWWPdnI/AB0/vB3xDkBUeVY/s1600/Captura+de+p
Hi,
AppStats doesn't work in my App although I have this in gaehandler.py:
LOG_STATS = TrueAPPSTATS = True
DEBUG = False
I have do anything wrong because it doesn't work in Local or in googlespot.
As you can see in the screenshot I've the AppStats link in the CUSTOM
section, but when I select
Hi,
I'm trying to get a Offer entity in my DB (GAE) and I'm doing something
like this:
offerKey = gae.Key.from_path('Offer', offer.id) # offer is my the offer
using DAL.
Now I have to make a decrementation inside a transaction GAE:
if (not gae.run_in_transaction(decrementNumRooms, offerKey)):
wn formatting value
>
> On Monday, March 25, 2013 10:19:53 AM UTC+1, José Manuel López wrote:
>>
>> Hi,
>> It's possible to put the €/$ symbol in a column in a SQLForm.grid?.
>> Thanks
>>
>
--
---
You received this message because you are subscri
Hi,
It's possible to put the €/$ symbol in a column in a SQLForm.grid?.
Thanks
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to web2py+unsubscr...@googleg
Hi,
I'm searching for a method to upload / download data from / to GAE.
Basically I have Hotels, Hotels Images, Cities, Cities Images ... in wich
some images belongs to some Cities / Hotels.
I've found a way using the bulk uploader from Google, but I don't know if
it's the best way to do it be
things have changed very recently, GAE can only do OR where the
> left and right expressions involve the same field.
>
> On Tuesday, 12 March 2013 07:25:28 UTC-5, José Manuel López wrote:
>>
>> I'm over GAE and I'm trying to do this:
>> db((db.Hotel.manage
I'm over GAE and I'm trying to do this:
db((db.Hotel.managerID == user)|(db.Hotel.hotelChainManager == user)).select
()
But I'm getting an error:
File "/Users/XXX/Development/Server/web2py/gluon/dal.py"*, *line 4237*, **in
*OR
*def *OR*(**self**,*first*,*second*): **raise *SyntaxError*(*"Not
Thank you Anthony.
On Friday, March 8, 2013 5:47:48 PM UTC+1, Anthony wrote:
>
> See
> http://stackoverflow.com/questions/8146260/best-practice-for-populating-dropdown-based-on-other-dropdown-selection-in-web2p/8152910#8152910
> .
>
> On Friday, March 8, 2013 2:03:28 AM UTC-5,
d wrote:
>>
>> you can do as you did with the hotels (i.e. passing a queryset already
>> filtered instead of a table to the IS_IN_DB) or create a dict holding a few
>> cities with as the key the id of the city and the value the name of it.
>>
>> On Thursday, Marc
queryset already
> filtered instead of a table to the IS_IN_DB) or create a dict holding a few
> cities with as the key the id of the city and the value the name of it.
>
> On Thursday, March 7, 2013 3:52:24 PM UTC+1, José Manuel López Muñoz wrote:
>>
>> Hi,
>> I
Hi,
I'm trying to populate a drop down menu of a form like this:
def createOffer():
hotelesUsuario=db(db.Hotel.managerID == auth.user_id)
db.Offer.hotel.requires=IS_IN_DB(hotelesUsuario,'Hotel.id','%(name)s')
form = SQLFORM(db.Offer)
This is my Offer table:
db.define_table('Offer
Hi,
I have a table with Offers that belongs to hotels that belongs to Cities .
Now I have a SQLFORM that help me to create new offers and I want to make a
cascading drop down list for all the hotels in a City when a City is
created.
I have found the way that Massimo recommends:
jQuery(functio
Hi,
I want to make a table with a simple query and finally a row with the
result of a SUM. I'm over GAE.
Is there a way to do it with SQLFORM or I have to do a table manually with
a Total Row?.
Thank you
--
---
You received this message because you are subscribed to the Google Groups
"web
Thank you Derek, I've search an example. I will try it.
On Thursday, February 14, 2013 9:14:01 PM UTC+1, Derek wrote:
>
> You could make it a list:reference and then process that on accept by
> assigning the appropriate groups.
>
> On Wednesday, February 13, 2013 11:58:02 P
Hi,
I'm trying to send an email from GAE (mac OS), and I've config the mail
settings.
Now I'm getting this into the LOG:
INFO 2013-02-15 10:19:36,770 mail_stub.py:138] MailService.Send
From: x...@gmail.com
To: x...@gmail.com
Reply-to: u...@example.com
Subject:Identificador 8E de
Hi,
I want to make a user creation form, and I need to select the group that
this user belongs.
As you know the user have a many to many relation with "group" using
"membership", here is the book chapter:
http://web2py.com/books/default/chapter/29/9#Access-Control
I don't know how to make a f
Hi,
I'm trying to make a form for add a new user wich must to have a
membsership.
I'm making this, that obviously is very wrong:
def create_user():
form = SQLFORM.grid(db.auth_user)
membership_panel = LOAD(request.controller,
'create_membership.html',
can do like dhmorgan
> suggests.
>
> On Tuesday, February 12, 2013 5:50:24 AM UTC-8, José Manuel López Muñoz
> wrote:
>>
>> The plugin is a w2p file, how can I install it locally if my web2py
>> application is running over GAE (in my PC).
>> If I could unpack the w
tem is read-only and I don't think it's possible to
> download and install a plugin from the admin interface... you have to
> download the plugin locally and then deploy the app to GAE.
>
> On Tuesday, February 12, 2013 2:01:42 PM UTC+1, José Manuel López Muñoz
> wrote
Hi,
I'm trying to install a layout plugin from the admin form, and I'm getting
this error:
59.38.141.2013-02-12.12-45-14.5bd90085-2c09-41a0-9519-2eedc98ef24b
* [Errno 1] Operation not permitted:
'/base/data/home/apps/s~urroomserver/3.364933294563261415/deposit/web2py.plugin.layout_sliced.w2p
Hi,
I want to change the layout of my application.
I know that the admin can Upload a plugin and I'm trying to do it from the
admin form.
The problem is that I'm getting this error when I push "upload":
3.59.38.141.2013-02-12.12-45-14.5bd90085-2c09-41a0-9519-2eedc98ef24b
[Errno 1] Operation
Thank you all for the answers,
I finally have created a function and run it in a transaction.
Regards.
On Thursday, November 29, 2012 11:18:47 AM UTC+1, José Manuel López Muñoz
wrote:
>
> I'm making a room reservation system in Web2Py over Google App Engine.
> When a user is book
I'm making a room reservation system in Web2Py over Google App Engine. When
a user is booking a Room the system must be sure that this room is really
available and no one else have reserved it just a moment before. To be sure
I make a query to see if the room is available, then I make the
res
56 matches
Mail list logo