[Zope-dev] Re: [Zope-PAS] Re: [Plone-developers] Re: Plugin for PluggableUserFolder

2004-10-11 Thread Lennart Regebro
Tres Seaver wrote: Please continue to include [EMAIL PROTECTED] in this disucssion (in fact, I would recommend trimming *all* the other groups out; interested parties should be willing to move to the more focused list). Except, of course, it has nothing to do with Zope-PAS. But, yet, getting

[Zope-dev] serving BLOBs

2004-10-11 Thread Alan Milligan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I know serving large BLOBs is rather frowned up using Z2, but I have a requirement to use the zope security machinery prior to serving a blob circa 500Mb. I thought I'd just wrap it in an ExternalFile and it would simply stream to the client. In

Re: [Zope-dev] serving BLOBs

2004-10-11 Thread Johan Carlsson
Alan Milligan wrote: Hi, I know serving large BLOBs is rather frowned up using Z2, but I have a requirement to use the zope security machinery prior to serving a blob circa 500Mb. I thought I'd just wrap it in an ExternalFile and it would simply stream to the client. In fact I was even

Re: [Zope-dev] serving BLOBs

2004-10-11 Thread Alan Milligan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johan Carlsson wrote: | | I've looked at the code of the latest release of ExternalFile | and I can't find the new streming interface being used at all? | There's some strange stuff in the ExternalFile::FileUtils::copy_file() function whereby it writes

[Zope-dev] Re: serving BLOBs

2004-10-11 Thread Tres Seaver
Alan Milligan wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I know serving large BLOBs is rather frowned up using Z2, but I have a requirement to use the zope security machinery prior to serving a blob circa 500Mb. I thought I'd just wrap it in an ExternalFile and it would simply stream

Re: [Zope-dev] Re: serving BLOBs

2004-10-11 Thread Johan Carlsson
What exactly is the filestream_iterator that the FileCacheManager uses? As I understand it this is a new feature? Johan -- Johan Carlsson Tel: + 46 8 31 24 94 Colliberty Mob: + 46 70 558 25 24 Torsgatan 72Email: [EMAIL PROTECTED] SE-113 37 STOCKHOLM

Re: [Zope-dev] Re: serving BLOBs

2004-10-11 Thread Johan Carlsson
Johan Carlsson wrote: What exactly is the filestream_iterator that the FileCacheManager uses? As I understand it this is a new feature? Of course the answer was in Chris' presentation you just sent :-) -- Johan Carlsson Tel: + 46 8 31 24 94 Colliberty Mob: + 46 70 558 25 24

Re: [Zope-dev] Re: serving BLOBs

2004-10-11 Thread Tres Seaver
Johan Carlsson wrote: What exactly is the filestream_iterator that the FileCacheManager uses? As I understand it this is a new feature? For Zope = 2.7.2, ZPublisher defines an interface, ZPublisher.Iterators.IStreamIterator. An application can return an object implementing this interface to the

Re: [Zope-dev] Re: serving BLOBs

2004-10-11 Thread Johan Carlsson
Tres Seaver wrote: Johan Carlsson wrote: What exactly is the filestream_iterator that the FileCacheManager uses? As I understand it this is a new feature? For Zope = 2.7.2, ZPublisher defines an interface, ZPublisher.Iterators.IStreamIterator. An application can return an object implementing

Re: [Zope-dev] Re: serving BLOBs

2004-10-11 Thread Tres Seaver
Johan Carlsson wrote: Tres Seaver wrote: Johan Carlsson wrote: What exactly is the filestream_iterator that the FileCacheManager uses? As I understand it this is a new feature? For Zope = 2.7.2, ZPublisher defines an interface, ZPublisher.Iterators.IStreamIterator. An application can return an

Re: [Zope-dev] serving BLOBs

2004-10-11 Thread Dieter Maurer
Alan Milligan wrote at 2004-10-12 00:57 +1000: I know serving large BLOBs is rather frowned up using Z2, but I have a requirement to use the zope security machinery prior to serving a blob circa 500Mb. Apache supports something like remote authentication (it allows you to delegate authentication

[Zope-dev] Re: Showstopper UnicodeDecodeError on Zope import???

2004-10-11 Thread Nick Bower
Wow Dieter - that's a really concise explanation. It'll allow us to fix the product knowing this background. Thanks! Dieter Maurer wrote: Nick Bower wrote at 2004-10-8 16:41 +0200: ... Module Products.ZCTextIndex.Lexicon, line 69, in sourceToWordIds Module Products.ZCTextIndex.Lexicon, line

[Zope-dev] xml-rpc changes between 2.7.0 and 2.7.3 ??

2004-10-11 Thread Alan Milligan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I had a client that used to work on 2.7.0, and now doesn't on 2.7.3. The problem would appear to be that it's not substituting the xmlrpc.Response class for a GET request on a text/xml content type and therefore just delegating to the str()

Re: [Zope-dev] Re: inconsistent mimetype assignment for uploaded files

2004-10-11 Thread Kapil Thangavelu
i believe you were referring to http://freedesktop.org/Software/shared-mime-info spec http://freedesktop.org/Standards/shared-mime-info-spec its a system wide shared mime database for use by applications (ie. both gnome and kde). apparently no python bindings. -kapil On Tue, 2004-10-05 at

Re: [Zope-dev] xml-rpc changes between 2.7.0 and 2.7.3 ??

2004-10-11 Thread Andreas Jung
According to the CHANGES.txt there were no changes to XMLRPC. xmlrpclib.py was removed before 2.7 final because it is part of the Python distro. Looking at your debug output I have no idea what it will show us. Andreas --On Dienstag, 12. Oktober 2004 8:16 Uhr +1000 Alan Milligan [EMAIL

Re: Re: [Zope-dev] xml-rpc changes between 2.7.0 and 2.7.3= ??

2004-10-11 Thread Alan Milligan
According to the CHANGES.txt there were no changes to XMLRPC. xmlrpc.py is not faulty, it's just that an HTTPResponse object is assigned to the text/xml content type rather than the correct xmlrpc.Request :( ___ Zope-Dev maillist - [EMAIL

Re: Re: [Zope-dev] xml-rpc changes between 2.7.0 and 2.7.3==20??

2004-10-11 Thread Andreas Jung
I suggest to look at the cvs log output for that particular file to find something. -aj --On Dienstag, 12. Oktober 2004 5:23 Uhr + Alan Milligan [EMAIL PROTECTED] wrote: According to the CHANGES.txt there were no changes to XMLRPC. xmlrpc.py is not faulty, it's just that an HTTPResponse