[Zope] Re: ImageFile weirdness? (addendum)

2006-03-02 Thread Chris Withers
Jürgen Herrmann wrote: btw. i'll learn to formulate my questions better... the actual question way back then should have read (and not more): "who (which method) is responsible for delivering an ImageFile instances content when called, as index_html obviously is NOT called?" The publisher choo

[Zope] Re: ImageFile weirdness?

2006-03-02 Thread Chris Withers
Jürgen Herrmann wrote: to not clutter the zodb-dev list, i'll write you personally... It's what the list is here for, please keep CC'ing it or you're unlikely to get a response in the future... arent't these two code snippets doing the same? class MyClass: myTemplate = PageTemplateFile(.

[Zope] TypeError: unpack non-sequence. RemoteUserFolder?

2006-03-02 Thread leandros van den berg
Hello, I made a copy of a live Zope-instance behind a webserver to my PC for testing purposes. I just copied the files in 'var' and 'Products' and changed the folders in zopectl. I am also running the same Zope version (2.8.0) as on the remote server and with the same structure: Root Folder

[Zope] How to specify caching for ZSQL methods on file system

2006-03-02 Thread Yuan HOng
I have some ZSQL methods written on the file system using FSDV. In ZMI I can not find the 'Advanced' tab usually available for ZSQL methods in ZODB for specifying the caching properties of the ZSQL method. Can anyone give some clues as how to do this for ZSQL on FSDV? I suppose I might need to wri

Re: [Zope] TypeError: unpack non-sequence. RemoteUserFolder?

2006-03-02 Thread Martijn Pieters
On 3/2/06, leandros van den berg <[EMAIL PROTECTED]> wrote: > When I try to log in to http://localhost:8080/middelen I get a > 'TypeError: unpack non-sequence' instead of a login-prompt. Logging in > to http://localhost:8080/manage does work. [...] > Traceback (innermost last): > > * Module

Re: [Zope] How to specify caching for ZSQL methods on file system

2006-03-02 Thread Jens Vagelpohl
On 2 Mar 2006, at 14:15, Yuan HOng wrote: I have some ZSQL methods written on the file system using FSDV. In ZMI I can not find the 'Advanced' tab usually available for ZSQL methods in ZODB for specifying the caching properties of the ZSQL method. Can anyone give some clues as how to do this f

Re: [Zope] How to specify caching for ZSQL methods on file system

2006-03-02 Thread Martijn Pieters
On 3/2/06, Yuan HOng <[EMAIL PROTECTED]> wrote: > Can anyone give some clues as how to do this for ZSQL on FSDV? I > suppose I might need to write some *.metadata file to specify these > properties using FSDV? You must specify the cache settings in the .zsql file itself, using a block at the top.

Re: [Zope] How to specify caching for ZSQL methods on file system

2006-03-02 Thread Stefan H. Holek
You are close ;-) The info goes into a block at the start of the file. title: Foo arguments: foo bar max_rows: 1000 max_cache: 100 cache_time: 60 ... Stefan On 2. Mär 2006, at 15:15, Yuan HOng wrote: I have some ZSQL methods written on the file system using FSDV. In ZMI I can not find th

Re: [Zope] Acquisition not working as expected

2006-03-02 Thread Roman Klesel
Hello, Roman Klesel schrieb: > I can call this method on whatever folder inside the product instance I > want, it will always return the id of the > product and not the id of the product I call it on. In order to make my problem more obvious I created a minimal product. See attachmet. It dis

[Zope] (microsoft) webdav and zope 2.8.4

2006-03-02 Thread Einar Næss Jensen
I'm trying to access a zope site via webdav on port 8181. Dreamweaver works ok, but the client in winXP do not want to connect with error: "The folder you entered does not seem to be valid. Please choose another." the traceback on zope is: 2006-03-02T15:48:41 ERROR Zope.SiteErrorLog http://www.hf.

Re: [Zope] (microsoft) webdav and zope 2.8.4

2006-03-02 Thread Jens Vagelpohl
On 2 Mar 2006, at 14:50, Einar Næss Jensen wrote: I'm trying to access a zope site via webdav on port 8181. Dreamweaver works ok, but the client in winXP do not want to connect with error: "The folder you entered does not seem to be valid. Please choose another." If you're trying to use the

[Zope] Re: (microsoft) webdav and zope 2.8.4

2006-03-02 Thread Einar Næss Jensen
On 3/2/06, Einar Næss Jensen <[EMAIL PROTECTED]> wrote: > I'm trying to access a zope site via webdav on port 8181. Dreamweaver > works ok, but the client in winXP do not want to connect with error: > "The folder you entered does not seem to be valid. Please choose another." And the question is:

Re: [Zope] Re: (microsoft) webdav and zope 2.8.4

2006-03-02 Thread Jens Vagelpohl
On 2 Mar 2006, at 14:55, Einar Næss Jensen wrote: On 3/2/06, Einar Næss Jensen <[EMAIL PROTECTED]> wrote: I'm trying to access a zope site via webdav on port 8181. Dreamweaver works ok, but the client in winXP do not want to connect with error: "The folder you entered does not seem to be valid

Re: [Zope] Re: (microsoft) webdav and zope 2.8.4

2006-03-02 Thread Patrick Decat
On 3/2/06, Einar Næss Jensen <[EMAIL PROTECTED]> wrote: > On 3/2/06, Einar Næss Jensen <[EMAIL PROTECTED]> wrote: > > I'm trying to access a zope site via webdav on port 8181. Dreamweaver > > works ok, but the client in winXP do not want to connect with error: > > "The folder you entered does not s

Re: [Zope] (microsoft) webdav and zope 2.8.4

2006-03-02 Thread Dieter Maurer
Jens Vagelpohl wrote at 2006-3-2 14:53 +: > ... >If you're trying to use the M$ WebFolder-stuff you might as well give >up immediately. It simply does not work right. We are using it -- quite successfully :-) We had to fix some bugs in Zope's WebDAV support, e.g. properties may not be pure

Re: [Zope] TypeError: unpack non-sequence. RemoteUserFolder?

2006-03-02 Thread Dieter Maurer
leandros van den berg wrote at 2006-3-2 14:13 +0100: > ... >Below is the entry from the middelen/error_log: > >Time 2006/03/02 13:22:49.932 GMT+1 >User Name (User Id)Anonymous User (None) >Request URLhttp://localhost:8080/middelen/index_html >Exception Type TypeError >Exception Va

Re: [Zope] Acquisition not working as expected

2006-03-02 Thread Dieter Maurer
Roman Klesel wrote at 2006-3-2 08:13 +0100: > ... >I can call this method on whatever folder inside the product instance >(instance of the base class ZLTMS) I want, it will >always return the id of the instace of the base class (where the method is >defined) and not the id of the object (Folder >

Re: [Zope] (microsoft) webdav and zope 2.8.4

2006-03-02 Thread Dieter Maurer
Einar Næss Jensen wrote at 2006-3-2 15:50 +0100: >I'm trying to access a zope site via webdav on port 8181. Dreamweaver >works ok, but the client in winXP do not want to connect with error: >"The folder you entered does not seem to be valid. Please choose another." > >the traceback on zope is: >200

Re: [Zope] (microsoft) webdav and zope 2.8.4

2006-03-02 Thread Jens Vagelpohl
On 2 Mar 2006, at 18:35, Dieter Maurer wrote: Jens Vagelpohl wrote at 2006-3-2 14:53 +: ... If you're trying to use the M$ WebFolder-stuff you might as well give up immediately. It simply does not work right. We are using it -- quite successfully :-) We had to fix some bugs in Zope's We

[Zope] Zed should stand for Zope Extension Distribution

2006-03-02 Thread Mark, Jonathan (Integic)
Title: Zed should stand for Zope Extension Distribution Over at the Zope-Dev mailing list, Jim Fulton (the inventor of Zope) is talking about a new line of software called Zed. It would consist of those parts of Zope 3 which can be called independently of the Zope/twisted server. I do not w

Re: [Zope] Zed should stand for Zope Extension Distribution

2006-03-02 Thread Tino Wildenhain
Mark, Jonathan (Integic) schrieb: > Over at the Zope-Dev mailing list, Jim Fulton (the inventor of Zope) is > talking about a new line of software called Zed. It would consist of > those parts of Zope 3 which can be called independently of the > Zope/twisted server. please be carefull on inventing

Re: [Zope] Zed should stand for Zope Extension Distribution

2006-03-02 Thread Andreas Jung
--On 2. März 2006 23:02:13 +0100 Tino Wildenhain <[EMAIL PROTECTED]> wrote: Mark, Jonathan (Integic) schrieb: Over at the Zope-Dev mailing list, Jim Fulton (the inventor of Zope) is talking about a new line of software called Zed. It would consist of those parts of Zope 3 which can be calle

Re: [Zope] Acquisition not working as expected

2006-03-02 Thread Andrew Milton
+---[ Roman Klesel ]-- | Hello, | | Roman Klesel schrieb: | > I can call this method on whatever folder inside the product instance I want, it will always return the id of the | > product and not the id of the product I call it on. | | In order to make my problem more ob

Re: [Zope] Re: (microsoft) webdav and zope 2.8.4

2006-03-02 Thread Gabriel Genellina
At Thursday 2/3/2006 11:55, Einar Næss Jensen wrote: I want to transfer a large amount of images into the zodb, and need an easy way of doing this (from windows). Look at load_site.py inside your Zope bin directory. Gabriel Genellina Softlab SRL __

Re: [Zope] Acquisition not working as expected

2006-03-02 Thread Roman Klesel
Dieter Maurer schrieb: > Roman Klesel wrote at 2006-3-2 08:13 +0100: > > This is how acquistion works (and should work): > > When you acquire a method, the "self" this method is called > with is usually *NOT* the object acquisition is applied on. > > If you think about it, you will recognize