Please, an example for this.
(+ should be in the book)
--
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
AppConfig really need better description in the book.
Dne pátek 25. března 2016 3:07:18 UTC+1 Massimo Di Pierro napsal(a):
>
>
>
> On Thursday, 24 March 2016 20:15:13 UTC-5, 黄祥 wrote:
>>
>> the new configuration surely is different from previous one, i have some
>> question about it
On Tuesday, April 26, 2016 at 6:40:56 PM UTC-7, LightDot wrote:
>
> On Tuesday, April 26, 2016 at 9:10:32 PM UTC+2, Dave S wrote:
>>
>> On Tuesday, April 26, 2016 at 11:37:58 AM UTC-7, Steve Joe wrote:
>>>
>>> But the code for stripe is only for credit cards. What about debit cards
>>> and net
In the US and most of the world, debit cards can be processed just like
credit cards through Stripe and other processors.
Not sure what net banking is with respect to payments.
Stripe merchants can accept payments from pretty much ever credit/debit
card and currency in the world. The card
On Tuesday, April 26, 2016 at 5:13:01 PM UTC-4, Niphlod wrote:
>
> be aware that there is/will be no support at all to specify your own cache
> dir, i.e. use at your own risk. it'll be 10 times better to pinpoint the
> unusual behaviour you're experiencing rather than use an hack
>
Yes, good
On Tuesday, April 26, 2016 at 9:10:32 PM UTC+2, Dave S wrote:
>
> On Tuesday, April 26, 2016 at 11:37:58 AM UTC-7, Steve Joe wrote:
>>
>> But the code for stripe is only for credit cards. What about debit cards
>> and net banking?
>
>
> I would expect it to cover debit cards that have the Visa or
I'm using the binary version.
On Tuesday, 26 April 2016 17:31:10 UTC-5, Niphlod wrote:
>
> are you using web2py_win.zip (the binary version) or the source one ?
>
> On Tuesday, April 26, 2016 at 11:44:29 PM UTC+2, Jacob Thoennes wrote:
>>
>> the error when running my start.bat says:
>>
>>
are you using web2py_win.zip (the binary version) or the source one ?
On Tuesday, April 26, 2016 at 11:44:29 PM UTC+2, Jacob Thoennes wrote:
>
> the error when running my start.bat says:
>
> IOError: [Errno 2] No such file or directory:
>
IMHO it'd be better to pinpoint the cause rather than installing a VM just
to see why "it never takes"
On Tuesday, April 26, 2016 at 11:54:18 PM UTC+2, Alex Glaros wrote:
>
> That's a good question Niphlod. Migrate = True (with Postgres) works for
> an older windows machine I have, but
You cannot have unicode characters in the path of an URL that is not a
valid URL. If percent encoded path components do not work then it is a
bug/missing feature. If you submit an issue in git I could look at it.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
That's a good question Niphlod. Migrate = True (with Postgres) works for an
older windows machine I have, but another windows10 machine has a wierd,
possibly permissions-based problem where migrate never "takes". I get
around it by making changes directly to the Postgres side to match db.py
the error when running my start.bat says:
IOError: [Errno 2] No such file or directory:
'applications\\init\\compiled\\controllers_default_index.pyc'
So when it tries to run the compiled app it is looking for a controller
file with underscores, despite the fact that controller files should
nope, once again, it doesn't show ANY errors. Why are you stating that
"it's expecting underscores for everything" ?
views -
underscore https://github.com/web2py/web2py/blob/master/gluon/compileapp.py#L483
models -
dot https://github.com/web2py/web2py/blob/master/gluon/compileapp.py#L499
given that web2py works fine with win, osx and linux I'd reaaally like
to know how can it work "not okay" with any configuration you may throw at
it (yep, it works on AIX too, but nobody really cares).
The only valid reasons you may want to develop on a VM instead of on win
are:
- you're
be aware that there is/will be no support at all to specify your own cache
dir, i.e. use at your own risk. it'll be 10 times better to pinpoint the
unusual behaviour you're experiencing rather than use an hack
On Tuesday, April 26, 2016 at 8:43:07 PM UTC+2, Anthony wrote:
>
> It should not be
Massimo:
Thanks for you answer. Now is working, but when the user change password;
it is necesary to update lastchangepassword field at the auth_user table.
Must I to customize change_password controller?
Thanks regards.
El martes, 26 de abril de 2016, 15:15:32 (UTC-3), Massimo Di Pierro
Hi,
I did try but still not working.
Le mardi 26 avril 2016 17:05:52 UTC+2, Leonel Câmara a écrit :
>
> You need to url encode those characters. Have you tried that?
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
Hi,
maybe this is possible to do per_app now (without touching web2py core)? :)
ps.: there was also idea with ajax
On Friday, June 14, 2013 at 8:00:36 PM UTC+3, Jurgis Pralgauskis wrote:
>
> Generally, maybe error template can be some app config, but not bound to
> routing?
> and if it is
Paypal examples on slice is like 5 years old. Still applicable?
On Tuesday, April 26, 2016 at 3:10:32 PM UTC-4, Dave S wrote:
>
> On Tuesday, April 26, 2016 at 11:37:58 AM UTC-7, Steve Joe wrote:
>>
>> But the code for stripe is only for credit cards. What about debit cards
>> and net banking?
>
Hellow everyone,
I'm developing an application for a consulting company. To make a long
story short, there is some data in the database that is user administered,
and some formulas to execute with that data. Those formulas should be
administered by the consultant.
The database data can be
On Monday, April 25, 2016 at 9:39:00 PM UTC-7, Ben Lawrence wrote:
>
> Does the shell still work or is it just me who cannot work it?
> Whenever I place anything in the .../admin/shell/index/welcome, it just
> prints "None"
>
>
The web shell is deprecated, I think. The command line shell still
On Tuesday, April 26, 2016 at 11:37:58 AM UTC-7, Steve Joe wrote:
>
> But the code for stripe is only for credit cards. What about debit cards
> and net banking?
I would expect it cover debit cards that have the Visa or MasterCharge
logos. Is that not the case?
I have heard that credit
On Tuesday, April 26, 2016 at 11:13:40 AM UTC-7, MrRedmerlot wrote:
>
> Hi all.
>
> I'd like to get some help here, as I'm new to web2py.
> I created minimalist web2py application using make_min_web2.py script.
> It seems that the static files are not being served, I suspect the script
> and I
What is the exact error message?
On Tuesday, April 26, 2016 at 2:23:51 PM UTC-4, Jeff Riley wrote:
>
> Hello Anthony. Yes it is working fine locally, and yes I have all the
> views in the complied folder that are in the views folder.
>
> On Tuesday, April 26, 2016 at 1:16:34 PM UTC-5, Anthony
On Tuesday, April 26, 2016 at 1:11:52 PM UTC-4, Richard wrote:
>
> Think I try that in the pass and it wasn't working... Let me find the
> thread in question see if it was the case...
>
Works for me, at least in the simple case. Perhaps you were doing something
more complex.
Anthony
--
It should not be creating a new folder with the name of your application --
rather, it should be storing the cache files inside the /cache folder that
already exists inside your application folder. Do you have a reason for not
wanting the files there? Note, it is not storing JSON files, but
But the code for stripe is only for credit cards. What about debit cards and
net banking?
--
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
Ubuntu 14.04 LTS server as the VBox guest OS.
The host system being Windows 10.
Install web2py using the one-step-deploy script
`setup-web2py-nginx-uwsgi-ubuntu.sh`.
Just works.
Kiran Subbaraman
http://subbaraman.wordpress.com/about/
On Tue, 26-04-2016
On Tuesday, April 26, 2016 at 11:24:52 AM UTC-4, Pierre wrote:
>
> Anthony, you wrote this some time ago :
>
> >Are you using nginx/uwsgi? If so, I believe cache.ram would not be shared
> across the different uwsgi worker processes. You might consider switching
> to the >Redis cache.
> >Anthony
Hello Anthony. Yes it is working fine locally, and yes I have all the
views in the complied folder that are in the views folder.
On Tuesday, April 26, 2016 at 1:16:34 PM UTC-5, Anthony wrote:
>
> Do you have the same problem locally? Can you confirm that there is a
>
Twice we had the same problem. Somebody changed the code and made the app
point to the wrong db.
We do not know who else has access to this server and is responsible for
this but we will lock everybody out and investigate.
Thanks to Bruno for fixing the issue.
Massimo
On Tuesday, 26 April
Do you have the same problem locally? Can you confirm that there is a
/compiled/views.default.index.html.pyc file?
Anthony
On Tuesday, April 26, 2016 at 11:33:43 AM UTC-4, Jeff Riley wrote:
>
> Hello everyone. Has anyone run across an issue in PythonAnywhere where
> after you compile your
at the bottom of db.py you can put:
if auth.user and request.function!='user'
and (request.now_lastchargepasswrod).days>100:
redirect(URL('user/change_password'))
On Tuesday, 26 April 2016 08:37:56 UTC-5, isi_jca wrote:
>
> Hi!!!
>
> After user login, I want to check validity password, I
I need a lot of recipes from that site. It was really helpful in my old
project too. I need some more recipes again. Google search shows its there
in web2py slices but the side is down rn.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
Hi,
I'm using web2py to create a json to later use on a mobile app. The thing
is that it takes a while to get all the information so I decided to use
cache.disk to have my application cache on disk.
I just pasted this on top my function:
@cache(request.env.path_info, time_expire=600,
Hi all.
I'd like to get some help here, as I'm new to web2py.
I created minimalist web2py application using make_min_web2.py script.
It seems that the static files are not being served, I suspect the script
and I can't figure out what is stripped off.
example:
links are correct with
Anyone running Web2py on Oracle VM Virtualbox on Win 10?
Work okay?
What is your configuration? Ubuntu? Any recommendations? Mint?
thanks
Alex Glaros
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
If you cache db().select() results cache.ram should be allrigths as every
user/session can be operate in isolation without issue... This wouldn't be
the case for things that need to be up to date for all the users at the
same time, global variables for instance even if they are the result of bad
Why not merge with :
http://www.web2pyref.com/reference/field-type-database-field-types
??
Richard
On Tue, Apr 26, 2016 at 1:17 PM, rochacbruno wrote:
>
> There were some changes in pythonanywhere mysql hosts name and access
> policies.
>
> It is back now!
>
> We really
Also URL(url_encode=True) is default...
On Tue, Apr 26, 2016 at 1:17 PM, Richard Vézina wrote:
> @Leonel, he receives unicode characters which are parsed and result with
> no record in case those special characters are include in the REST query...
> There is not
There were some changes in pythonanywhere mysql hosts name and access
policies.
It is back now!
We really need volunteers to take care of web2pyslices.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
@Leonel, he receives unicode characters which are parsed and result with no
record in case those special characters are include in the REST query...
There is not really any way to url_encode has he not generate unicode URL...
Richard
On Tue, Apr 26, 2016 at 11:05 AM, Leonel Câmara
https://groups.google.com/d/msg/web2py/I6xhaSaQCdE/sjSeYBHjMcUJ
Massimo's suggest also to use RactiveJS...
Richard
On Tue, Apr 26, 2016 at 1:11 PM, Richard Vézina wrote:
> Think I try that in the pass and it wasn't working... Let me find the
> thread in question
Think I try that in the pass and it wasn't working... Let me find the
thread in question see if it was the case...
On Tue, Apr 26, 2016 at 11:04 AM, Anthony wrote:
> On Tuesday, April 26, 2016 at 9:30:21 AM UTC-4, Richard wrote:
>>
>> Component inside component can work
In case anyone else ever has this problem, I will post my own solution.
Web2Py traps all form submissions in web2py.js. To override this behaviour
we need to add the "no_trap" class to the form declaration:
single_payment_form = SQLFORM.factory(
Field('tenant_name','string',
so it looks like the "views" files have underscores but the "controllers"
and "models" files have periods, and it's expecting underscores for
everything. Assuming the start.bat I gave shows the same error for you,
this definitely seems like a web2py bug to me.
--
Resources:
-
a "dir" from compiled/ shows
26/04/2016 16:5822.911 controllers.appadmin.bg_graph_model.pyc
26/04/2016 16:5822.711 controllers.appadmin.ccache.pyc
26/04/2016 16:5822.636 controllers.appadmin.csv.pyc
26/04/2016 16:5822.761
Hi,
I've seen only a little on this in web2py, like a discussion dated from
2008.. Is there a way to do such thing with DAL nowadays ?
Thank you
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
https://drive.google.com/file/d/0B75ZsUWhWMA2N0hlalh1SVdlUzQ/view?usp=sharing
Here's a link to the files I'm using that show errors. Running the
web2py.exe in myapp should show the broken view, running the start.bat in
myapp should show the underscore vs period error. The other web2py folder
Hello everyone. Has anyone run across an issue in PythonAnywhere where
after you compile your Web2py you are able to remove the controllers and
models folders, but not the views folder. If I try to remove the views
folder it is telling me it cannot find index.html.
--
Resources:
-
Anthony, you wrote this some time ago :
>Are you using nginx/uwsgi? If so, I believe cache.ram would not be shared
across the different uwsgi worker processes. You might consider switching
to the >Redis cache.
>Anthony
I know nothing about the Redis cache. Wikipedia says this is NOSQL and
I'm trying windows binaries and it doesn't throw any errors. On linux -
source version - too. No errors whatsoever.
On Tuesday, April 26, 2016 at 4:50:39 PM UTC+2, Jacob Thoennes wrote:
>
> It actually happens for me if I try to pack the welcome app. No background
> on the packed page when its
You need to url encode those characters. Have you tried that?
--
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
On Tuesday, April 26, 2016 at 9:30:21 AM UTC-4, Richard wrote:
>
> Component inside component can work theoritically but you will have to
> craft your own ajax... the web2py LOAD() ou web2py_component() not going to
> work...
>
You can nest components using LOAD or $.web2py.component() -- no
It actually happens for me if I try to pack the welcome app. No background
on the packed page when its loaded from the main web interface, broken
view. Same underscores vs periods error when I run start.bat. I compiled
and packed the welcome app from 2.14.5, loaded it into another web2py as
that error is raised when an smtpserver is not configured (usually
mail.settings.server)
On Monday, April 25, 2016 at 10:57:50 PM UTC+2, Bhanu Teja P wrote:
>
> db.py
> db = DAL('sqlite://storage.sqlite')
>
> from gluon.tools import Auth
> auth = Auth(db)
>
>
>
can you attach a minimal app that reproduces the error ? I can't replicate
it.
On Monday, April 25, 2016 at 9:26:55 PM UTC+2, Jacob Thoennes wrote:
>
> Yes, I packed it with the new version, same as the one I installed it in.
>
--
Resources:
- http://web2py.com
- http://web2py.com/book
Hi!!!
After user login, I want to check validity password, I added extra fields
(lastchangepassword and valitiypassword) at the auth_user table. Where must
I trigger a function to check this fields and then force at the user to
change password when password expire?
Thanks in advanced.
--
@Massimo... Look here!!
Richard
On Mon, Apr 25, 2016 at 12:00 PM, Richard Vézina <
ml.richard.vez...@gmail.com> wrote:
> I think it comes from here :
>
>
> https://github.com/web2py/pydal/blob/85c530cc791e2aadbbbf6302b2f58d354d9800b5/pydal/helpers/rest.py#L70
>
> As RestParse is used here :
>
>
Component inside component can work theoritically but you will have to
craft your own ajax... the web2py LOAD() ou web2py_component() not going to
work...
Richard
On Mon, Apr 25, 2016 at 6:41 PM, wrote:
> Note: This may also have something to do with fancybox, which is
60 matches
Mail list logo