Re: [web2py] Re: The PyDal/Yatl Web2Py/Py4web Emmet/Weppy Ecosystem

2020-02-27 Thread Kevin Keller
Hey Jim, Weppy is now re-named to Emmet: https://github.com/emmett-framework/emmett On Thu, Feb 27, 2020 at 6:38 PM Jim S wrote: > Kevin > > I'm curious about your comment on Weppy/Emmet evolving. Looks like there > has been only 1 commit in the past 16 months or so (it is possible I'm >

Re: [web2py] Re: Py4Web "tags" should be SCOPES

2020-02-26 Thread Christian Varas
About the signed URLs, is already implemented on this pull request https://github.com/web2py/py4web/pull/114 I haven’t tried yet. Cheers. El El mié, 26 de feb. de 2020 a la(s) 13:33, villas escribió: > Hi Kevin > > JWT seems to have everything we might need, although I am not > knowledgable

Re: [web2py] Re: Setting a default reference value as that of a specific group the logging in user is a member of

2020-02-26 Thread villas
Naturally you can still use auth to identify the user. The auth groups is really just to identify the type of user, e.g. teachers, students, admins. This is useful for allowing access to certain functionality. You must still design your DB and create links between your tables using

Re: [web2py] Re: Setting a default reference value as that of a specific group the logging in user is a member of

2020-02-26 Thread AGRogers
Thanks for the extra info. In my scenario I have schools, teachers, subjects, classes and students. At the Classes level there will be hundreds eventually (new ones each term). Your school limits what subjects you can see. The teacher limits what classes she can see etc. If I understood you

Re: [web2py] Re: LOAD in py4web

2020-02-25 Thread Christian Varas
I think it can be usefull if you use another template not based in vue. Cheers. El El lun, 24 de feb. de 2020 a la(s) 03:31, Massimo Di Pierro < massimo.dipie...@gmail.com> escribió: > We can add it in utils. But before we do. Do other peopl find it useful? > Is that a pattern we should

Re: [web2py] Re: LOAD in py4web

2020-02-24 Thread António Ramos
I think LOAD should be gone and we should move this kind of interaction to the client part. Also py4web should stick with server stuff and let client stuff integrate better an in a more independent way. For me FORM / smartgrid should also be gone. Vuetify and buefy tables are awesome. dont try to

Re: [web2py] Re: p4web auth issues

2020-02-24 Thread Maurice Waka
Working now. I had to reinstall the app. Regards On Monday, February 24, 2020 at 12:58:10 PM UTC+3, Val K wrote: > > get_user(), not get.user() -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

Re: [web2py] Re: p4web auth issues

2020-02-24 Thread Val K
get_user(), not get.user() -- 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

Re: [web2py] Re: p4web auth issues

2020-02-24 Thread Maurice Waka
Something is not right... Now I get this error: Traceback (most recent call last): File "/home/maurice/py4web/py4web/core.py", line 551, in wrapper ret = func(*func_args, **func_kwargs) File "/home/maurice/py4web/py4web/core.py", line 512, in wrapper ret = func(*args, **kwargs) File

Re: [web2py] Re: p4web auth issues

2020-02-23 Thread Maurice Waka
Thanks a lot. Regards On Mon, Feb 24, 2020, 06:14 Scott Hunter wrote: > user = auth.get.user()['first_name'] > > On Sunday, February 23, 2020 at 9:23:06 PM UTC-5, Lovedie JC wrote: >> >> Thanks. >> Before you replied I had tried : >> user = auth.get.user()[first_name] >> >> With an error..

Re: [web2py] Re: p4web auth issues

2020-02-23 Thread Scott Hunter
user = auth.get.user()['first_name'] On Sunday, February 23, 2020 at 9:23:06 PM UTC-5, Lovedie JC wrote: > > Thanks. > Before you replied I had tried : > user = auth.get.user()[first_name] > > With an error.. 'first_name' is not defined > Regards > > On Mon, Feb 24, 2020, 02:02 Val K > wrote: >

Re: [web2py] Re: p4web auth issues

2020-02-23 Thread Lovedie JC
Thanks. Before you replied I had tried : user = auth.get.user()[first_name] With an error.. 'first_name' is not defined Regards On Mon, Feb 24, 2020, 02:02 Val K wrote: > `auth` in py4web is no the same as in web2py > to get user-record you should > ... > def index(): > user =

Re: [web2py] Re: LOAD in py4web

2020-02-23 Thread Carlos Cesar Caballero
Or maybe using something like https://github.com/MoOx/pjax El dom., 23 de febrero de 2020 7:02 p. m., Val K escribió: > for server side you can > @action("foo") > @action.uses("foo.html") > def foo(): > return dict(...) > > @action("bar") > @action.uses("bar.html") > def bar(): > return

Re: [web2py] Re: ERROR on Request

2020-02-21 Thread Lovedie JC
Thanks. I switched to it. Regards On Fri, Feb 21, 2020, 06:58 Massimo Di Pierro wrote: > in py4web request is the bottlepy request. > https://bottlepy.org/docs/dev/api.html#the-request-object > There is no now. > > You can use datetime.timetime.now() > > On Tuesday, 18 February 2020 08:34:51

Re: [web2py] Re: web2py with js framework

2020-02-19 Thread Roberto Perdomo
I made an app some time ago with Web2py/Vue is not being maintained anymore, but maybe can help you. https://github.com/robertop23/web2py_vuejs_vuetify On Wed, Feb 19, 2020 at 4:18 PM Geordanis Baño Vega wrote: > > API with web2py and SPA|PWA with Vue, could be an option. Regards > > El mié.,

Re: [web2py] Re: web2py with js framework

2020-02-19 Thread Geordanis Baño Vega
API with web2py and SPA|PWA with Vue, could be an option. Regards El mié., 19 feb. 2020 a las 11:16, Andrew Rogers () escribió: > I've been using Vue for just 30 mins and web2py for not much longer. I > just wanted to get something really, really simple working. All i did was > added this to

Re: [web2py] Re: PY4WEB socketIO

2020-02-18 Thread Vicente Orru
Massimo, maybe zeroMQ can be good for you. Em ter., 18 de fev. de 2020 às 06:44, António Ramos escreveu: > I was not expecting less than that from Massimo :) > > Em ter., 18 de fev. de 2020 às 03:45, Massimo Di Pierro < > massimo.dipie...@gmail.com> escreveu: > >> It would be trivial to

Re: [web2py] Re: validator formatter when validation fails

2020-02-18 Thread E L
thanks, it works for me On Mon, Feb 17, 2020 at 9:16 PM Massimo Di Pierro wrote: > > I think this is fixed now. Please give it a try. > > On Monday, 17 February 2020 13:53:34 UTC-8, Eric wrote: >> >> In py4web, when form validation fails on a datetime field, py4web throws and >> exception. >>

Re: [web2py] Re: PY4WEB socketIO

2020-02-18 Thread António Ramos
I was not expecting less than that from Massimo :) Em ter., 18 de fev. de 2020 às 03:45, Massimo Di Pierro < massimo.dipie...@gmail.com> escreveu: > It would be trivial to implement it like flask does. > > You can do it right now using the bottlepy way: >

Re: [web2py] Re: web2py/py4web HTML helpers as an independent module

2020-02-16 Thread Massimo Di Pierro
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 : > >> pip install yatl

Re: [web2py] Re: web2py/py4web HTML helpers as an independent module

2020-02-15 Thread António Ramos
Nice to know!! Massimo Di Pierro escreveu em sáb, 15/02/2020 às 11:29 : > 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

Re: [web2py] Re: Looking for web2py developer for Italian small company

2020-02-14 Thread Clemens
Hello Massimo, I've understood, that py4web is the future. But I have one more important question: Will web2py further maintained? And how long will it be maintained? I'm asking, because I've an application developed on web2py and I need to plan when it has to be migrated/re-implemented. And

Re: [web2py] Re: psycopg2 error

2020-02-14 Thread Maurice Waka
I removed postgresql and reinstalled it. Working well now. Regards On Thu, Feb 13, 2020, 22:59 Clemens wrote: > Have you installed the corresponding python 3 lib for postgres? > *pip3* install --no-binary :all: --upgrade psycopg2 > > What's your os? I'm using Linux and I switched to python 3,

Re: [web2py] Re: Looking for web2py developer for Italian small company

2020-02-14 Thread VJ Sosa
Dear Massimo, Thanks for your quickly answer! Regards, Víctor El lunes, 10 de febrero de 2020, 17:13:56 (UTC+1), Massimo Di Pierro escribió: > > Hello Victor, > > I recommend everybody to move from web2py to py4web. I am using the latter > for my own projects and find it better. > Honestly

Re: [web2py] Re: special chars in view, utf8 issue ?!

2020-02-13 Thread António Ramos
my solution .decode('utf8').encode('latin1') just did it without thinking... dont know what i´m doing but it works... {{temp=db(db.apps.id>0).select(db.apps.icon,db.apps. url,db.apps.bg,db.apps.title,orderby=db.apps.id)}} {{for x in temp:}}

Re: [web2py] Re: Looking for web2py developer for Italian small company

2020-02-13 Thread Gaël Princivalle
Dear Massimo. Did you plan to add the grid to py4web? Il giorno lunedì 10 febbraio 2020 17:13:56 UTC+1, Massimo Di Pierro ha scritto: > > Hello Victor, > > I recommend everybody to move from web2py to py4web. I am using the latter > for my own projects and find it better. > Honestly web2py has

Re: [web2py] Re: Looking for web2py developer for Italian small company

2020-02-13 Thread Kevin Keller
Being self contained, simple and with smartgrid, integrated Auth, and even wiki engine and now again with updated pyrtf web2py could still have great future as a a framework for company internal web database apps (also easy field calculations) to replace I. E. Lotus notes or ms access apps and

Re: [web2py] Re: Looking for web2py developer for Italian small company

2020-02-12 Thread Dave S
On Wednesday, February 12, 2020 at 12:02:10 PM UTC-8, Vlad wrote: > > I've used web2py happily until today, but seems need to switch to py4web :) > > I've never looked into py4web; just saw msgs going back and forth about > it. > > What's the best way to start? Any tutorials? Is there a book

Re: [web2py] Re: Looking for web2py developer for Italian small company

2020-02-12 Thread Vlad
I've used web2py happily until today, but seems need to switch to py4web :) I've never looked into py4web; just saw msgs going back and forth about it. What's the best way to start? Any tutorials? Is there a book similar to the one on web2py? What's the home page (assuming it's separate from

Re: [web2py] Re: Looking for web2py developer for Italian small company

2020-02-10 Thread Massimo Di Pierro
Hello Victor, I recommend everybody to move from web2py to py4web. I am using the latter for my own projects and find it better. Honestly web2py has more features and it has been battle-tested but py4web is catching up quickly and, if you do not need the grid, I think it is already better.

Re: [web2py] Re: web2py / py4web in pypi.org

2020-02-10 Thread Marcelo Huerta
Well, there is an old package in https://pypi.org/project/web2py/, maybe it should be removed? -- 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

Re: [web2py] Re: Looking for web2py developer for Italian small company

2020-02-09 Thread VJ Sosa
Dear Massimo, One month ago I just started to develop some demos of a web application using web2py. I'm interested in go further with a more serious implementation, but today I'm realizing that this group is also talking about py4web. Considering that py4web is your new bet for a python

Re: [web2py] Re: Py4web: ¿Practical example step by step?

2020-02-07 Thread joseph simpson
Is this example available some where? Thanks for your help, Joe On Tue, Jan 21, 2020 at 10:25 PM Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > 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

Re: [web2py] Re: Cookie policy plugin

2020-02-05 Thread Jon Subscripted
Thanks! On Wed, Jan 15, 2020 at 7:15 AM Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > I like this one: > > window.addEventListener("load", > function(){window.cookieconsent.initialise({"palette": {"popup": > {"background": "#000"},"button": {"background": "#f1d600"}}})}); > > > > On

Re: [web2py] Re: Looking for web2py developer for Italian small company

2020-01-29 Thread Massimo Di Pierro
Yes. for me it is the future. It is usable. I recently tried to port some of my apps from web2py to py4wb and f they do not use grid, the transition is almost trivial. The code ends up cleaner and you can use pylint and other tools to find errors. Converting complex Auth logic can be tricky.

RE: [web2py] Re: Saving a view as an file/image

2020-01-28 Thread John Bannister
Hey thanks a lot will try it out!! From: web2py@googlegroups.com [mailto:web2py@googlegroups.com] On Behalf Of mostwanted Sent: 27 January 2020 15:47 To: web2py-users Subject: [web2py] Re: Saving a view as an file/image Hey John, I dont know if this will help you but there was a time when

RE: [web2py] Re: Saving a view as an file/image

2020-01-28 Thread John Bannister
I have no issue styling the vouchers in HTML (this is already done in a view) my issue is how to capture that view and send it via email either as message or attachment. From: web2py@googlegroups.com [mailto:web2py@googlegroups.com] On Behalf Of villas Sent: 27 January 2020 13:26 To:

Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-23 Thread Jim S
No problem with auth.has_permission web2py. But I don't think it exists in py4web. Someone please correct me if I'm spreading misinformation. You can write it yourself, but I don't think it's included in py4web. -Jim On Thursday, January 23, 2020 at 10:02:00 AM UTC-6, Lovedie JC wrote: > >

Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-23 Thread Kevin Keller
I havent looked at py4web so far, because I dont get how it does permission in general. Is there an easy way to use JWT tokens and OIDC/OAUTH2 with Vue.js easily? I think its quite a pain to go through this in general. This is why I really liked about rendered HTML page apps. If its not a

Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-23 Thread Lovedie JC
Is there a problem with @auth_has _permission? I intend to use it. Regards On Thu, Jan 23, 2020, 18:57 Jim S wrote: > You'll be fine with the new system I believe as long as you're not > currently using @auth.has_permission. While you can do it with py4web it > is more challenging than in

Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-23 Thread Jim S
You'll be fine with the new system I believe as long as you're not currently using @auth.has_permission. While you can do it with py4web it is more challenging than in web2py. -Jim On Thursday, January 23, 2020 at 9:47:43 AM UTC-6, Christian Varas wrote: > > Hi Jim. > > Yes I'm using the auth

Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-23 Thread Christian Varas
Hi Jim. Yes I'm using the auth system permission. I'm using 2 decorators in fact @auth.requires_membership() and @auth.requires_login() I'm gonna port my app to py4web then :) Thanks Cheers. Chris El jue., 23 de ene. de 2020 11:27, Jim Steil escribió: > Sounds like a great app to do in

Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-23 Thread Jim Steil
Sounds like a great app to do in py4web. 1. You are already comfortable with javascript. 2. You're not using grid/smartgrid. 3. Are you using the web2py auth system with permissions? If only using groups (roles) then this would be great to do with py4web. 4. Much faster and you

Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-23 Thread Christian Varas
Thanks for all that you share guys. I would like to ask for a recommendation. I have a web interface made with web2py, this interface manage a web application firewall (nginx and modsecurity). It does commands and file modifications in the system to manage properly the WAF, the database is

Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-22 Thread Carlos Costa
Thanks for sharing you experience with py4web, Jim. Em qua., 22 de jan. de 2020 às 20:04, Kevin Keller escreveu: > The datatables integration for web2py would be super useful. I'm sure we > could port it over to py4web easily. > > I just feel like with all the stuff web2py gave us to get

Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-22 Thread Kevin Keller
The datatables integration for web2py would be super useful. I'm sure we could port it over to py4web easily. I just feel like with all the stuff web2py gave us to get something quickly going missing, it'd just another api framework and there are fastapi and apistar as well falcon out.. I think

Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-22 Thread Jim S
Yes, I will post my main utils.py when I have it working better. I still have to clean up a couple pieces. It would be up to Massimo if he wanted to add it. But in response to one of my earlier questions I was told Massimo kept a utility like this out of py4web so people might use better

Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-22 Thread Kevin Keller
Jim, Could your helpers be considered to be added to thr py4web code base? If you say you have a sqlform.grid equivalent or something in that direction? I think there was mtable that should take the spot, but haven't seen any examples yet or at least none thst would replace a sqlform or

Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-22 Thread Jim S
For me, there is no porting, it is re-writing. While a lot of the capabilities are there in py4web not all are part of py4web. Due to the nature of how things work, a lot of the 'global' structures in web2py have to be handled differently in py4web. SQLFORM.grid is gone. FORM replaces

Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-22 Thread Carlos Costa
Hey Massimo, thanks for the great info. How about porting apps from web2py to py4web? What steps would you recommend? Em qua., 22 de jan. de 2020 às 08:21, AGRogers escreveu: > OK, thanks. Re reporting errors, I suspect most errors will be due to my > ignorance. But thanks for the

Re: [web2py] Re: Looking for web2py developer for Italian small company

2020-01-22 Thread Hugo Alberto Rivera Diaz
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, Massimo Di Pierro (< massimo.dipie...@gmail.com>) escribió: > I strongly recommend py4web + vue.js :-) > > On

Re: [web2py] Re: py4web - form field default - appears to not be working for me

2020-01-22 Thread Jim Steil
Yes, that did the trick! Thanks Massimo On Wed, Jan 22, 2020 at 12:21 AM Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > 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

Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-22 Thread AGRogers
OK, thanks. Re reporting errors, I suspect most errors will be due to my ignorance. But thanks for the encouragement. On Tue, Jan 21, 2020, 1:26 PM Massimo Di Pierro wrote: > You should use the py4web documentation. Also please report any error you > find. > > > On Tuesday, 14 January 2020

Re: [web2py] Re: running two web2py instances on the same server under apache wsgi mod

2020-01-21 Thread Manuele Pesenti
On 21/01/20 15:10, Manuele Pesenti wrote: So I guess I have to try using the second web2py (R-2.18 under python3 virtualenv) instance through mod_proxy... right? So I'm trying to run a web2py (R-2.18.3) instance for deploy purposes using apache mod_proxy. First I want to install the

Re: [web2py] Re: running two web2py instances on the same server under apache wsgi mod

2020-01-21 Thread Manuele Pesenti
On 21/01/20 14:59, Manuele Pesenti wrote: Thank you Tim, I tried but restarting apache and accessing the instance the browser takes a long time to respond and I get this error in log: ImportError: No module named site Could it be related to this

Re: [web2py] Re: running two web2py instances on the same server under apache wsgi mod

2020-01-21 Thread Manuele Pesenti
Thank you Tim, I tried but restarting apache and accessing the instance the browser takes a long time to respond and I get this error in log: ImportError: No module named site This is how my apache configuration looks like if could be of any help to understand the problem:   ServerAdmin

Re: [web2py] Re: py4web - javascript references in html files

2020-01-21 Thread Jim Steil
I tried using URL() but then the login page didn't work. I think there was an error starting Vue. -Jim On Tue, Jan 21, 2020 at 1:04 AM Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Good question. Not sure there is a way that is best. > You are free to use URL everywhere but often it

Re: [web2py] Re: web2py and reverse proxy. How to expose a single application behind a hostname

2020-01-21 Thread Manuele Pesenti
Yes! It seams the right way... thank you Dave     M. On 21/01/20 09:45, Dave S wrote: Check out routes.py, as described at http://www.web2py.com/books/default/chapter/29/04/the-core#URL-rewrite> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

Re: [web2py] Re: Is there a way to style a SQLFORM.grid view page

2020-01-14 Thread Geordanis Baño Vega
from de web2py pdf manual: {{=form.custom.begin}} Image name: {{=form.custom.widget.name}} Image file: {{=form.custom.widget.source}} Click here to upload: {{=form.custom.submit}} {{=form.custom.end}} El mié., 8 ene. 2020 a las 14:40, Ari Lion BR Sp () escribió: > I use a trick - but I think

Re: [web2py] Re: Web2py survey ??

2020-01-09 Thread António Ramos
THIS IS NOT TO FILL A SURVEY BUT TO CREATE ONE!! somebody just deleted questions and removed options. Not that kind of help we want! Regards Em qua., 8 de jan. de 2020 às 17:19, António Ramos escreveu: > Lets rock ... > > >

Re: [web2py] Re: Web2py survey ??

2020-01-08 Thread António Ramos
Lets rock ... https://docs.google.com/forms/d/1M7zElUG56fcRbwit8KRWex2Y7mVDmYALKCy-_gBhMEs/edit?usp=sharing feel free to add more questions and/or change the existing ... António Em qua., 8 de jan. de 2020 às 13:33, sandeep patel < patelsandeep...@gmail.com> escreveu: > @ > I agree with you.

Re: [web2py] Re: Web2py survey ??

2020-01-08 Thread sandeep patel
@ I agree with you. On Wed, 8 Jan, 2020, 6:27 PM Ari Lion BR Sp, wrote: > Good Idea > > Em quinta-feira, 26 de dezembro de 2019 13:23:54 UTC-3, Ramos escreveu: >> >> Hi all, i think that it could be important to question users about many >> things to be known by us all. >> I think it could

Re: [web2py] Re: warning: new pydal

2020-01-06 Thread Kevin Keller
In postresql? What issues do you have? On Mon, Jan 6, 2020 at 7:24 PM Leonel Câmara wrote: > I seem to be having quite a few issues with json and jsonb fields. > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code)

Re: [web2py] Re: Take me advice, please

2020-01-05 Thread Val K
Finally, the session is saved on disk or in db or in cookies between requests, web2py uses pickle to do that, so all that you store in the session must be pickable. In your case it is enough to trasform your class object into dict, you don't need to convert it into json -- Resources: -

Re: [web2py] Re: Take me advice, please

2020-01-05 Thread Константин Комков
Val K, yes I want transfer class objects in list like variable at first. Then I tried save that variable in session, but it was unsuccess too. And now I serialised all objects in list like that json.dumps(my_object.__dict__) append all of them in list and save in session. вс, 5 янв. 2020 г.,

Re: [web2py] Re: py4web - cannot get logged in

2019-12-26 Thread Jim Steil
That fixed it. Thanks Massimo On Thu, Dec 26, 2019 at 2:17 AM Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Please try delete apps and then rerun "py4web-start apps". I suspect you > have an older _dashboard. > You may also try delete only apps/_dashboard and run "py4web-start -c >

Re: [web2py] Re: Off topic : visual diagrams anyone ???

2019-12-03 Thread Dave S
On Tuesday, December 3, 2019 at 5:01:31 AM UTC-8, Christian Varas wrote: > > Hi, for this I use visjs https://visjs.org you can change the form of the > node, pu icons, images change lines to arrow etc.., I've developed a custom > note taking app, that makes a mind map when you add notes. > >

Re: [web2py] Re: Off topic : visual diagrams anyone ???

2019-12-03 Thread António Ramos
havent gone far with it but i intend to automate the generation of diagrams. So far i´m statically coding a diagram like the following [image: image.png] was produced by just this code stateDiagram [*] --> Lote Lote --> Amostra Amostra --> Inspeção:Sim Amostra --> Alerta:Não

Re: [web2py] Re: Off topic : visual diagrams anyone ???

2019-12-03 Thread Dave S
On Monday, December 2, 2019 at 1:51:42 AM UTC-8, Ramos wrote: > > Nothing , im am using it already. > Just sharing it with you... > :) > Any particular advice on how to use with web2py app, or did you find that information at the link was sufficient? /dps > > Em seg., 2 de dez. de 2019 às

Re: [web2py] Re: Off topic : visual diagrams anyone ???

2019-12-02 Thread António Ramos
Nothing , im am using it already. Just sharing it with you... :) Em seg., 2 de dez. de 2019 às 02:57, Scott Hunter escreveu: > What is stopping you from using it *in* your web2py app? > > On Wednesday, November 27, 2019 at 12:58:48 PM UTC-5, Ramos wrote: >> >> Hard to find a tool like this for

Re: [web2py] Re: Web2py with python 3.8.0

2019-11-29 Thread Kevin Keller
Maybe, it wasn't on the radar of the django developers either and had to be fixed in the framework after python3 was released. Happens sometimes I suppose, hard to keep up with depreciation of functions and the impact on a framework. Anyways, I suppose we juar have to file the bug reports and

Re: [web2py] Re: Web2py with python 3.8.0

2019-11-29 Thread Woody
Shouldn't that be done before the release rather than afterward? -- 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

Re: [web2py] Re: Web2py with python 3.8.0

2019-11-29 Thread Kevin Keller
Some deprecated functions have been removed in 3.8 finally. Hence py4web and web2py have to adapt to the new situation. Django went through the same process already. On Fri, 29 Nov 2019, 14:11 Woody, wrote: > What is causing the problem with Python 3.8? Is it causing problems with > other

Re: [web2py] Re: Anyone have a sample haproxy.cfg file for haproxy v 1.8

2019-11-28 Thread Krishna Bavandlapally
Thank you Jim S for your support -- 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

Re: [web2py] Re: Anyone have a sample haproxy.cfg file for haproxy v 1.8

2019-11-28 Thread Krishna Bavandlapally
Okay, thank you for your Jim -- 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

Re: [web2py] Re: Anyone have a sample haproxy.cfg file for haproxy v 1.8

2019-11-27 Thread Jim Steil
I'm still using redis for caching, but not for sessions. Per the web2py book, I'm storing sessions in the database now. The redis_session module is where the problem is. Jim On Wed, Nov 27, 2019, 10:31 PM Krishna Bavandlapally < b.krishna2...@gmail.com> wrote: > Thank you Jim S for your

Re: [web2py] Re: rename request hostname

2019-11-13 Thread Dave S
On Tuesday, November 12, 2019 at 11:32:59 AM UTC-8, Yoel Benitez Fonseca wrote: > > H! > > El lun., 11 nov. 2019 a las 17:03, Dave S ( >) escribió: > >> >> >> On Monday, November 11, 2019 at 7:12:44 AM UTC-8, Yoel Benitez Fonseca >> wrote: >>> >>> h! >>> >>> Is it possible to change the

Re: [web2py] Re: rename request hostname

2019-11-12 Thread Yoel Benitez Fonseca
H! El lun., 11 nov. 2019 a las 17:03, Dave S () escribió: > > > On Monday, November 11, 2019 at 7:12:44 AM UTC-8, Yoel Benitez Fonseca > wrote: >> >> h! >> >> Is it possible to change the hostname that comes in the form request so >> that outbound links have the hostname i want? >> > > I think

Re: [web2py] Re: How do I display uploaded images from uploads folder

2019-11-12 Thread Dave S
On Monday, November 11, 2019 at 10:39:58 PM UTC-8, Maurice Waka wrote: > > Thanks. > Let me work it out. > Regards > >> >> Also note that a file uploaded to an upload field is not stored with the name the user passed to the upload form; instead, it is stored with a mangled, er, obfuscated

Re: [web2py] Re: How do I display uploaded images from uploads folder

2019-11-11 Thread Maurice Waka
Thanks. Let me work it out. Regards On Tue, Nov 12, 2019, 01:01 Dave S wrote: > > > On Monday, November 11, 2019 at 12:10:53 PM UTC-8, Maurice Waka wrote: >> >> But I did upload and the image is in the folder. >> > > How are you generating the URL for showarticle()? > > Also, I think you can

Re: [web2py] Re: How do I display uploaded images from uploads folder

2019-11-11 Thread Dave S
On Monday, November 11, 2019 at 12:10:53 PM UTC-8, Maurice Waka wrote: > > But I did upload and the image is in the folder. > How are you generating the URL for showarticle()? Also, I think you can just do an ordinary file open(), rather than having to import PIL and doing an Image.open()

Re: [web2py] Re: How do I display uploaded images from uploads folder

2019-11-11 Thread Maurice Waka
But I did upload and the image is in the folder. On Mon, Nov 11, 2019 at 3:48 PM Ruslan Gareev wrote: > Hi, looks like your request.args(0) is empty. > > понедельник, 11 ноября 2019 г., 15:37:31 UTC+5 пользователь Maurice Waka > написал: >> >> I'm trying to retrieve an uploaded image from the

Re: [web2py] Re: "No module named 'google' " in app using the YouTube Data API

2019-11-08 Thread Jim Steil
I found my problem. One of my sub-modules was silently failing to install. Fixed that and now all importing fine. On Fri, Nov 8, 2019 at 8:33 AM Jim S wrote: > I'm having the same problem. Not with the google package but with my own. > > I'm trying to import: > > from qlf import util > >

Re: [web2py] Re: Error with sessions on redis

2019-11-08 Thread Áureo Dias Neto
Okay, thanks for the attention on the answers, hug! Em sex., 8 de nov. de 2019 às 10:14, Jose C escreveu: > > >> What do you think about Joe Barnhart's solution? >> My point with redis is that I am using database sessions, finally my >> goal is to unburden it since I have plenty of RAM on the

Re: [web2py] Re: Error with sessions on redis

2019-11-08 Thread Jose C
> What do you think about Joe Barnhart's solution? > My point with redis is that I am using database sessions, finally my > goal is to unburden it since I have plenty of RAM on the application > server ... > I haven't tried it but as Joe says his patch was rejected but I'm not sure why.

Re: [web2py] Re: Error with sessions on redis

2019-11-08 Thread Áureo Dias Neto
What do you think about Joe Barnhart's solution? My point with redis is that I am using database sessions, finally my goal is to unburden it since I have plenty of RAM on the application server ... Em sex., 8 de nov. de 2019 às 09:41, Jose C escreveu: > > Hi Aureo, > > You're hitting a bug in

Re: [web2py] Re: Error with sessions on redis

2019-11-08 Thread Jose C
Hi Aureo, You're hitting a bug in web2py's redis session implementation that does not yet have a fix. Basically redis cannot be used for sessions at this stage with web2py 2.18.5 and either versions 2 or 3 of the redis python library. see (for your bug):

Re: [web2py] Re: Error with sessions on redis

2019-11-08 Thread Áureo Dias Neto
3.3.11 Em sex., 8 de nov. de 2019 às 09:14, Jose C escreveu: > > >> Web2py: 2.18.5-stable+timestamp.2019.04.08.04.22.03 (running on >> gunicorn/19.9.0, Python 2.7.15+) >> py-redis: 4.0.9 >> Redis server v=4.0.9 sha=:0 malloc=jemalloc-3.6.0 bits=64 >> build=9435c3c2879311f3 >> redis-cli

Re: [web2py] Re: Error with sessions on redis

2019-11-08 Thread Jose C
> Web2py: 2.18.5-stable+timestamp.2019.04.08.04.22.03 (running on > gunicorn/19.9.0, Python 2.7.15+) > py-redis: 4.0.9 > Redis server v=4.0.9 sha=:0 malloc=jemalloc-3.6.0 bits=64 > build=9435c3c2879311f3 > redis-cli 4.0.9 > OS: Ubuntu 18.04.1 LTS > > HI Aureo, Which version of

Re: [web2py] Re: Error with sessions on redis

2019-11-08 Thread Áureo Dias Neto
Hello, yes: Web2py: 2.18.5-stable+timestamp.2019.04.08.04.22.03 (running on gunicorn/19.9.0, Python 2.7.15+) py-redis: 4.0.9 Redis server v=4.0.9 sha=:0 malloc=jemalloc-3.6.0 bits=64 build=9435c3c2879311f3 redis-cli 4.0.9 OS: Ubuntu 18.04.1 LTS Em sex., 8 de nov. de 2019 às 05:09, Jose

Re: [web2py] Re: session object: can't hold session.variable

2019-11-03 Thread 'philkane' via web2py-users
Thanks Jose C,I had tried/checked all of your suggestions to no avail. I have sinve posting, uninstalled Python 3.8.0 and reverted to Python 3.75 and re-run the same code and it all works as expected.  I can only assume there was a problem with 3.8.0Thanks again for your help.Phil.

Re: [web2py] Re: Scheduler for py4web ?

2019-11-01 Thread Carlos Zenteno
Thanks a lot I read a bit and found out the difference. I erased the post briefly after I wrote it. Thanks again. On Fri, Nov 1, 2019, 4:21 PM António Ramos wrote: > You are confusing things. > Web2py Task scheduler is like linux cron but more powerfull because you > can task a python

Re: [web2py] Re: Scheduler for py4web ?

2019-11-01 Thread António Ramos
You are confusing things. Web2py Task scheduler is like linux cron but more powerfull because you can task a python function from your code. Gulp and alike are task automation tools like creating files and folders , compiling jade to html or sass to css. Not the same thing.. and yes you should be

RE: [web2py] Re: Web2py arabic translations not working

2019-10-28 Thread John Bannister
Hi Massimo, Deleted ar.py and recreated it and seems fine now. BR John From: web2py@googlegroups.com [mailto:web2py@googlegroups.com] On Behalf Of Massimo Di Pierro Sent: 28 October 2019 05:23 To: web2py-users Subject: [web2py] Re: Web2py arabic translations not working Can you

Re: [web2py] Re: Web2py binaries

2019-10-22 Thread Nico Zanferrari
Thank you Marius, you suggestion is simpler and is working fine, both for py2 and py3 apps! Cheers, Nico Il giorno mar 22 ott 2019 alle ore 08:25 Marius Rusca < marius.ru...@gmail.com> ha scritto: > Hi > > I downloaded web2py_osx.2_18_5.py3_app.zip >

Re: [web2py] Re: Web2py binaries

2019-10-22 Thread Marius Rusca
Hi I downloaded web2py_osx.2_18_5.py3_app.zip with safari on macos catalina. 'control' + click on downloaded file and allowed me to 'open' after some warning. I moved the file in applications and then

Re: [web2py] Re: web2py survey dynamic forms with nested choices

2019-10-21 Thread ngn zone
Thanks Val, I have googled search and came across react JS which can facilitate front end so I am looking at it. On Fri, Oct 18, 2019 at 11:19 PM Val K wrote: > 'list:string' are definitely RDBMS-anti-pattern: try to count users that > checked A-answer to B-question from B-section from

Re: [web2py] Re: web2py survey dynamic forms with nested choices

2019-10-18 Thread ngn zone
The truth is I need some light on which direction to take. as you have said, I need RDBMS, but talking of json or pickle I will need some help on how to go about it. Any link to a tutorial or example? Thanks Val On Fri, Oct 18, 2019 at 11:19 PM Val K wrote: > 'list:string' are definitely

Re: [web2py] Re: Web2py binaries

2019-10-18 Thread OogieM
> > > The solution is quite simple: download them from another OS (Windows or > Linux) and then use an USB key / drive in order to copy them to the Mac ... > In this way the program works like a charm > Any suggestions for those of us with no access to any computer with any other operating

Re: [web2py] Re: web2py survey dynamic forms with nested choices

2019-10-18 Thread NGNZONE
Hello Ramos, your solution means that I will have to get this survey always online, but this app will at some point run offline for local users. So google forms might not be very fitting in this context. On Thursday, October 17, 2019 at 11:16:46 AM UTC+1, Ramos wrote: > > apart from that you can

<    1   2   3   4   5   6   7   8   9   10   >