[Zope-dev] How to use UserTrack product?

2008-09-09 Thread Rupesh P Raj
Hi, I am very newbee to Zope. In my Zope application I want to integrate UserTrack product (we dont use plone). I placed the UserTrack folder inside the Products directory, and created an instance of UserTrack inside some of the other zope products, as follows: u = UserTrack()

Re: [Zope-dev] SVN: z3c.pt/trunk/TODO.txt

2008-09-09 Thread Malthe Borch
Chris McDonough wrote: Log message for revision 90974: Added: z3c.pt/trunk/TODO.txt === --- z3c.pt/trunk/TODO.txt (rev 0) +++ z3c.pt/trunk/TODO.txt 2008-09-09 00:03:08 UTC (rev 90974) @@ -0,0 +1,4

Re: [Zope-dev] SVN: z3c.pt/trunk/TODO.txt

2008-09-09 Thread Stephan Richter
On Tuesday 09 September 2008, Malthe Borch wrote: If the element belongs to some namespace, then attributes from this namespace should be native to it. But I couldn't find any documentation to support that this is a strict requirement. Perhaps it should be allowed, then. It's not strict. It's

Re: [Zope-dev] SVN: z3c.pt/trunk/TODO.txt

2008-09-09 Thread Malthe Borch
2008/9/9 Stephan Richter [EMAIL PROTECTED]: It's not strict. It's a shortcut. No it's other way around. tal:block for= / is the short-cut for tal:block tal:for= /. Previously only the short-cut was allowed; this has been changed in the most recent release of z3c.pt. \malthe

Re: [Zope-dev] zope.component: calling an Interface and calling queryAdapter give differing results

2008-09-09 Thread Dieter Maurer
Chris Withers wrote at 2008-9-8 18:34 +0100: ... There's the backward-compatibility issue, which is a showstopper. There's plenty of code that does this: adapter = package.interfaces.IFoo(object, None) Changing the signature as you describe would break all code that does this. How

Re: [Zope-dev] zope.component: calling an Interface and calling queryAdapter give differing results

2008-09-09 Thread Fred Drake
On Tue, Sep 9, 2008 at 2:37 PM, Dieter Maurer [EMAIL PROTECTED] wrote: The syntax would be a bit more cumbersome -- but on the other hand, it would be more explicit :-) Seems to me zope.component.getMultiAdapter(...) is sufficient as-is, and shares the benefit of explicitness. That's

Re: [Zope-dev] How to use UserTrack product?

2008-09-09 Thread Dieter Maurer
Rupesh P Raj wrote at 2008-9-9 13:41 +0530: I am very newbee to Zope. In my Zope application I want to integrate UserTrack product (we dont use plone). I placed the UserTrack folder inside the Products directory, and created an instance of UserTrack inside some of the other zope products, as

Re: [Zope-dev] zope.component: calling an Interface and calling queryAdapter give differing results

2008-09-09 Thread Philipp von Weitershausen
El 9 Sep 2008, a las 20:37 , Dieter Maurer escribió: Chris Withers wrote at 2008-9-8 18:34 +0100: ... There's the backward-compatibility issue, which is a showstopper. There's plenty of code that does this: adapter = package.interfaces.IFoo(object, None) Changing the signature as you

Re: [Zope-dev] zope.component: calling an Interface and calling queryAdapter give differing results

2008-09-09 Thread Shane Hathaway
Philipp von Weitershausen wrote: El 9 Sep 2008, a las 20:37 , Dieter Maurer escribió: But interfaces might grow an additional method, e.g. adapt, which could get the new signature. The syntax would be a bit more cumbersome -- but on the other hand, it would be more explicit :-) I don't

Re: [Zope] How do I write to a text file from Python?

2008-09-09 Thread Jakob Schou Jensen
Hi Dieter, Where is the 'manage_upload' function documented? The problem that I had with manage_addFile seems to because I passed it a unicode object rather than a string. The error message was *'unicode' object has no attribute 'seek'* which led me to think a file-like object was needed.

[Zope] Doubt in using UserTrack product?

2008-09-09 Thread Rupesh P Raj
Hi, I am a new to Zope. In my Zope application I want to integrate UserTrack product, to track the logged in users. I placed the UserTrack folder inside the Products directory, and created an instance of UserTrack inside some of the other zope products, as follows: u = UserTrack()

[Zope] DirectoryStorage product - zope won't start

2008-09-09 Thread Thomas Bennett
using python 2.4.5 Zope 2.11.1-final DirectoryStorage 1.1.19 First, is there a more preferable product to use to serve files, mostly PDF, from the file system with Zope? I suspect lock_file.py has changed since the DirectoryStorage product was last updated. I followed instructions on

Re: [Zope] How do I write to a text file from Python?

2008-09-09 Thread Dieter Maurer
Jakob Schou Jensen wrote at 2008-9-9 08:27 +0200: Where is the 'manage_upload' function documented? In the source (OFS.Image.File.manage_upload). def manage_upload(self,file='',REQUEST=None): Replaces the current contents of the File or Image object with file. The

[Zope] Iowa Python Users Group - First Meeting

2008-09-09 Thread Mike Driscoll
Hi, I'm not sure how many people on this list are Iowans, but I thought you guys (and girls) would like to know the following: The first meeting date for the Iowa Python Users Group has been decided. Here are the details: Time /