[Zope-dev] PageTemplate Internet Explorer error

2002-03-20 Thread Terry Kerr

Hi,

I have the latest PageTemplates, ZTUtils, and TAL installed on Zope 2.4.3 
with python 2.1.1 on Linux.

Whenever I try to create or edit a PageTemplate using IE5.5 or IE6 on 
windows I get the following error. It works fine however when I use 
Netscape or Mozilla on windows or linux.

I have seen some other emails about this error, but none seemed to suggest 
that the problem was ever solved.  Is somebody working on this, or has 
somebody found a solution?


terry kerr


Site Error
An error was encountered while publishing this resource. 

Error Type: Undefined
Error Value: manage_page_header not found in here/manage_page_header






Troubleshooting Suggestions

The URL may be incorrect. 
The parameters passed to this resource may be incorrect. 
A resource that this resource relies on may be encountering an error. 
For more detailed information about the error, please refer to the HTML 
source for this page. 

If the error persists please contact the site maintainer. Thank you for 
your patience. 

Traceback (innermost last):
  File /home/zope/Zope/lib/python/ZPublisher/Publish.py, line 223, in 
publish_module
  File /home/zope/Zope/lib/python/ZPublisher/Publish.py, line 187, in 
publish
  File /home/zope/Zope/lib/python/Zope/__init__.py, line 226, in 
zpublisher_exception_hook
  File /home/zope/Zope/lib/python/ZPublisher/Publish.py, line 171, in 
publish
  File /home/zope/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
(Object: ptAdd)
  File /home/zope/Zope/lib/python/ZPublisher/Publish.py, line 112, in 
call_object
(Object: ptAdd)
  File /home/zope/Zope/lib/python/Shared/DC/Scripts/Bindings.py, line 324, 
in __call__
(Object: ptAdd)
  File /home/zope/Zope/lib/python/Shared/DC/Scripts/Bindings.py, line 354, 
in _bindAndExec
(Object: ptAdd)
  
File /home/zope/Zope/lib/python/Products/PageTemplates/PageTemplateFile.py, 
line 163, in _exec
(Object: ptAdd)
  File /home/zope/Zope/lib/python/Products/PageTemplates/PageTemplate.py, 
line 156, in pt_render
(Object: ptAdd)
(Info: {'container': __FactoryDispatcher__ instance at 90c56d8,
 'here': __FactoryDispatcher__ instance at 90c56d8,
 'modules': Products.PageTemplates.ZRPythonExpr._SecureModuleImporter 
instance at 0x95dabdc,
 'nothing': None,
 'options': {'args': ()},
 'request': 
h3form/h3table/tableh3cookies/h3table/tableh3other/h3ta
bletr valign=top 
align=leftthAUTHENTICATION_PATH/thtd''/td/trtr valign=top 
align=leftthURL3/thtd'http://orgazmo.adroit:8080'/td/trtr 
valign=top 
align=leftthURL0/thtd'http://orgazmo.adroit:8080/manage_addProduct/
PageTemplates/ptAdd'/td/trtr valign=top 
align=leftthURL1/thtd'http://orgazmo.adroit:8080/manage_addProduct/
PageTemplates'/td/trtr valign=top 
align=leftthBASE3/thtd'http://orgazmo.adroit:8080/manage_addProduct
/PageTemplates'/td/trtr valign=top 
align=leftthURL2/thtd'http://orgazmo.adroit:8080/manage_addProduct'
/td/trtr valign=top 
align=leftthBASE1/thtd'http://orgazmo.adroit:8080'/td/trtr 
valign=top align=leftthtraverse_subpath/thtd[]/td/trtr 
valign=top 
align=leftthSERVER_URL/thtd'http://orgazmo.adroit:8080'/td/trt
r valign=top align=leftthPUBLISHED/thtdlt;PageTemplateFile 
instance at 91b4888gt;/td/trtr valign=top 
align=leftthURL/thtd'http://orgazmo.adroit:8080/manage_addProduct/P
ageTemplates/ptAdd'/td/trtr valign=top 
align=leftthAUTHENTICATED_USER/thtdAnonymous User/td/trtr 
valign=top 
align=leftthBASE2/thtd'http://orgazmo.adroit:8080/manage_addProduct
'/td/trtr valign=top 
align=leftthTraversalRequestNameStack/thtd[]/td/trtr 
valign=top 
align=leftthBASE0/thtd'http://orgazmo.adroit:8080'/td/trtr 
valign=top 
align=leftthBASE4/thtd'http://orgazmo.adroit:8080/manage_addProduct
/PageTemplates/ptAdd'/td/trtr valign=top 
align=leftthURL0/thtdhttp://orgazmo.adroit:8080/manage_addProduct/P
ageTemplates/ptAdd/td/trtr valign=top 
align=leftthURL1/thtdhttp://orgazmo.adroit:8080/manage_addProduct/P
ageTemplates/td/trtr valign=top 
align=leftthURL2/thtdhttp://orgazmo.adroit:8080/manage_addProduct/
td/trtr valign=top 
align=leftthURL3/thtdhttp://orgazmo.adroit:8080/td/trtr 
valign=top 
align=leftthBASE0/thtdhttp://orgazmo.adroit:8080/td/trtr 
valign=top 
align=leftthBASE1/thtdhttp://orgazmo.adroit:8080/td/trtr 
valign=top 
align=leftthBASE2/thtdhttp://orgazmo.adroit:8080/manage_addProduct
/td/trtr valign=top 
align=leftthBASE3/thtdhttp://orgazmo.adroit:8080/manage_addProduct/
PageTemplates/td/trtr valign=top 
align=leftthBASE4/thtdhttp://orgazmo.adroit:8080/manage_addProduct/
PageTemplates/ptAdd/td/tr/tableh3environ/h3tabletr 
valign=top align=leftthHTTP_ACCEPT_ENCODING/thtd'gzip, 
deflate'/td/trtr valign=top 
align=leftthchannel.creation_time/thtd1016684537/td/trtr 
valign=top 
align=leftthSERVER_PROTOCOL/thtd'HTTP/1.1'/td/trtr 
valign=top align=leftthSERVER_PORT/thtd'8080'/td/trtr 
valign=top 
align=leftthPATH_INFO/thtd'/manage_addProduct/PageTemplates/ptAdd'
/td/trtr valign=top 
align

[Zope-dev] recursion depth exceeded

2002-03-05 Thread Terry Kerr

Hi,

I am running a fairly high traffic Zope server where people occassionly ftp 
files in and out of the server.

Approximately once per week, the zope process will go to using 99%CPU and stay 
like that untill it is restarted.   The error shown in the stupid log file is:

2002-03-06T01:22:41 ERROR(200) ZServer uncaptured python exception, closing 
channel zope_ftp_channel connected 202.129.84.50:64011 at 8ac4ecc 
(exceptions.RuntimeError:maximum recursion depth exceeded 
[/usr/local/lib/python2.1/asyncore.py|poll|104] 
[/usr/local/lib/python2.1/asyncore.py|handle_write_event|393] 
[/usr/local/zope/Zope-2.4.3-src/ZServer/medusa/asynchat.py|handle_write|147] 
[/usr/local/zope/Zope-2.4.3-src/ZServer/medusa/asynchat.py|initiate_send|209] 
[/usr/local/zope/Zope-2.4.3-src/ZServer/medusa/asynchat.py|refill_buffer|190] 
[/usr/local/zope/Zope-2.4.3-src/ZServer/medusa/ftp_server.py|close|179] 
[/usr/local/zope/Zope-2.4.3-src/ZServer/medusa/ftp_server.py|close|903] 
[/usr/local/lib/python2.1/asyncore.py|close|355] 
[/usr/local/lib/python2.1/asyncore.py|del_channel|241] 
[/usr/local/lib/python2.1/asyncore.py|__getattr__|361] 
[/usr/local/lib/python2.1/asyncore.py|__getattr__|361] 
[/usr/local/lib/python2.1/asyncore.py|__getattr__|361] 
[/usr/local/lib/python2.1/asyncore.py|__getattr__|361] 
[/usr/local/lib/python2.1/asyncore.py|__getattr__|361] 
[/usr/local/lib/python2.1/asyncore.py|__getattr__|361] 
[/usr/local/lib/python2.1/asyncore.py|__getattr__|361] 
[/usr/local/lib/python2.1/asyncore.py|__getattr__|361] 
[/usr/local/lib/python2.1/asyncore.py|__getattr__|361] 
[/usr/local/lib/python2.1/asyncore.py|__getattr__|361] 
[/usr/local/lib/python2.1/asyncore.py|__getattr__|361] 
[/usr/local/lib/python2.1/asyncore.py|__getattr__|361] 
[/usr/local/lib/python2.1/asyncore.py|__getattr__|361] 
[/usr/local/lib/python2.1/asyncore.py|__getattr__|361]   and so on...


Line 361 in asyncore.py is:

358# cheap inheritance, used to pass all other attribute
359# references to the underlying socket object.
360def __getattr__ (self, attr):
361return getattr (self.socket, attr)


It hints to me that it is some sort of ftp server error that is causing the 
problem.  I have looked into it, but most of it is over my head and I was hoping 
somebody could help.  I have tried to reproduce the error, but without success.

The server is:
FreeBSD4.3
Zope 2.4.3 (from src)
python 2.1.2

terry


-- 
Terry Kerr ([EMAIL PROTECTED])
Chief Technical Officer
Bizar Software Pty Ltd (www.bizarsoftware.com.au)
+61 3 9530 9182


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



[Zope-dev] logging crash

2002-01-29 Thread Terry Kerr

Hi,

I have modified ZServer/medusa/http_server.py::http_request.log() so that the 
host is tacked onto the end of the log file.  This is so that I can track my 
virtual hosts.  The modification is very simple...only two lines added as shown 
by the *:

*   host=self.get_header('host')
 self.channel.server.logger.log (
 self.channel.addr[0],
 ' - %s [%s] %s %d %d %s %s %s\n' % (
 name,
 self.log_date_string (time.time()),
 self.request, # blah...change this
 self.reply_code,
 bytes,
 referer,
 user_agent,
*   host
 )
 )


However, my server is continually crashing and restarting about 4 or 5 times per 
day, and my log file shows up one particulary error quite regularly followed by 
the server crash:

2002-01-30T02:02:02 ERROR(200) ZServer uncaptured python exception, closing 
channel zhttp_channel connected 24.237.103.242:4496 at 8a2b88c channel#: 5927 
requests: (exceptions.AttributeError:'None' object has no attribute 'split' 
[/usr/local/lib/python2.1/asyncore.py|poll|104] 
[/usr/local/lib/python2.1/asyncore.py|handle_write_event|393] 
[/usr/local/zope/Zope-2.4.3-src/ZServer/medusa/asynchat.py|handle_write|147] 
[/usr/local/zope/Zope-2.4.3-src/ZServer/medusa/asynchat.py|initiate_send|209] 
[/usr/local/zope/Zope-2.4.3-src/ZServer/medusa/asynchat.py|refill_buffer|196] 
[/usr/local/zope/Zope-2.4.3-src/ZServer/Producers.py|more|108] 
[/usr/local/zope/Zope-2.4.3-src/ZServer/medusa/http_server.py|log|287])
--
2002-01-30T02:02:03 ERROR(200) zdaemon zdaemon: Wed Jan 30 13:02:03 2002: 
Aiieee! 21875 exited with error code: 256

This hints that the server is crashing when trying to log, although I cannot 
figure out why.  I cannot see where the 'split' comes into it.

The server is getting about 50,000 hits per day.  I am running 2.4.3, with 
python 2.1.2 on freebsd.

I originally found the logging hack on the zope site somewhere and cannot find 
it again.

Can any one explain why it would crash so often.


terry

-- 
Terry Kerr ([EMAIL PROTECTED])
Chief Technical Officer
Bizar Software Pty Ltd (www.bizarsoftware.com.au)
+61 3 9530 9182


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



[Zope-dev] Catalog Text Indexing

2001-11-13 Thread Terry Kerr

Hi,

Is there any particular reason that a Text Index will index an object by
acquiring the value to index?  Shouldn't it not index at all if the
value doesn't exist on the object?

The only way I can get my objects to not be indexed if they don't have
the indexing attribute is to set the attribute to None, reindex, then
remove the attribute.  By make this simple change to
lib/python/Products/PluginIndexes/TextIndex/TextIndex.py


353c353,354
 source = getattr(obj, self.id)
---
 from Acquisition import aq_base
 source = getattr(aq_base(obj), self.id)

The object is only indexed if the value exists on that object.  This
fixes my problem.

I believe KeyWord Indexes have the same problem

Terry




-- 
Terry Kerr ([EMAIL PROTECTED])
Chief Technical Officer
Bizar Software Pty Ltd (www.bizarsoftware.com.au)
Phone: +61 3 9563 4461
Fax: +61 3 9563 3856
ICQ: 79303381

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



[Zope-dev] rotating_file_logger error

2001-10-09 Thread Terry Kerr

Hi,

After seeing http://www.zope.org/Members/tim/logmanagement I attempted
to setup log file rotation but Zope wouldn't start due to an error in
ZServer/medusa/logger.py (Zope 2.4.1).

The error is obvious at lines 106,108,110, time.mktime() is called with
9 arguements rather than a tuple of 9 elements.  Simple changing this
appears to fix the rotating logger.

Surely others have come across this?  Or am I the only one who rotates
Zope logs like this?

I would put it inthe collector except that it is down.

terry


-- 
Terry Kerr ([EMAIL PROTECTED])
Chief Technical Officer
Adroit Internet Solutions (www.adroit.net)
Phone: +61 3 9563 4461
Fax: +61 3 9563 3856
ICQ: 79303381

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



[Zope-dev] Dreamweaver, Webdav and PUT.

2001-09-19 Thread Terry Kerr

Hi,

I am having trouble PUT'ing new files into Zope using webdav from
dreamweaver.

  I have dreamweaver 4 with the 4.01 update, and are running zope2.4.1
with python 2.1.  I have create a html file 'untitiled.html' and are
trying to PUT that into the root folder of my Zope instance.  I have
setup webdav on port 8081, and authentication is setup correctly as I
can GET, LOCK, UNLOCK and PUT files that already exist in the Zope tree,
just not create a new file using PUT.

From looking at the zope logs, Dreamweaver seems to issue the following
commands when creating the new file.

PROPFIND /untitled.html HTTP/1.1 404 2305 
PROPFIND /untitled.html HTTP/1.1 404 2305 
LOCK /untitled.html HTTP/1.1 200 765 
PROPFIND /untitled.html HTTP/1.1 404 2304 

The LockNullResource object is created in the Zope root, however then
dreamweaver spits out an error The desired action could not be
completed because the resource was not found.

From looking into the the
lib/python/webdav/NullResource.py::LockNullResource code, it seems that
calling PROPFIND on the LockNullResouce will always return not found!  

def HEAD(self, REQUEST, RESPONSE):
Retrieve resource information without a response message
body.
self.dav__init(REQUEST, RESPONSE)
raise 'Not Found', 'The requested resource does not exist.'

# Most methods return 404 (Not Found) for null resources.
DELETE=OPTIONS=TRACE=PROPFIND=PROPPATCH=COPY=MOVE=HEAD

It seems to me that you can never create a new file using webdav!

Has anyone else come across this?  Is there a work around?

terry


-- 
Terry Kerr ([EMAIL PROTECTED])
Chief Technical Officer
Adroit Internet Solutions (www.adroit.net)
Phone: +61 3 9563 4461
Fax: +61 3 9563 3856
ICQ: 79303381

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



[Zope-dev] RE: Dreamweaver, Webdav and PUT.

2001-09-19 Thread Terry Kerr

Hi,

I discovered that if I define the PROPFIND method on the
LockNullResource class as follows:

def PROPFIND(self, REQUEST, RESPONSE):
Retrieve properties defined on the resource.
self.dav__init(REQUEST, RESPONSE)
cmd=davcmds.PropFind(REQUEST)
result=cmd.apply(self)
RESPONSE.setStatus(207)
RESPONSE.setHeader('Content-Type', 'text/xml; charset=utf-8')
RESPONSE.setBody(result)
return RESPONSE

then the dreamweaver PUT works perfectly.  I don't know enough about
Webdav to know if this is a satisfactory fix or not, but it seems to
work for me.  The collector is down currently but I will put it in when
it is back up unless others advise me not to.

terry


-- 
Terry Kerr ([EMAIL PROTECTED])
Chief Technical Officer
Adroit Internet Solutions (www.adroit.net)
Phone: +61 3 9563 4461
Fax: +61 3 9563 3856
ICQ: 79303381

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



Re: [Zope-dev] thread locking and ZODB

2001-09-12 Thread Terry Kerr

Chris,

I notice in the ZODB2 article that it states that the conflict
resolution method should return the state of the object after resolving
the differences..  However, in the example the method only returns the
portion of the state that was deamed to be in conflict.  Shouldn't it be
returning the entire new state dictionary?

terry


Chris Withers wrote:

 
 Indeed. The is called conflict resolution and your problem is solved as an
 example in:
 http://www.zope.org/Documentation/Articles/ZODB2
 ...in the section Resolving Conflicts


-- 
Terry Kerr ([EMAIL PROTECTED])
Bizar Software Pty Ltd (www.bizarsoftware.com.au)
Phone: +61 3 9563 4461
Fax: +61 3 9563 3856
ICQ: 79303381

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



[Zope-dev] thread locking and ZODB

2001-09-11 Thread Terry Kerr

Hi,

I have a method which increments an attribute on the current object.  I
have created a thread lock so that multiple threads accessing the method
simultaneously cannot stuff up the attribute value:

lock = thread.allocate_lock()

def nextOrderNumber(self):
lock.acquire()
self._order_number = self._order_number + 1
lock.release()
return str(self._order_number)

My concern is that even though a second thread is halted at
lock.acqure() while the first thread updates the order_number, that
the second thread has an 'out of date' version of 'self' with the
original order_number value in it, hence, is still returning the
incorrect order_number.

Do I need to explicity get the order_number attribute from the ZODB
somehow, rather than grabbing it from 'self'?

terry

-- 
Terry Kerr ([EMAIL PROTECTED])
Bizar Software Pty Ltd (www.bizarsoftware.com.au)
Phone: +61 3 9563 4461
Fax: +61 3 9563 3856
ICQ: 79303381

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



Re: [Zope-dev] Coding Standards

2001-05-31 Thread Terry Kerr

http://www.python.org/doc/essays/styleguide.html


Rick St Jean wrote:

 Hey all,

 I am completely new to ZOPE and to PYTHON, although I have a programming
 background in other
 languages.  I was wondering if some people would mind sharing a copy of a
 coding standard that they
 use including naming conventions and general never-evers, or always always.
 I figure if someone has
 a standard it usually helps new people to avoid pitfalls.

 Thanks in Advance,
 Rick

 ##
 #  Rick St Jean,
 #  [EMAIL PROTECTED]
 #  President of Design Shark,
 #  http://www.designshark.com/, http://www.phpmailer.com/
 #  Quick Contact:  http://www.designshark.com/messaging.ihtml
 #  Tel: 905-684-2952
 ##

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

--
Terry Kerr ([EMAIL PROTECTED])
Adroit Internet Solutions (www.adroit.net)
Phone: +61 3 9563 4461
Fax: +61 3 9563 3856
ICQ: 79303381




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



[Zope-dev] OS X support

2001-05-10 Thread Terry Kerr

Hi,

Is there any plans for zope to support OS X?

terry

--
Terry Kerr ([EMAIL PROTECTED])
Adroit Internet Solutions (www.adroit.net)
Phone: +61 3 9563 4461
Fax: +61 3 9563 3856
ICQ: 79303381




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



Re: [Zope-dev] Streaming?

2000-10-29 Thread Terry Kerr

Isn't that dependant on the protocol u are using to transfer the data?
HTTP can't do streaming.  You can sort of do streaming using the
experimental multipart content type, but IE browers don't recognise it,
so it is pretty useless.

With the context you gave, you could probably do that with the
experimental multiplart content, but it would only work with netscape.

terry


Lalo Martins wrote:

 Is it possible to "stream" (send data to the client via HTTP
 incrementally) from Python code, or does ZPublisher only send
 the data as a single wad when the method returns?

 Assuming it is possible, obviously it requires using some other
 API rather than just 'return'ing a string... where can I find
 documentation and/or examples on that? If there is no existing
 documentation or examples, source code would do.

 (Context: when the tests are running on ZUnit, I'd like to give
 some visual feedback, if possible by sending the dots returning
 by PyUnit in real-time)

 []s,
|alo
+
 --
   Hack and Roll  ( http://www.hackandroll.org )
 News for, uh, whatever it is that we are.

 http://zope.gf.com.br/lalo   mailto:[EMAIL PROTECTED]
  pgp key: http://zope.gf.com.br/lalo/pessoal/pgp

 Brazil of Darkness (RPG)--- http://zope.gf.com.br/BroDar

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


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




Re: [Zope-dev] Streaming?

2000-10-29 Thread Terry Kerr

That is not streaming.  That is just as you said..lack of bandwidth delaying
the entire page arriving at once at you browser.  That is not contolled.  The
server doesn't send it 'bit by bit' in a controlled manner.

terry


Lalo Martins wrote:

 On Mon, Oct 30, 2000 at 12:23:36PM +1100, Terry Kerr wrote:
  Isn't that dependant on the protocol u are using to transfer the data?
  HTTP can't do streaming.  You can sort of do streaming using the
  experimental multipart content type, but IE browers don't recognise it,
  so it is pretty useless.

 What are you talking about? Try to load any standard html page
 with a very slow connection. If you just send the data slowly,
 the browser will show it as it is received. That's streaming.

 You can point an mp3 or realaudio player at an URL and it will
 download the file and play it as it arrives.

 That's the kind of streaming I want to do.

 []s,
|alo
+
 --
   Hack and Roll  ( http://www.hackandroll.org )
 News for, uh, whatever it is that we are.

 http://zope.gf.com.br/lalo   mailto:[EMAIL PROTECTED]
  pgp key: http://zope.gf.com.br/lalo/pessoal/pgp

 Brazil of Darkness (RPG)--- http://zope.gf.com.br/BroDar

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


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




[Zope-dev] Re: [Zope] Re: [Zope-dev] cookies ie5.5 win

2000-10-05 Thread Terry Kerr

I had a problem like this once, and worked out that it was because the system
time was incorrect in IE somehow.  The time that windows was displaying was
correct, but that had been manually changed to take in to account day light
savings which started early in Australia this year due to the olympics.  But for
some reason internallyIE was using the wrong time, so my cookies were expiring
as soon as they were set!

Netscape on windows didn't have the same problem...and obviously netscape on
linux didn't have the problem.

terry


Chris Withers wrote:

 Sebastian Luehnsdorf wrote:
  i'm having a strange problem with cookie based user authentication with
  ms internet explorer 5.5 on windows. it seems that the browser (but only
  this version and only under windows!) seems to "forget" its cookies, which
  results in an immediate logout. does anybody have similar experiences or a
  even solution?

 I've had this problem occasionally with other versions of IE.
 I wonder whether you're setting the path on cookies correctly?

 That's all I can think of...

 Anyone else noticed this?

 cheers,

 Chris

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

--
-----
Terry Kerr ([EMAIL PROTECTED])
Adroit Internet Solutions
http://www.adroit.net/
03 9563 4461
0414 708 124



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




Re: [Zope-dev] cut/paste catalogue aware zclass instances still broken in 2.20?

2000-07-23 Thread Terry Kerr

I had this problem with 2.1.6, but it seems to fix itself with 2.2.0.  I
think you must be having a different problem.  The problem with 2.1.6 was
to do with the copying of objects to the clipboard.  You were not able to
call absolute_url() on an object in the clipboard, and that cause problems
when cutting and pasting catalog aware classes since the index in the
catalog is done by the absolute url and so when unindexing, absolute_url()
is called.  However, the clipboard stuff has changed in 2.2.0 and the
problem seems to have been fixed as far as I can tell.

terry


"Dr. Ross Lazarus" wrote:

 Has anyone else noticed a problem with pasting cut or copied
 catalogue-aware zclass instances?

 The collector item #1371 I submitted on June 27 seems still to be
 present in 2.20 final - sorry, I don't have a patch...

 It's a function I need and duplicating it without using
 manage_pasteObject after a manage_cutObject is going to be painful.

 The manage_cutObject and manage_copyObject functions seem happy enough,
 but when I do a manage_pasteObject, I get "the object foobar does not
 support this operation" - no traceback.

 Zope-2.2.0 source on Redhat linux 6.1

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

--
Terry Kerr ([EMAIL PROTECTED])
Adroit Internet Solutions Pty Ltd (www.adroit.net)
Phone:   +613 9563 4461
Fax: +613 9563 3856
Mobile:  +61 414 938 124
ICQ: 79303381




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