Trying to run following script inside a controller:
python web2py.py -S myapp -M -N -R applications/myapp/private/alerts.py -A
1 2 3
and getting:
SyntaxError: invalid syntax at web2p*y*.py
Can someone assist please.
Thanks & Regards
AT
--
---
You received this message because you are sub
Interesting. I'm not sure if it's is relevant, but I'm using a very
barebones nginx+uwsgi setup compiled from source. I may be misinterpreting
your comment but it sounds like you're saying it should work with
nginx+uwsgi. That's exactly what I'm using.
On Tuesday, August 20, 2013 11:19:52 PM UT
I've just realized that this script is supposed to be run outside the
web2py application and it would work as if it was inside the application
controller, am I right?
Is there any way to invoke a controller function or webservice
asynchroously, from another controller function?
Thanks
On Wed
If I release Creative Common is about one month. If I go with a publisher
it may take longer.
On Tuesday, 20 August 2013 13:12:12 UTC-5, samuel bonill wrote:
>
> graet ! when will be published !!
>
> El lunes, 19 de agosto de 2013 08:51:56 UTC-5, Massimo Di Pierro escribió:
>>
>> ... I am w
do you have that line in yout nginx config ?
On Wednesday, August 21, 2013 9:12:50 AM UTC+2, HittingSmoke wrote:
>
> Interesting. I'm not sure if it's is relevant, but I'm using a very
> barebones nginx+uwsgi setup compiled from source. I may be misinterpreting
> your comment but it sounds like
I am following the recipe to use a new instance of web2py along with ssh
tunneling to access the web2py admin interface. The recipe says use the
command
nohup python web2py --nogui -p 8002 -i 127.0.0.1 -a '' &
How can I stop an instance started like this? I am doing a ps for the process
and kil
No difference. The former allows you to specify which Python version to use
if you have more than one installed.
On Wednesday, 21 August 2013 01:04:16 UTC-5, Jayadevan M wrote:
>
> I am following the recipe to use a new instance of web2py along with ssh
> tunneling to access the web2py admin int
Luca's patch is in trunk.
On Thursday, 15 August 2013 04:01:52 UTC-5, Massimo Di Pierro wrote:
>
> Sorry, was out of town and had connection very few hours a day. Trying to
> catch up. Tomorrow will be a little better.
>
> On Wednesday, 14 August 2013 18:33:33 UTC-5, Luca wrote:
>>
>> Massimo, I
I have not forgotten. I opened issue 1645.
On Tuesday, 13 August 2013 15:13:30 UTC-5, Richard wrote:
>
> Massimo,
>
> If you are concern about possible backward compatibility issue that this
> change could raise... Maybe we could find a way to let the ldap_auth return
> validator error to form (
I opened an issue about this 1646.
On Saturday, 10 August 2013 12:32:39 UTC-5, Tushar Tuteja wrote:
>
> I face the same problem, I am using a latest version of web2py and
> doing crud.settings.detect_record_change = False
> doesn't make changes
>
> On Tuesday, August 30, 2011 10:37:54 PM UTC+5:3
Is this an open issue?
On Thursday, 8 August 2013 15:48:00 UTC-5, Felipe Augusto Meirelles wrote:
>
> Hi!
>
> I'm trying to update to the latest versions of web2py. I use GAE + Google
> Cloud SQL.
>
> On the latest release version I got the error "AttributeError:
> 'GoogleSQLAdapter' object has
Can you please try again? I think I may have a fix.
On Thursday, 15 August 2013 05:22:28 UTC-5, hiro wrote:
>
> Ok, I have updated to 2.6.0-development+timestamp.2013.08.08.09.00.28 now.
> Will give it some time and see if the error is still there.
>
> Thank you very much for your help Massimo!
>
why not
https://leanpub.com/
2013/8/21 Massimo Di Pierro
> If I release Creative Common is about one month. If I go with a publisher
> it may take longer.
>
>
>
> On Tuesday, 20 August 2013 13:12:12 UTC-5, samuel bonill wrote:
>>
>> graet ! when will be published !!
>>
>> El lunes, 19 de ag
Right, there are no views. Thanks.
On Wednesday, August 21, 2013 1:31:55 AM UTC+3, אבי אברמוביץ wrote:
>
> Hi,
> I tried to install the car app and I got to:
> invalid function (default/Cars)
> on both urls:
> http://localhost:8000/Cars
> http://localhost:8000/Cars/appadmin
> I was using the admin
It seems to me that a cookieless client break things because session_id
becomes None.
https://github.com/web2py/web2py/pull/177
2013/8/20 Massimo Di Pierro
> The session logic has been rewritten (for clarity and to fix a bug). Can
> you help checking nothing is broken?
>
> --
>
> ---
> You rec
and travis builds are failing
On Wed, Aug 21, 2013 at 12:20 PM, Michele Comitini
wrote:
> It seems to me that a cookieless client break things because session_id
> becomes None.
>
> https://github.com/web2py/web2py/pull/177
>
>
> 2013/8/20 Massimo Di Pierro
>>
>> The session logic has been rewri
I created issue 1647
https://code.google.com/p/web2py/issues/detail?id=1647
which includes a simple controller function to reproduce the error.
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop rec
> When that URL is requested, is a login_id variable also included in the
> POST variables? If so, request.get_vars.login_id will be "T19566",
> request.post_vars.login_id will be "T19566", and request.vars.login_id will
> be ["T19566", "T19566"] (i.e., request.vars combines request.get_vars a
No problem, thank for the follow...
Richard
On Wed, Aug 21, 2013 at 4:51 AM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> I have not forgotten. I opened issue 1645.
>
>
> On Tuesday, 13 August 2013 15:13:30 UTC-5, Richard wrote:
>
>> Massimo,
>>
>> If you are concern about possible
comments ?
http://ahmedsoliman.com/2010/07/29/the-good-and-bad-about-web2py/
--
---
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...@googlegroup
This is 3 years old
On Wed, Aug 21, 2013 at 3:45 PM, António Ramos wrote:
> comments ?
> http://ahmedsoliman.com/2010/07/29/the-good-and-bad-about-web2py/
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this
Old post I think... There is no date on the post, but there is replies 3
years old...
Richard
On Wed, Aug 21, 2013 at 9:45 AM, António Ramos wrote:
> comments ?
> http://ahmedsoliman.com/2010/07/29/the-good-and-bad-about-web2py/
>
> --
>
> ---
> You received this message because you are subscr
Happy to help Massimo (sending you an email). I've done my PhD using Python
and Scipy/Numpy and in my company we develop motion algorithms using
Python. Now starting to learn Pandas.
Ykä
On Monday, August 19, 2013 4:51:56 PM UTC+3, Massimo Di Pierro wrote:
>
> ... I am writing a book about Nume
I changed the DAL pool_size to 0 and then my_db.close() did what I wanted.
--
---
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...@googlegroups.
For some reason I hadn't realized that you could create a DAL in a regular
ol controller function so that is what I did. I also had to make sure
pool_size=0 and then after I was done with each db in the list I called
close() on the DAL object.
--
---
You received this message because you ar
On Tue, Aug 20, 2013 at 12:36 PM, Miguel Cabo wrote:
> I had a problem with Restful requests. The content-type response header
> was text/plain when I sent a http://xxx.json request. Is it ok? I need
> content-type response header as application/json. To do that I have
> modified the glucon/conten
I thought I did but apparently not.
I see where my confusion was though. I thought the absence of the Python
version was because of the lack of server info. After correcting my config
it's still not displaying the Python version, which is what I'm assuming
was just fixed according to the issue
hi, am new to web2py and i have been struggling to use it, could anyone
help me on how to make it work as in what needs to be done. i have a
template which is working fine so far but the thing is once i click on the
login button, i expect the inbuilt login form to appear of which it is not.
i h
Can you expand on the sufficient comment?
What do you mean by is it sufficient for the application?
On Friday, August 16, 2013 2:58:18 PM UTC-7, Massimo Di Pierro wrote:
>
> I agree. Anyway, there is a multi-tenant feature that can be enabled at
> any time. The issue is, is it sufficient?
>
>
>
>
All I meant is that we have a tool to do multi-tenancy. I could use some
feedback about it. Perhaps it is sufficient perhaps it needs additional
features. I have not used it much myself therefore I am not sure.
Massimo
On Wednesday, 21 August 2013 11:18:50 UTC-5, Carlos Zenteno wrote:
>
> Can y
I am using the gae python sdk at the moment. when I go to
http://localhost:8000/cron i see an invalid request.
On Tuesday, August 20, 2013 4:10:04 PM UTC-4, Niphlod wrote:
>
> I'm just reading through the docs.
> *Cron support in the development server*
>
> When using the Python SDK, the dev_
Hi kn,
it would help to provide a code (model, controller, view) and a description
of what you want it to do.
Ykä
On Wednesday, August 21, 2013 7:05:19 PM UTC+3, kn wrote:
>
> hi, am new to web2py and i have been struggling to use it, could anyone
> help me on how to make it work as in what ne
I have a validator:
requires=IS_EMPTY_OR(IS_IN_DB(db,'plugin.id','%(name)s',orderby='plugin.id',multiple=(1,5)))
When the field is empty it contains an empty list [] when there are plugins
selected the field contains
for example: [2L, 4L, 6L, 7L], how do I revert back to an empty list, in
appad
Not sure I totally understand. But you can redefine your requires depending
of the context. So let say you define a global requires at the model level,
you can override this requires in your controller depending of conditions...
Richard
On Wed, Aug 21, 2013 at 2:14 PM, Annet wrote:
> I have a
I have a SQLFORM.grid that could use the full width of the screen.
Turning off the sidebars in the view still leaves huge blank gaps to
left and right. How can I recover that space?
--
---
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To uns
I've been going back over my configuration compared to various other
deployment recipes after realizing I was missing some non-critical uwsgi
related parameters. I noticed my static location block in nginx was
different than the one recommended in the web2py nginx+uwsgi setup script.
Here's wha
Thanks to the web2py crew, I have a (simple) SOAP server running. The book
and this group were excellent resources for getting started.
I began my foray into the world of SOAP with a SUDS client to talk to an
existing server (part of a physical device from Universal Devices,Inc), but
in resear
Hi,
I have created select button through controller and I would like to store
value of select after onchange in a variable so that I can use in other
functions. Is there anyway to do it?
def index():
test = FORM('Select name:',SELECT(['Ram', 'Satish', 'Kumar',
],_name='test'),_onchange='')
I also wanted to note that during my experiments, when restarting web2py (I
shut it down the night before), I got the error message:
ERROR:Rocket.Errors.Port8000:Socket 10.3.xxx.134:8000 in use by other
process and it won't share.
This was a bit confusing, as I couldn't see what process was
Is the way to start and stop an app this? Go to the appadmin "site" page,
and use the "disable"/"enable" toggle button?
Thanks.
/dps
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emai
An app isn't really always running. It runs when a request is made, so it's
always stopped when not in use.
On Wednesday, August 21, 2013 12:57:25 PM UTC-7, Dave S wrote:
>
> Is the way to start and stop an app this? Go to the appadmin "site" page,
> and use the "disable"/"enable" toggle butto
But the "disable" button keeps it from running when an request is made?
/dps
On Wednesday, August 21, 2013 1:20:23 PM UTC-7, Derek wrote:
>
> An app isn't really always running. It runs when a request is made, so
> it's always stopped when not in use.
>
>
> On Wednesday, August 21, 2013 12:57:25
the disable button prevents anyone from accessing the app.
On Wednesday, August 21, 2013 10:29:44 PM UTC+2, Dave S wrote:
>
> But the "disable" button keeps it from running when an request is made?
>
> /dps
>
> On Wednesday, August 21, 2013 1:20:23 PM UTC-7, Derek wrote:
>>
>> An app isn't really
Thanks!
/dps
On Wednesday, August 21, 2013 1:32:50 PM UTC-7, Niphlod wrote:
>
> the disable button prevents anyone from accessing the app.
>
> On Wednesday, August 21, 2013 10:29:44 PM UTC+2, Dave S wrote:
>>
>> But the "disable" button keeps it from running when an request is made?
>>
>> /dps
>
with your config you enable for everything that ends with those extensions:
- the "disable" of the access log
- the cache header set to a very distant time in the future
This means that if someone by any chance requests an url from your
application that ends in xml, you short-circuit nginx to thin
this was fixed in a recent revision. Yes, you could force the content-type
but it was supposed to be auto-detected, and that's what the revision
patched.
On Wednesday, August 21, 2013 6:23:27 PM UTC+2, Ricardo Pedroso wrote:
>
>
> On Tue, Aug 20, 2013 at 12:36 PM, Miguel Cabo
>
> > wrote:
>
>>
I am tying to add authorization to a simple server I had working.
In the db model, I have the line
auth.define_tables(username=True)
default.py has, as the docs suggest
@auth.requires_login()
def call():
return service()
def user():
return dict(form=auth())
but the tables seem not
I can see how serving XML as static could be an issue with web2py since it
can be used in so many different ways. I think I'll remove that part.
I was thinking that there seems to be instances when images would be served
from outside of the static directory, like an app's custom upload
director
The issue wasnt completely resolved that way, there were problems with
list:reference in updates and some weird behaviour, always involving lists
but no simple references, so I debugged my way down to the web2py code and
finally found the problem.
In the line 6860 of the file gluon/dal.py, this
It looks like the zip_static_files.py script only gzips css and js files.
There's a lot more that can be compressed, such as web fonts and vector
graphics. I understand why jpg and png images are left out, but why only
css and js?
On Wednesday, August 21, 2013 11:59:18 AM UTC-7, HittingSmoke wr
I have been on 2.6.0-development+timestamp.2013.08.08.09.00.28 for more
than a week now, and I have not had any errors.
The new admin interface is not working very well in that release, but it
looks like it has a lot potential.
On Wednesday, August 21, 2013 11:28:44 AM UTC+2, Massimo Di Pierro
51 matches
Mail list logo