[web2py] Redirect Error

2015-02-10 Thread Maggs
Hey all, I recently set up a new dev environment with a new version of web2py (2.9.11). In production I am currently running version 1.99.7. When I imported my 1.99.7 apps into version 2.9.11 I had to clean up a few issues, but this one I'm unable to figure out. I have a simple page that update

[web2py] Defining own Auth Tables

2015-02-06 Thread Maggs
Hello all, I'm creating a new question from a brief conversation I had going on in this thread: https://groups.google.com/forum/#!topic/web2py/UYqS8nIkeQY. So basically I have an app that uses nothing but web2py (no wsgi or apache) and in this app I want to add 2 additional "auth" tables. One of

[web2py] Re: Is there an issue with my web2py install? "can't pickle function objects"

2015-02-06 Thread Maggs
auth_group table so I can use it as a foreign key in my auth_app_group table and then do the auth.define_tables() call, however it would be nice if I didn't have to. It's not a big deal, but any reason why in the old version of web2py I could get away with this and now I can't? Than

[web2py] Re: Is there an issue with my web2py install? "can't pickle function objects"

2015-02-06 Thread Maggs
PM UTC-8, Dave S wrote: > > > > On Thursday, February 5, 2015 at 5:57:59 PM UTC-8, Maggs wrote: >> >> I am having this issue right now and it's when trying to set my app up in >> a new dev environment. I'm not using apache or wsdi. Just web2py. >> >

[web2py] Re: Is there an issue with my web2py install? "can't pickle function objects"

2015-02-05 Thread Maggs
I am having this issue right now and it's when trying to set my app up in a new dev environment. I'm not using apache or wsdi. Just web2py. I am trying to open the app for the first time to create the database framework and this error is showing up after it creates my database structure. And the

Re: [web2py] LDAP Auth

2014-02-21 Thread Maggs
il to match it with the password in the db and would use ldap next and login would still work, this doesn't seem to be the case. It is failing completely with the new ldap password. Any ideas on that? Thanks! M On Tuesday, January 14, 2014 6:52:51 AM UTC-8, Richard wrote: > > Hello

Re: [web2py] No module named ...

2014-02-18 Thread Maggs
> > app/controllers > app/cron > app/databases > app/errors > app/languages > app/models > app/modules > app/private > app/sessions > app/static > app/uploads > app/views > > Are they all there (in your prod)? > > > On Tue, Feb 18, 2014 at 4:36 PM

Re: [web2py] No module named ...

2014-02-18 Thread Maggs
There's no app/cache folder as I'm not using any caching in this app. On Tuesday, February 18, 2014 1:30:14 PM UTC-8, Richard wrote: > > So, clean the app by the admin! > > Or delete what in app/cache maybe? > > Richard > > > On Tue, Feb 18, 2014 at 4:27 PM, M

Re: [web2py] No module named ...

2014-02-18 Thread Maggs
be related to the issue with track change of module... > > Richard > > > On Tue, Feb 18, 2014 at 4:06 PM, Maggs > > wrote: > >> Ok this is literally making me crazy. I'm running web2py 2.5.1 in python >> 2.7. On my dev box all is fine. I added a new module cal

Re: [web2py] LDAP Auth

2014-02-18 Thread Maggs
ldap_port = 636 con = ldap.initialize( "ldaps://" + ldap_server + ":" + str(ldap_port)) if cert_path: con.set_option(ldap.OPT_X_TLS_CACERTDIR, cert_path) if cert_file: con.set_option(ldap.OPT_X_TLS_C

[web2py] No module named ...

2014-02-18 Thread Maggs
Ok this is literally making me crazy. I'm running web2py 2.5.1 in python 2.7. On my dev box all is fine. I added a new module called cmgui that is just a wrapper for an outside custom module. Works fine on my dev box. Push it to my prod box and I'm getting "no module named auth.modules.cmgui". I

Re: [web2py] LDAP Auth

2014-01-14 Thread Maggs
Hi Richard, That is perfect and exactly what I need! Thanks so much :) Maggs On Tuesday, January 14, 2014 6:52:51 AM UTC-8, Richard wrote: > > Hello Maggs, > > What you can do is to have 2 differents authentication process the > internal web2py process that will allow you to hav

[web2py] LDAP Auth

2014-01-13 Thread Maggs
Hi all, I am running web2py 2.5.1 and have my auth set up to use secure ldap. Since switching from regular to secure ldap, I've noticed that web2py no longer saves the passwords of any newly added accounts to the db. Though I understand the reason for this since it's secure and all, I do actual

Re: [web2py] LDAP Auth

2014-01-13 Thread Maggs
n solve them... > > Richard > > > On Thu, Dec 19, 2013 at 7:30 PM, Maggs > > wrote: > >> Yes secure ldap is causing a lot of problems. I hope it gets sorted out >> eventually. For now I'm having to modify the framework for my needs. >> >> &

Re: [web2py] LDAP Auth

2013-12-19 Thread Maggs
it > works... I had many issue when I deploy ldap_auth with AD... But I didn't > have time to work further on these issues, we figure it out what was the > bottom of them, but refatoring ldap_auth need time and the most important > tests... > > Richard > > > O

[web2py] LDAP Auth

2013-11-26 Thread Maggs
I am in this situation where my team is in the process of migrating our ldap servers to the vpc and as a result I must update my applications to use secure ldap. I have unfortunately run into an issue with ldap_auth where it will use secure ldap but it only takes a ca cert file, but I need to u

[web2py] Errors after upgrade

2013-07-16 Thread Maggs
So I upgraded from web2py version 1.99.7, which I've been using for some time, to version 2.5.1. I have a module called utility under my modules folder that has multiple functions and is imported at the top of the controller. When I upgraded to version 2.5.1 I am now getting this error: 'module

[web2py] Re: importing issues

2012-12-03 Thread Maggs
Yes On Saturday, December 1, 2012 10:57:45 AM UTC-8, Massimo Di Pierro wrote: > > Did you restart web2py/web server? > > On Friday, 30 November 2012 15:07:26 UTC-6, Maggs wrote: >> >> Hm, ok, that makes sense. However I have changed the name of the module >> within

[web2py] Re: importing issues

2012-11-30 Thread Maggs
always looks first in myapp/modules/ > > technically it is a bug in mymodule/a.py which should not > > import .b > > and not > > import b > > since the module does not know what is the path. > > > On Friday, 30 November 2012 12:32:16 UTC-6, Maggs wrote: >

[web2py] Re: importing issues

2012-11-30 Thread Maggs
Renaming the utility module within the app did not help. On Friday, November 30, 2012 10:32:16 AM UTC-8, Maggs wrote: > > Yes and this is what I was curious about. I do have a utility module under > myapp/modules/, however this cm module is calling it's own utility module > c

[web2py] Re: importing issues

2012-11-30 Thread Maggs
y changing the name of the utility module inside my app and see if it helps though. Thanks! On Friday, November 30, 2012 6:37:41 AM UTC-8, Massimo Di Pierro wrote: > > Do you have anything under yourapp/modules/? > > On Thursday, 29 November 2012 17:30:30 UTC-6, Maggs wrote: >&g

[web2py] importing issues

2012-11-29 Thread Maggs
I recently upgraded to web2py 2.2.1 from 1.99. I have an external set of modules that I am importing into my application. Since I updated to 2.2.1 I am getting errors saying that the module does not have the attribute 'function'. To explain further, I have an external set of modules under the f

[web2py] Re: Web2py hanging with no errors in the log

2012-07-06 Thread Maggs
gt; see this happen right away. It won't be intermittent. > > On Friday, June 22, 2012 4:34:35 PM UTC-4, Maggs wrote: >> >> Hi all, >> >> I have a web2py healthcheck monitoring application. Basically the only >> thing the >> application does is make dat