[web2py] EOFError loading errors

2012-01-11 Thread Clayton
message causing the problems if that would help. Clearing errors helps, but I need to look at the errors and the problem comes back. Thanks, Clayton

[web2py] Bug with multiple SELECT/OPTIONS and keepvalues=True?

2011-05-12 Thread Clayton
to the value of the *last* dropdown on submit. Am I doing something wrong? Clayton

[web2py] Re: Bug with multiple SELECT/OPTIONS and keepvalues=True?

2011-05-12 Thread Clayton
updating to latest trunk code too. Clayton

[web2py] Re: 1.93.2 broken update_record!

2011-03-16 Thread Clayton
Sorry to be a pest, but it's been a week and there still isn't a new version. I'm trying to recover from a server crash and the stable version is still the corrupt one! Clayton On Mar 9, 6:25 pm, Massimo Di Pierro massimo.dipie...@gmail.com wrote: This should not cause corpupted data

[web2py] Re: 1.93.2 broken update_record!

2011-03-08 Thread Clayton
Please note that this bug silently causes corrupt data to be written to the database! Please, please release an update pronto... Clayton On Mar 8, 2:41 pm, Vasile Ermicioi elff...@gmail.com wrote: I think web2py needs regression tests, at least for core functionality

[web2py] 1.93.2 broken update_record!

2011-03-07 Thread Clayton
sess.update_record(lockedby=request.vars.client) used to set the field lockedby in the database to the value of request.vars.client As of 1.93.2, it sets the field lockedby to the value lockedby (the string!). This is with sqlite. Crashes my app. Was I using it wrong to begin with? Clayton

[web2py] Re: 1.93.2 broken update_record!

2011-03-07 Thread Clayton
Issue 210: Typo in gluon.dal.update_record Patched it manually to get my app up and running. This breaks a lot of apps; how soon can a new release get out? Clayton On Mar 7, 4:11 pm, Clayton clayton.grass...@gmail.com wrote: sess.update_record(lockedby=request.vars.client) used to set

[web2py] Checking permissions on a group

2011-02-03 Thread Clayton
is adding and removing permissions from groups. add_permission and del_permission use groups. Shouldn't there perhaps be a function that checks whether a group has a given permission? Or am I just missing something. Cheers, Clayton

[web2py] Re: Checking permissions on a group

2011-02-03 Thread Clayton
no easy way to check if they've been added! Clayton On Feb 3, 9:13 am, Kenneth Lundström kenneth.t.lundst...@gmail.com wrote: I think that the idea is that if you belong to a specific group you have some specific rights. I have not seen anything about giving permissions to groups. Kenneth

[web2py] Re: Checking permissions on a group

2011-02-03 Thread Clayton
You all rock. Thanks for the fast response! Clayton

[web2py] Bug in response.stream

2010-11-18 Thread Clayton
will be streamed at 100 bytes at the time if isinstance(stream, (str, unicode)): stream_file_or_304_or_206(stream, request=request, headers=self.headers) NOT PASSED IN TO stream_file_or_304_206!! Thanks, Clayton

[web2py] Re: Bug in response.stream

2010-11-18 Thread Clayton
in to the stream_file_or_304_or_206 call? Finally, the documentation doesn't seem entirely clear that if request is not passed in as a parameter, it won't stream correctly (or at least that's my experience... it always restarted from the beginning ignoring the http header range). Thanks, Clayton On Nov 18, 4:41

[web2py] Re: Bug in response.stream

2010-11-18 Thread Clayton
): when a controller returns it, web2py streams the file content back to the client in blocks of size chunk_size. request parameter is required to use the chunk start in the HTTP header. Thank again for a fantastic product. We are currently retooling our entire server to use web2py. Clayton

[web2py] Re: Unicode bug in XML service

2010-11-08 Thread Clayton
with web2py. Thanks for making it happen! Cheers, Clayton On Sep 30, 1:29 pm, mdipierro mdipie...@cs.depaul.edu wrote: I would not call this a bug because as a rule web2py supports only utf8 strings. Yet sometime unicode works just fine. I'd call this a suggestion for improvement and I will take

[web2py] Re: basic authorization

2010-11-08 Thread Clayton
(code) All fixed, my mistake. Cheers, Clayton On Nov 8, 10:56 pm, mdipierro mdipie...@cs.depaul.edu wrote: web2py does not touches that... it must be in request.env somewhere. On Nov 8, 8:59 pm, Clayton clayton.grass...@gmail.com wrote: Hi, I created a controller function: def

[web2py] Unicode bug in XML service

2010-09-30 Thread Clayton
. Thanks! Clayton