I've been working on this for a while now off and on and have, I believe,
fixed the web2py gluon code bugs to correct this problem. I filed my fix
here - https://github.com/web2py/web2py/issues/2483
<http://GitHub%20web2py%20issues>
On Wednesday, January 17, 2024 at 3:28:37 PM UTC-8
17, 2024 at 12:59:59 PM UTC-8 jimka...@yahoo.com
wrote:
> Hi,
>
> *I believe (using python 3.11.7, web2py 2,24,1, mysql 8),*
> *with web2py record versioning enabled,*
> *I have verified that *
>
> *db.export_to_csv_file does not write table rows that have the
>
Hi,
*I believe (using python 3.11.7, web2py 2,24,1, mysql 8),*
*with web2py record versioning enabled,*
*I have verified that *
*db.export_to_csv_file does not write table rows that have the
"is_active" field set*
* to False.*
*A simple test case is *
1.
I am developing a network application in web2py which consists of vertices
and edges. Every vertex has a site which is dynamicalIy created within the
init application. I added a domain and subdomains for my own domain to
routes.py
routers = dict(
# base router
BASE = dict
I built a calendar application in web2py 2.20.4, the application has a
calendar.py controller with functions event_list(), timetable(),
coursetable() etc. The data is stored in a PostgreSQL database.
What I want is to make the data in the database available to for instance a
user's WP web site
the same logic was incorrectly
> applied to edit fors as well? Do not remember. Please try the latest.
>
>
>
> On Saturday, 9 October 2021 at 14:14:17 UTC-7 Awe wrote:
>
>> Thanks for the answer
>> I haven't tried the latest version and I hope this behavior doesn't
>
Thanks for the answer
I haven't tried the latest version and I hope this behavior doesn't change
from version to version..
but. I thought / hoped a web2py developer could explain why this
important/central feature was changed and how to deal with it best.
Jim S schrieb am Samstag, 2. Oktober
I also agree that py4web would give much better performance.
Web2py is easy so i dont think your friend will face much problem
converting the application to web2py.
I have converted an app I wrote in flask to web2py and was able to do so.
The actual conversion i.e. database, html, css was a breeze
a bug or feature, or is there a NEW common way to have empty
> readonly fields in an
> edit form
>
> Many thanks for any help!
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com
Thanks. Appreciated !
On Sunday, August 8, 2021 at 12:54:01 PM UTC-7 kell...@gmail.com wrote:
> Use the newest version from github.
>
> There the issue is fixed.
>
>
>
> Am So., 8. Aug. 2021 um 21:32 Uhr schrieb 'jimka...@yahoo.com' via
> web2py-users :
>
>>
Hi,
Finally migrated to 2.21.1 on macOS BigSur, using Python 3.9.6
Good news is that everything so far seems to work fine but there is a
puzzling Rocket issue.
redownloaded 2.21.1 from the web2py site a couple of days ago, so should be
up-to-date.
When starting up, the following comes up
t=" " like this,
which is
not very useful.
Is this a bug or feature, or is there a NEW common way to have empty
readonly fields in an
edit form
Many thanks for any help!
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (
I have another problem with form.custom:
When I browse and select an image and submit the form, if the
form contains an error, the form empties the image field. So
the user has to browse for the image again
I don't know in which version of web2py this error was introduced,
but is very annoying
/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 unsubscribe from this group and stop receiving e
rm.process().accepted:
Kind regards,
Annet
--
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 Goo
.py controller in directory
> welcome/controllers/ and view is next to generic.html file, in
> welcome/views/ directory.
>
Thank You for Your questions. And sorry for not RTFM :). The view is
working correctly, after moving it to the default welcome/views/default
directory. Will try do my be
ow ?
>>
>>
> What directory is your view in? What controller is your function in?
>
hi, the function is in default.py controller in directory
welcome/controllers/ and view is next to generic.html file, in
welcome/views/ directory.
Regards
brushek
--
Resources:
- http://w
niedziela, 31 stycznia 2021 o 18:02:41 UTC+1 mauri...@gmail.com napisał(a):
> If its about QR codes, these are what I mean't:
> http://www.web2pyslices.com/slice/show/1462/qr-code-builder-with-web2py
> https://github.com/minlaxz/python-qr
> https://github.com/laconic75/QR-Inventory
OK, Your suggestion is to search in examples of web2py and github ?
Regards
niedziela, 31 stycznia 2021 o 03:48:08 UTC+1 mauri...@gmail.com napisał(a):
> I thought I must have seen an example of the same from github or Web2py
> examples.
> Regards
>
> On Sun, Jan 31, 2021,
?
2. How to add silently this motp_secret field to database during
registration of new user without his interaction/knowing about it
Regards
brushek
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https
://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 unsubscribe from this group and stop receiving emails from it, send an email
to web2p
n command is:
>> ALTER TABLE "mytest" ADD "newcolumn" CHAR(512);
>>
>> What I would need instead is:
>> ALTER TABLE "mytest" ADD "newcolumn" CHAR(512) DEFAULT "Default text";
>>
>> So my question is: How do I popula
(512);
What I would need instead is:
ALTER TABLE "mytest" ADD "newcolumn" CHAR(512) DEFAULT "Default text";
So my question is: How do I populate existing tuples with default values
when migrating?
Is there an elegant, web2py supported way or do I have t
No input :-(
Guess we'll need to stick with 2.20.4. Don't really have a lot of time to
put into the 2.21 migration, at least for now. :-( :-(
On Tuesday, December 22, 2020 at 10:36:16 AM UTC-8 jimka...@yahoo.com wrote:
> Sorry. The web2py version should obviously have been 2.21.1 in my mess
I'm getting errors
> opening sqlite3 databases. This is on an application that had been stable
> for a long time. Is there a compatibility problem with python 3.9?
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source c
://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 unsubscribe from this group and stop receiving emails from it, send an email
Hello,
> I'm trying to convert my web2py apps to Ubuntu 20.4 / apache2/wsgi using
> python 3.8.5, and as I'm not an IT expert, the only way I found was to
> change the import instructions in a series of modules. I am aware I
> shouldn't do this, but I couldn't find any alternativ
he same time?
> I also need to align the buttons to the center or left but
> _select='align-items:center' is not working.
> Kind regards
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/w
Sorry. The web2py version should obviously have been 2.21.1 in my message
On Tuesday, December 22, 2020 at 10:14:26 AM UTC-8 jimka...@yahoo.com wrote:
> Just trying to update to version 1.21.1 from 2.20.4. the app runs fine
> under 2.20.4.
> Under 1.21.1, the welcome app come
and tried tracing but it never actually seems to get into executing my
default/index.
Environment is MacOS 10.15.7. Python is 3.7.8. I'm doing the upgrade with
web2py source.
Here's the start/end of the traceback
Thanks in advance
Jim
Traceback (most recent call last):
File "/Applica
,
Annet
--
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&q
I used to host my web2py application at Webfaction, there I scheduled
a cron job to run the sessions2trash.py script. In the end this no
longer worked.
Now I host my web2py application at Opalstack, and wonder how I
schedule a task to run sessions2trash.py to clean up my applications.
Kind
ender name in lower caps and
> using the email names (e.g. if user...@gmail.com the name appears as
> username and not user name).
> I would like it to appear like: 'User Name' and not 'username'.
> Kind regards.
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documenta
Unable to handle upload Version web2py™
Version 2.20.4-stable+timestamp.2020.05.03.05.18.50 Traceback
The upload field is in
sub.update_record(**db.prm_generic._filter_fields(form.vars))
Why doesn't web2py handle this properly?
KInd regards,
Annet
Op woensdag 11 november 2020 om 17:04:00 UTC
again, every time one of the other fields doesn't
validate.
I haven't noticed this behaviour in version 2.14 of web2py, I
am experiencing this behaviour in web2py 2.20.
I hope there's an easy fix, for this is very annoying.
Kind regards,
Annet
--
Resources:
- http://web2py.com
- http
;> I forgot to say, uploading an image works, if the folder isn't
>> there it is being created, otherwise the image is uploaded
>> to the folder.
>>
>> Best,
>>
>> Annet
>>
>>
> Is this related to slashes being dropped, as in Gael's question?
>
es, you have things like a table of contents ... Long story
>>>>> short: I like it!
>>>>>
>>>>> Regards
>>>>> Clemens
>>>>>
>>>>> On Thursday, October 1, 2020 at 4:58:39 PM UTC+2 DenesL wrote:
>>>>>
>
I forgot to say, uploading an image works, if the folder isn't
there it is being created, otherwise the image is uploaded
to the folder.
Best,
Annet
Op maandag 2 november 2020 om 16:17:48 UTC+1 schreef Annet:
>
> To upload images to separate folders outside web2py I set the upload
&g
To upload images to separate folders outside web2py I set the upload folder
with the model definition:
UPLOADSDIR = '/home/me/apps/static/'
db.define_table('mytable',
Field('image', 'upload', autodelete=True, uploadfolder=os.path.join(
UPLOADSDIR, 'vertexID%s' % session.vertexID
d.
>>>>
>>>> PollyReports is a small, light module providing a simple way to
>>>> generate reports from databases using Python.
>>>>
>>>> Reference: https://pythonhosted.org/PollyReports/docs.html
>>>> Tutorial: https://pythonhoste
ps://opensource.gonnerman.org/?cat=4
>>
>> I hope you find it as useful as I did.
>>
>> Regards,
>> Denes
>>
>>
>>
>>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- ht
s MariaDB and PostgreSQL.
>> It seems that it's not so easy to use PostgreSQL.
>> https://groups.google.com/g/web2py/c/bc_8dg-XHpY/m/ci8A2RzzAwAJ
>> I can switch my PostgreSQL DBs to MySQL, but in the connection string
>> with MariaDB I have to use the standard MySQL one?
>>
changes to take effect.
>
> Jose
>
>
>
--
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 subscrib
into the /applications/init/static/
Kind regards,
Annet
--
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
Can I just create a custom_400.json
view, and remove the .html from my line in routes.py?
Thanks for any help
--
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)
ific order to place them in.
Kind regards,
Annet
--
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
18 months now with Opalstack and couldn´t be
> happier. Running multiple web2py (and other) apps on servers in US and EU,
> hosted email, etc. with the same access and levels of control I'd had on
> WF. And most importantly, always the same incredible customer focus and
>
.
Last week I signed up with Opalstack, https://www.opalstack.com/ and I am
glad I did,
great support and a simple but powerful control panel. One of the former WF
support
people wrote a web2py install script which got me up and running in no time.
Hope this was helpful,
Annet V.
Op vrijdag
/docs.html
Tutorial: https://pythonhosted.org/PollyReports/tutorial.html
Other features (subreports): https://opensource.gonnerman.org/?cat=4
I hope you find it as useful as I did.
Regards,
Denes
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py
his?
>
> TY for the help!!
>
>
--
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
> widget=lambda field, value: SQLFORM.widgets.reference.widget(field, value,
> _placeholder="Whats your place of operations?"))*
> }}
>
> Regards;
>
> Mostwanted
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py
for your suggestion.
> I ran a test in the shell and it works:
>
> web2py Web Framework
> Created by Massimo Di Pierro, Copyright 2007-2020
> Version 2.20.4-stable+timestamp.2020.05.03.05.18.50
> Database drivers available: sqlite3, pyodbc, imaplib, pymysql
> WARNING:web2py:import IPy
Hi villas
thanks for your suggestion.
I ran a test in the shell and it works:
web2py Web Framework
Created by Massimo Di Pierro, Copyright 2007-2020
Version 2.20.4-stable+timestamp.2020.05.03.05.18.50
Database drivers available: sqlite3, pyodbc, imaplib, pymysql
WARNING:web2py:import IPython
.sum()
>> ss = db(ti.DocNum == doc).select(ti.ItemCode, scnqtysum, groupby =
>> ti.ItemCode)
>>
>> and the table definition:
>> db.define_table('itmscan',
>> Field('DocNum', 'integer'),
>> Field('ItemCode', 'string', 20),
>> Field('Dscription
ing'),
Field('spcins', 'string', default=''),
Field('tstamp', 'datetime'),
)
I tried adding a represent to the field but it made no difference.
In the code I have a sum on another decimal field from a different table
just a few lines before the failing one that works just fine. That field is
a
like this in SQLTABLE ?
>
>
>
>
>
--
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
nu item, not containing "three" in it. What's missing?? How do I
> make nested sub-menu items?
>
> Here is the resulting html, where "three" sub-item is not even present:
>
>
>
> One
>
> Two
>
>
>
>
>
>
>
--
Resourc
I reported the same problem some time ago.
When I edit a module and save it I get this nameError. Since I am
importing the modules into other applications I have to restart web2py
everytime I edit a module.
Further more the module are no longer compiled on first use, which
I also find very
://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 unsubscribe from this group and stop receiving emails from it, send an email
to web2p
I coded a custom radio widget:
def inlineRadioOptions(field, value, **attributes):
...
attr = OptionsWidget._attributes(field, {}, **attributes)
attr['_class'] = attr.get('_class', 'web2py_radiowidget')
...
return TAG[''](*opts, **attr)
After upgrading to web2py 20.x
e calling the client.post() for login; maybe it has something to do
with the _formkey - magic.
HTH
Daniela
--
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
problem use the request object to redirect
HTH,
Annet
--
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
gards,
Annet
--
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
"web2p
Arab Emirates", "United Kingdom", "United States"]
Anyone using this js or knowing how to format the json output correctly?
Kind regards,
Annet
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- ht
ble to help guide me further I'll be very grateful.
>
>
> Thursday, April 25, 2019 at 9:58:22 PM UTC+1, Dave S wrote:
>
>>
>>
>> On Wednesday, April 24, 2019 at 4:16:56 PM UTC-7, Jacob wrote:
>>>
>>> Hello I'm still new to web2py and I'm currently wor
auth.has_membesrhip(Region2) and auth.has_membesrhip(HR)
task ...
Maybe this points you in the direction of a solution
Best,
Annet
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues
, 'store_registration.contact_number', '%(contact_number)s')
and then write your own ON UPDATE CACADE functions
Kind regards,
Annet
--
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
Hi Val,
Thanks for your reply.
I'll do as you suggest.
Kind regards,
Annet
--
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
In web2py 2.14 and python 2.7 the following line of code
datatable_list = request.controller in ['network', 'calendar'] or
request.function in ['search_group', 'search_supplier']
enabled me to do the following in an view:
{{if datatable_list:}}
DO SOMETHING
{{pass}}
In web2py 2.19
I got a bit further solving this issue adjusting web2py-bootstrap4.js
$(function() {
$(".navbar-nav ul.dropdown-menu").each(function() {
var toggle = jQuery(this).parent();
if (toggle.parent().hasClass("navbar-nav")) {
toggle.attr(&quo
In Bootstrap 4 the MENU helper no longer generates the Bootstrap navbar
{{=MENU(response.menu, _class='nav navbar-nav', ul_class='dropdown-menu',
li_class='dropdown')}}
This worked in Bootstrap 3, in Bootstrap 4 it no longer works this is what
web2py generates
Hi Jose,
Thanks for your reply, the link to the discussion on stackoverflow
was very helpful.
Kind regards,
Annet
--
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
(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 unsubscribe from this group and stop receiving emails from it, sen
- 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 unsubscribe from this grou
://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 unsubscribe from this group and stop
Have a look at the html of the Bootstrap 4.5 carousel
https://getbootstrap.com/docs/4.5/components/carousel/
maybe that points you in the right direction.
Kind regards,
Annet
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source
After upgrading to web2py 2.19.1 and switching to python 3.7 the
following no longer works.
I have a controller main with an index function that builds a
scaffold with header, content and footer.
The index function returns a variable:
content = LOAD('home', 'index', args=[vertexid, typeid
This morning I noticed a directory /init/__pycache__ containing the file
__init__.cpython-37.pyc
It caused web2py hanging on start up, after removing the directory
and the file web2py did start up.
I just wonder where the directory and the file came from. I don't
think I compiled the init
://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 unsubscribe from this grou
or Filter to call name_autocomplete() in the jquery
controller.
Kind regards,
Annet
--
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
In web2py 2.14 I had the following code in menu.py
response.menu = [
(CAT(SPAN('Log in', _class="btn btn-primary")), False,
URL('controlpanel', 'default', 'user', args='login', scheme=SECURESCHEME,
host=CONTROLPANELDOMAIN)),
(CAT(SPAN('Open account', _class="btn btn-su
Hi Ian,
I do have a copy of the script, it's a bit old, but I'll attach
it anyway, maybe it's of help.
Kind regards,
Annet
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list
Why didn't you use the web2py install/unstall script that webfaction
provides?
It installs web2py served via nginx and uWSGI.
The script mentions 2 caveats:
Web2py won't work properly if it is mounted to a sub-URL like
http://domain.com/web2py/. Instead, it must be mounted to the
website root
://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 unsubscribe from this group and stop receiving emails from it, send an email
to web2p
Hi all
a while back in this post
https://groups.google.com/d/msg/web2py/v6bB7PHa7f8/aZjaIby1fTgJ this was
said:
>
> web2py uses b64encode/decode to store/retrieve data in blobs. Legacy
> tables probably do not do it.
>
> You need you make your own custom adapter to ov
Hi Jon,
When I first ran web2py using python 2.7 on Mac OS X Catalina I got this
error message:
DEPRECATION WARNING: The system version of Tk is deprecated and may be
removed in a future release. Please don't rely on it. Set
TK_SILENCE_DEPRECATION=1 to suppress this warning.
please visit
I switched to web2py source code long ago, after buying a new mac mini with
Mac OS X Catalina I decided to switch to homebrew en pyenv, there are some
caveats but if you've sorted these out, it all works well.
Kind regards,
Annet
--
Resources:
- http://web2py.com
- http://web2py.com/book
ustom page. It doesn't seem to exist in the request
> object?
>
>
--
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
message itself ('bad values' in
this case) within the custom page. It doesn't seem to exist in the request
object?
--
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
I had the same problem when installing web2py 2.19.1 on Mac OS X Catalina.
I eventually solved the problem running the following code:
Annets-Mini:~ me$ export PATH=/usr/local/Cellar/postgresql/12.1/bin/:$PATH
Annets-Mini:~ me$ export LDFLAGS="-L/usr/local/opt/readline/lib"
Annets
I think I've worked out what I *want* to do, but I'm not sure if this is
easy in web2py. I want to use the onsubmit handler in a form to reload the
form from a .load view, but return false so that the *final* submit action
is not called. Then, if the reloaded form validates, I can set
(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 unsubscribe from this group and stop receiving emails fro
I have page containing a web2py form, and the page is meant to be viewed in
an iframe. However, if the form validates, I need to escape the iframe by
opening the action URL in a new tab, e.g. using target="_blank" (this is a
redirect to a PayPal payments page, which is why it wil
I'm a bit disappointed that web2py by default sets `X-Powered-By: web2py`
in the http header, thus making it easier for web-scanning tools to detect
the software running behind a web site, and allow more targetted attacks.
Is there an easy config option to efficiently turn this off for all
Is it possible to add the keyword argument on_define to
auth.settings.extra_fields['auth_user']
Kind regards,
Annet
--
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
In this version of web2py I have the following lines of code in db.py
from gluon.contrib.appconfig import AppConfig
configuration = AppConfig(reload=True)
When I add code to a module file and save the file I get the following
error:
nameError(“name ‘reload’ is not defined”)
Why do I get
://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 unsubscribe from this group and stop
In the online verson of the book it says:
a_config_value = myconf.take('example_section.example_key', cast=int)
http://web2py.com/books/default/chapter/29/13/deployment-recipes#AppConfig-module
In the db.py file in web2py 2.19 it says:
migrate_enabled=configuration.get('db.migrate')
What
Hi Nico,
Just want to make sure I understand.
You say 'web2py 2.19.1 binaries come "with embedded Python 2.7.16 or 3.7.4"
' ??
My reading is that one MUST get web2py source in order to use other
versions of Python? Am I understanding correctly?
We are on macOS Catalina, py
In web2py 2.18.5 on Mac OS X Catalina I get the following error
in the terminal:
ERROR:Rocket.Errors.Thread-10:Traceback (most recent call last):
File "/Users/me/web2py/gluon/rocket.py", line 1288, in run
self.run_app(conn)
File "/Users/me/web2py/gluon/rocket.py", l
1 - 100 of 920 matches
Mail list logo