Mind these helpers are a re-implementation of the web2py ones. They are
very similar but not identical. They are used in py4web.
On Saturday, 15 February 2020 10:05:33 UTC-8, Ramos wrote:
>
> Nice to know!!
>
> Massimo Di Pierro escreveu em sáb,
> 15/02/2020 às 11:29 :
>
&
turday, February 15, 2020 at 8:30:58 AM UTC-3, Massimo Di Pierro
> wrote:
>>
>> My guess is that there is some timeout in the mysql config example.
>> Can you repro with latest py4web?
>>
>> On Friday, 14 February 2020 14:31:58 UTC-8, Marcello wrote:
>>
I pushed a revision that should allow you todo:
DAL(..., driver_args={'cursor_buffered': True})"
(UNTESTED!)
On Saturday, 15 February 2020 03:32:05 UTC-8, Giovanni B. wrote:
>
> Hello!
>
> I'm currently using pyDAL in a stand-alone application and I'm suffering a
> problem while trying to
My guess is that there is some timeout in the mysql config example.
Can you repro with latest py4web?
On Friday, 14 February 2020 14:31:58 UTC-8, Marcello wrote:
>
> Hi,
>
> Any informatiion about this ?
> Nobody using py4web with mysql ??
>
>
>
> On Tuesday, February 11, 2020 at 6:58:11 PM
pip install yatl
python
>>> from yatl.helpers import A, BUTTON, DIV
enjoy. This has been possible for some time.
On Friday, 14 February 2020 04:35:41 UTC-8, Ramos wrote:
>
> Hello, like pydal that is now an independent module , would also be
> interesting to have web2py HTML helpers imported as
A mistake. Thanks for fixing it. :-)
On Thursday, 13 February 2020 15:09:03 UTC-8, Luca wrote:
>
> In the class ActionFactory, there's the code below. Is that an error? I
> don't think requires_login is in the proper place? Maybe I don't
> understand.
>
> def put(self, path=None,
t; Luca
>
>
>
> Luca
>
> On Friday, January 31, 2020 at 8:55:11 PM UTC-8, Massimo Di Pierro wrote:
>>
>> I committed some new code to py4web
>>
>> Now you can do:
>>
>> from . common import authenticated, unauthenticated # from latest
>&
works for me. can you try print vars and URL(vars=vars)?
On Monday, 10 February 2020 18:41:54 UTC-8, Toan Le wrote:
>
> Controller:
> def test():
> return H3("Hello")
>
> def grid():
> tablename = request.args(0) or "auth_user"
> if not tablename in db.tables: raise HTTP(403)
>
Honestly I dropped the ball on that. I do not own it.
On Thursday, 6 February 2020 16:11:24 UTC-8, Dave S wrote:
>
>
>
> On Wednesday, February 5, 2020 at 3:33:15 AM UTC-8, Marcelo Huerta wrote:
>>
>>
>> El martes, 4 de febrero de 2020, 17:28:12 (UTC-3), jim kaubisch escribió:
>>>
>>> I'm
You need to 1) extend Validator and 2) provide an options method. This
should do:
from pydal.validators import Validator
class IS_IN_SET_CONDITIONAL(Validator):
def __init__(self, liste, expression, error_message="Value not allowed"
):
self.expression = expression
If this is a new project. Try py4web instead. We help you with the project,
you help us with documentation and finding bugs. ;-)
On Sunday, 9 February 2020 21:58:25 UTC-8, Nimesh Silva wrote:
>
> Hi all,
>
> My team in my capstone course is to create an intranet site (website) for
> a local
4web?
>
> Thanks in advance, I do appreciate your work.
> Víctor.
>
> El jueves, 30 de enero de 2020, 7:10:45 (UTC+1), Massimo Di Pierro
> escribió:
>>
>> Yes. for me it is the future. It is usable. I recently tried to port some
>> of my apps from web2py to p
Posted 0.1.20200210.2 with this and other small fixes. Thanks for all your
help!
On Monday, 10 February 2020 07:46:23 UTC-8, Massimo Di Pierro wrote:
>
> darn. fixed.
>
> On Monday, 10 February 2020 03:38:06 UTC-8, Alex Beskopilny wrote:
>>
>>
>> [X] loaded _dashbo
t; mkdir apps/myfeed/databases
>
> and restart
>
> понедельник, 10 февраля 2020 г., 9:13:46 UTC+3 пользователь Massimo Di
> Pierro написал:
>>
>> A new py4web version is out 0.1.20200209.2:
>>
>> - better reload mechanism should avoid come pitfalls and inconsis
A new py4web version is out 0.1.20200209.2:
- better reload mechanism should avoid come pitfalls and inconsistent state
- includes a new example app, a minimalist facebook clone called myfeed
(feel free to suggest improvements)
- includes a new page "/_dashboard/gitlog/{app_name}" which, for
No there is not. We should add one. Please open a ticket.
On Monday, 3 February 2020 07:49:09 UTC-8, mweissen wrote:
>
> Ok, I have learned how to create an app.
> But I did not find any button to remove an app.
> I can delete the directory of the app, but should not be there a button on
> the
Your .gitcloudignore appears to be ignoring all of the apps:
apps/filemanager
apps/filemanager/*
apps/todo
apps/todo/*
apps/examples
apps/examples/*
apps/_dashboard
apps/_dashboard/*
apps/_scaffold
apps/_scaffold/*
apps/_minimal
apps/_minimal/*
apps/_default
apps/_default/*
apps/_documentation/*
soap/tree/master/pysimplesoap
>
> with the same error.
>
> Regards
> On Saturday, July 27, 2019 at 9:29:36 PM UTC+3, Massimo Di Pierro wrote:
>>
>> web2py ships with old version of pysimplesoap in
>> web2py/gluon/contrib/pysimplesoap
>>
>> try replace it wi
py4web yes. I just deployed a new version. web2py was never really
distributed using pypi.
On Tuesday, 4 February 2020 07:14:49 UTC-8, Marcelo Huerta wrote:
>
>
> Are there plans to include the latest versions of the frameworks in
> pypi.org? I see that pypi.org has a web2py 2.1.1.
>
--
Please open a py4web ticket about this. Will address asap.
On Tuesday, 4 February 2020 06:30:05 UTC-8, Eric wrote:
>
>
> On Tuesday, February 4, 2020 at 8:16:52 AM UTC-6, Eric wrote:
>>
>> How can I configure py4web to return the proper scheme?
>>
>>
> I should add that main problem this is
Would you mind opening a web2py ticket about this?
On Tuesday, 4 February 2020 05:07:22 UTC-8, Toan Le wrote:
>
> Hi all,
>
> I found this bugs at def LOAD(), gluon/compileapp.py, line 213:
>
> other_request.env.query_string = \
> vars and URL(vars=vars).split('?')[1] or ''
> It has
Please do
On Sunday, 2 February 2020 23:32:55 UTC-8, Kevin Keller wrote:
>
> Happy to support with the oidc/oauth2.
>
> Will share some code suggestions if that's ok with you
>
> On Mon, 3 Feb 2020, 05:56 Massimo Di Pierro,
> wrote:
>
>> mtable is in scope and usab
ope going forward?
>
> Thanks!
>
>
>
> On Sat, Feb 1, 2020 at 5:55 AM Massimo Di Pierro <
> massimo.dipie...@gmail.com> wrote:
>
>> I committed some new code to py4web
>>
>> Now you can do:
>>
>> from . common import authent
APnHjLBEHhqNN9Cc58_pQoTuLP0hfdhtww=xgK7ttfFSdRAo=g@mail.gmail.com_m_2908440178038656909_group_thread_0>
>>
>> - 1 Update
>>
>> py4wb simplification
>> <http://groups.google.com/group/web2py/t/29bb590b8cd3577c?utm_source=digest_medium=email>
>>
>> Massim
I committed some new code to py4web
Now you can do:
from . common import authenticated, unauthenticated # from latest _scaffold
# exposes index as /{app_name}/index and uses index.html or generic.html
template, auth.user, db, T, session
@authenticated()
def index():
return dict()
# GET
Please submit a bug report with more details. We will look into it. If you
can help fix this it would be great as looks like you have some resources
to dedicated to improve rocket.
There is no way to limit the TLS support but, again, open a github ticket.
Massimo
On Thursday, 30 January 2020
Rocket has a history. It was a rewrite on an early web server that I wrote,
borring some ideas from cherrypi. It became its own project. When the
maintainers lost interests I forked and the version that ships with web2py
is not the one in github/lunchpad. I will continue to maintain it as long
I normally just do:
cd web2py/applications
ln -s XYZ init
On Wednesday, 22 January 2020 23:11:07 UTC-8, Davidiam wrote:
>
> I am using Pycharm Professional for web2py development. When I create a
> project with an application "XYZ" and I click run, web2py is started and
> goes directly to
.
On Wednesday, 22 January 2020 08:12:04 UTC-8, Hugo Alberto Rivera Diaz
wrote:
>
> Massimo,an honor to salute you! One question so you would recommend the
> use of py4web over web2py? Is py4web te next step for web2py developers?
>
> El mié., 22 ene. 2020 a las 0:23, Ma
You should have request.vars.test but not form.vars.test. The parsing of
the latter is done by the INPUT() object. Since you use XML('') you
do not have an INPUT object.
On Wednesday, 22 January 2020 03:17:55 UTC-8, Константин Комков wrote:
>
> Hello! Can somebody answer why If I use FORM() and
I am preparing one. It will be done in 2 weeks. Promise.
On Tuesday, 21 January 2020 01:15:27 UTC-8, Dave S wrote:
>
>
>
> On Monday, January 20, 2020 at 4:55:33 AM UTC-8, Yuver Parra wrote:
>>
>>
>> Good morning and thanks in advance for sharing your knowledge in this
>> group.
>> Do any of you
d again or try to edit it says no image selected. Guess there
>> is the equivalent of download missing somewhere. Any help appreciated.
>>
>> John
>> -Original Message-
>> From: web...@googlegroups.com [mailto:web...@googlegroups.com] On Behalf
>> Of M
I strongly recommend py4web + vue.js :-)
On Tuesday, 21 January 2020 07:40:18 UTC-8, Ivan Gazzola wrote:
> We are a small company in Italy, we need a new developer for our project (
> xortho.it)
>
> The web app is developed with jquery mobile and web2py, we are planning to
> move to angular and
can you try this?
form = Form()
if not form.submitted: form.vars.update({field.name:field.default for field
in form.table if field.default})
Maybe I can make this default behavior?
On Tuesday, 21 January 2020 18:27:02 UTC-8, Jim S wrote:
>
> Sorry for all the py4web noob questions
>
> I
cally available.
>
> -Jim
>
> On Tue, Jan 21, 2020 at 1:00 AM Massimo Di Pierro <
> massimo.dipie...@gmail.com> wrote:
>
>> I would recommend you do something like this
>>
>> @action('index')
>> @action.uses('index.html', session)
>> def index():
>
very time. I'm lazy, right? I'm assuming that this is the same if I
> used response instead of session. In web2py you didn't have to pass
> response to the view, it was automatically available.
>
> -Jim
>
> On Tue, Jan 21, 2020 at 1:00 AM Massimo Di Pierro <
> massimo.dipie.
Good question. Not sure there is a way that is best.
You are free to use URL everywhere but often it is not-necessary,
specifically because all static files have the same prefix. It is therefore
faster and more concise to use the above syntax.
On Sunday, 19 January 2020 09:35:27 UTC-8, Jim S
I would recommend you do something like this
@action('index')
@action.uses('index.html', session)
def index():
...
return dict(session=dict(session))
This will pass a shallow copy of the session to the view. You will be free
to read from the session in index.html but you should not
You should use the py4web documentation. Also please report any error you
find.
On Tuesday, 14 January 2020 22:03:59 UTC-8, Andrew Rogers wrote:
>
> Hi
>
> Is the documentation for web2py still mostly relevant for py4web?
>
> Thanks
> Andrew
>
> On Thursday, 12 December 2019 20:47:05 UTC+6:30,
you can mix and match DAL with SQL so just replace
(a_wlp2.SUBSPC tt_main.SUBSPC)
with
"a_wlp2.SUBSPC *IS NOT DISTINCT FROM* tt_main.SUBSPC"
should work.
On Tuesday, 14 January 2020 04:39:38 UTC-8, Константин Комков wrote:
>
> Hello!
> I have that query:
> Firebird SQL
> SELECT
>
I like this one:
window.addEventListener("load",
function(){window.cookieconsent.initialise({"palette": {"popup":
{"background": "#000"},"button": {"background": "#f1d600"}}})});
On Sunday, 12 January 2020 02:54:21 UTC-8, Jonsubs wrote:
>
> Hi everyone,
> Is there some easy way or specific
true. those are apps are very old. not sure they should still be linked.
On Wednesday, 8 January 2020 21:53:20 UTC-8, Dave S wrote:
>
>
>
> On Wednesday, January 8, 2020 at 5:07:26 AM UTC-8, Ari Lion BR Sp wrote:
>>
>> Hi There,
>>
>> In order to get more publicity, Why not updating this list
Works for me right now.
On Monday, 6 January 2020 14:41:42 UTC-8, Woody wrote:
>
> Any update on when web2py will be compatible with Python 3.8?
>
> On Sunday, December 8, 2019 at 2:59:49 AM UTC-5, Massimo Di Pierro wrote:
>>
>> Both web2py and py4web are currently inco
yes. that is a priority.
On Sunday, 5 January 2020 13:28:10 UTC-8, Carlos Cesar Caballero wrote:
>
> Maybe implementing a CAS server for py4web... But I am not sure right now
> what will be the recommended way for implementing
> modules/components/plugins in py4web...
>
> El vie., 3 de enero
yes. I think it would be a very good exercise to port the @service.soap
decorator defined in web2py/gluon/tools.py to py4web
On Saturday, 4 January 2020 14:38:02 UTC-8, LUC wrote:
>
> Dear team, does anyone know if the py4web will support pysimplesoap?
>
--
Resources:
- http://web2py.com
-
I am curious about the mongo issue. I have seen it before and I thought I had
fixed it.
--
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
line 383, in __select\nif self.server_version_major <
> 2.6:\nAttributeError: \'Mongo\' object has no attribute
> \'server_version_major\'\n'
>
>
> any help would be greatly appreciated.
>
>
> Thanks
>
> On Fri, Dec 27, 2019 at 12:40 PM Massimo Di Pierro &l
About the class style, you should specify it:
>>> from py4web.utils.form import Form
>>> from pydal import Field
DEFAULT STYLE
>>> f = Form([Field('a','text'), Field('b','string')])
>>> print(f.xml())
AB
BULMA STYLE
>>> from py4web.utils.form import FormStyleBulma
>>> f =
Transfer from where to where? things like objects may have a complex state
and cannot be reliably serialized. They can be rebuilt.
What is your use case?
Massimo
On Sunday, 29 December 2019 20:34:49 UTC+1, Константин Комков wrote:
>
> Hello!
>
> How can I transfer my variable type of list,
was able to reproduce the date format issue. Not a bug, it simply is not
currently handled. Let me think about it some more.
On Saturday, 28 December 2019 16:18:05 UTC+1, Massimo Di Pierro wrote:
>
> Thanks for reporting this:
>
> Fixed these:
> * _dashboard, when reloading Apps,
: Boolean widget does not show selected state.
>
> * Local access 127.0.0.1:8000/whateverapp from 2 diferent browsers hungs
>
>
> El miércoles, 25 de diciembre de 2019, 19:49:22 (UTC+1), Massimo Di Pierro
> escribió:
>>
>> Can you please check the latest version? T
Can you provide an example to reproduce?
It seems to run the mongo tests fine on travis:
https://travis-ci.org/web2py/pydal/jobs/629956078
On Saturday, 28 December 2019 09:53:36 UTC+1, YLa wrote:
>
> Hi Massimo,
>
> I am seeing: 'Mongo' object has no attribute 'server_version_major'"
>
>
sers\salva\AppData\Roaming\Python\Python37\site-packages\pydal\contrib\portalocker.py"
> , line 171, in open_file
> f = open(filename, mode)
> FileNotFoundError: [Errno 2] No such file or directory:
> 'apps\\.service\\sql.log'
>
>
> [ ] loading _default ...
>
> [A[
Did you look at this?
http://py4web.com/_documentation/static/index.html#chapter-11
If you tell me what specifically to expland I will do so.
On Friday, 27 December 2019 14:06:52 UTC+1, John Bannister wrote:
>
> Hi All,
> I have played with py4web for a while now and one thing I cannot get my
>
I made some major changes to pydal:
- internal refactoring in the db connection logic
- dropped pg8000 support (never worked well)
- reformatting
The refactoring is a simplification of some pre-existing convoluted logic
but it also makes it easy to use pydal with multi-threaded (non web2py)
I changed to default to USE_CELERY=False
I do not want to make it dependent on celery.
On Thursday, 26 December 2019 19:56:54 UTC+1, JSalvat wrote:
>
> May need to add *celery *to requirements ?
>
>
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
le "c:\wwwroot\py4web\py4web\core.py", line 1008, in initialize
> apps = os.listdir(assets_dir)
> FileNotFoundError: [WinError 3] El sistema no puede encontrar la ruta
> especificada: 'c:\\wwwroot\\py4web\\py4web\\assets'
>
> c:\wwwroot\py4web>
>
> Yesterday's re
I posted an example of possible use of celery with py4web (in _scaffold)
but I am not too happy about it.
db._adapter.reconnect() should be automatic and 'apps._scaffold.tasks'
feels clunky.
Anyway, the example shows how you can define tasks and they can import
anything they need from the
yes we should. fixed.
On Thursday, 19 December 2019 20:18:50 UTC+1, Tito Garrido wrote:
>
> Hi Guys,
>
> I am using AuthJWT from
> https://github.com/web2py/web2py/blob/master/gluon/tools.py
> I could see that an expired token or not authorized token is
> returning error 400. Shouldn't we use
to the same as my password (mine is only 2 characters, is that a
> problem?), I have the same results as in the original message.
>
> I get the same behavior on my work computer and my home computer. Both
> running Ubuntu 19.10
>
> -Jim
>
> On Wednesday, December 25, 2019 a
not sure why this is pinned and how to unpin. :-(
On Wednesday, 18 December 2019 07:34:23 UTC+1, Dave S wrote:
>
>
>
> On Thursday, October 10, 2019 at 10:38:53 PM UTC-7, Kevin Fonseca wrote:
>
>
> oops, another pinned post! Please save pinning for messages that need
> long-term visibility.
>
This is a bug. It was just fixed.
On Wednesday, 25 December 2019 13:26:59 UTC+1, Scott Hunter wrote:
>
> I installed py4web via pip on a MacBook Pro running Catalina; it runs
> fine, and I can create new apps (by "hand"), but the dashboard & default
> apps don't get created, even if I run it
Can you please check the latest version? This should be fixed.
translations in forms are not yet supported in an automatic manner. working
on it.
On Tuesday, 24 December 2019 14:21:28 UTC+1, JSalvat wrote:
>
> Very simple Form and Grid sample to show some errors:
>
> In Grid: decimal field
:-)
Merry Christmas everybody.
On Tuesday, 24 December 2019 06:35:10 UTC+1, JSalvat wrote:
>
> Wish Merry Christmas and great New Year to Massimo and the rest of the
> contributors that deploy py4web!
>
> Looks like py4web is close to be a stable framework on which many of us
> will count for
Good Point. I will update the py4web documentation with some celery
examples.
On Monday, 23 December 2019 18:33:35 UTC+1, Marcelo Huerta wrote:
>
>
>
> El domingo, 15 de diciembre de 2019, 18:17:11 (UTC-3), Massimo Di Pierro
> escribió:
>>
>> My plan is to spend th
I posted a new version. Should solve this problem. Please let me know.
On Thursday, 19 December 2019 17:14:20 UTC+1, Jim S wrote:
>
> python3 -m pip install --upgrade py4web
> py4web-start apps
>
> Entered my password
>
> Went to http://127.0.0.1:8000/_dashboard
>
> I am asked for a password - no
When you ask about DBAPI, Do you mean the pydal RESTAPI? I assume so.
http://py4web.com/_documentation/static/index.html#chapter-06
Can you provide an use case of use of RESTAPI with JWT? Do you need JWT
just to authenticate the user or what kind of pemission info do you want to
delegate to the
Thanks for your comments.
The "TypeError: sequence item 0: expected str instance, int found" was a
yatl bug. It is fixed. The latest py4web requires yatl 20191224 which
includes the fix.
On Tuesday, 17 December 2019 21:09:16 UTC+1, Kevin Keller wrote:
>
> Hey,
>
> I tried py4web from github
Easiest way is to remov the folder and git clone again or unzip again
On Sunday, 15 December 2019 12:44:46 UTC-8, clifford emeric wrote:
>
> I am a beginner with all this, and have been playing with it for a few
> days, and with what I now know I would like to start over again from a
> virgin
I do not speak spanish. I should learn. But I can kind of read it. ;-)
If stockpost10 is your app it must be under the apps folder and you should
start it with
> py4web-start apps
You start all your apps under the apps folder. You cannot just start one
app.
- En la ventana de comandos
Yes. py4web is a wsgi. Any system that has instructions for bottle or
flask, can run py4web with pretty much the same instructions.
On Sunday, 15 December 2019 09:54:34 UTC-8, JoeCodeswell wrote:
>
> Dear Massimo and Team,
>
> Congratulations on PY4WEB.
>
> I am particularly excited about the
My plan is to spend the Christmas vacation making sure it works with Python
3.8, adding an internationalization UI, and fixing a few bugs with error
reporting. So by Dec 31.
Complete the core documentation by Jan 4 and maybe post some sample
projects.
I cannot test all the Auth scenarios. I
Maybe download it again. Cannot reproduce the problem.
On Saturday, 14 December 2019 23:30:40 UTC-8, leone wrote:
>
>
> Unable to use _dashboard using webkit by python gi.repository.
>
> ** Message: 08:21:43.542: console message:
> http://localhost:8000/_dashboard/static/js/index.js @5:
Good question.
web2py and py4web share a lot of libraries and their syntax is very
similar. Both will be maintained.
web2py was born in 2007 and it is mostly for Python 2 although it now works
well with python 3.
As a rule of thumb, if you are porting a Python 2 project to Python 3, use
there are two issues:
1) this
db(db.devtasklist.projectid == db.Project.id).select(db.Project.ProjectName)
does not do anything as it.
2) this
row.devtasklist.projectid
is an Project object but you do not access its attributes.
SOLUTION II (one extra query per record)
*In views:*
Both web2py and py4web are currently incompatible with python 3.8 because
the latter break backward compatibility again. One of the issue is that
stream-like objects are now required to support more methods than they used
to. Another issue I am trying to get to the bottom of has to do with
t week I upgraded my development environment from Mac OS X Mavericks -
> Python 2.7 - Web2py 2.14.5 to
> Mac OS X Catalina - Python 2.7 - Web2py 2.14.5, since then I have the
> following issue:
>
> Created by Massimo Di Pierro, Copyright 2007-2019
> Version 2.14.5-stable+times
You are right. I misunderstood the issue. I read the thread again I thought
this was a py3 only issue. Will look into this shortly.
On Tuesday, 3 December 2019 08:26:15 UTC-8, Leonel Câmara wrote:
>
> py4web does sessions in redis by default (if you have redis). Just saying.
>>
>
> Massimo, this
You may have an incompatible version of pydal (newer pydal, older web2py).
If you are using source, make sure you update both.
On Tuesday, 3 December 2019 03:39:45 UTC-8, Morganti wrote:
>
> Hello friends,
>
> I am trying to user JWT but I am having a problem with login_bare. After
> some
py4web does sessions in redis by default (if you have redis). Just saying.
On Thursday, 28 November 2019 14:56:37 UTC-8, Jose C wrote:
>
>
>> Any feel for how many people are using redis for sessions?
>>
>> +1 on on redis for sessions. Use it for multiple apps although they're
> all older
No you cannot and you should not. In web2py you have one thread per http
request. You should not spawn other threads because you either slow down
responses or you may leak memory.
This is not web2py specific. This is true for all web applications.
What is your ultimate goal? There is probably a
Not sure I know what you are talking about. What is the configuration
support?
On Thursday, 28 November 2019 13:07:56 UTC-8, The Living Cosmos wrote:
>
> I believe long ago the web2py configuration support was released
> separately. Could someone provide me with the link?
>
>
--
Resources:
-
Cannot talk about Django.
In web2py you can run the script: web2py/scripts/extract_pgsql_models.py
which will generate a model from your database table. It is not guaranteed
to work. It depends on the type of references that you have. Also after it
crates the model for you, you may need to
I have not but I am pretty sure it will not recognize the objects in the
global environment unless you use the usual trick:
if False:
import anything already defined that you want vscode to see
py4web will work with vscode without hacks.
On Thursday, 28 November 2019 13:07:55 UTC-8,
If the database structure did not change if you copy the new files over the
deployed ones (except the content of the databases/ folder) you should be
fine.
On Thursday, 28 November 2019 13:07:54 UTC-8, Guilherme Botelho wrote:
>
> I have a simple web2py app deployed, and would like to be able
At this time we do not support python 3.8. It seems to have broken both
web2py and py4web in different ways. I think 3.8 should be fixed, not
web2py,
On Friday, 22 November 2019 07:07:18 UTC-8, Woody wrote:
>
> I updated to Python 3.8 on Arch Linux today and I had the same problem
> with
Did I drop the ball on this one? I do not see a PR
On Thursday, 21 November 2019 08:22:58 UTC-8, Jim S wrote:
>
> FWIW - I gave up on waiting. Converted my sessions to use the database.
>
> I use redis in other parts of my app within web2py and am having no
> troubles there.
>
> -Jim
>
> On
Should be fixed. Funny anough that import was not used.
On Saturday, 2 November 2019 13:46:41 UTC-7, Donald McClymont wrote:
>
> So this seems to be because cgi.escape which was deprecated has now been
> removed. I think there may have been a fix submitted for this - however if
> not it should
The only reason for the LGPL is to prevent companies to change the name of
the framework, claim they made it, and sell it.
Every other use with acknowledgement is permitted.
On Saturday, 2 November 2019 19:48:57 UTC-7, Massimo Di Pierro wrote:
>
> No license restriction. if you d
No license restriction. if you do it I will be happy to link it.
On Friday, 1 November 2019 16:27:53 UTC-7, Jay B wrote:
>
> Hello guys,
>
> I have become familiar with web2py over the last months and am now playing
> with the idea of creating a video course.
>
> However, I have been wondering
No license restriction. if you do it I will be happy to link it.
On Friday, 1 November 2019 16:27:53 UTC-7, Jay B wrote:
>
> Hello guys,
>
> I have become familiar with web2py over the last months and am now playing
> with the idea of creating a video course.
>
> However, I have been wondering
You have a recent version of web2py with an old version of pydal
On Wednesday, 30 October 2019 20:21:23 UTC-7, Vlad Doster wrote:
>
> Hi all,
>
> I am currently trying to get a dev environment up and running. I try to
> login and the pydal/object.py
> complains about __call__() taking 3
No. The fact is, it does not need it. py4web is does not have the problem
of a custom environment. apps are modules that can be imported. Celery
works great with py4web and therefore I recommend using that instead of a
custom scheduler.
On Wednesday, 30 October 2019 04:52:33 UTC-7, Ramos
l
>> identity attributes are needed once the user is authenticated.
>>
>> Perhaps I am over simplifying! Hope this helps!
>>
>>
>> On Sunday, August 18, 2019 at 1:35:32 AM UTC-4, Massimo Di Pierro wrote:
>>>
>>> web2py or py4web? I could
Can you provide more info? Does it not identify the translation file? Does
it not read it? Does it not translate properly? There should not be
anything special about arabic other the it is Right to Left.
On Tuesday, 22 October 2019 06:36:27 UTC-7, John Bannister wrote:
>
> Tried to use the
This is the problem:
https://stackoverflow.com/questions/54608421/how-to-fix-notimplementederror-when-trying-to-run-hydrogen-in-atom
Try the latest master. Includes a fix. It will never be as good on Windows
as on Linux/Mac.
On Friday, 18 October 2019 17:10:15 UTC-7, lu ond wrote:
>
> Dear
Can you please open a pydal ticket? I can fix this over the week-end.
On Monday, 14 October 2019 01:54:41 UTC-7, Mamisoa Andriantafika wrote:
>
> It seems to be related with the "blob" type where python 2 accept also
> string type while python 3 expect byte type.
>
> When I delete the row which
Do you have the original database. If you do you should export it from the
web2py shell with db.export_to_csv_file and reimport it with
db.import_from_csv_file. This is documented in the manual. The import will
automatically fix your keys.
If you use postgres you can use pgdump and pgrestore.
Those are queries made by your app to the database within the same request
that serves the toolbar. This looks like a registration page because of
INSERT in auth_user. It does make a lot of select. you may want to simplify
your code and use caching, else this page is going to be very slow.
I
the documentation isn't really helpful in this.
>
> I'm currently using a 20190929 build (via Pycharm) and py4web itself will
> run.
>
> graham
> On Monday, October 14, 2019, 1:26:36 AM GMT+1, Massimo Di Pierro <
> massimo.dipie...@gmail.com> wrote:
>
>
> I
101 - 200 of 11090 matches
Mail list logo