--
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-users" group.
To unsub
sorry that was a trivial question:
it's written in the book :
http://web2py.com/books/default/search/29?search=response._vars
globals() works too but not very 'orthodox' :)
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source c
Tell me how to fix 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
No that's not possible with regular HTML/javascript.
--
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
Note that for gmail you need to tell google to allow insecure apps. This is
because otherwise gmail doesn't really allow regular SMTP anymore. I
repeat, by default gmail does NOT support standard SMTP.
I've never used amazon, but could it be that you need to specify your
hostname? Some SMTP
are you using a custom layout ?
On Saturday, February 20, 2016 at 11:50:18 AM UTC+1, Rgb Aston wrote:
>
> Tell me how to fix this
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues
It's possible - just write your own browser ;)
You can't access the file system from any browser due to security reasons
On Saturday, February 20, 2016 at 4:25:46 AM UTC+3, Dave S wrote:
>
> Using SQLFORM for a table with a Field('x', 'upload'), is there a way to
> tell the file chooser widget w
Hi,
Must be...
you can download it from
olympic.co.uk/download/generv-1.tar.gz
it has the code and the PDFs - make sure you read the 'how to use' document
graham
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- http
I state that I started recently with web2py , I have to implement an
authentication of the soap services . Which is the best way to do it ?
Examples ? thank you
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://
Hi Antony and all,
I am getting the same errors. I tried to modify the code to fix it but no
success until now.
Maybe Massimo (thanks for the help) will be able to figure it out.
I will keep you updated on this.
Il giorno venerdì 12 febbraio 2016 14:26:06 UTC+1, LightDot ha scritto:
>
> I've bee
Good my dear!
This topic seems to be off, but I'm having the same problem of our friend
RTBs
WSGIServer: missing FastCGI param REQUEST_METHOD required by WSGI!
WSGIServer: missing FastCGI param SERVER_NAME required by WSGI!
WSGIServer: missing FastCGI param SERVER_PORT required by WSGI!
WSGIServ
New user of web2py and would like to ask the community. When I use {{extend
'layout.html'}} it suppose to work like a master page on the pages I
include that layout. So, the navbar does show up correctly but I don't see
any footer even though the layout has a footer block. Do I need to include
I have to implement an authentication through one of my soap service, you
have any advice? thank you
--
IN. VA. S.p.A.
Loc. L'Île-Blonde, 5
11020 - Brissogne (AO) - Italy
Tel. 0165 367711 - Fax 0165 262336
e-mail: i...@invallee.it
I'm using the exact same method to test uploading images to S3. But I'm
receiving the following error:
*Ticket ID*
127.0.0.1.2016-02-16.14-39-32.325d6b5d-68c7-405f-b63d-4e6971c2623e
* S3ResponseError: 403 Forbidden*
Any idea where I'm going wrong? I couldn't add the region name in this and
I
Recently upgraded to 2.13.4. My application works fine but the views for
web2py admin app are generating URLs to static resources with a version in
the path.
{{=URL('static','js/bootstrap.min.js')}}
results in
"/admin/static/_2.13.4/js/bootstrap.min.js"
instead of
"/admin/static/js/bootst
we use pysimplesoap. I'd reccomend you ask the author of pysimplesoap.
On Saturday, 20 February 2016 09:35:02 UTC-6, mirco barone wrote:
>
>
> I state that I started recently with web2py , I have to implement an
> authentication of the soap services . Which is the best way to do it ?
> Examples
It depends on what layout.html does. If you use the default layout.html
than most likely you have an unbalanced in your view.
On Saturday, 20 February 2016 09:35:03 UTC-6, rimisha...@gmail.com wrote:
>
> New user of web2py and would like to ask the community. When I use
> {{extend 'layout.html'
I have a SQLFORM.grid, where one of the columns and has a combo box,
I created so
lambda row: SELECT ('House', 'Off', 'Draw', name = 'spocoes'),
I would like to know how to catch. the combo of value and move to args.
thanks!
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentati
http://www.google.com/jsapi?key=">
if(google.loader.ClientLocation)
{
visitor_lat = google.loader.ClientLocation.latitude;
visitor_lon = google.loader.ClientLocation.longitude;
visitor_city = google.loader.ClientLoca
You cannot combine Python and Javascript. The Python code is executed on
the server *before* the HTML page is returned to the browser, and the
Javascript is executed later in the browser. If you need to put something
in the session from Javascript, you would have to pass the relevant data to
we
Thank you Anthony. I tried fixing it this way but it didn't work either.
Instead of:
{{session.lat=visitor_lat}}
{{session.lon=visitor_lon }}
I put:
{{=location(visitor_lat,visitor_lon)}}
and my function location stays as:
def location(lat, lon):
session.lat=lat
session.lon=lon
sess
Thank you Anthony. I tried fixing it this way but it didn't work either.
Instead of:
{{session.lat=visitor_lat}}
{{session.lon=visitor_lon }}
I put:
{{=location(visitor_lat,
visitor_lon)}}
and my function location stays as:
def location(lat, lon):
device=str(request.user_agent)
start=de
Thanks a lot Anthony. Keeping in mind what you told I tried fixing it but
it didn't work.
def location(lat, lon):
device=str(request.user_agent)
start=device.find("HTTP_USER_AGENT") + 18
end=device.find("HTTP_CONNECTION") - 3
session.p=mail.send('smm...@gmail.com',
Thank you Anthony. I tried fixing it this way but it didn't work either.
Instead of:
{{session.lat=visitor_lat}}
{{session.lon=visitor_lon }}
I put:
ajax('{{=URL('default', 'location', vars=dict(lat=visitor_lat,
lon=visitor_lon))}}', [], ':eval');
and my function location stays as:
def locatio
Thank you Anthony. I tried fixing it this way but it didn't work either.
Instead of:
{{session.lat=visitor_lat}}
{{session.lon=visitor_lon }}
I put:
ajax('{{=URL('default', 'location', vars=dict(lat=visitor_lat,
lon=visitor_lon))}}', [], ':eval');
and my function location stays as:
def locatio
it's roughly two years since this has become the standard behaviour
tune your apache config accordingly
http://web2py.com/books/default/chapter/29/04/the-core#Static-asset-management
On Saturday, February 20, 2016 at 4:35:05 PM UTC+1, MDSIII wrote:
>
> Recently upgraded to 2.13.4. My applic
Same problem -- the URL() function is Python code executed on the server,
but you are attempting to pass in Javascript variables. Should be:
ajax('{{=URL('default', 'location')}}' + '?lat=' + visitor_lat + '&lon=' +
visitor_lon, [], ':eval');
Notice that you must use Javascript in order to cons
The function location isn't working anymore now. :'(
On Saturday, February 20, 2016 at 11:16:05 PM UTC+5:30, Anthony wrote:
>
> Same problem -- the URL() function is Python code executed on the server,
> but you are attempting to pass in Javascript variables. Should be:
>
> ajax('{{=URL('default'
The function location isn't working anymore now. :'(
On Saturday, February 20, 2016 at 11:16:05 PM UTC+5:30, Anthony wrote:
>
> Same problem -- the URL() function is Python code executed on the server,
> but you are attempting to pass in Javascript variables. Should be:
>
> ajax('{{=URL('default'
What would be the preferred way to notification system to work in web2py?
Since no one can tell all the users of the site to go their gmail,
yahoo...etc and change them to allow insecure app. How does other do it for
example when I get a notification from Quora or Groupon?
On Saturday, February
Good to know someone else is experiencing this as well. I think there is
some web2py bug in the scheduler since there is nothing special about my
setup (apache on linux). For now I set retry_failed to 0 to avoid that
problem but I'll test it with -1 in a few weeks when I've got more time. Do
yo
Here is an example that I leveraged from the other thread. If I
insert @auth.requires_login() on the top of any of the function definition,
then when I go to the view main_page, I will get the log in screen first.
The question is, how do I access the main_page without logging in but only
get as
Wondering why this don't work in the newest version of web2py (bt3? is the
cause)?
response.title = A(IMG(_src=URL('static', 'images/my_logo.png')))
response.subtitle = 'Find the blogs you search for'
Any work around so it puts a nice heading on the top of the page with key
words inserted
--
how to configure the pytz in app engine?
--
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 Googl
thank you. it works.
10 Şubat 2016 Çarşamba 15:46:37 UTC+2 tarihinde Jim S yazdı:
>
> I got this working!
>
> Here is what I did.
>
> 1. Run the normal web2py installation script for nginx/ubuntu
> 2. sudo nano edit /etc/systemd/system/emperor.uwsgi.service
>
> Add these lines
> [Unit]
> Descripti
Did you upgrade web2py recently?
If so, think to update your views/layout.html
flash message class have been change from "flash" to "w2p_flash" recently.
Richard
On Sat, Feb 20, 2016 at 7:43 AM, Niphlod wrote:
> are you using a custom layout ?
>
>
> On Saturday, February 20, 2016 at 11:50:18
You can actually use basic auth if you want. Then you just make sure soap
uses an authenticated http transport layer.
--
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
Most people either run their own SMTP servers for their domain or they use
a service like mandrill. Some hosts also provide an SMTP server you can use.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google
Before you attempt a more complex solution, you should do some analysis to
figure out if one extra Ajax request is really a problem (either for the
server or the browser). Even though the Ajax approach requires an extra
request, it may actually end up being a bit more efficient, as all the
requ
If you are using the default layout.html that comes with the scaffolding
app, note that response.title is not used to display anything on the page
but is used in the section to set the page title (which is
displayed, for example, in the browser tab, as well as in bookmarks).
Anyway, if you wan
Yeah, this works perfectly. Thank you very much :)
Am Freitag, 19. Februar 2016 20:39:42 UTC+1 schrieb Niphlod:
>
> dba(~dba.table.name.belongs(list)).select()
>
> On Friday, February 19, 2016 at 7:50:13 PM UTC+1, Lucas Schreiber wrote:
>>
>> Hi there,
>>
>> is there a way to use a list in a db re
Is this a more recommended version (stripe) than:
https://github.com/mdipierro/web2py-appliances/tree/master/PosOnlineStore
I know one is much older. Or it doesn't matter.
On Monday, July 20, 2015 at 6:32:31 AM UTC-4, LoveWeb2py wrote:
>
> I submitted a pull request. My orders is requesting the
Older version, I can just put response.title = A(IMG(_src=URL('static',
'images/my_logo.png'))) in menu.py and it worked on every pages. Thank you
Anthony
On Saturday, February 20, 2016 at 4:06:09 PM UTC-5, Anthony wrote:
>
> If you are using the default layout.html that comes with the scaffoldi
All,
As I understand the code, -L only allows you to redefine values
web2py already understands (new/arbitrary keys i.e. bananas=False are
ignored, see widget.py), what is the best way to provide custom runtime
configuration of other, app-specific values? Importing a module with the
values h
My setup is on Windows with the scheduler running as a service via nssm. I
have it set to run every 86400 seconds (24hrs) with infinite number of runs
and retries. The timeout is something like 2 or 3 minutes. I am also using
the "cron like" option so that it always runs at exactly the same time
OK, played around a bit and produced a sample task that will demonstrate
the problem. And also a FIX.
in a model file put
# -*- coding: utf-8 -*-
from datetime import datetime
db.define_table("scheduler_testing",
Field('start_time', 'datetime', default = datetime.now()),
Field('my_messag
Which one's the best to go for?
--
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
It always shows this by default.
--
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
It always shows this by default.
--
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
49 matches
Mail list logo