Re: [web2py] Re: storing blob field on s3

2015-09-07 Thread Mark Graves
Right. No worries. What about a field of type blob? Will that also accept an uploadfs argument and act the same way? Or do I have to store it as an upload? On Mon, Sep 7, 2015 at 10:38 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Sorry for the late reply: > > pip install fs >

[web2py] Re: "Module proxy_http does not exist!" can't start Web2py

2015-09-07 Thread Massimo Di Pierro
I do not know but I would recommend using the built-in rocket server on a raspberrypy or gunicorn or nginx. Not apache. Apache has lots of memory issue and it will crash your rpy very quickly. On Monday, 7 September 2015 22:40:59 UTC-5, Chris Armour wrote: > > Hello, > > I want to use web2py for

[web2py] Re: ImportError: No module named

2015-09-07 Thread Massimo Di Pierro
can you import it from a normal python shell from the folder where you defined it? is there a __init__.py in that folder? On Monday, 7 September 2015 22:40:58 UTC-5, lenin.marti...@metamaxzone.com wrote: > > Im triying import one test module form.py . > >Module >class Form(o

[web2py] auth_user_registration_key in web2admin

2015-09-07 Thread Dennis Bauszus
web2admin looks like just what i need to enable a super user to manage user profiles. however it doesn't seem to be possible to remove the pending status with web2admin, making it impossible to register user to an application that requires approval without the web2py admin logging on. -- Resou

[web2py] ImportError: No module named

2015-09-07 Thread lenin . martinez
Im triying import one test module form.py . Module class Form(object): def hi(): return 'abc' my controller from form import form but the app generate me one ticket with this error: ImportError: No module named applications.

[web2py] custom validator error

2015-09-07 Thread kvthie0
Hello all, I'm learning the inner workings of web2py and try to make a custom validator called IS_TIME_IN_RANGE (based on the IS_DATE_IN_RANGE validator). I saved the next code in : *www-data/web2py/applications/my_app/modules/customvalidators.py : * *from gluon.validators import IS_TIME*

[web2py] Matplotlib not loading on 2.12.3 while loading on 2.11.2

2015-09-07 Thread anonymous anonymous
I posted this question online and it seems that it would be useful to post it here. tl;dr: I found a work around by creating a symbolic link to matplotlib in the modules folder. http://stackoverflow.com/questions/32428845/why-does-matplotlib-not-work-on-a-digitalocean-vps-with-web2py I've got

[web2py] "Module proxy_http does not exist!" can't start Web2py

2015-09-07 Thread Chris Armour
Hello, I want to use web2py for a Raspberry Pi project, but when I try to install the framework I get: setting up apache modules = Module ssl already enabled Module proxy already enabled ERROR: /etc/apache2/mods-enabled/proxy_http.load is a dangling symlink! ERROR: Module

[web2py] Re: storing blob field on s3

2015-09-07 Thread Massimo Di Pierro
Sorry for the late reply: pip install fs Then on model: import fs.s3fs myfs = fs.s3fs.S3FS(bucket, prefix, aws_access_key, aws_secret_key) db.define_table('image',Field('image','upload',uploadfs = myfs)) which is what you suggest basically. Should work our of the box. On Sunday, 6 September 20

[web2py] Re: Runtime error: unsupported format character

2015-09-07 Thread Heather Dawe
Thanks for your reply Dave. Sorry I missed it - I have posted a similar question above where I have listed my model code in the body of the question. On Thursday, 3 September 2015 02:04:28 UTC+1, Dave S wrote: > > > > On Tuesday, September 1, 2015 at 8:48:27 PM UTC-7, Heather Dawe wrote: >> >>

[web2py] Error: unsupported format character 'n' (0x6e) at index 1

2015-09-07 Thread Heather Dawe
Hello there, I am new to web2py - it is a brilliant framework thank you. I am running the latest version, defining my models and encountering this error when attempting to add a record to a table that defines a many-to-many relationship - when I attempt to add a record to table ModelInstanceDa

[web2py] Re: auth.wiki deployment issue

2015-09-07 Thread 黄祥
please tried web2py latest version in your local first, after it's running well then please update the web2py in pythonanywhere please backup your application first before doing the update and for pythonanywhere update please check this link http://www.web2pyslices.com/slice/show/1942/upgrade-web

[web2py] Re: How do I start the (workers of) queued tasks?

2015-09-07 Thread Phillip
*9-6-15: *The following code was expecting the scheduler to automatically start the queued workers: for dataID in dataIDs: scheduler.queue_task(ImportData, [dataID], immediate=True, timeout=100) # tried without immediate # tried db.commit() after the loop or e

[web2py] Re: auth.wiki deployment issue

2015-09-07 Thread pj00016
Thanks for responding. Pythonanywhere.com has 2.9.12 installed. That is what I have installed on my local host as well. I do not see how to change versions on the pythonanywhere site. Peter On Monday, September 7, 2015 at 1:28:02 AM UTC-4, 黄祥 wrote: > > had you already tried the web2py latest v