[web2py] Embed Plotly Express in Web2PY

2024-01-25 Thread Jitun John
I would like to embed something on the following lines *import plotly.express as pxfig = px.line(df_dataframe, x="datetime", y="load_avg_fifteen")* show it in html page similar to ** At present I am using HighCharts js, but as I totally work on pandas dataframes.. I imagine it is far more

[web2py] Plotly Express Charts in web2py

2024-01-25 Thread Jitun John
I would like to embed something on the following lines *import plotly.express as pxfig = px.line(df_dataframe, x="datetime", y="load_avg_fifteen")* show it in html page similar to ** At present I am using HighCharts js, but as I totally work on pandas dataframes.. I imagine it is far more

[web2py] Re: Built-in helpers on session.flash

2021-07-29 Thread Jitun John
I can live without it as well. Just wondering .. should I give up. On Saturday, July 24, 2021 at 8:31:07 AM UTC+5:30 Jitun John wrote: > Thanks for the reply @Jim S > > session.flash = XML(CENTER(DIV(H4('sFTP Error: ' + ftp_error_parse(e)), >

[web2py] Re: Built-in helpers on session.flash

2021-07-23 Thread Jitun John
Thanks for the reply @Jim S session.flash = XML(CENTER(DIV(H4('sFTP Error: ' + ftp_error_parse(e)), HR(), 'FTP Address|Username|Login|Password may be not correct.', BR(), 'Check if the DropBox still

[web2py] Built-in helpers on session.flash

2021-07-23 Thread Jitun John
Hi, This piece of code worked in older version of web2py... session.flash = CENTER(DIV(H4('sFTP Error: ' + ftp_error_parse(e)), HR(), 'FTP Address|Username|Login|Password may be not correct.', BR(), 'Check if the DropBox still exists.',

[web2py] Re: SQLFORM.grid - Readable True, but hide the column in table

2021-07-19 Thread Jitun John
Excellent. Exactly what I wanted. Thanks a lot @cdbaron On Saturday, July 17, 2021 at 6:22:36 PM UTC+5:30 cdbaron wrote: > You should not use db.ftp_simplivity_log_db.log_path.readable = False > You have to use db.ftp_simplivity_log_db.log_path.listable = False > > If you want to cancel the

Re: [web2py] Timeout for data entry screens: Help!

2021-01-29 Thread John Bannister
What database are you using? On Fri, 29 Jan 2021 at 16:12, Massimiliano wrote: > Reading better you message, I'm not sure that auth.settings.expiration is > what you need. > Sorry > > Il giorno ven 29 gen 2021 alle ore 16:10 Massimiliano > ha scritto: > >> You can set: >> >>

[web2py] Re: Loader/waiting indeterminate progressbar

2020-07-06 Thread Jitun John
. Tried reading the scheduler.. but an example would have helped get my head around it. It would be kind of someone to provide an example (if it is handy) Thanks a lot. On Friday, June 17, 2016 at 1:50:17 AM UTC+5:30, Dave S wrote: > > > > On Thursday, June 16, 2016 at 8:52:34 AM UTC-7

[web2py] Re: Why web2py App performance has degraded all of sudden with SQLLITE

2020-05-02 Thread John Bannister
SQLFORM.grid or custom forms to do your queries? 5: Some genric idea of what you are trying to do? BR John On Saturday, 2 May 2020 12:20:44 UTC+2, Sandeep Bondre wrote: > > I do not see a solution to this problem . > > Can some one really help what is the solution to this > > R

RE: [web2py] Re: Py4web readonly Form

2020-03-21 Thread John Bannister
John From: web2py@googlegroups.com [mailto:web2py@googlegroups.com] On Behalf Of Massimo Di Pierro Sent: 21 March 2020 07:36 To: web2py-users Subject: [web2py] Re: Py4web readonly Form You may be right but what is the meaning of submitting and accepting a readonly form? What is a use case

[web2py] Py4Web fields of type 'upload' not working

2020-03-09 Thread John Bannister
fields/form.vars etc are okay except for image which is always None. All help greatly appreciated John -- 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

[web2py] Py4web working with images

2020-03-07 Thread John Bannister
Hi All, Has anyone got a working exsmple of working with images in Py4Web preferrably with thumbnails as well? Thanks in advance John -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py

[web2py] Py4web readonly Form

2020-03-06 Thread John Bannister
=form) This will redirect if I remove the readonly=True from the form but basically form is just displayed (all fields are readonly) and you can hit the submit button as many times as you like and nothing will happen. Any ideas?? BR John -- Resources: - http://web2py.com - http://web2py.com/book

RE: [web2py] Displaying only certain fields of choice with SQLFORM(...) update

2020-01-28 Thread John Bannister
If you don’t want the field to be displayed in the SQLFORM() you need to set as follows: db.table.fieldname.readable = db.table.fieldname.writable=False before the form initialisation. So something like :- db.dog.owner.readable=db.dog.owner.writable=False form = SQLFORM(db.dog) if

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
. On Sunday, 26 January 2020 14:25:47 UTC, John Bannister wrote: Hi All, I have hit a bit of a stumbling block and would like to know if anyone else has come across this and how to resolve it. Situation is as follows:- I am generating tickets/coupons for users once they have

[web2py] Saving a view as an file/image

2020-01-26 Thread John Bannister
Hi All, I have hit a bit of a stumbling block and would like to know if anyone else has come across this and how to resolve it. Situation is as follows:- I am generating tickets/coupons for users once they have entered all the appropriate info which I am doing via normal controller/view using

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

2020-01-22 Thread John Bannister
Dear Ivan, Would be interested if you are looking to use py4web and vue.js John From: web2py@googlegroups.com [mailto:web2py@googlegroups.com] On Behalf Of Ivan Gazzola Sent: 21 January 2020 16:40 To: web2py-users Subject: [web2py] Looking for web2py developer for Italian small

[web2py] Py4web Auth Equivalent

2019-12-27 Thread John Bannister
Hi All, I have played with py4web for a while now and one thing I cannot get my head around is how to set up the equivalent web2py auth groups, memberships in py4web? Are there any examples or documentation on how to use tags to set up the equivalent? Thanks in advance John -- Resources

[web2py] ValueError: invalid literal for int() with base 10 for 'id' Field

2019-11-27 Thread Jitun John
Hi, Here is my code. *postgres_db = DAL("postgres://postgres@localhost:5432/" + get_postgres_db_filename(), auto_import=True, pool_size=10, migrate_enabled=False, fake_migrate_all=True)* "get_postgres_db_filename()" will get you "CaptureOutput-2019-11-15_03-25-19-MN" I have defined the

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

[web2py] Web2py arabic translations not working

2019-10-22 Thread John Bannister
Tried to use the ar.py file (usng T()) to translate some text to arabic. Seems that this does not work wheras the likes of Italian (it) does. Has anyone come acrross this issue with 2.18.5? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

RE: [web2py] Re: py4web Auth

2019-10-01 Thread John Bannister
out. Will continue to test and play and hopefully provide constructive feedback as part of the process. Keep up the good work it is looking really cool !!! Best Regards John From: web2py@googlegroups.com [mailto:web2py@googlegroups.com] On Behalf Of Massimo Di Pierro Sent

RE: [web2py] Re: py4web Auth

2019-10-01 Thread John Bannister
=’Hello there’ return dict(message=message ) # info is automatically injected I see the injected info + message Output:- { "info": { "info": { "email": "eudoraj...@gmail.com", "first_name": &quo

RE: [web2py] Re: py4web Auth

2019-09-30 Thread John Bannister
like Welcome John) if the user is logged in or LOGIN if they are not. I understand that I can use auth.get_user in the action to access any auth user info I need but the question is do I need to pass back the user information to each and every view for layout.html to have access

RE: [web2py] Re: py4web Auth

2019-09-30 Thread John Bannister
name as part of the menu something like Welcome John (if the user is logged in) irrespective of module or action?? Best Regards John From: web2py@googlegroups.com [mailto:web2py@googlegroups.com] On Behalf Of Massimo Di Pierro Sent: 30 September 2019 06:39 To: web2py-users Subject

RE: [web2py] py4web questions

2019-09-26 Thread John Bannister
Thanks Massimo much appreciated and looking forward to the tutorial. Will check out the tag API in the meantime. -Original Message- From: web2py@googlegroups.com [mailto:web2py@googlegroups.com] On Behalf Of Massimo Di Pierro Sent: 26 September 2019 09:02 To: web2py-users Subject:

[web2py] py4web questions

2019-09-25 Thread John Bannister
simple and/or have probably been spoilt by Web2Py Thanks in advance John -- 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

RE: [web2py] Re: py4web pythonanywhere bottle_app.py configuration

2019-09-24 Thread John Bannister
September 2019 02:29:49 UTC-7, John Bannister wrote: Hi All, Just watched the py4web video and would like to know if anyone has the bottle_app.py config that needs to be used in order to get the desired resuolts. Hard to make out in the video BR John -- Resources: - http://web2py.com - http

[web2py] py4web pythonanywhere bottle_app.py configuration

2019-09-23 Thread John Bannister
Hi All, Just watched the py4web video and would like to know if anyone has the bottle_app.py config that needs to be used in order to get the desired resuolts. Hard to make out in the video BR John -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http

RE: [web2py] py4web has now a grid ...

2019-09-12 Thread John Bannister
opinion and is intended purely to provide my own feedback on the py4web new grid. (bucket list is running over) J Best Regards John From: web2py@googlegroups.com [mailto:web2py@googlegroups.com] On Behalf Of Massimo Di Pierro Sent: 12 September 2019 08:32 To: web2py-users Subject: [web2py

RE: [web2py] py4web YATL equivalent of SCRIPT

2019-09-07 Thread John Bannister
Thanks Massimo, Will definitely take a look and do the necessary. With regards the general Auth functionalitly, do you have some example or guidelines as to how this will work? Thanks in advance -Original Message- From: web2py@googlegroups.com [mailto:web2py@googlegroups.com] On

[web2py] py4web YATL equivalent of SCRIPT

2019-09-06 Thread John Bannister
Hi All, Have finally had a bit of time to play again with py4web the objective being to port a smallish app from web2py to py4web (very much as a learning and familiarisation/evaluation exercise). The main objective is to see if I can create the equivalent of a working web2py app with py4web

RE: [web2py] Re: Anthony was right... web3py has a big naming conflict

2019-07-22 Thread John Bannister
Why not something as simple as py3web From: web2py@googlegroups.com [mailto:web2py@googlegroups.com] On Behalf Of Leonel Câmara Sent: 22 July 2019 16:26 To: web2py-users Subject: [web2py] Re: Anthony was right... web3py has a big naming conflict I would call it pywebal "python web

RE: [web2py] web2py dynamic queries

2019-06-17 Thread John Bannister
look at the individual field.type (which will tell you the type of field you are dealing with) and treat each field type accordingly. Hope this helps John From: web2py@googlegroups.com [mailto:web2py@googlegroups.com] On Behalf Of Cristina Sig Sent: 17 June 2019 03:36 To: web2py-users

RE: [web2py] Re: Web3py FORM referenced fields

2019-06-13 Thread John Bannister
with db values. BR John From: web2py@googlegroups.com [mailto:web2py@googlegroups.com] On Behalf Of Massimo Di Pierro Sent: 13 June 2019 05:09 To: web2py-users Subject: [web2py] Re: Web3py FORM referenced fields I added an example that works for me. Maybe can help you debug

[web2py] Web3py FORM referenced fields

2019-06-12 Thread John Bannister
but on the form=Form(db.pet, record=id) for the edit form .. neither the id of the person or the persons name (format='%(name)s' is displayed even though I can still select from the dropdown list. The id is definately stored in the db. BR John -- Resources: - http://web2py.com - http://web2py.com

[web2py] Re: Datatables serverside JSON/Ajax

2019-06-11 Thread John Bannister
complicated) but doable. As said I could be wrong. BR John On Tuesday, 11 June 2019 10:52:42 UTC+2, Leonel Câmara wrote: > > It's because you're not using the generic.json view and you're also not > setting the response.headers content-type to json. I would simply change > your function t

RE: [web2py] Re: Web3py

2019-06-09 Thread John Bannister
Subject: [web2py] Re: Web3py try a db.commit() after your define_table(s). On Monday, 3 June 2019 08:16:27 UTC-7, John Bannister wrote: Hi All, Finally gotten round to playing again on the latest Web3py. On _scaffold app .. if I add new tables to model file and then reload from

[web2py] Re: Web3py

2019-06-03 Thread John Bannister
erever I can. Thanks again for all the hard work put in so far I am sure its gonna be a really cool solution. Best Regards John On Thursday, 16 May 2019 17:15:44 UTC+2, John Bannister wrote: > > Hi All, > > Had a first real 'play' with web3py' today and have a few questions the

RE: [web2py] Re: Web2py: Update table content after submit action

2019-05-26 Thread John Bannister
the form and the grid in the same function you are loading from the view. My personal preference is to use the standard Web2py SQLFORM.grid which has all the crud functionality already embedded which greatly simplifies coding. BR John From: web2py@googlegroups.com [mailto:web2py

[web2py] Re: IS_NOT_EMPTY() "takes away" a dropbox with a list of items referenced by a foreign key -

2019-05-19 Thread John Bannister
Hi Vlad, I think I have come across this issue as well some time ago. Can you try IS_NOT_EMPY() OR IS_IN_DB(id ...) This should hopefully bring back your drop down list. BR John -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py

Re: [web2py] Re: Web3py

2019-05-19 Thread John Bannister
/myapp as a dependency BR John On Sunday, 19 May 2019 11:38:07 UTC+2, John Bannister wrote: > > Hi Guys, > > Couple of things. > > 1: I added a print('Dependancies %s ' % reloader.get_dependencies(module)) > just before the output to console in web3py/core.py. > > Here i

Re: [web2py] Re: Web3py

2019-05-19 Thread John Bannister
indicates that neither the controllers.py nor the models.py are being reloaded. Hope this helps BR John On Sunday, 19 May 2019 02:37:38 UTC+2, 黄祥 wrote: > > understood, my bad, just test it n report it what think related with the > problem > @massimo > should this thing a

Re: [web2py] Re: Web3py

2019-05-18 Thread John Bannister
literally created a example.py with a print statement .. loaded it, changed it and reloaded it .. changes were there which tends to indicate that reloader is working. I am also not too familiar at all with reloader unfortunately but am sure we will find the solution. BR John On Saturday, 18 May

Re: [web2py] Re: Web3py

2019-05-18 Thread John Bannister
as opposed to reload when the button is clecked but still same result. Really weird. BR John On Saturday, 18 May 2019 13:36:34 UTC+2, 黄祥 wrote: > > *web3py/web3py/core.py* > tried > bottle.run(server='tornado', host=host, port=int(port), reloader=True) > and > bottle.run(host=h

RE: [web2py] Re: Web3py

2019-05-18 Thread John Bannister
Hi Stifan, What OS are you testing on? BR John From: web2py@googlegroups.com [mailto:web2py@googlegroups.com] On Behalf Of ?? Sent: 18 May 2019 08:14 To: web2py-users Subject: Re: [web2py] Re: Web3py Also, web3py uses this: https://pypi.org/project/reloader/ The docs have

Re: [web2py] Re: Web3py

2019-05-18 Thread John Bannister
Running reload manually works as advertised on PyPi On Saturday, 18 May 2019 13:03:59 UTC+2, John Bannister wrote: > > Same result unfortunately > > On Saturday, 18 May 2019 10:50:34 UTC+2, Massimo Di Pierro wrote: >> >> what if you do not user tornado and replace

Re: [web2py] Re: Web3py

2019-05-18 Thread John Bannister
Same result unfortunately On Saturday, 18 May 2019 10:50:34 UTC+2, Massimo Di Pierro wrote: > > what if you do not user tornado and replace > > bottle.run(server='tornado', host=host, port=int(port)) > > with > > bottle.run(host=host, port=int(port)) > > it is very strange. Please try test the

RE: [web2py] Re: Web3py

2019-05-18 Thread John Bannister
I am getting the below reload console output when I fire up tornado as well as when I hit the reload all button on both windows and Ubuntu installations. BR John From: web2py@googlegroups.com [mailto:web2py@googlegroups.com] On Behalf Of Massimo Di Pierro Sent: 18 May 2019 07:20

Re: [web2py] Re: Web3py

2019-05-17 Thread John Bannister
gonna be the same. Best Regards John On Friday, 17 May 2019 23:47:38 UTC+2, 黄祥 wrote: > > Editing apps and reloading forks for me. Please try again and let's try >> figure out why does not work for you. >> > > after tried latest commit (110), guess when it's work on yo

Re: [web2py] Re: Web3py

2019-05-17 Thread John Bannister
Update on this :- Just tried it on native windows10 python3.7 and same results. New functions return error 404 until server restart. BR John On Friday, 17 May 2019 18:49:28 UTC+2, 黄祥 wrote: > > problem still exist (in commits 110) only superheroes app traceback error > is gone

RE: [web2py] Re: new DBAPI in pydal for both web2py and web3py

2019-05-17 Thread John Bannister
As you are da man I would suggest DaQL .. DALQL is a bit of a mouth full J From: web2py@googlegroups.com [mailto:web2py@googlegroups.com] On Behalf Of Massimiliano Sent: 17 May 2019 18:56 To: web2py@googlegroups.com Subject: Re: [web2py] Re: new DBAPI in pydal for both web2py and web3py

RE: [web2py] Re: Web3py

2019-05-17 Thread John Bannister
helloworld accessible. After server restart all are. BR John From: web2py@googlegroups.com [mailto:web2py@googlegroups.com] On Behalf Of Massimo Di Pierro Sent: 17 May 2019 17:12 To: web2py-users Subject: Re: [web2py] Re: Web3py I fixed the database locking problem. missing db.commit

RE: [web2py] Re: new DBAPI in pydal for both web2py and web3py

2019-05-17 Thread John Bannister
How about Despresso (for database express O ). J From: web2py@googlegroups.com [mailto:web2py@googlegroups.com] On Behalf Of Massimo Di Pierro Sent: 17 May 2019 17:43 To: web2py-users Subject: [web2py] Re: new DBAPI in pydal for both web2py and web3py I am embarrassed I have forgotten

RE: [web2py] Re: Web3py

2019-05-17 Thread John Bannister
the apps in the applications directory. Is this intentional or is there a way to just reload the app currently being developed? BR John From: web2py@googlegroups.com [mailto:web2py@googlegroups.com] On Behalf Of Massimo Di Pierro Sent: 17 May 2019 09:36 To: web2py-users Subject

Re: [web2py] Web3Py equivalent of SQLFORM.grid

2019-05-16 Thread John Bannister
Hi Massimo, Had a quick look at the mtable prototype in the _dashboad/dbadmin and re-visiting datatables as well. Will need to spend a bit more time on both before I can come to any sort of solution but thanks very much for the input. On Thursday, 16 May 2019 16:50:48 UTC+2, Massimo Di

[web2py] Web3py

2019-05-16 Thread John Bannister
so hopefully I am missing something really simple. Thanks in advance John -- 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

Re: [web2py] Web3Py equivalent of SQLFORM.grid

2019-05-16 Thread John Bannister
Hi Jose, Completely understandable on the code side of things and appreciate your sharing. I will for sure revisit the Datatables option this week with the information you have provided. Once again thanks for your time and assistance John On Thursday, 16 May 2019 13:06:46 UTC+2, José L. wrote

Re: [web2py] Web3Py equivalent of SQLFORM.grid

2019-05-16 Thread John Bannister
in advance John On Thursday, 16 May 2019 12:42:17 UTC+2, José L. wrote: > > Hey John, > > I have used datatables with web2py in some projects and it was faster than > smartgrid when used in server mode. > Whenever I had performance problems was because the code used .count() to >

[web2py] Web3Py equivalent of SQLFORM.grid

2019-05-16 Thread John Bannister
Hi All, I have a number of web2py applications that use the grid/smartgrid functionality pretty heavily. The majority of the applications are working with large data sets (some tables have > 20M records) and everything runs fine. With the coming of Web3Py (which looks great) my question is

[web2py] Boolean types with Postgres adapter

2019-05-10 Thread John Underhill
The documentation states the SQLite lacks a boolean data type, so PyDAL maps boolean values to CHAR(1). But why do you do this with Postgres? Looking in my migration logs, I see boolean fields being created as CHAR(1). Postgres does have a boolean type. John -- Resources: - http

RE: [web2py] Confirmation forms. The book is unclear. How can I associate a pop confirmation box with a link?

2019-05-03 Thread John Bannister
I came across the same issue recently and managed to solve it as follows:- lambda row: A(SPAN('Delete', _class="button btn btn-info btn-sm", _title='Delete', _onclick = "return confirm('Are you sure?');"), \ _href=URL("default", "delete_company",args=[row.id])),

RE: [web2py] Re: Modules not loading in python 3

2019-04-11 Thread John Bannister
error, custom_import will give this message of "applications.app_name.modules.module_name" not found. Le dimanche 7 avril 2019 06:18:03 UTC+2, John Bannister a écrit : Hi all, I have recently upgraded to python 3.6 from 2.7 running on Centos7 with apache. Problem I

[web2py] Modules not loading in python 3

2019-04-06 Thread John Bannister
Hi all, I have recently upgraded to python 3.6 from 2.7 running on Centos7 with apache. Problem I am having is as follows:- 1: I have a number of apps each of which has a number of modules. Whilst it seems that I can import modules from paython (such as pytz etc) and I can also import

Re: [web2py] Re: web3py again....

2019-04-02 Thread John Underhill
exactly what this would look like, but I’ve been pushing it around for a while. At the very least this has the potential to make my life much easier. We probably need some pieces that aren’t there yet (but probably they will be shortly). What do you all think? John

RE: [web2py] Simple didactic integration of web2py with Vue.js

2019-03-24 Thread John Underhill
. This architecture is a very good idea, and will teach marketable skills (Python and JavaScript/Vue.js), but I wish young students had more choices for front-end languages. Hopefully Webassembly is starting to change that. John Underhill QIS Project, Inc. Santa Barbara, California From

RE: [web2py] Re: Does web2py/DAL allow for creating atomic operations (begin transaction/end transaction)?

2019-03-24 Thread John Underhill
of users. SQLite is very solid for smaller, single-server deployments. John From: web2py@googlegroups.com On Behalf Of João Matos Sent: Sunday, March 24, 2019 2:47 PM To: web2py-users Subject: [web2py] Re: Does web2py/DAL allow for creating atomic operations (begin transaction/end transaction

Re: [web2py] Web2py Windows edition with 3.x Interpreter

2019-03-12 Thread Jitun John
ded (I only have a Win box), >> plus testing everything. >> >> Cheers, >> Nico >> >> Il giorno mer 27 feb 2019 alle ore 11:45 elisha bere > > ha scritto: >> >>> Hie, >>> >>> Is it possible to change from 2.7 to 3.x in my web2py app >

[web2py] Re: Web2py Windows edition with 3.x Interpreter

2019-02-27 Thread Jitun John
Fixed the pickle issue by deleting "databases" folder in the app. Wondering if we will ever (if it is possible) to get a 3.x python version of web2py windows ("python37.dll" and "pywintypes37.dll" files.) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Web2py version 2.18.2 Communications Error when in Admin.

2019-02-26 Thread John McMaster
Just installed web2py version 2.18.2 and now I get a communications error when I save changes in an app. I get nothing in the error logs. The apps run but when I go to edit them and click the save button at the top of the lefthand page I get a red communications error in the field to the

[web2py] Web2py Windows edition with 3.x Interpreter

2019-02-17 Thread Jitun John
"It requires Python 2.6 (no more supported), Python 2.7 (stable) or Python 3.5+ (*recommended for new projects*) already installed on your system. There are also *binary packages for Windows* and Mac OS X.* They include the Python 2.7 interpreter* so you do not need to have it pre-installed."

Re: [web2py] Re: "web2py.app“ wants access to control “System Events.app“

2018-12-08 Thread John McMaster
I just installed and ran the version you included and I get the same. I do see from the two links that you included that my setup has system events.app in the location mentioned. So the question that I have is what in web2py on seeing system events.app is it going to use it for? At this point I

[web2py] Re: "web2py.app“ wants access to control “System Events.app“

2018-12-07 Thread John McMaster
Hello stifen, I am running for MAC version 2.17.2. I have downloaded both for MAC and the Source Code. But I have not run from source yet. I would like to know more about the reason behind the message and what it is doing with the System Events.app? Thank You -- Resources: -

[web2py] "web2py.app“ wants access to control “System Events.app“

2018-12-06 Thread John McMaster
Just installed web2py 2.17.2 on Mojave 10.14.1: I get this message: "web2py.app“ wants access to control “System Events.app“. Allowing control will provide access to documents and data in “System Events.app“, and to perform actions within that app. Are there any issues by allowing this?

[web2py] Divider in

2018-11-19 Thread Jitun John
web2py 2.16.1 broke LI(_class="divider"), in response.menu I followed Leonel Câmara, added BS4MENU in menu.py and "LI(_class='dropdown-divider')" in the response.menu but the navbar is lost. Just wondering if we have any way to add divider in menu. -- Resources: - http://web2py.com -

[web2py] Re: web2py 2.17.1

2018-08-20 Thread Bob St John
I just downloaded 2.17.1 and it works great... thankyou! However I am a bit confused with the pyDAL that came with it... _version_ = 17.11 Same version 17.11 when I downloaded pyDAL using pip Is this the latest pyDAL 18.08 only without the _version_ number updated? On Sunday, August 5, 2018 at

[web2py] Re: AttributeError: 'SQLite' object has no attribute 'file_open'

2017-09-01 Thread Jitun John
:47:39 UTC-5, Jitun John wrote: >> >> Hi Massimo, >> >> I have the 2.15.3 version installed, but the issue remains. >> I confirm the same code works on 2.14.6 >> >> >> >> <https://lh3.googleusercontent.com/-HVkJkUDVqYs/W

[web2py] Re: AttributeError: 'SQLite' object has no attribute 'file_open'

2017-08-29 Thread Jitun John
Hi Massimo, I have the 2.15.3 version installed, but the issue remains. I confirm the same code works on 2.14.6 On Sunday, August 13, 2017

[web2py] AttributeError: 'SQLite' object has no attribute 'file_open'

2017-07-15 Thread Jitun John
Here is a Code that worked fine on 2.14.6 but doesn't on 2.15.1 import datetime import gc import os from gluon import * from current_config import * from memory_profiler import memory_usage manager_rows = '' dummy_path = os.path.abspath('.') + '/applications/enLIGHTen/static/dummy/' def

[web2py] inner join taking too long

2017-03-20 Thread 'John Philip' via web2py-users
).select(db.plf.PLF_NAME,db.pcf.PCF_DESCR).as_list() return dict(dpc_list=gluon.contrib.simplejson.dumps(rows)) any help would be greatly appreciated. regards, John -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code

[web2py] Retrieve other fields from the LDAP database

2017-03-20 Thread John Freking
to retrieve more fields from the LDAP database. Is it possible to get more than these these fields? Thanks, John -- 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

[web2py] Retrieve other fields from the LDAP database during login

2017-03-20 Thread John Freking
these these fields? I would like to find the manager of the user. Thanks, John -- 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

Re: [web2py] Re: For those using ractive or vuejs. I need help !!

2017-02-22 Thread 'John Philip' via web2py-users
Thanks Dave, unfortunately I still haven't managed it. regards, John On Tuesday, February 14, 2017 at 8:11:34 PM UTC+1, Dave S wrote: > > > > On Tuesday, February 14, 2017 at 2:55:30 AM UTC-8, John Philip wrote: >> >> Hi Ramon, >> >> since you've had experi

Re: [web2py] Re: For those using ractive or vuejs. I need help !!

2017-02-14 Thread 'John Philip' via web2py-users
I apologize I meant Ramos...sorry typo. On Tuesday, February 14, 2017 at 11:55:30 AM UTC+1, John Philip wrote: > > Hi Ramon, > > since you've had experience using vuejs in web2py I thought I'd ask you. I > am using a vuejs component library to display a table from a json dataset

Re: [web2py] Re: For those using ractive or vuejs. I need help !!

2017-02-14 Thread 'John Philip' via web2py-users
and push the changes to the web2py database. Do you have any suggestions? many thanks and regards, John On Sunday, June 28, 2015 at 10:57:58 AM UTC+2, Ramos wrote: > > I dont use ractive. Only Vuejs and a template inside a script tag is what > i learned from the docs and video

Re: [web2py] Re: vue.js

2017-01-31 Thread 'John Philip' via web2py-users
Hi Stephan, I tried the brutal approach. I changed the delimiters for web2py on the model and changed all of the views accordingly. I left the delimiters for vuejs as default ('{{' '}}') regards, John On Monday, January 30, 2017 at 10:24:25 AM UTC+1, St. Pirsch wrote: > > Hello John, &

Re: [web2py] Re: vue.js

2017-01-30 Thread 'John Philip' via web2py-users
Sorry Anthony for confusing you. I tried the scaffolding app but for some reason I never got the delimiter to be recognised. So I tried using the vuejs code from the introduction. However I managed to get it working now. thanks again. John On Sunday, January 29, 2017 at 11:55:54 PM UTC+1

Re: [web2py] Re: vue.js

2017-01-28 Thread 'John Philip' via web2py-users
Hi there, I'm a bit lost at the moment. I tried all of the suggestions but it doesn't seem to work. Does anybody have a simple web2py example using vuejs that I can try? many thanks and regards, John On Friday, January 27, 2017 at 10:01:56 PM UTC+1, St. Pirsch wrote: > > It

Re: [web2py] Re: vue.js

2017-01-27 Thread 'John Philip' via web2py-users
when loading the view I still get {{message}}. I have no idea why? ;( thanks again, John On Friday, January 27, 2017 at 3:20:38 PM UTC+1, Richard wrote: > > Ok, first try to leave layout.html out of the way... remove the first > line... It should work so far, but consider you al

Re: [web2py] Re: vue.js

2017-01-27 Thread 'John Philip' via web2py-users
{{message}}. Any help would be appreciated!! thanks, John {[extend 'layout.html']} https://unpkg.com/vue/dist/vue.js&quot</a>;> new Vue({ el: '#app', data: { message: 'Hello Vue.js!' } }) {{message}} This is the default/vgrid.html template {[=BEAUTIFY(response._vars)]}

[web2py] Re: vue.js

2017-01-26 Thread 'John Philip' via web2py-users
Hi Massimo, I downloaded your scaffolding app but for some reason in the main.html file vuejs does not seem to recognize ${doc.title} and ${doc.body} . Am I missing something? thanks and regards, John On Sunday, September 25, 2016 at 5:25:51 AM UTC+2, Massimo Di Pierro wrote: > >

Re: [web2py] Angular 2 and web2py

2017-01-06 Thread 'John Philip' via web2py-users
Thanks Anthony and Ramos for your help. Much appreciated! John On Friday, January 6, 2017 at 2:15:15 PM UTC+1, Anthony wrote: > > No reason you can't use Angular 2 with web2py, as web2py handles the back > end and Angular 2 is a front end framework. The only potential issue is

Re: [web2py] Angular 2 and web2py

2017-01-06 Thread 'John Philip' via web2py-users
Hi Ramos, thanks for your quick reply. I did manage to get angular js working but I was wondering if it also works for Angular 2 since this is a bit different to Angular JS. thanks, John On Friday, January 6, 2017 at 11:41:07 AM UTC+1, Ramos wrote: > > > http://www.web2pyslices.

[web2py] Angular 2 and web2py

2017-01-06 Thread 'John Philip' via web2py-users
Hi there, I searched for this however I could not find an answer. Is it possible to use Angular 2 in web2py ? thanks and regards, John -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p

[web2py] Re: How to solve vertical alignment too high of SQLForm read-only field

2016-11-30 Thread Bob St John
see also https://groups.google.com/forum/?fromgroups#!searchin/web2py/misaligned%7Csort:relevance/web2py/6Qbcr8nuey8/nVzxMOxxt_gJ On Monday, November 21, 2016 at 7:42:54 AM UTC-8, Martin de Groot wrote: > > In a SQLForm all widget-controls of writable fields are nicely, correctly > vertically

[web2py] Re: google analytics

2016-07-02 Thread Jitun John
I think you can use as follows ## your http://google.com/analytics id response.google_analytics_id = 'UA-80XX-1' On Tuesday, May 6, 2014 at 9:14:26 PM UTC+5:30, lucas wrote: > > if we are using the analytics.min.js one, do we include the "UA-" in > the response.google_analytics_id string

[web2py] Execute Python code when pressing a button

2016-06-18 Thread John Doe
Hello, i am trying to remotely turn ON/OFF a LED that is connected to a RaspberryPi. I have installed Web2Py on my PC (that is running Ubuntu). Additionaly i have installed Paramiko for my SSH conection. I've put this code in a Controller called led.py: import paramiko def leds_set(state):

[web2py] Loader/waiting indeterminate progressbar

2016-06-16 Thread Jitun John
>From the main page, once a form is submitted, there is heavy python code doing lots of steps which takes from seconds to minutes to finish. It then moves to the next page. Between the 2 pages, I am trying to see if there can be a indication on the HTML page indicating working in background.

[web2py] Re: Size of SQLFORM.grid items

2016-06-14 Thread Jitun John
erwritten for each >field using maxtextlengths, a dictionary of >'tablename.fieldname':length e.g. {'auth_user.email' : 50} > > Anthony > > On Monday, June 13, 2016 at 10:41:15 AM UTC-4, Jitun John wrote: >> >> >> <https://lh3.g

  1   2   3   4   >