[web2py] utf8 problem

2014-12-07 Thread Avi A
Hi, On some translations fields I am using Hebrew characters. While they are displayed OK on the Form view and on the admin db view, on the view page it self they are rendered as: 'f_category_t': '\xd7\xa8\xd7\x90\xd7\xa9\xd7\x95\xd7\xa0\xd7\x95\xd7\xaa'} and Angularjs displays it as jibberish, f

[web2py] 2.9.11 / cache / WindowsError [Error 123]

2014-12-07 Thread Kiran Subbaraman
Hi, I had an existing application running on web2py 2.9.5, python 2.7.5, Windows 8.1. Uses postgres db 9.3 Just upgraded web2py, via the admin console, to 2.9.11 Went ahead and "clean"ed the application via the admin console. When I try to open (as in successfully login, and then view the index pa

Re: [web2py] Get a Web2py cloud instance in less than 30 seconds

2014-12-07 Thread António Ramos
nice but where do i find the web2py folder ? 2014-12-05 16:46 GMT+00:00 Enrique Conci : > Hi There! > > My name is Enrique and I work for Terminal.com, a cloud computing provider. > > We were playing a little bit with web2py and we think it's a really good > product, so we decided create a new sn

[web2py] Re: web2py deployment: Apache, Nginx and Plesk Panel

2014-12-07 Thread peter
Sorry for a late reply to this. I had nginx working under plesk with a live site. My site suddenly crashed after a plesk update. It took me a long time to work out what the problem was. It was that plesk decided to include nginx within their setup. This interacted badly with my nginx setup. My

Re: [web2py] Re: Redirect http to https via routes.py

2014-12-07 Thread Vinicius Assef
Thank you for your support, Anthony. Let me say what I was trying: I'm working with vagrant in my development environment. It's annoying in every error ticket, change http to https and change port number, too. The solution to create a tunnel, as described in manual, didn't make sense because I'm

Re: [web2py] Re: Suggestions for handling "special" html tags in web2py when variables are being processed?

2014-12-07 Thread Philip Kilner
Hi Floyd, I'm a long-time Zope user, more in the context of Plone than anything else of late, but I valued Zope's TTW approach very much, and I'm very interested in your problem. On 05/12/14 11:23, flobro30...@gmail.com wrote: So maybe this is a severely optimistic idea, maybe more of a mind

[web2py] Re: Making certain url's even shorter.

2014-12-07 Thread Anthony
Can't you just use the parameter-based router and set "default" as the default controller and "r" as the default function (which requires you to specify "functions" with the list of all functions in default.py)? Anthony On Sunday, December 7, 2014 4:32:45 AM UTC-5, Encompass solutions wrote: >

[web2py] Re: Making certain url's even shorter.

2014-12-07 Thread Massimo Di Pierro
this should work: routes_in = { /(?P[\w+]+\-[\w-]+)':'/app/default/r/$name' } On Sunday, 7 December 2014 03:32:45 UTC-6, Encompass solutions wrote: > > I want to have a URL like this: http://127.0.0.1:8000/34D7-638C > Obviously the base URL changes. > I want to make it so I can check if there is

[web2py] Re: docker

2014-12-07 Thread rif
I tested that before I wrote. Are you sure it's not some firewall or something? What OS did you use? duminică, 7 decembrie 2014, 17:59:43 UTC+2, Massimo Di Pierro a scris: > > Done that but no response. :-( > > On Saturday, 6 December 2014 11:37:04 UTC-6, rif wrote: >> >> As far as I can tell t

[web2py] Re: Consent Form

2014-12-07 Thread Massimo Di Pierro
What is this about? On Friday, 5 December 2014 13:35:24 UTC-6, Dave S wrote: > > > > On Wednesday, December 3, 2014 6:49:02 PM UTC-8, smriti7545 wrote: >> >> I have submitted my parental consent form and ID proof but only id proof >> has been verified. Can u tell me that are all my forms verified

[web2py] Re: Getting Log details

2014-12-07 Thread Massimo Di Pierro
Mind that only if you use the built-in rocket server. On Thursday, 4 December 2014 23:36:44 UTC-6, Dave S wrote: > > > > On Sunday, November 30, 2014 10:49:54 PM UTC-8, Research Kamal wrote: >> >> Hi anybody knows how to view the log details in web2py framework? >> >> Let me know, i am waiting for

[web2py] Re: docker

2014-12-07 Thread Massimo Di Pierro
Done that but no response. :-( On Saturday, 6 December 2014 11:37:04 UTC-6, rif wrote: > > As far as I can tell the only thing you have to do is to run the container > like this: > > docker run -p 8080:80 web2py > > and you will be able to connect at http://localhost:8080 > > Of course you can ch

[web2py] possible to trail url with default application?

2014-12-07 Thread chuan
I set default_application in routes.py, what I want is when http://myhost.net/ is visited, the url is automatically expanded to http://myhost.net/myapp in the browser address bar. Is it possible? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com

[web2py] Re: Built-in web2py Wiki, wrong URL with Apache 2.4 mod_proxy

2014-12-07 Thread Daniel Vogel
Hi I played around wirh mod_proxy and mod_ proxy_html. Another issue was a missing controller (only with revers proxy) "default/index.load". I added this controller manually, now it's running. Usable configuration for Apache 2.4: ServerName raffael.myserver.ch RewriteEngine On Rew

[web2py] Get a Web2py cloud instance in less than 30 seconds

2014-12-07 Thread Enrique Conci
Hi There! My name is Enrique and I work for Terminal.com, a cloud computing provider. We were playing a little bit with web2py and we think it's a really good product, so we decided create a new snapshot with web2py and add it to our app store. In short, that means that you can start our own f

[web2py] how to get logging working in gluon modules

2014-12-07 Thread chuan
Hi all, I am debugging my routes.py and looking into gluon/main.py I enable the logging.conf file, and the corresponding session: [logger_web2py] level=DEBUG han

[web2py] Re: Suggestions for handling "special" html tags in web2py when variables are being processed?

2014-12-07 Thread flobro30101
Zope uses custom HTML tags in a document to perform python tasks (instead of {{}} like Web2py, it uses that is analyzed and values replaced) I debugged through how Web2Py processes templates, and this leaves all html untouched (even if incorrect). The other problem is that Zope does not have

[web2py] Re: A newbe needs help

2014-12-07 Thread paul_eieio via web2py-users
Thanks Massimo I downloaded the latest version and all is well. This is an amazing framework! Your video lessons are extremely helpful, as if the documentation. I am very excite to make progress. Thanks again Paul McDonald On Wednesday, December 3, 2014 12:32:49 PM UTC-5, paul_...@yahoo.com wr

[web2py] Stripe with Metadata

2014-12-07 Thread Sébastien Loix
Hello, I am trying to integrate Stripe but I can't manage to add a 'metadata" field to a charge. I read that in the Stripe Docs (https://stripe.com/docs/api/python#metadata) that we can pass a metadata parameter inside a charge, but when I look at "gluon/contrib/stripe.py" I don't see anything

[web2py] 2 factor auth doesn't seem to take effect.

2014-12-07 Thread Andrew
Following the information in the web2py book I have attempted to enable 2 factor authentication. It does not seem to be working though. I have set up a group with the role of "web2py Two-Step Authentication" I assign users to this with auth.settings.create_user_groups = False auth.settings.ever

[web2py] Re: Redirect http to https via routes.py

2014-12-07 Thread Anthony
If you pass Rocket an SSL certificate, it will only listen on that interface. If you want it to listen on multiple interfaces, you have to use the "--interfaces" argument instead. Something like: python web2py.py -a adminpassword --interfaces '0.0.0.0:8000;0.0.0.0:8001:~/openssl/server.crt:~/op

[web2py] Making certain url's even shorter.

2014-12-07 Thread Jason (spot) Brower
I want to have a URL like this: http://127.0.0.1:8000/34D7-638C Obviously the base URL changes. I want to make it so I can check if there is a "-" in the string, if so, then I know to run a certian method with that string as the argument. Is this possible with routing? right now I have to do: http