[web2py] Binary Distribution questions

2022-11-27 Thread William Rosa
I have a unique constraint for an application. am building for work. Due to the sensitive nature of the data, the tooling my team uses must run locally instead of being hosted somewhere as a web app. I am looking into using Web2py binary distribution method, but I am coming short on several

[web2py] vscode with web2py

2019-11-28 Thread william vegas
Hello guys. Any of you have configured vscode to work with web2py? that it recognizes all the methods and so on. Do you know any video or guide? Any help would be appreciated! Thanks! -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py

[web2py] How to set up email notification for a failed scheduler task?

2019-04-18 Thread William
Hi, is it possible to set up the scheduler to send me a email notifying me of any failed scheduled tasks? Thanks. -- 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

[web2py] Re: Web3py

2019-04-18 Thread William
Just a note, the brand name Web3py is also used by another application and is the top result if you google for "web3py". -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list

[web2py] Re: Clearing cache for multiple processes / threads

2019-04-09 Thread William
Just 2 lines: cache.ram(cache_key, None) cache.disk(cache_key, None) Is there a way to clear cache for all processes? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list

[web2py] Clearing cache for multiple processes / threads

2019-04-08 Thread William
Hi all, I have been trying to clear cache using cache.ram(key, None), but the cleared cached value still appears even after clearing. I suspect this is due to multiple processes / threads. Does anyone know how I can clear cache for all running processes? Thank you. -- Resources: -

[web2py] Re: Thank you Web2py community - I have completed a live application, ViewBase.com, using Web2py

2019-04-06 Thread William
Thank you! I have learnt lots from this project. -- 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

[web2py] Thank you Web2py community - I have completed a live application, ViewBase.com, using Web2py

2019-04-05 Thread William
this project. I was and still am amazed by how user-friendly and well thought out this web framework is. Cheers to the community and hope we will continue to see more success in future. Regards, William -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http

[web2py] Re: Web2py freezes when inserting rows. Problem seems to be database connection limit per application.

2019-03-01 Thread William
I have somehow fixed this by adding "*enable-threads = true*" to my uwsgi ini file. Just leaving this here in case someone faces the same problem. [uwsgi] chdir = /opt/web2py_apps/web2py module = wsgihandler:application master = true *enable-threads = true* processes = 10 uid = web2py socket

[web2py] Web2py freezes when inserting rows. Problem seems to be database connection limit per application.

2019-02-27 Thread William
Hi all, my application has a tendency to freeze whenever I run a process that inserts row to the database. Does anyone know how to fix this? I'm currently deploying Web2py on DigitalOcean using nginx + uwsgi and MySQL database. My uwsgi has the following settings: chdir =

[web2py] I lost my admin password how i can recover it

2019-02-15 Thread william Henry
I lost my admin password how i can recover 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 received this message because you are subscribed to the

[web2py] Re: Getting "invalid controller" error after updating routes.py (DigitalOcean setup)

2018-12-27 Thread William
Ok managed to fix this problem by restarting my droplet *facepalm*. Case closed. -- 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

[web2py] Getting "invalid controller" error after updating routes.py (DigitalOcean setup)

2018-12-27 Thread William
Hi all, I have successfully deployed Web2py on DigitalOcean following this tutorial . But after updating my routes.py file, I sometimes get the error "*invalid controller*" when I visit pages. This is what I wrote in the routes.py file:

[web2py] How to stop page load or function if it exceeds a time limit?

2018-08-20 Thread William
I understand web2py discourages the use of multiprocessing. Are there any other methods where we can break a function after running for a specific time limit? Thanks! -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Help a noob - I have run script setup-web2py-nginx-uwsgi-ubuntu.sh, now what?

2018-07-07 Thread William Chen
Hi web2py community, I am a complete noob, so bear with me. I have set up my server on DigitalOcean, set up my SSH and user permissions, and run the following script successfully: cd ~/ wget https://raw.githubusercontent.com/web2py/web2py/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh chmod

[web2py] Integrating existing web2py with GitHub

2017-07-28 Thread William Ross
Hello, I have an existing web2py project that I edit through the admin interface. To backup the project I am manually pushing that code to a GitHub. I saw that under the 'Manage' tab there are options to 'Git Pull' and 'Git Push' which requires the gitpython module. Looking through threads on

[web2py] Using an inherited database with special characters in field names in table

2017-02-05 Thread William López
Is there any way to use an inherited mssql database with field names in the tables with: "ventas_año", "teléfono", "dirección". The database and its tables are used in an application with VFP9 and I want to develop a new application in web2py. I've tried doing it this way and it did not work:

[web2py] Tornado

2016-10-24 Thread William
How to run my own tornado file on web2py. -- 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

[web2py] How to embed uploaded PDF?

2015-12-05 Thread William Chen
Does anyone know how to embed an uploaded PDF on a page? I know the download URL given by {{=URL('download',args=row.field_name)}}, but this URL does not seem to work for embedding. For example, the URL does not work for PDFObject: function embedPDF(){ var myPDF = new PDFObject({

[web2py] Re: Check file size before upload process

2015-03-10 Thread William Chen
I believe you can use 'onvalidation' to check the file size before upload. http://web2py.com/books/default/chapter/29/07/forms-and-validators#onvalidation -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Web2py freezes when uploading a file greater than IS_LENGTH maxsize

2015-02-19 Thread William Chen
Hi all, *Background:* I have created a file upload form where you can upload any file smaller than 1MB. This is the db field for the file: Field('file1', 'upload', requires = IS_LENGTH(minsize=0, maxsize=1048576, error_message='File is too huge.')), *Problem:* When I try to upload a huge

[web2py] Re: reddit clone - foreign key constraint failed

2014-12-23 Thread William Chen
Hi Chris, I had the same problem and found this thread when I was searching for a solution. The solution is to simply create 1 or more comments using app admin. If table B references table A, then you need populate to populate table A before you populate table B, else there will be an error.

[web2py] Creating a custom authentication method: type 'exceptions.NameError'(global name 'user' is not def

2014-06-06 Thread William Lewis
Hi I am trying to create and add a custom authentication method and incorporate it into web2py. Here is my authentication method: import win32security import pywintypes def auth_local(username, password): try: token = win32security.LogonUser(Username=username,

[web2py] Altering wizard metadata

2011-06-17 Thread William Tate
I created an application some time ago using the wizard but I did not set the email settings at the time. They're correct in the db.py file but I still can't get the email function to work. In interactive mode, it's picking up settings (I think) from wizard.metadata file. A test application

[web2py] Re: Altering wizard metadata

2011-06-17 Thread William Tate
Oh dang - sorry about that - I should have looked at the 0.py file. Thanks again.

[web2py] Re: Important Pycon 2011

2011-01-28 Thread William
Sorry I can't go to Pycon 2011. But I would be appreciated if you can post an article about the experience on your blog. Thanks, Bill

[web2py] Re: The web of connected p2p web2py apps ? (or a new kind of social network)

2011-01-28 Thread William
I don't know why people are constantly talking about the NOSQL hype. why bother them? Sqlite is included in web2py. I would rather to see a user admin which is better than django's. -Bill

[web2py] Re: Is there an alternative to Django's Pinax in the world of Web2py?

2011-01-28 Thread William
if somebody can use web2py to build a facebook like or groupon like site, that would beat django or pinax :) i want to see web2py go to mainstream, it is so young! -Bill

[web2py] Re: django admin like app/plugin in web2py

2011-01-27 Thread William
Just vote it! why nobody care this? They claim django admin is the kill feature of django.

[web2py] Re: can web2py support RESTful api calls? if so any pointers on how to build one?I

2011-01-27 Thread William
Thanks cfh. I am wondering could you write a blog or forum post about the post interface you did? that will be very helpful. -Bill

[web2py] django admin like app/plugin in web2py

2011-01-26 Thread William
Hi all, I just got started in web2py and like it so far. I noticed that it has a admin and an appadmin for each app. but i think appadmin is not for the users, right? is there an app or plugin like django admin or django grappelli? Thanks, Bill

[web2py] how to add new highlighter?

2011-01-24 Thread William
Hi all, I just get started with web2py and it seems cool so far. I am interesting in the code highlighting function. now i only know i can get that by use CODE helper. I am wondering how to incorporate new language except the default ones. Thanks, Bill

[web2py] jqgrid question

2010-11-23 Thread William
I want to display a jqgrid table on the web, I set that the table shows 20 records as default. And right now I have 23 records in total. Therefore, its page number should be 2. However, If I don't click the bottom-right, its page number is always 3, how can I do to correct it? Thank you for your

[web2py] Re: jqgrid question

2010-11-23 Thread William
yes On Nov 23, 3:41 pm, mdipierro mdipie...@cs.depaul.edu wrote: are you using plugin_wiki? On Nov 23, 2:16 pm, William angsen2...@gmail.com wrote: I want to display a jqgrid table on the web, I set that the table shows 20 records as default. And right now I have 23 records in total

[web2py:33265] Re: web2py 1.68.1 is OUT

2009-10-20 Thread william wang
I am not running it properly~ I don't know why. I download the latest source code. Upzip.Run: python web2py.py the browser auto startup. Show Invalid Request And the console: web2py william$ python web2py.py WARNING:root:unable to import dbhash default applications appear to be installed

[web2py:33268] Re: web2py 1.68.1 is OUT

2009-10-20 Thread william wang
Sorry, my bad. It's working great! On Oct 21, 12:05 pm, william wang 7be...@gmail.com wrote: I am not running it properly~ I don't know why. I download the latest source code. Upzip.Run: python web2py.py the browser auto startup. Show Invalid Request And the console: web2py william

[web2py:33127] belongs() in GAE

2009-10-19 Thread william wang
)).select (orderby=~db.posts.created_at) Can you guys help me out with a equal solution for GAE? Thanks, William --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email

[web2py:33129] Re: auth() form customization

2009-10-19 Thread william wang
auth.login() return a SQLFORM I read form manual that SQLFORM supports form.custom {{f=form.custom}} {{=f.begin}} p blablabla /p {{=f.end}} On Oct 19, 2:16 pm, baloan balo...@googlemail.com wrote: Hello, during authorisation the auth() method generates form html code like this: form