Re: [Zope-dev] Streaming large files

2004-07-08 Thread Eugene
Hello Thilo,
Thursday, July 8, 2004, 9:07:18 PM, you wrote:

I don't know how it relates to Zope.
There's FFServer (http://ffmpeg.sf.net) - powerful streaming solution.
Or you may be interested in www.MMManager.org - Multimedia manager for
Zope.


TS> hi!
TS> I have to stream large mpeg-files over http with range support. this
TS> works quite nice until the client seeks in the (media)player and the
TS> files aren't to large, because zope caches the whole file...
TS> ...so each seek means streaming the whole file from the requested 
TS> position till end *g*
->> my RESPONSE object doesn't even know, that the player has seeked e.g.
TS> back to the beginning...
TS> is there a way to bypass the zope caching? and how do I know if the
TS> player has disconnected, so I can stop streaming?


TS> thanks in advance
TS> thilo
TS> ___
TS> Zope-Dev maillist  -  [EMAIL PROTECTED]
TS> http://mail.zope.org/mailman/listinfo/zope-dev
TS> **  No cross posts or HTML encoding!  **
TS> (Related lists - 
TS>  http://mail.zope.org/mailman/listinfo/zope-announce
TS>  http://mail.zope.org/mailman/listinfo/zope )



-- 
Best regards,
 Eugenemailto:[EMAIL PROTECTED]

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Streaming large files

2004-07-08 Thread Thilo Staebler
hi!
I have to stream large mpeg-files over http with range support. this 
works quite nice until the client seeks in the (media)player and the 
files aren't to large, because zope caches the whole file...
...so each seek means streaming the whole file from the requested 
position till end *g*
-> my RESPONSE object doesn't even know, that the player has seeked e.g. 
back to the beginning...
is there a way to bypass the zope caching? and how do I know if the 
player has disconnected, so I can stop streaming?

thanks in advance
thilo
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Re: AccessControl Problems on Mac OSX

2004-07-08 Thread Casey Duncan
It looks like this bug was closed due to lack of feedback from the
original poster. I would suggest opening a new collector issue and
reference that one if you think it is the same issue (it certainly
appears to be on the surface).

The collector issue would stand a much better chance of being acted on
if you also submit a patch with a cooresponding unittest that fails on
Mac OS X with the current implementation.

-Casey

On Thu, 8 Jul 2004 15:12:13 +1000 (EST)
"Terry Kerr" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I seem to be having problems relating to AccessControl on MacOSX.  I
> have a python product which I previously ran in Zope2.4.3/Python 2.1.3
> and have upgraded it to run in Zope2.7.1/Python2.3.3.  It runs fine on
> Linux and FreeBSD, however I get this traceback with some actions
> within the product on Mac OSX 10.1
> 
>   Module Products.PageTemplates.Expressions, line 201, in __call__
> 
>   Module Products.PageTemplates.Expressions, line 189, in _eval
> 
>   Module Products.PageTemplates.Expressions, line 145, in _eval
> __traceback_info__: shopper
> 
>   Module Products.PageTemplates.Expressions, line 340, in
>   restrictedTraverse
> __traceback_info__: {'path': ['name'], 'TraversalRequestNameStack':
> []}
> 
> SystemError: NULL result without error in PyObject_Call
> 
> 
> 
> I narrowed this down to a guarded_getattr() problem in the
> AccessControl module.  One thing I notice is that there is a C and a
> Python implementation of the access control stuff.
> 
> If I explicitly set name='PYTHON' at the beginning of
> AccessControl/Implementation.py::setImplementation(), my product works
> fine, so I gather the problem is related to the C implementation.
> 
> Has anyone experienced any similar problems on MacOSX?
> 
> I notice this related issue in the zope collector, but it was
> rejected? http://zope.org/Collectors/Zope/232
> 
> Should I add another issue to the collector?
> 
> terry
> 
> 
> 
> 
> ___
> Zope-Dev maillist  -  [EMAIL PROTECTED]
> http://mail.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope )
> 

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )