[web2py] Re: How to display Users who are not admins

2012-09-12 Thread Frederick Yankowski
I haven't noticed the _select() nested-select method before. Interesting. On Tuesday, September 11, 2012 4:45:04 PM UTC-5, Massimo Di Pierro wrote: > > rows = > db(~db.auth_user.id.belongs(db(db.auth_membership.group_id==auth.id_group('admins'))._select(db.auth_membership.user_id,distinct=True)

[web2py] Re: Remember to delete examples application or become a spam farm

2012-09-12 Thread Frederick Yankowski
I had been removing the welcome and examples apps. They returned when I updated web2py to a new release so I created a routes.py that stubs off those apps. routes_in = ( ('/welcome/?$anything', '/nothing'), ('/examples/?$anything', '/nothing'), ) I don't have a "nothing" app. :) --

[web2py] Re: Errors creating/reading tickets

2012-04-19 Thread Frederick Yankowski
What became of this? I'm seeing the same error in R-1.99.7 today. I have been seeing this error in R-1.99.3 for weeks. I upgraded my dev environment to 1.99.7 hoping that the problem was fixed but its just as bad. On Sunday, March 11, 2012 7:41:14 PM UTC-5, Massimo Di Pierro wrote: > > Please

[web2py] problem viewing errors via admin app because of EOFError exceptions when loading the error pickle

2012-04-19 Thread Frederick Yankowski
When attempting to view an app's errors via the admin app I often get an "Internal error" page instead. Looking in applications/admin/errors/ I see that it encountered an EOFError when trying to load the error file from the app. This is happening in 1.99.7. I was seeing it a lot in 1.99.3 als

Re: [web2py] Re: Errors creating/reading tickets

2012-04-19 Thread Frederick Yankowski
nly see it on my production server that uses Apache/mod_wsgi and not when > I'm just using Rocket for dev. > > Brian > > On Thursday, April 19, 2012 3:19:54 PM UTC-5, Frederick Yankowski wrote: >> >> What became of this? >> >> I'm seeing the same error i

[web2py] Re: Errors creating/reading tickets

2012-06-07 Thread Frederick Yankowski
The fix that I saw was just to ignore the exception during unpickling. As selecta said at least that allows viewing the other tickets. It does not address the root problem of corrupted error files being created.

[web2py] app-level module no longer found before sys.path modules

2013-07-09 Thread Frederick Yankowski
I have an app with a modules/utils.py file that I would import into the controllers as "import utils" and access as "utils.whatever()". That was working fine until I upgraded to web2py 2.5.1 today. Now my app seems to be importing the gluon/utils.py module instead of my app-local one. It's then

[web2py] Re: app-level module no longer found before sys.path modules

2013-07-10 Thread Frederick Yankowski
I have submitted a ticket: https://code.google.com/p/web2py/issues/detail?id=1580 -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googl

[web2py] Re: Errors after upgrade

2013-07-18 Thread Frederick Yankowski
This sounds like the same problem that I reported at https://code.google.com/p/web2py/issues/detail?id=1580 If it is would you please add a comment there. Perhaps we can get someone interested in fixing the problem. I looked at the code involved but I don't understand all the complications of w

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

2013-07-18 Thread Frederick Yankowski
I'm encountering this a lot too, where admin produces that exception frequently. I'm using R-2.5.1. When I remove all files from admin/sessions the error goes away. -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from thi

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

2013-07-19 Thread Frederick Yankowski
Python 2.7.3 CentOS release 5.9 I often see the problem when first bringing up an admin page after not using any admin pages for an hour or so. Because of that delay it's hard to know what the prior operation was. It's often something involving appadmin. -- --- You received this message beca

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

2013-08-16 Thread Frederick Yankowski
By trapping the TypeError exception in globals.py (in web2py 2.5.1) I see that 'self' contains a 'flash' element that is represented this way: . If I modify globals.py to delete that 'flash' element before pickling then the TypeError exception does not occur. So it looks like that lazyT object c

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

2013-08-29 Thread Frederick Yankowski
I have opened https://code.google.com/p/web2py/issues/detail?id=1655 about this problem. -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr..

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

2013-09-03 Thread Frederick Yankowski
It's not fixed for me. I've updated the issue. On Thursday, August 29, 2013 8:14:56 PM UTC-5, Massimo Di Pierro wrote: > > Should be fixed. Can you check? > > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group

[web2py] https://web2py.com/book failing with internal error

2024-11-26 Thread Frederick Yankowski
I can't seem to access the Web2py online book today. All attempts fail with "Internal error". -- 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 receive

[web2py] Re: converting from LDAP to SAML2 authentication

2024-12-05 Thread Frederick Yankowski
Thank you, Simon. I had started down a similar path and got stuck. I will use your code code as a basis to continue that work. On Thursday, December 5, 2024 at 8:57:26 AM UTC-6 simon...@gmail.com wrote: > Hello Fred, > > I had a legacy web2py app until recently that worked with SAML2 > authenti

[web2py] converting from LDAP to SAML2 authentication

2024-12-04 Thread Frederick Yankowski
I have a legacy web2py app that's been using LDAP since 2010 when I created it. We are changing our IT systems to use SAML2 via OneLogin.com for authentication where possible and so I'd like to convert my app from from LDAP to SAML2 authentication. Can anyone provide some examples of SAML2 auth