[web2py] Unicode bug in XML service

2010-09-30 Thread Clayton
ers.py as far as I can tell, as it doesn't deal with unicode type. Thanks! Clayton

[web2py] basic authorization

2010-11-08 Thread Clayton
request object at all. How do I get the username and password that was passed in? Thanks, Clayton

[web2py] Re: Unicode bug in XML service

2010-11-08 Thread Clayton
enjoyed working with web2py. Thanks for making it happen! Cheers, Clayton On Sep 30, 1:29 pm, mdipierro 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

[web2py] Re: basic authorization

2010-11-08 Thread Clayton
nv.http_authorization[6:] dec=base64.b64decode(code) All fixed, my mistake. Cheers, Clayton On Nov 8, 10:56 pm, mdipierro wrote: > web2py does not touches that... it must be in request.env somewhere. > > On Nov 8, 8:59 pm, Clayton wrote: > > > > > > > > > Hi, &g

[web2py] Bug in response.stream

2010-11-18 Thread Clayton
he file content 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
27;t it be passed 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

[web2py] Re: Bug in response.stream

2010-11-18 Thread Clayton
ling our entire server to use web2py. Clayton On Nov 18, 7:33 pm, mdipierro wrote: > You are right. I was being stupid. I looked at it in a hurry and > indeed this is wrong. I think I fixed it in trunk. Please check it is > fixed all-right. > > massimo > > On Nov 18, 4:06 

[web2py] EOFError loading errors

2012-01-11 Thread Clayton
led error 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] Checking permissions on a group

2011-02-03 Thread Clayton
which 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
d) to members of the group group_id. The problem is, there's no easy way to check if they've been added! Clayton On Feb 3, 9:13 am, Kenneth Lundström wrote: > I think that the idea is that if you belong to a specific group you have > some specific rights. > >

[web2py] Re: Checking permissions on a group

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

[web2py] 1.93.2 broken update_record!

2011-03-07 Thread Clayton
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 wrote: > sess.update_record(lockedby=request.vars.client) used to set the field > "l

[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 wrote: > I think web2py needs regression tests, at least for core functionality

[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 wrote: > This should not cause corpupted data in the database

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

2011-05-12 Thread Clayton
o SELECT groups using the same options, different name. keepvalues resets *both* dropdowns 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
-Pacific Area ArchivistsUBS Europe-ME Area ArchivistsParatext Resource' Strange no? It happens every time. Tried updating to latest trunk code too. Clayton