[web2py] Re: pythonanywhere

2014-11-11 Thread clara
Hello Dave. No, these CDNs are outside the hosting domain and hence are not fetched by my site if served as https. Regards, Clara El lunes, 10 de noviembre de 2014 23:22:00 UTC-3, Dave S escribió: On Monday, November 10, 2014 5:12:57 PM UTC-8, clara wrote: Hello Niphlod, I guess I

[web2py] Deployment script for CentOS: apache + mod_wsgi + msql

2014-11-11 Thread lesssugar
Hi, guys, I would like to setup web2py on my CentOS 6.6 and I'm looking for deployment script, as I'm no expert. Apache and MySQL is in place, but I'm looking for relatively painless way to automatically install web2py, configure mod_wsgi etc. Any help? -- Resources: - http://web2py.com -

[web2py] Re: Web2py on Pythonanywhere

2014-11-11 Thread Giles Thomas
Hi there, PythonAnywhere dev here -- you're right, it's a browser cache thing, resulting from a bug on our side. We have a Strict-Transport-Security setting on the main PythonAnywhere site that means that if you ever visit it via https then in future your browser will always use https to

Re: [web2py] Is Web2py ill-suited for apps that heavily interact with other services?

2014-11-11 Thread Michele Comitini
Nonsense. The guy has never used web2py or is involved in the other framework. I think exactly the opposite. Django on complex applications requires a *lot* of extra modules and it becomes difficult to update the framework. Lots of boilerplate that wastes space in the editor windows and

[web2py] Sending email from server

2014-11-11 Thread Yang
Hello, I am running web2py on Apache server. I can't send email from the server. The mail.error shows 'permission denied'. Is this due to the Apache configuration? How could I fix it? Thanks! -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] How to fix error type 'exceptions.ImportError'(No module named configuration)?

2014-11-11 Thread John Davis
Hello I'm get the following error when I start up a web2py app: type 'exceptions.ImportError'(No module named configuration) This error corresponds to this line of code: from configuration import local_time This app was not written by me. It was written by someone else. It resides on a server

[web2py] import app from one web2py server to another

2014-11-11 Thread John Davis
Hello I have an app written by someone which runs on our server. I have tried to copy this app from one server to a new one which also runs web2py. I use the admin site GUI for web2py to import the app, but when I try to run it, I get the following error. error: type

[web2py] Re: Asynchronous Background Processes

2014-11-11 Thread Josh L
Tim - Thanks - at first I was wary of the AJAX approach because I would have to submit multiple ajax requests, then multiple additional requests to get the image data. But I found that I could return base64 encoded image data with the ajax request and display that instead, saving another HTTP

[web2py] Can Jmeter be used for load testing a Web2py application.

2014-11-11 Thread Nitin Goyal
Can Jmeter be used for load testing a Web2py application? Has anyone used this tool for Load testing. -- 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] Re: Web2py on Pythonanywhere

2014-11-11 Thread clara
Hello Giles, Thanks for this reply! So there was somthing on Pythonanywhere's side that forced https rather than http I cleared my cache and things are working properly now. Thanks a lot!! Clara El martes, 11 de noviembre de 2014 08:29:08 UTC-3, Giles Thomas escribió: Hi there,

[web2py] Odd field validation issue

2014-11-11 Thread Cliff Kachinske
This field will not fail validation when submitted empty. Web2py 2.8.2 with lazy tables and archiving. REQUIRE_MSG = SPAN('Required', _style=color:orange;) Field( 'problem_title', length=512, required=True, comment=REQUIRE_MSG,

[web2py] Re: RSVP: Massimo @ Bay Area web2py meetup (refreshments) -- 12/5/2014, 6:30PM - 9:00PM -- BE THERE!!!

2014-11-11 Thread Jim S
Will there be anyone recording the event/presentations? -Jim On Thursday, November 6, 2014 1:48:14 AM UTC-6, weheh wrote: Hi Bay Area web2py'ers. Get excited! *Massimo will attend our very own Bay Area* *web2py meetup* to meet, greet and present. Additional talks are planned. Details

[web2py] Re: Odd field validation issue

2014-11-11 Thread Willoughby
I think one is for forms, one is for the insert. From the book: Notice that requires=... is enforced at the level of forms, required=True is enforced at the level of the DAL (insert), while notnull, unique and ondelete are enforced at the level of the database. While they sometimes may seem

[web2py] Re: Odd field validation issue

2014-11-11 Thread Cliff Kachinske
OK, except I have other apps where required=True works as expected, that is, it causes a validation failure when the field is submitted empty. These other apps are running on the same Web2py instance, so this is puzzling. On Tuesday, November 11, 2014 10:54:21 AM UTC-5, Willoughby wrote: I

[web2py] Re: RSVP: Massimo @ Bay Area web2py meetup (refreshments) -- 12/5/2014, 6:30PM - 9:00PM -- BE THERE!!!

2014-11-11 Thread Leonel Câmara
Yes, please record, the San Francisco Bay Area is kind of far away from Lisbon, Portugal. -- 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

[web2py] Re: How to fix error type 'exceptions.ImportError'(No module named configuration)?

2014-11-11 Thread Leonel Câmara
Does it work if you erase all .pyc files in your application modules folder and subfolders, restart whatever is running web2py and try again? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: Sending email from server

2014-11-11 Thread Leonel Câmara
That's not due to apache settings, that's due to the way you configured web2py mail settings or your mail server configuration. Permission denied can be caused because you didn't set mail.settings.login correctly, it can be because you didn't set mail.settings.hostname to a hostname your mail

[web2py] Re: Is Web2py ill-suited for apps that heavily interact with other services?

2014-11-11 Thread Anthony
I think there is a confusion between third party *services* and third party *tools*. web2py has absolutely no problem accessing third party APIs (such as Google Analytics), and this will be exactly the same as you would handle things in other frameworks. The comment you found on SO has nothing

[web2py] Re: Odd field validation issue

2014-11-11 Thread Anthony
On Tuesday, November 11, 2014 10:59:19 AM UTC-5, Cliff Kachinske wrote: OK, except I have other apps where required=True works as expected, that is, it causes a validation failure when the field is submitted empty. These other apps are running on the same Web2py instance, so this is

[web2py] Re: SQL query to find all records which are not in another table

2014-11-11 Thread Vladimir Makarov
Hi, Leonel. Thank you for taking me to the right way. It works well: rows = db(~db.persons.id.belongs(db()._select(db.tbl.person))).select() And I don't use dots in table names. On Monday, November 10, 2014 10:56:17 PM UTC+3, Leonel Câmara wrote: You can use belongs. You ask for those

[web2py] Re: How to fix error type 'exceptions.ImportError'(No module named configuration)?

2014-11-11 Thread John Davis
On Tuesday, November 11, 2014 11:41:02 AM UTC-5, Leonel Câmara wrote: Does it work if you erase all .pyc files in your application modules folder and subfolders, restart whatever is running web2py and try again? I will try that. I'm kind of waiting for the next approach to before I do

[web2py] Re: How to fix error type 'exceptions.ImportError'(No module named configuration)?

2014-11-11 Thread Leonel Câmara
Copying the entire web2py directory would work if the module was in the web2py directory site-packages, but, in that case, it also wouldn't work in the other server you used the packed application with. Clean doesn't clean the modules folder pyc files. The main reason for the size difference is

Re: [web2py] Re: RSVP: Massimo @ Bay Area web2py meetup (refreshments) -- 12/5/2014, 6:30PM - 9:00PM -- BE THERE!!!

2014-11-11 Thread Richard Warg
I will bring a video camera. On Tue, Nov 11, 2014 at 8:05 AM, Leonel Câmara leonelcam...@gmail.com wrote: Yes, please record, the San Francisco Bay Area is kind of far away from Lisbon, Portugal. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

Re: [web2py] Re: RSVP: Massimo @ Bay Area web2py meetup (refreshments) -- 12/5/2014, 6:30PM - 9:00PM -- BE THERE!!!

2014-11-11 Thread Jim S
Thanks - the rest of us would really appreciate being able to watch those after the event. -Jim On Tuesday, November 11, 2014 1:33:49 PM UTC-6, Richard Warg wrote: I will bring a video camera. On Tue, Nov 11, 2014 at 8:05 AM, Leonel Câmara leonel...@gmail.com javascript: wrote: Yes,

Re: [web2py] Re: How to fix error type 'exceptions.ImportError'(No module named configuration)?

2014-11-11 Thread John Davis
Hello Leonel, Well after using the entire directory from the original server for web2py and installing various missing system components (mongodb, elaphe, etc.) it at least starts. I get a web2py exception later when I try to authenticate, but that is probably a user config issue. I appreciate

[web2py] py and pyc files

2014-11-11 Thread John Davis
Hello If I get an error in the ticket exception output which shows an error at line x in a .pyc file, can I assume that the corresponding .py file on line x is the error? John -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source

Re: [web2py] Re: Is Web2py ill-suited for apps that heavily interact with other services?

2014-11-11 Thread joseph simpson
Anthony: Would you be willing to share specific information about web2py testing approaches. I plan on starting a web2py project early next year and would like to use a TDD approach. What do you suggest? Have fun, Joe On Tue, Nov 11, 2014 at 9:18 AM, Anthony abasta...@gmail.com wrote: I

Re: [web2py] Re: RSVP: Massimo @ Bay Area web2py meetup (refreshments) -- 12/5/2014, 6:30PM - 9:00PM -- BE THERE!!!

2014-11-11 Thread joseph simpson
Great idea... On Tue, Nov 11, 2014 at 12:30 PM, Jim S j...@qlf.com wrote: Thanks - the rest of us would really appreciate being able to watch those after the event. -Jim On Tuesday, November 11, 2014 1:33:49 PM UTC-6, Richard Warg wrote: I will bring a video camera. On Tue, Nov 11,

Re: [web2py] Re: RSVP: Massimo @ Bay Area web2py meetup (refreshments) -- 12/5/2014, 6:30PM - 9:00PM -- BE THERE!!!

2014-11-11 Thread weheh
Thanks, Richard! I will have a backup just in case. I can offer a tripod as well. But I doubt I'll have the time to edit and post the video, so I really appreciate your volunteering to record the session. On Tuesday, November 11, 2014 11:33:49 AM UTC-8, Richard Warg wrote: I will bring a