Re: [web2py] How to install VPS to use web2py with MySQL phpMyAdmin

2013-06-29 Thread Jason (spot) Brower
I suppose you would just install them. (It's actually not a web2py direct issue in my book.) You don't like the built in database admin tool? It should do almost everything you would need. If there is something you need, do tell, I am curious. So I would just install them if you still wanted to tr

Re: [web2py] Is web2py.com down today?

2013-06-29 Thread Alan Etkin
> > I can confirm it is down. Not sure why. I tried restart it but did not > restart. I have emailed the pythonanywhere support. It works! Thanks -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop

Re: [web2py] Is web2py.com down today?

2013-06-29 Thread Massimo Di Pierro
I can confirm it is down. Not sure why. I tried restart it but did not restart. I have emailed the pythonanywhere support. Massimo On Saturday, 29 June 2013 17:37:54 UTC-5, Alan Etkin wrote: > > already up again, right now > > > I'm trying to open the online book but http://www.web2py.com/book r

[web2py] Friday @ EuroPython Open Space

2013-06-29 Thread Massimo Di Pierro
I will attend EuroPython on Friday July 5. I will try reserve a Open Space to answer question and have discussion about web2py. If you are there I hope to meet you. -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from thi

Re: [web2py] Is web2py.com down today?

2013-06-29 Thread Alan Etkin
> > already up again, right now I'm trying to open the online book but http://www.web2py.com/book returns 502 Bad Gateway -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it,

[web2py] Re: Strange character encoding after login into administrative interface

2013-06-29 Thread Massimo Di Pierro
We replaced codemirror 2 with codemirror 3.13. Can you check with previous versions? On Saturday, 29 June 2013 16:49:31 UTC-5, Alan Etkin wrote: > > Just a remark. Notice that it doesn't fail when saving, but when re-login >> into the administrative interface and reloading the file. >> > > Me to

[web2py] Re: Got error when install on VPS ubuntu 12.04 LTS

2013-06-29 Thread Massimo Di Pierro
I do not think so. You are using web2py. ;-) On Saturday, 29 June 2013 03:21:17 UTC-5, ebse...@gmail.com wrote: > > Thanks, I did it successful. I'm stupid :p > > On Saturday, June 29, 2013 2:37:08 PM UTC+7, Massimo Di Pierro wrote: >> >> You downloaded the HTML not the raw file. Try: >> >> wget h

[web2py] Re: Strange character encoding after login into administrative interface

2013-06-29 Thread Alan Etkin
> > Just a remark. Notice that it doesn't fail when saving, but when re-login > into the administrative interface and reloading the file. > Me too with the latest trunk version 2.6.0-development+timestamp.2013.06.27.07.20.48 The problem appears when saving and re-opening the file for edition wi

[web2py] Re: Validating document extension on upload

2013-06-29 Thread lesssugar
Thanks, guys. On Saturday, June 29, 2013 10:35:38 PM UTC+2, Niphlod wrote: > > extension on the IS_UPLOAD_FILENAME takes either a string (i.e. a single > extension) or a regex, so you can play with it. I've no time to test it, > but probably doc|pdf|odt will work ok. > > On Saturday, June 29, 20

[web2py] Re: Strange character encoding after login into administrative interface

2013-06-29 Thread peibol
Just a remark. Notice that it doesn't fail when saving, but when re-login into the administrative interface and reloading the file. El sábado, 29 de junio de 2013 23:01:14 UTC+2, peibol escribió: > > I'm editing my web2py files directly in the browser, Chrome, Windows 7. > Just lok at the lines

[web2py] Re: Strange character encoding after login into administrative interface

2013-06-29 Thread peibol
I'm editing my web2py files directly in the browser, Chrome, Windows 7. Just lok at the lines in which appears a '$', those are the characters that fail. def latexfromexercises(exercises,solutions,vsep): #cabecera y comienzo del documento latexworksheet=r"""\documentclass[14pt]{extreport} \u

[web2py] Re: Strange character encoding after login into administrative interface

2013-06-29 Thread Alan Etkin
> > Hi all: > > I've defined a function inside a model file. It contains a string. This > string is raw because it's a LaTeX expression and in order to maintain the > escape characters I think it's the way to proceed. > What editor are you using? Can we see the part of the model that fails? (b

[web2py] Re: Validating document extension on upload

2013-06-29 Thread Niphlod
extension on the IS_UPLOAD_FILENAME takes either a string (i.e. a single extension) or a regex, so you can play with it. I've no time to test it, but probably doc|pdf|odt will work ok. On Saturday, June 29, 2013 8:45:10 PM UTC+2, lesssugar wrote: > > Really, no one? :] Could IS_MATCH help with c

[web2py] Re: Validating document extension on upload

2013-06-29 Thread Alan Etkin
> > The only validator I see for non-image uploads is IS_UPLOAD_FILENAME, > which takes "extension" argument, so only one extension can be provided. > How come? I tried (for a test) to use tuple or list as the argument value, > but I get such error: > filename and/or extension arguments are re

[web2py] Re: Is the web2py plugins directory offline for maintenance ?

2013-06-29 Thread Alan Etkin
> > It is down because it is a very old app and has some security issues. My > plan is to post all plugins to github and link that. > Perhaps we can migrate the plugins db to the unfinished web2pyslices Packages feature when it is done. -- --- You received this message because you are subs

[web2py] Re: Validating document extension on upload

2013-06-29 Thread lesssugar
Really, no one? :] Could IS_MATCH help with checking the uploaded file extension? On Saturday, June 29, 2013 1:01:29 AM UTC+2, lesssugar wrote: > > I need to validate extension of documents being uploaded in my app: doc, > pdf, odt, ... . > > Image upload has its IS_IMAGE validator, which takes

Re: [web2py] Re: Is the web2py plugins directory offline for maintenance ?

2013-06-29 Thread Serge Hulne
Thank you for taking the time to answer my question ! S. Hulne. On Sat, Jun 29, 2013 at 6:15 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > It is down because it is a very old app and has some security issues. My > plan is to post all plugins to github and link that. > > > On Satu

[web2py] Re: Bug report: username as "space inside" is incorrectly accepted

2013-06-29 Thread Ray (a.k.a. Iceberg)
Thanks for prompt response. Issue is created. http://code.google.com/p/web2py/issues/detail?id=1568 On Sunday, June 30, 2013 12:17:12 AM UTC+8, Massimo Di Pierro wrote: > > Please do and I will take care of this asap. > > On Saturday, 29 June 2013 10:07:57 UTC-5, Ray (a.k.a. Iceberg) wrote: >> >>

[web2py] Re: Bug report: username as "space inside" is incorrectly accepted

2013-06-29 Thread Massimo Di Pierro
Please do and I will take care of this asap. On Saturday, 29 June 2013 10:07:57 UTC-5, Ray (a.k.a. Iceberg) wrote: > > Hi folks, > > First of all, I think white space is generally not acceptable as part of > username. But right now web2py accepts username such as "space inside". > > Actually, web

[web2py] Re: Is the web2py plugins directory offline for maintenance ?

2013-06-29 Thread Massimo Di Pierro
It is down because it is a very old app and has some security issues. My plan is to post all plugins to github and link that. On Saturday, 29 June 2013 05:48:02 UTC-5, Serge Hulne wrote: > > Is the web2py plugins directory ( http://www.web2py.com/plugins ) > off-line for maintenance ? > > I was

[web2py] Strange character encoding after login into administrative interface

2013-06-29 Thread peibol
Hi all: I've defined a function inside a model file. It contains a string. This string is raw because it's a LaTeX expression and in order to maintain the escape characters I think it's the way to proceed. This string is latexworksheet. At some moment in the code I have the following line: la

[web2py] Bug report: username as "space inside" is incorrectly accepted

2013-06-29 Thread Ray (a.k.a. Iceberg)
Hi folks, First of all, I think white space is generally not acceptable as part of username. But right now web2py accepts username such as "space inside". Actually, web2py defines the username validator like this: [IS_MATCH('[\w\.\-]+'), ...] so space is presumably not an intention. The

[web2py] How to install VPS to use web2py with MySQL phpMyAdmin

2013-06-29 Thread ebseknib
Hi, I'm new to web2py, I've just gotten a VPS running on Ubuntu 12.04 LTS. I want to use web2py with MySQL, and admin my database with phpmyadmin. I saw the scripts https://web2py.googlecode.com/hg/scripts/setup-web2py-ubuntu.sh, but it install the postgresql. I tried to combine those package

[web2py] Re: VPS.net With Web2py.... Unable to install Application

2013-06-29 Thread ebseknib
Hi scausten, I got the same error when install on my vps with ubuntu 12.04 LTS: ./setup-web2py-ubuntu.sh: line 5: syntax error near unexpected token `newline' ./setup-web2py-ubuntu.sh: line 5: `' how did you solve them? Can you help me? Thanks for your help! On Thursday, September 23, 2010 8:

[web2py] Re: Got error when install on VPS ubuntu 12.04 LTS

2013-06-29 Thread ebseknib
Thanks, I did it successful. I'm stupid :p On Saturday, June 29, 2013 2:37:08 PM UTC+7, Massimo Di Pierro wrote: > > You downloaded the HTML not the raw file. Try: > > wget https://web2py.googlecode.com/hg/scripts/setup-web2py-ubuntu.sh > > On Saturday, 29 June 2013 02:27:13 UTC-5, ebse...@gmail.c

[web2py] Re: pyCharm has web2py support

2013-06-29 Thread Alex
that's great! has anyone already tested PyCharm with web2py support? I actually wanted to wait for the final 3.0 version but maybe I'll give it a try... here's some more info: http://blog.jetbrains.com/pycharm/2013/06/meet-pycharm-3-0-eap/ Alex Am Samstag, 29. Juni 2013 09:31:54 UTC+2 schrieb

[web2py] Is the web2py plugins directory offline for maintenance ?

2013-06-29 Thread Serge Hulne
Is the web2py plugins directory ( http://www.web2py.com/plugins ) off-line for maintenance ? I was trying to download the JQuery plugin, a couple of weeks ago and I noticed that the plugins directory ( whose link appears on the page : http://www.web2py.com/init/default/documentation ) seems to

[web2py] Re: Got error when install on VPS ubuntu 12.04 LTS

2013-06-29 Thread Massimo Di Pierro
You downloaded the HTML not the raw file. Try: wget https://web2py.googlecode.com/hg/scripts/setup-web2py-ubuntu.sh On Saturday, 29 June 2013 02:27:13 UTC-5, ebse...@gmail.com wrote: > > Hi, > > I create my own VPS with ubuntu 12.04 LTS, > > and I used the following command to install web2py: > >

[web2py] Got error when install on VPS ubuntu 12.04 LTS

2013-06-29 Thread ebseknib
Hi, I create my own VPS with ubuntu 12.04 LTS, and I used the following command to install web2py: $ wget http://code.google.com/p/web2py/source/browse/scripts/setup-web2py-ubuntu.sh $ chmod +x setup-web2py-ubuntu.sh $ ./setup-web2py-ubuntu.sh then, it shows the error message after that: ./se

[web2py] Re: Stop menu from collapsing

2013-06-29 Thread Massimo Di Pierro
Thank you Paolo. Will commit asap. On Friday, 28 June 2013 17:32:24 UTC-5, Paolo Caruccio wrote: > > This should work: replace navbar section in layout.html with > > > > {{=response.flash or ''}} > > > {{is_mobile=request.user_agent().is_mobile}} > >

[web2py] Re: curious how you all handle database engine migrations

2013-06-29 Thread Massimo Di Pierro
Nice and useful writeup. Thanks Michael. On Friday, 28 June 2013 14:09:27 UTC-5, Michael Herman wrote: > > > http://www.realpython.com/blog/python/web2py-migrating-from-sqlite-to-mysql/ -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To u

[web2py] pyCharm has web2py support

2013-06-29 Thread Massimo Di Pierro
Fantastic news: PyCharm has web2py support http://youtrack.jetbrains.com/issue/PY-1648 First of all congratulations to the JetBrains staff for pulling this off. We all appreciate it. Second, I encourage all of you to give it a try. PyCharm is an excellent IDE. Massimo -- --- You rece