[web2py] Re: How was DePy 2016? Any videos of talks?

2016-05-27 Thread Cynthia Butler
Thank you! :) On Friday, May 27, 2016 at 1:55:50 PM UTC-4, Massimo Di Pierro wrote: > > Will post the link asap but you can find them in this json meanwhile: > > http://veyepar.nextdayvideo.com/main/C/depy/S/depy_2016.json > > > On Friday, 27 May 2016 12:18:30 UTC-5, Cynthia

[web2py] How was DePy 2016? Any videos of talks?

2016-05-27 Thread Cynthia Butler
I really wanted to attend DePy 2016, but could not. How did it go? I hope videos of talks will be available soon, like last year. Thanks, Cindy -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/

[web2py] Re: web2py 2.9.12 is OUT

2015-01-30 Thread Cynthia Butler
Here's how the update worked for me: - I was on version 2.9.11 (ubuntu 14.04, nginx, uwsgi, mongodb) - I used the "update" button on the admin panel. - It updated most of the files, then stopped with a message that there was no DAL folder with an __init__ file. - So I created them

[web2py] Re: request_reset_password not returning a form

2015-01-26 Thread Cynthia Butler
It looks like your mail.settings.login = keydata['email_pass'] may be just a password. I'm guessing, it depends on what the value of 'email_pass' is. It needs to be the full user@domain:password, like this: name@maildomain:password On Monday, January 26, 2015 at 1:04:05 PM UTC-7, Ian W. Scott

[web2py] Re: put signature on custom auth table

2015-01-24 Thread Cynthia Butler
+ 1 for Name only option. What I do is create an extra field: auth.settings.extra_fields['auth_user'] = [ Field('u_name') ] Then define tables without "username" because I want to use email for login: auth.define_tables(username=False, signature=True) Then hide the first and last names by ma

[web2py] Re: helper function BUTTON - insert in documentation

2015-01-20 Thread Cynthia Butler
I searched "add button" and found some helpful posts. This one in particular helped me: https://groups.google.com/forum/?fromgroups=#!searchin/web2py/add$20button/web2py/tjl407wVlzc/7BBTfMRIDysJ On Monday, January 19, 2015 at 9:55:53 PM UTC-7, Dmitry Ermolaev wrote: > > I use that code: > > prin

Re: [web2py] Re: SQLFORM.factory with upload field - the operation is insecure

2014-12-23 Thread Cynthia Butler
that restriction this time. > > Jim > On Dec 21, 2014 12:18 PM, "Cynthia Butler" > wrote: > >> Did you find an answer to this? Just curious. Thanks. >> >> On Monday, December 15, 2014 8:42:00 AM UTC-7, Jim S wrote: >>> >>> I've

[web2py] Re: SQLFORM.factory with upload field - the operation is insecure

2014-12-21 Thread Cynthia Butler
Did you find an answer to this? Just curious. Thanks. On Monday, December 15, 2014 8:42:00 AM UTC-7, Jim S wrote: > > I've got an issue that is really puzzling me. > > I have a form, SQLFORM.factory with one field, an upload field. > > When I click on submit to submit the form (adding a new record

Re: [web2py] Re: bootstrap 3 - if you care help test trunk now

2014-12-15 Thread Cynthia Butler
@Jim, Thank you very much! Just what I needed to learn what I was doing wrong. ( I was deleting the web2py .css and .js files) On Monday, December 15, 2014 6:48:51 AM UTC-7, Jim S wrote: > > Attached is my layout.html... > > -- Resources: - http://web2py.com - http://web2py.com/book (Documenta

Re: [web2py] Re: bootstrap 3 - if you care help test trunk now

2014-12-14 Thread Cynthia Butler
@Jim S Thank you for your post. I'd like to try it -- bootstrap 3 -- but I"m not sure which src files to link to in the layout.html file. For example, should I keep or delete the links to the web2py.css/.js/.ajax files? I've already downloaded the bootstrap 3 files (.css , .js , /font files)

[web2py] Re: pymongo is installed but I get this error: no driver available ('pymongo',)

2014-05-21 Thread Cynthia Butler
Solved - it depends on how I start/restart web2py with the nginx server (on ubuntu machine) Wrong - Don't do this:sudo /etc/init.d/nginx start Correct - DO THIS WAY:touch/etc/uwsgi/web2py.ini I had forgotten this. I found it by looking at the last 4 lines of the "/scripts/set

[web2py] Re: pymongo is installed but I get this error: no driver available ('pymongo',)

2014-05-20 Thread Cynthia Butler
Should I create a sudoer user = www-data with all root priveleges in my Ubuntu machine? Would that fix the pymongo not found and the permission problems when running web2py with nginx server? Thanks On Tuesday, May 20, 2014 11:11:07 PM UTC-6, Cynthia Butler wrote: > > Finally - It work

[web2py] Re: pymongo is installed but I get this error: no driver available ('pymongo',)

2014-05-20 Thread Cynthia Butler
Finally - It works if I run web2py's python shell as sudo: I thought my nginx was set up as user = www-data. I am confused by /locations/users/permissions in my nginx server set up and web2py file locations/users/permissions. Can you help me understand? cindy@cindy-HP64bit:/home/www-data/web2p

Re: [web2py] web2py conference - online talks

2014-05-20 Thread Cynthia Butler
It was so wonderful to have all the videos posted the day after the conference! I was so grateful for that, I felt like I was right there -- I watched every talk and learned so much. I too had a few skipping back to the first problems, then I changed computers and connections (wired) and didn't

[web2py] Re: pymongo is installed but I get this error: no driver available ('pymongo',)

2014-05-20 Thread Cynthia Butler
Here is the owners/permissions for the web2py dir. How to fix? cindy@cindy-HP64bit:/home/www-data/web2py$ ls -la total 536 drwxr-xr-x 11 www-data www-data 4096 May 7 15:12 . drwxr-xr-x 3 root root 4096 May 7 14:51 .. -rw-rw-r-- 1 www-data www-data 12802 Mar 16 02:35 anyserver.py dr

[web2py] Re: pymongo is installed but I get this error: no driver available ('pymongo',)

2014-05-20 Thread Cynthia Butler
oops, I didn't see the command you wanted me to try-- here it is: looks like there is a problem with my permissions. How to fix this? cindy@cindy-HP64bit:/home/www-data/web2py$ python web2py.py -S welcome -P web2py Web Framework Created by Massimo Di Pierro, Copyright 2007-2014 Version 2.9.5-stab

[web2py] Re: pymongo is installed but I get this error: no driver available ('pymongo',)

2014-05-20 Thread Cynthia Butler
I already did try the web2py shell and copied the output in my previous reply. You might need to scroll down to see it or click to see the 'trimmed" output. I can import pymongo, but I can't connect to the database. Thanks On Tuesday, May 20, 2014 7:29:41 AM UTC-6, Massimo Di Pierro wrote: >

[web2py] Re: pymongo is installed but I get this error: no driver available ('pymongo',)

2014-05-20 Thread Cynthia Butler
Does the sys.path looks right to you? In [10] : showpath() "['', '/home/www-data/web2py/gluon', '/home/www-data/web2py/site-packages', '/home/www-data/web2py', '.', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/u

[web2py] Re: pymongo is installed but I get this error: no driver available ('pymongo',)

2014-05-19 Thread Cynthia Butler
help web2py to find pymongo? Thanks very much! On Saturday, May 17, 2014 7:43:51 PM UTC-6, Cynthia Butler wrote: > > I am trying to use MongoDB 2.6.1 and pymongo 2.7 with the DAL on my local > ubuntu 14.04 machine. > I have followed instructions in Alan's slice but web2py is

[web2py] Re: pymongo is installed but I get this error: no driver available ('pymongo',)

2014-05-19 Thread Cynthia Butler
I restarted the nginx webserver and got the internal web2py python shell working again. Still don't know how to get web2py to find pymongo. Any hints? On Saturday, May 17, 2014 7:43:51 PM UTC-6, Cynthia Butler wrote: > > I am trying to use MongoDB 2.6.1 and pymongo 2.7 with the DAL

[web2py] pymongo is installed but I get this error: no driver available ('pymongo',)

2014-05-18 Thread Cynthia Butler
I am trying to use MongoDB 2.6.1 and pymongo 2.7 with the DAL on my local ubuntu 14.04 machine. I have followed instructions in Alan's slice but web2py is not able to find the pymongo driver. It works ok from the python shell and the mongo shell also works. My guess is that I don't have someth

[web2py] Re: How to start web2py server as linux daemon along with nginx?

2014-04-28 Thread Cynthia Butler
UTC-5, Massimo Di Pierro wrote: >> >> You can try >> >> On Saturday, 26 April 2014 13:29:08 UTC-5, Cynthia Butler wrote: >>> >>> I followed the instructions in the book Chapter 13 "Start as Linux >>> daemon". But when I type this on comman

[web2py] Re: Error on the nginix-uwsgi-ubunto setup script?

2014-04-28 Thread Cynthia Butler
Thank you very much! On Saturday, April 26, 2014 12:48:37 PM UTC-6, Niphlod wrote: > > it's an ini file. > all "errors" are in commented lines...I'll send a PR to fix it. > > On Saturday, April 26, 2014 10:51:04 AM UTC+2, Cynthia Butler wrote: >> >>

[web2py] Re: "Tk library is not installed" which package do I need and where do I install it?

2014-04-28 Thread Cynthia Butler
Yes, I agree, I have been working just fine without it. Thank you! On Saturday, April 26, 2014 9:39:03 PM UTC-6, Massimo Di Pierro wrote: > > That is not a critical error. Web2py works well without it. > > Massimo > > On Saturday, 26 April 2014 15:51:18 UTC-5, Cynthia Butl

[web2py] Re: Error on the nginix-uwsgi-ubunto setup script?

2014-04-26 Thread Cynthia Butler
is such an easy one to do and would save other noob's alot of time/frustration. Can someone submit the fix for me or should I learn to do it? Thank you for web2py, I really like this framework -- my favorite so far! On Saturday, April 26, 2014 2:51:04 AM UTC-6, Cynthia Butler wrote: > >

[web2py] "Tk library is not installed" which package do I need and where do I install it?

2014-04-26 Thread Cynthia Butler
My machine: ubuntu 14.04 LTS, 64 bit My web2py: 2.9.5-stable+timestamp.2014.03.16.02.35.39 I get this when running web2py.py: "WARNING:web2py:GUI not available because Tk library is not installed" I tried downloading/installing Tk 8.6.1 from Active State but it didn't fix it. I also tried:

[web2py] How to start web2py server as linux daemon along with nginx?

2014-04-26 Thread Cynthia Butler
I followed the instructions in the book Chapter 13 "Start as Linux daemon". But when I type this on command line: sudo /etc/init.d/web2py start I get this error: * Starting Web Framework web2py chown: invalid user: 'web2py' start-stop-daemon: user 'web2py' not found I think it's caused by the

[web2py] Error on the nginix-uwsgi-ubunto setup script?

2014-04-26 Thread Cynthia Butler
Which file extension is correct, .xml or .ini , in this snippet from "web2py/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh"? # Create configuration file /etc/uwsgi/web2py.xml echo '[uwsgi] socket = /tmp/web2py.socket pythonpath = /home/www-data/web2py/ mount = /=wsgihandler:application processes = 4