Re: [web2py] Beginner can't get past install

2019-10-10 Thread Nico Zanferrari
Hi, the official Mac binaries are broken. You can use my experimental binaries here - they work fine (except on MacOs 10.14+) and also you can choose python 2 or python 3! Nico Il giorno ven 11 ott 2019 alle ore 07:38 OogieM ha scritto: > New us

[web2py] Re: How to use T in layout.html in Py4web?

2019-10-10 Thread Massimo Di Pierro
No. You should not define T in your view and your should not define T in your actions. T should be defined outside actions (for example it is defined in common.py in _scaffold). Your actions should declare that they need it and pass it to the view: @action('index') @action.uses(index.html) @ac

[web2py] Re: py4web

2019-10-10 Thread Massimo Di Pierro
Nothing. Will continue support both. On Thursday, 10 October 2019 22:38:53 UTC-7, Kevin Fonseca wrote: > > hi, i would like to now what will happen with web2py when py4web is > implemented? > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/w

[web2py] Re: problems running PY4WEB

2019-10-10 Thread Massimo Di Pierro
It is not finding the apps folder. You can pass the full path to wsgi(apps_folder='/full/path/to/apps') On Thursday, 10 October 2019 22:38:53 UTC-7, Kevin Fonseca wrote: > > i am having problems when i tried to run PY4WEB > de error log is : > > 2019-10-10 13:23:10,259: Error running WSGI applic

[web2py] Re: Getting a PWA set up based on web2py

2019-10-10 Thread mostwanted
Hi @Valdeck Rowe, i wan to know if this approach worked for you in your PWA development. Were there any developments or changes to this approach? I am asking because i was hoping to use your approach in my desperate attempt at making one of my apps a PWA. Regards; Mostwanted On Wednesday, O

[web2py] Re: Error trying to go back to python 2 after testing python 3: TypeError: translate() takes exactly one argument (2 given)

2019-10-10 Thread Massimo Di Pierro
I am puzzled by this too. The error is not in web2py code. The error is in the string.py module. Also in your json example you are getting unicode both in py2 and py3 except py3 does not put the u'' in front of unicode strings because they are default. On Thursday, 10 October 2019 18:05:55 UTC-

[web2py] ImportError: No module named utils on websocket_messaging

2019-10-10 Thread Luis Sucuc
I am trying to use sockets as follows python gluon/contrib/websocket_messaging.py -k 123 -p but I receive the following error Traceback (most recent call last): File "gluon/contrib/websocket_messaging.py", line 96, in import gluon.utils ImportError: No module named utils luis@luissu

[web2py] Changing the css framework

2019-10-10 Thread Jay B
Hello guys, i'd like to use another css framework for my web2py app. Is there a easy way to replace it and start with a fresh new app? Greetz Jay -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.co

[web2py] py4web

2019-10-10 Thread Kevin Fonseca
hi, i would like to now what will happen with web2py when py4web is implemented? -- 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 messag

[web2py] problems running PY4WEB

2019-10-10 Thread Kevin Fonseca
i am having problems when i tried to run PY4WEB de error log is : 2019-10-10 13:23:10,259: Error running WSGI application 2019-10-10 13:23:10,277: FileNotFoundError: [Errno 2] No such file or directory: 'apps/__init__.py' 2019-10-10 13:23:10,277: File "/var/www/kevin2811_pythonanywhere_com_ws

[web2py] Bugfixes for older versions of Web2Py?

2019-10-10 Thread Bruno Heremans
Something I didn't find in the documentation : are important bugfixes applied to older versions? Bugfixes don't need to be applied to ALL other versions, but going back 1 or 2 minor versions would be

[web2py] Beginner can't get past install

2019-10-10 Thread OogieM
New user trying to install web2py on Mac High Sierra 10.13.6 Downloaded the for users mav cersion, unzipped, verified I have python installed. I tried to run the web2py app and get a error message "web2py Error" 2 buttons, open console or terminate. Tried looking at the console but I can't see

[web2py] New User Install gets Error Mac OSX High Sierra

2019-10-10 Thread OogieM
Brand new user. Downloaded the Normal Users Mac version. UnZipped and tried to run web2py.app get this error with no other useful information. System is 10.13.6 High Sierra on an older iMac. Never got the window to select a password or get started. I did verify that no other versions of web2py

[web2py] How to easily implement another CSS-Framework

2019-10-10 Thread Jay B
Hello guys, I'm trying to figure out how to include another CSS framework instead of bootstrap. But the fact that the layout.html and other files point to the bootstrap files makes it harder than I thought. I would like to test other CSS frameworks like Semantic UI or Bulma instead of Bootstr

[web2py] Where do we place the routes.py file?

2019-10-10 Thread Power Vault
Hi guys, i was attempting to change the way URLs appear on the address bar and I read somewhere that is has to be done in the routes.py file. Now my issue is i dont know where exactly to place the routes.py file, where do i place it & how do i refresh it in the admin interface? Thank you. --

[web2py] Re: Error trying to go back to python 2 after testing python 3: TypeError: translate() takes exactly one argument (2 given)

2019-10-10 Thread Lisandro
I've found the issue, it's not web2py related, sorry about that. My web2py instance has several applications running, each one is attached to a domain. I store a the map of domains:apps in a dictionary that I save to a .pkl file. Then my routes.py reads that file and loads the map of domains:app

[web2py] Password field getting cleared

2019-10-10 Thread App Jar
Is there a way to keep the auth password and password_two fields from getting cleared when the auth register form has errors in it? Every time there is an error in my form both fields get cleared requiring the user to enter the password again twice, once for each field. I can keep the password

[web2py] Error trying to go back to python 2 after testing python 3: TypeError: translate() takes exactly one argument (2 given)

2019-10-10 Thread Dave S
Delete all the .pyc files? /dps -- 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 Group

[web2py] Error trying to go back to python 2 after testing python 3: TypeError: translate() takes exactly one argument (2 given)

2019-10-10 Thread Lisandro
I'm testing my web2py application to see what I need to fix in order to make it compatible with python3. I'm using web2py Version 2.17.1-stable+timestamp.2018.08.06.01.02.56 My application has been running with python2 for a long time. Yesterday I tried with python3 (setting up a virtual environm