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

Re: [web2py] Re: post file to a server

2019-10-17 Thread Christian Varas
Hi, I have an app that use CKeditor who send images to the server and the function who catch this file is more or less like this: Server TWO def ImgUpload(): a = stuffs.Stuffs() #Custom library name = a.password(20) rand_name = a.password(20) #path where the files will be saved

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

2019-10-17 Thread ngn zone
Okay, sounds interesting, I will check that out Thanks On Thu, Oct 17, 2019 at 11:16 AM António Ramos wrote: > apart from that you can use google forms and use google api script to call > your app webservice and send the json to your table. > This way you can let users create rapidly forms to qu

Re: [web2py] Re: Web2py binaries

2019-10-17 Thread Nico Zanferrari
Well, after additional tests on latest MacOs (Catalina), both the CMD and the APP versions work fine. The problem comes from downloading from Internet - the Extended Attributes that Apple adds to the executables are not easily bypassed and the programs cannot be run for security reason. The soluti

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

2019-10-17 Thread António Ramos
apart from that you can use google forms and use google api script to call your app webservice and send the json to your table. This way you can let users create rapidly forms to question users.Then in web2py you can just show the json as a table. Em qua, 16 de out de 2019 às 08:54, NGNZONE escr

Re: [web2py] Re: py4web - will it inherit web2py structures ?

2019-10-15 Thread 'graham' via web2py-users
Thanks Massimo, that will probably sort it out, I've had a quick look at bottle and should be able to amend the code appropriately. I'll post again when it appears to be working, which, hopefully, won't be very long graham On Tuesday, October 15, 2019, 3:38:48 AM GMT+1, Massimo Di Pierr

Re: [web2py] Re: py4web - will it inherit web2py structures ?

2019-10-14 Thread Massimo Di Pierro
py4web has no current and does not need it it. from py4web import request and just use request in your actions. Mind this is a bottlepy request, not the same as the web2py request object. On Monday, 14 October 2019 06:03:14 UTC-7, graham wrote: > > I'll certainly give more details when it's wor

Re: [web2py] Re: Web2py binaries

2019-10-14 Thread Nico Zanferrari
Hi all, I've put again the MacOs *CMD *binaries on the repository, because they work fine even on Catilina - so they are recommended. The *APP *versions seem to work fine, too, but only if you don't download them with the browser. In this case the system remember it (using Extended Attributes), a

Re: [web2py] Re: py4web - will it inherit web2py structures ?

2019-10-14 Thread 'graham' via web2py-users
I'll certainly give more details when it's working - the original web2pyslices posting was in 2016. But my problem at the moment is where is 'current.request' ? That was in from web2py.gluon import current but despite importing py4web (and pydal) there seems to be no 'current' structure. As I

Re: [web2py] Re: Web2py binaries

2019-10-09 Thread Nico Zanferrari
Hi, see also this issue on the Pyinstaller's site. Could someone kindly try the existing binaries on the new MacOS Catalina (Version 10.15)? Nico Il giorno dom 18 ago 2019 alle ore 09:17 Nico Zanferrari ha scritto: > *Do not update to M

Re: [web2py] Re: does having similar controller names or app folder names cause conflict in web2py?

2019-10-09 Thread Rahul Dhakate
All, I tested this scenario can now confirm that it does not have an impact for the issue I mentioned below. Thank you. Rahul On Sun, 22 Sep 2019 at 3:55 PM, Rahul Dhakate wrote: > Hi Massimo, > I appreciate your reply. I had an application where in I had two > controllers one cal

Re: [web2py] Re: How do I configure reading text for all images using Hide/Readmore code?

2019-10-08 Thread Maurice Waka
Solved. Did some CSS work. Thanks for the help. God bless On Tue, Oct 8, 2019, 15:51 Maurice Waka wrote: > Still learning jQuery on the go.. > I looked at your concept and tried the code below > > > style="font-size:24px;"onclick="showHide('{{=image.id}}');

Re: [web2py] Re: How do I configure reading text for all images using Hide/Readmore code?

2019-10-08 Thread Maurice Waka
Still learning jQuery on the go.. I looked at your concept and tried the code below Read more {{=image.caption}} Hide I replaced 'ex

Re: [web2py] Re: How do I configure reading text for all images using Hide/Readmore code?

2019-10-08 Thread villas
It seems that you need to learn some jQuery. You can include the image.id of each record to create a unique id for each element. This example may help, just add it to your html view... B1 Show/Hide test div1 B2 Show/Hide test div2 B3 Show/Hide test div3 $(document).ready(function () { $(

Re: [web2py] Re: How do I configure reading text for all images using Hide/Readmore code?

2019-10-07 Thread Maurice Waka
Thanks for the reply. I have a controller for this view already. My biggest issue is the way to display the image and message. Do you have an example of how I can do it? Regards On Mon, 7 Oct 2019, 18:09 villas wrote: > The HTML elements in your loop should be given *unique *ids and then you > c

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

2019-10-05 Thread sandeep patel
@Massimo, Grid not working properly, Only seeing a blank page. Please, Give me some direction. Thanks Sandeep On Mon, Sep 16, 2019 at 2:49 AM isi_jca wrote: > Hi! > > This is output from console and the browser is Google Chrome Versión > 66.0.3359.181 (Build oficial) (64 bits) > > [jalborn

RE: [web2py] Re: py4web Auth

2019-10-01 Thread John Bannister
ssimo Di Pierro Sent: 01 October 2019 05:43 To: web2py-users Subject: Re: [web2py] Re: py4web Auth I understand what you are asking. Something like the ability of web2py to define stuff in a models file and it would be available to the views. Problem with that design is the overhead. With py4web

RE: [web2py] Re: py4web Auth

2019-10-01 Thread John Bannister
s(‘generic.html’) def index(): messate=”Hello there” return dict(message=message) # info is automatically injected InfoInjector() is not called ! and no info injected From: web2py@googlegroups.com [mailto:web2py@googlegroups.com] On Behalf Of Massimo Di Pierro

Re: [web2py] Re: py4web Auth

2019-09-30 Thread Massimo Di Pierro
> able to access auth.get_user() from layout.html > > > > BR > > John > > > > > > *From:* web2py@googlegroups.com [mailto:web2py@googlegroups.com] *On > Behalf Of *Massimo Di Pierro > *Sent:* 30 September 2019 17:12 > *To:* web2py-

RE: [web2py] Re: py4web Auth

2019-09-30 Thread John Bannister
Pierro Sent: 30 September 2019 17:12 To: web2py-users Subject: Re: [web2py] Re: py4web Auth In any action decorated with @action.uses(auth.user) you can do first_name = auth.get_user()['first_name'] Is this what you are asking? On Monday, 30 September 2019 01:07:23 U

Re: [web2py] Re: py4web Auth

2019-09-30 Thread Massimo Di Pierro
In any action decorated with @action.uses(auth.user) you can do first_name = auth.get_user()['first_name'] Is this what you are asking? On Monday, 30 September 2019 01:07:23 UTC-7, John Bannister wrote: > > Hi Massimo, > > > > Thanks very much. Will test and give you some feedback hopefully to

RE: [web2py] Re: py4web Auth

2019-09-30 Thread John Bannister
Hi Massimo, Thanks very much. Will test and give you some feedback hopefully today. Is there some sort of way to access user info from layout.html for example across multiple modules without having to pass the user from each eaction in each module? I want to be able to display the user na

Re: [web2py] Re: Vue2pyj - alternative web IDE

2019-09-27 Thread Val K
Already fixed, thanks! I can't figure out how that happened, 're' was on the first line after `os` ... the cat? On Friday, September 27, 2019 at 5:47:52 PM UTC+3, Carlos Costa wrote: > > Didnt work here. > I did a fresh install from py4web source and clone vue3pyj. > > ERROR:root:Traceback (most

Re: [web2py] Re: Vue2pyj - alternative web IDE

2019-09-27 Thread Carlos Costa
Didnt work here. I did a fresh install from py4web source and clone vue3pyj. ERROR:root:Traceback (most recent call last): File "/home/carlos/projects/py4web/py4web/core.py", line 472, in wrapper ret = func(*func_args, **func_kwargs) File "/home/carlos/projects/py4web/py4web/core.py", line

Re: [web2py] Re: Need a tutorial on py4web

2019-09-27 Thread Arindam Dasgupta
Thanks, I will check the documentation. Regards, Arindam On Sep 27, 2019 9:52 AM, "Massimo Di Pierro" wrote: > It does not exist but we have documentation on the web site. Should be > enough to start > > On Thursday, 26 September 2019 02:26:46 UTC-7, Arindam Dasgupta wrote: >> >> Hi All, >> I h

Re: [web2py] Re: Unable to add auth.signature in table - PY4WEB

2019-09-25 Thread sandeep patel
Massimo, Thanks a lot. Now it's working fine. Thanks Sandeep Patel On Mon, Sep 23, 2019 at 6:30 AM Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Posted a new _scaffold. Now both db and auth are defined in common. If you > import common from models, you are fine. > > On Sunday, 22 Se

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

2019-09-24 Thread John Bannister
Great stuff thanks From: web2py@googlegroups.com [mailto:web2py@googlegroups.com] On Behalf Of Massimo Di Pierro Sent: 24 September 2019 05:24 To: web2py-users Subject: [web2py] Re: py4web pythonanywhere bottle_app.py configuration I posted it in trunk/bottle_app.py On Monday, 23 Septemb

Re: [web2py] Re: Unable to add auth.signature in table - PY4WEB

2019-09-22 Thread Massimo Di Pierro
Posted a new _scaffold. Now both db and auth are defined in common. If you import common from models, you are fine. On Sunday, 22 September 2019 17:48:53 UTC-7, Massimo Di Pierro wrote: > > The problem is that your code is executed before > > auth.enable() > > in common.py. The above statement

Re: [web2py] Re: Unable to add auth.signature in table - PY4WEB

2019-09-22 Thread Massimo Di Pierro
The problem is that your code is executed before auth.enable() in common.py. The above statement defines the auth_user table. I will refactor the scaffolding app to make sure common.py is imported before models.py -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

Re: [web2py] Re: Problem with encoding (INSERT web2py)

2019-09-22 Thread Luciano Fain
I installed psycopg2 and all work fine now. Thanks anyway Massimo El dom., 22 sep. 2019 03:48, Massimo Di Pierro escribió: > ... and can you show us the complete traceback? > > On Saturday, 21 September 2019 23:47:28 UTC-7, Massimo Di Pierro wrote: >> >> Can you try? >> >> nombre_cliente = u'SE

Re: [web2py] Re: does having similar controller names or app folder names cause conflict in web2py?

2019-09-22 Thread Rahul Dhakate
Hi Massimo, I appreciate your reply. I had an application where in I had two controllers one called as default.py and the other called as default_0001.py in the same folder. I experienced strange issues which were fixed in the new default.py but were still there reflecting in the applicati

Re: [web2py] Re: Unable to add auth.signature in table - PY4WEB

2019-09-21 Thread sandeep patel
Now, I am getting another error. #model db.define_table('organization_info', Field('name'), Field('date_of_birth', 'date'), Field('village'), Field('block'), Field('district'), Field('state'), Field('country'), Field('pin'), auth.signature() ) On Sat, Sep 21, 2019 at 9:07 PM Massimo Di Pierro

Re: [web2py] Re: How can add new fields in the existing table in PY4WEB?

2019-09-21 Thread sandeep patel
Thank you for clarifying. On Sat, Sep 21, 2019 at 9:10 PM Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Yes and not. > > You can define your own auth_table before you call Auth() but you would > also need to modify the html and js logic that handle the ajax forms. > Maybe I will mak

Re: [web2py] Re: Does Database validators work in PY4WEB?

2019-09-21 Thread sandeep patel
Thanks Massimo, Now, it's working fine. On Sat, Sep 21, 2019 at 9:06 PM Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > They work the same as in web2py but you must import them > > from pydal.validators import * > > On Saturday, 21 September 2019 08:15:43 UTC-7, sandeep patel wrote: >

Re: [web2py] Re: login_bare needs a password ?

2019-09-21 Thread Massimo Di Pierro
Can you logout and login again? The group membership is cached and maybe you changed after you tried the code. On Wednesday, 18 September 2019 10:16:03 UTC-7, Ramos wrote: > > or maybe not > I tried to impersonate other user that has membership PORTEIRO and i get > "Forbidden" > > Em qua, 18 de

Re: [web2py] Re: How to change the wording "working..." during page refresh

2019-09-20 Thread Maurice Waka
I wanted to change to code posted above...the two lines but I don't see any change. Tried: if ((el.data('w2p_disable_with', el[method]( { el.data('w2p_disable_with', disable_with_message); } also is it possible to animate from the div page than the button? Regards

Re: [web2py] Re: login_bare needs a password ?

2019-09-19 Thread António Ramos
any help? Em qua, 18 de set de 2019 às 18:15, António Ramos escreveu: > or maybe not > I tried to impersonate other user that has membership PORTEIRO and i get > "Forbidden" > > Em qua, 18 de set de 2019 às 18:09, António Ramos > escreveu: > >> apparently i need to be logged in first. >> >> sol

Re: [web2py] Re: How to hide address/tool bar when going mobile

2019-09-18 Thread Maurice Waka
wow. Noted On Thu, Sep 19, 2019 at 6:18 AM Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > https://forum.playcanvas.com/t/hiding-address-bar-in-mobile/5310 > > On Tuesday, 17 September 2019 23:40:21 UTC-7, Maurice Waka wrote: >> >> Hello >> I'm testing my app on mobile sites and noticed

Re: [web2py] Re: Whats the best way to create an Android or iOS app for web2py project

2019-09-18 Thread Rahul Dhakate
Hi All, Any clues anyone on the questions asked? Regards, *Rahul* On Fri, 13 Sep 2019 at 12:53 PM, Rahul Dhakate wrote: > Thanks! Dave and Pbop for getting back with the answers. Sorry about > posting less details > > *@dave* - No, I do not intend to run web2py on mobile device. Web2py

Re: [web2py] Re: login_bare needs a password ?

2019-09-18 Thread António Ramos
or maybe not I tried to impersonate other user that has membership PORTEIRO and i get "Forbidden" Em qua, 18 de set de 2019 às 18:09, António Ramos escreveu: > apparently i need to be logged in first. > > solved! > > Em qua, 18 de set de 2019 às 17:38, António Ramos > escreveu: > >> Is somethin

Re: [web2py] Re: login_bare needs a password ?

2019-09-18 Thread António Ramos
apparently i need to be logged in first. solved! Em qua, 18 de set de 2019 às 17:38, António Ramos escreveu: > Is something like this??? It returns not authorized! > > auth.add_permission(db.auth_group(role="PORTEIRO")["id"], > "impersonate",db.auth_user) > auth.impersonate(4)#

Re: [web2py] Re: login_bare needs a password ?

2019-09-18 Thread António Ramos
Is something like this??? It returns not authorized! auth.add_permission(db.auth_group(role="PORTEIRO")["id"], "impersonate",db.auth_user) auth.impersonate(4)# user 4 is included in the PORTEIRO group Em sex, 16 de ago de 2019 às 20:05, Dave S escreveu: > > > On Friday, August 1

Re: [web2py] Re: Whats the best way to create an Android or iOS app for web2py project

2019-09-13 Thread Rahul Dhakate
Thanks! Dave and Pbop for getting back with the answers. Sorry about posting less details *@dave* - No, I do not intend to run web2py on mobile device. Web2py would serve my application on the web as it usually does. The idea is to write another simple iOS or Android application in some tool like

Re: [web2py] Re: How do I solve this error: NameError: name 'person_id' is not defined in KPax2

2019-09-12 Thread Massimo Di Pierro
Please do. KPax had some good idea. It should be ported to py4web. On Thursday, 12 September 2019 02:09:14 UTC-7, Lovedie JC wrote: > > Auth.iser.id works. > Just the cPickle issues. > Maybe I'll be on and off asking more about it. > Regards > > > On Thu, 12 Sep 2019, 09:16 Massimo Di Pierro

Re: [web2py] Re: How do I solve this error: NameError: name 'person_id' is not defined in KPax2

2019-09-12 Thread Lovedie JC
Auth.iser.id works. Just the cPickle issues. Maybe I'll be on and off asking more about it. Regards On Thu, 12 Sep 2019, 09:16 Massimo Di Pierro wrote: > wow that is a very old app. It has some good ideas but it also has bugs. > It was a proof of concept. I believe person_id in that context sho

Re: [web2py] Re: How do I solve this error: NameError: name 'person_id' is not defined in KPax2

2019-09-11 Thread Lovedie JC
I got this from web2py appliances apps. Just trying it out. Regards On Wed, 11 Sep 2019, 11:04 Dave S wrote: > > > On Tuesday, September 10, 2019 at 1:31:11 PM UTC-7, Maurice Waka wrote: >> >> I'm trying out a surveys app from KPax2/surveys/take_survey.. >> >> >> but got this error: >> Traceback

Re: [web2py] Re: Redis and Python3?

2019-09-09 Thread Jim Steil
I will confirm that it was redis 3 that broke this. Jim On Mon, Sep 9, 2019, 6:57 PM rastafarien wrote: > It seems that redis3 introduced a couple of nasty breaking changes. > > Yes it "used to" work with python2 as well, but more testing is welcomed ! > > Stephane > > > Le mardi 10 septembre

Re: [web2py] Re: Redis and Python3?

2019-09-09 Thread rastafarien
It seems that redis3 introduced a couple of nasty breaking changes. Yes it "used to" work with python2 as well, but more testing is welcomed ! Stephane Le mardi 10 septembre 2019 00:04:53 UTC+2, Joe Barnhart a écrit : > > If you're asking if it runs unmodified under Python2 I do not know as of

Re: [web2py] Re: Redis and Python3?

2019-09-09 Thread Joe Barnhart
If you're asking if it runs unmodified under Python2 I do not know as of yet. I would need to dust off a Python2 site, apply the patch, configure it for redis, and test. That might happen in a week or two as I don't have a Python2/redis site right now so I need to do some work to create a te

Re: [web2py] Re: Redis and Python3?

2019-09-09 Thread Jim Steil
Is it backward compatible as well? -Jim On Mon, Sep 9, 2019 at 4:54 PM Joe Barnhart wrote: > YES. This seems to work fine in my case. It permits me to save both > sessions and cache data to redis using Python3. Maybe we can get it > accepted and blessed for the next release. > > Joe > > On M

Re: [web2py] Re: Redis and Python3?

2019-09-09 Thread Jim Steil
I agree I submitted a patch but it got rejected for some reason. I don't recall why. -Jim On Mon, Sep 9, 2019 at 11:27 AM Joe Barnhart wrote: > I sure wish somebody could fix this. It's a real bottleneck to Python3 > adoption for my site. I tried using local storage for sessions but the >

Re: [web2py] Re: any travis expert can help debug failures?

2019-09-05 Thread Richard Vézina
Sorry, I would help more, but I have not much time... I am not using web2py full time anymore... I am happy to see you pursue with py4web... I am eager to find time to try it... Seems really fast! :) Richard On Mon, Aug 19, 2019 at 3:57 PM Massimo Di Pierro < massimo.dipie...@gmail.com> wrote:

Re: [web2py] Re: Question with saving the thumbnail name on linux disk

2019-09-04 Thread Dave S
On Wednesday, September 4, 2019 at 11:09:06 AM UTC-7, Rahul wrote: > > Hi Dave, > >Sorry for the delay - I got busy but - Thanks for pushing me I > worked on it today and now it is finally *RESOLVED!! Yay!! * > > There were two errors - > > 1] (cannot open resource) > 2] NameError:

Re: [web2py] Re: Question with saving the thumbnail name on linux disk

2019-09-04 Thread Rahul
Hi Dave, Sorry for the delay - I got busy but - Thanks for pushing me I worked on it today and now it is finally *RESOLVED!! Yay!! * There were two errors - 1] (cannot open resource) 2] NameError: global name 'watermark_font' is not defined These were because the system could not

Re: [web2py] Re: Question with saving the thumbnail name on linux disk

2019-09-03 Thread Dave S
On Saturday, August 31, 2019 at 6:54:21 PM UTC-7, Rahul wrote: > > To Add - > > [Sat Aug 31 18:02:10.901023 2019] [wsgi:error] [pid 3810] [client >> 95.163.255.151:41074 >> ] >>

Re: [web2py] Re: How to get rid if the /init/default/ in the URL?

2019-09-03 Thread Lovedie JC
Ok. I meant hide them. Regards On Tue, 3 Sep 2019, 10:06 Dave S wrote: > > > On Saturday, August 31, 2019 at 4:58:49 AM UTC-7, Maurice Waka wrote: >> >> Hi >> This is a very good discussion. >> I followed it and it worked for me. >> However, I have multiple controllers with different views, How

Re: [web2py] Re: Question with saving the thumbnail name on linux disk

2019-08-31 Thread Rahul Dhakate
To Add - [Sat Aug 31 18:02:10.901023 2019] [wsgi:error] [pid 3810] [client > 95.163.255.151:41074 > ] > WARNING:root:Unable to write to file > /home/www-data/web2py/applications/artp

Re: [web2py] Re: Question with saving the thumbnail name on linux disk

2019-08-31 Thread Rahul Dhakate
Yes the thumbs directory exists and I have given all the rights to it. Strange enough it did write a few files to this directory before. As I mentioned before, the previous problem was that thumbnail file name was not properly named, now it does not write to it at all. Also after the patch I did ye

Re: [web2py] Re: How do I display db text/string fields in the format in which they were entered on the form?

2019-08-31 Thread Patito Feo
Hi, Im testing this, but it seems somethings changed to date. Here is what im getting on the textarea: prueba textarea 3prueba textarea 3prueba textarea 3 As you can see, \n new lines are converted to but render as . Any suggestion? Regards, El jueves, 20 de octubre de 2016, 14:07:57

Re: [web2py] Re: setting up pscycopg2

2019-08-28 Thread Dave S
On Thursday, June 13, 2019 at 4:25:11 PM UTC-7, Dave S wrote: > > > > On Thursday, June 13, 2019 at 1:47:34 AM UTC-7, Annet wrote: >> >> >> This isn't done as sudo? >>> >> >> With these lines I installed psycopg2 in my hosting environment, no sudo >> needed. >> > > In my environment, the easy_in

Re: [web2py] Re: web2py on Raspbian and Python 2 or 3?

2019-08-24 Thread Donald McClymont
I just start it with systemd but there are various options to run scripts at startup - I did need to put some sort of instructions in to make sure Web2py starts after the network is up and running - having done this it did start fine. Donald -- Resources: - http://web2py.com - http://web2py.co

Re: [web2py] Re: Descriptografar senha do usuario

2019-08-22 Thread Junior Phanter
Para maior segurança, a melhor prática é armazenar as senhas criptografadas, nunca no formato original, então os frameworks utilizam bibliotecas que são capazes e verificar se a senha que vc colocou bate com a criptografia sem nunca revelar a senha criptografada. Se vc quer oferecer a opção do usuá

Re: [web2py] Re: web2py on Raspbian and Python 2 or 3?

2019-08-21 Thread Christian Varas
I run web2py in a raspberry with Apache or nginx. Then the auto start is automatically. Cheers. El jue., 22 de ago. de 2019 04:02, lucas escribió: > sorry for the long delay on this post. I've been theme parking with the > kids all summer. > > ok, I've got rocket running on the pi with python

Re: [web2py] Re: any travis expert can help debug failures?

2019-08-19 Thread Massimo Di Pierro
Yes -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To un

Re: [web2py] Re: any travis expert can help debug failures?

2019-08-19 Thread Richard Vézina
Did you fix it? On Sun, Aug 18, 2019 at 2:40 AM Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > I think I fixed. Travis updated the docker image and broke some stuff. > > On Saturday, 17 August 2019 22:13:57 UTC-7, Massimo Di Pierro wrote: >> >> Any idea why web2py on travisci is failing

Re: [web2py] Re: Web2py remote linux user trying to connect to Informix

2019-08-18 Thread Massimo Di Pierro
I do not think uwsgi is doing this. This looks more like somebody is maliciously trying to get 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 re

Re: [web2py] Re: Web2py remote linux user trying to connect to Informix

2019-08-18 Thread Joseph Aulisi
Oh yes, the informix connection works perfectly, with the correct user and password. It just that the logs on the informix server are filling up with failed logins from web2py@remotehost. uwsgi runs as web2py on the remote host, so it must be coming from uwsgi trying to make a connection, but I'm n

Re: [web2py] Re: Web2py binaries

2019-08-18 Thread Nico Zanferrari
*Do not update to MacOS 10.14.6* Guys if you are in a MacOS version before 10.14.6 please do not update, the new version of MacOS has a bug with tkinter applications and they stop working, at the time these applications are executed the system freezes and returns to the login screen, here is a lin

Re: [web2py] Re: web3py -> py4web

2019-08-12 Thread Massimo Di Pierro
Not yet. Will create one eventually but want to finish a couple of features with support with this community On Monday, 12 August 2019 07:38:46 UTC-7, En Ware wrote: > > Is there an IRC channel for py4web yet ? or an official group ? > > On Tuesday, July 30, 2019 at 1:38:05 AM UTC-5, Massimo Di

Re: [web2py] Re: web3py -> py4web

2019-08-12 Thread En Ware
Is there an IRC channel for py4web yet ? or an official group ? On Tuesday, July 30, 2019 at 1:38:05 AM UTC-5, Massimo Di Pierro wrote: > > to be clear... most of the docs is backported by web2py + explanation of > sessions and @action decorator. > Most of the new features are still undocumented

Re: [web2py] Re: How can I insert image in HTML from database?

2019-08-10 Thread Val K
Try this: #default.py def img(): row = db().select(db.recipes.IMAGES). first() if row: return response.stream(row.IMAGE) Usage: =URL( 'default', 'img', args=..., vars=...) On Saturday, August 10, 2019 at 12:43:49 AM UTC+3, Константин Комков wrote: > > Ok, I will register issue

Re: [web2py] Re: How can I insert image in HTML from database?

2019-08-09 Thread Константин Комков
Ok, I will register issue on github. -- 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 Gr

Re: [web2py] Re: How to add vertical Scroll bar to the table in SQLGORM.grid

2019-08-05 Thread Christian Varas
+1, datatables is your friend Cheers El lun., 5 de ago. de 2019 22:27, Jim S escribió: > I'd look at implementing datatables.net to do that. > > https://datatables.net/ > > -Jim > > On Saturday, August 3, 2019 at 9:22:26 PM UTC-5, Ryan wrote: >> >> Hi all, instead of having multiple page of tab

Re: [web2py] Re: How can I insert image in HTML from database?

2019-08-02 Thread Константин Комков
Didn't work, errors was like in my first message. I had tried it already. -- 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 becaus

Re: [web2py] Re: How can I insert image in HTML from database?

2019-08-02 Thread António Ramos
maybe -> Field('IMAGE', 'upload'), Em sex, 2 de ago de 2019 às 16:33, Константин Комков escreveu: > What do you want to know? > tables.py > db.define_table( > 'recipes', > Field('NAME',length=512), > Field('IMAGE'), > migrate=False > ) > It's my database connection in db.py: > d

Re: [web2py] Re: Hosting question

2019-08-02 Thread Jose C
Glad to have helped. Cheers, On Friday, 2 August 2019 09:40:05 UTC+1, Rahul wrote: > > Hi Jose, > Thank you !! That worked ... the point #4 resolved that issue. So > now no need to work with Apache and all is working well. Thanks a million!! > artpic.in and targetsoft.co.in work fine no

Re: [web2py] Re: Hosting question

2019-08-02 Thread Rahul Dhakate
Hi Jose, Thank you !! That worked ... the point #4 resolved that issue. So now no need to work with Apache and all is working well. Thanks a million!! artpic.in and targetsoft.co.in work fine now. Regards, Rahul On Fri, Aug 2, 2019 at 1:53 PM Jose C wrote: > Hi Rahul, > > ok,.. > 1) no

Re: [web2py] Re: Hosting question

2019-08-02 Thread Jose C
Hi Rahul, ok,.. 1) no the routes.examples.py files don't cause any problems. 4) Can you make sure that both *'www.domain.in': 'app1'* as well as *'domain.in': 'app1'* are specified in the domains key of the BASE dict? I would hope this finally resolves your issue. I don't have any experience

Re: [web2py] Re: Hosting question

2019-08-02 Thread Rahul Dhakate
Hi Jose, Thanks for getting back - I am using nano for editing routes.py in the live server, it isn't so friendly but gets the job done. Might be one of the reasons for my typo - Here are the answers to rest of the questions - 1) First of all, can you confirm this is a routes.py file in th

Re: [web2py] Re: Hosting question

2019-08-01 Thread Jose C
Strange... 1) First of all, can you confirm this is a routes.py file in the web2py root directory and that there are not any routes.py (app-specific routers) files present in the app directories as well (that could be overriding the main routes.py)? 2) The config I posted is my live config (ot

Re: [web2py] Re: Hosting question

2019-08-01 Thread Rahul Dhakate
Hi Jose, I did the changes as per your suggestion. Now when I specify a default application it takes me to the same application when I access any domain. Secondly - If I specify my domain name without a www. prefix (example: artpic.in) I am navigated to welcome however the app is not show as

Re: [web2py] Re: Hosting question

2019-08-01 Thread Jose C
> > > Have you removed welcome application from web2py applications folder > or it still resides there but when accessed gives 404? I am using python > 2.7.13 . I will try your settings for routes and get back to you. > Normally I always delete the app, but for testing this issue I left

Re: [web2py] Re: Hosting question

2019-08-01 Thread Rahul Dhakate
Hi Jose, Have you removed welcome application from web2py applications folder or it still resides there but when accessed gives 404? I am using python 2.7.13 . I will try your settings for routes and get back to you. In the meantime you may access the sites here that I referred to - 1. www.ta

Re: [web2py] Re: customizing menu items when MENU helper is used

2019-07-31 Thread Dave S
On Wednesday, July 31, 2019 at 5:13:31 AM UTC-7, Vlad wrote: > > It's not really about a menu as a whole (that would be easy). It's about > dynamically changing the background color for each menu item individually. > In this context I can't pass neither style nor class (in contrast with, for >

Re: [web2py] Re: customizing menu items when MENU helper is used

2019-07-31 Thread Eliezer (Vlad) Tseytkin
It's not really about a menu as a whole (that would be easy). It's about dynamically changing the background color for each menu item individually. In this context I can't pass neither style nor class (in contrast with, for example a list helper where elements/options are made up of another helper

Re: [web2py] Re: How to link images (under static/images) from static folder static html

2019-07-30 Thread Jon Subscripted
Thanks Dave, I'll test using the logo (which actually works) as you suggested. Regards, Jon. Libre de virus. www.avast.com

Re: [web2py] Re: web3py -> py4web

2019-07-30 Thread villas
On Tuesday, 30 July 2019 07:35:08 UTC+1, Massimo Di Pierro wrote: > > I did not know about this. It has a cost. I'd rather not pay for it. > 1. Just so you know, from GitBook Pricing page: > GitBook is free for open-source & non-profit teams > 2. Markdown ins

Re: [web2py] Re: web3py -> py4web

2019-07-29 Thread Massimo Di Pierro
to be clear... most of the docs is backported by web2py + explanation of sessions and @action decorator. Most of the new features are still undocumented or poorly documented unfortunately. Namely pydal.restapi, auth plugins, Form, and Will try my best in the next few days. On Monday, 29 July

Re: [web2py] Re: web3py -> py4web

2019-07-29 Thread Massimo Di Pierro
*from pydal.restapi import RestAPI, Policy* On Monday, 29 July 2019 14:13:50 UTC-7, Tito Garrido wrote: > > I am trying to reproduce the RestAPI example: > > > > *>>> print (pydal.__version__)19.05.11>>> from pydal.dbapi import RestAPI, > Policy* > Traceback (most recent call last): > File "",

Re: [web2py] Re: web3py -> py4web

2019-07-29 Thread Massimo Di Pierro
I did not know about this. It has a cost. I'd rather not pay for it. But I am thinking that perhaps we should move away from markmin and use markdown. Markmin is better but if we follow a more established standard we can use more tools. Also the book chapters can be used as README.md for the com

Re: [web2py] Re: web3py -> py4web

2019-07-29 Thread Tito Garrido
I am trying to reproduce the RestAPI example: *>>> print (pydal.__version__)19.05.11>>> from pydal.dbapi import RestAPI, Policy* Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'pydal.dbapi' What am I missing? On Mon, Jul 29, 2019 at 10:43 AM Ant

Re: [web2py] Re: web3py -> py4web

2019-07-29 Thread António Ramos
Why not using gitbook to create the documentation ??? repos already using gitbook... https://guide.elm-lang.org/ https://docs.feathersjs.com/# etc Em seg, 29 de jul de 2019 às 10:36, Jose C escreveu: > Darn, I hunted around but didn't see it. Thanks for the link... > > > > On Monday, 29 July

Re: [web2py] Re: web3py -> py4web

2019-07-29 Thread Jose C
Darn, I hunted around but didn't see it. Thanks for the link... On Monday, 29 July 2019 10:06:42 UTC+1, Nico Zanferrari wrote: > > Hi Jose, > > the documentation is already on GitHub > > , > and PR are alwa

Re: [web2py] Re: web3py -> py4web

2019-07-29 Thread Nico Zanferrari
Hi Jose, the documentation is already on GitHub , and PR are always welcome ;-) Nico Il giorno lun 29 lug 2019 alle ore 10:14 Jose C ha scritto: > Looks promising... some questions: > > 1) Have spotted many t

Re: [web2py] Re: Web2py binaries

2019-07-28 Thread Nico Zanferrari
Hi, good news: a simple workaround has been developed for the MacOs APP bundle problem with PyInstaller (see https://github.com/pyinstaller/pyinstaller/issues/3820 ). I've already created the new Mac binaries in the APP form, with embedded Python 3.7.4 and 2.7.16 - see my repository

Re: [web2py] Re: web2py 2.18.5 is OUT

2019-07-28 Thread Angelo Compagnucci
HI Massimo, Can you tag R-2.18.5? Thanks! Il giorno ven 5 lug 2019 alle ore 07:18 黄祥 ha scritto: > > already tried define the length on field constructor and change web server > because error above refer to rocket.py > ref: > https://groups.google.com/d/msg/web2py/2B9B9o151II/UyfREFmlBgAJ > >

Re: [web2py] Re: web3py -> py4web

2019-07-24 Thread António Ramos
http://py4web.com/_documentation/static/index.html#chapter-06 Em qua, 24 de jul de 2019 às 12:28, Kevin Keller escreveu: > Which file Antonio? > > I found what seems an Oauth2 server py and pyjwt in core. > > So I suppose OAuth2 + OpenID Restful API can be done with web4py already.. > just need

Re: [web2py] Re: web3py -> py4web

2019-07-24 Thread Kevin Keller
Which file Antonio? I found what seems an Oauth2 server py and pyjwt in core. So I suppose OAuth2 + OpenID Restful API can be done with web4py already.. just need to find in the docs.. By the way.. happy to contribute to the docs. On Wed, Jul 24, 2019 at 1:21 PM António Ramos wrote: > > Fou

Re: [web2py] Re: web3py -> py4web

2019-07-24 Thread António Ramos
Found a typo RestPI instead of RestAPI Regardsdef api(): return RestPI(db, policy)(request.method, request.args(0), request.args(1), request.get_vars, request.post_vars) Em qua, 24 de jul de 2019 às 12:17, António Ramos escreveu: > - Great documentation layout

Re: [web2py] Re: web3py -> py4web

2019-07-24 Thread António Ramos
- Great documentation layout - A litle bette name (Py4Web) - But the dashboard and the running circle and colours chosen are completely out of order in my opinion if it matters. Where is the logo ? will it have a logo ? what colour scheme will it use ? Regards Em qua, 24 de jul de 2019 às 09:44,

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