Re: [Zope] dtml decimals

2000-12-14 Thread Tres Seaver
.. Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam >>> 3/2 1 >>> 3.0/2 1.5 Python performs integer division when handed integer arguments; you need:: or equivalent. Tres. -- === Tres Seaver

Re: [Zope] Gopher from Zope

2000-12-14 Thread Tres Seaver
ut it: > gopher://gopher.heatdeath.org/00/the%20gopher%20manifesto.txt Tres. -- === Tres Seaver[EMAIL PROTECTED] Digital Creations "Zope Dealers" http://www.zope.org _

Re: [Zope] persistence and dictionaries

2000-12-09 Thread Tres Seaver
enever they are reloaded. Globals.PersistentDictionary is a wrapper class which does does this kind of registration in its '__setitem__' method. HTH, Tres. -- === Tres Seaver[EMAIL PROTECTED] Digital Creations "Zope Dealers" http://w

Re: [Zope] FW: [Zope] FTP for ZClass hierarchies

2000-12-08 Thread Tres Seaver
in > > actual pathnames to get to the methods (mainly so I can edit > > ZClasses with HTML-Kit). Strangely enough, even with the > > modifications, I see this same thing. Tres. -- === Tres Seaver

Re: [Zope] Using aquisition inside a dtml method of a product ?

2000-12-08 Thread Tres Seaver
On Fri, 8 Dec 2000, Andreas Jung wrote: > On Thu, Dec 07, 2000 at 10:07:25PM -0500, Tres Seaver wrote: > > > > Could it be that you don't derive your product class (directly or > > indirectly) from Acquisition.Implicit? Otherwise, I'm stumped. > > I use

Re: [Zope] FTP for ZClass hierarchies

2000-12-07 Thread Tres Seaver
>modified (some of the security mechanisms are bound to be > >broken). But it is a start anyway. ;) > > Does this let you write the methods back? I was just able to change a DTML method in a ZClass (after patching a single indentation error). Adam, you rock! I am attaching my

Re: [Zope] Disabling Services : WebDAV

2000-12-07 Thread Tres Seaver
way ;-) For standard GET and PUT requests, WebDAV is indistiguishable from "normal" HTTP. Tres. -- === Tres Seaver[EMAIL PROTECTED] Digital Creations "Zope Dealers" http://www.zope.org ___

Re: [Zope] Zope 2.2.4 dying under Solaris 2.6

2000-12-07 Thread Tres Seaver
created, and use xdb/gdb to figure out what code was running when the bug juice squirted? At a higher level, what add-on products are you using with Zope? Tres. -- === Tres Seaver[EMAIL PROTEC

Re: [Zope] Using aquisition inside a dtml method of a product ?

2000-12-07 Thread Tres Seaver
om Acquisition.Implicit? Otherwise, I'm stumped. I use just the code you describe inside the PTK, for instance. Tres. -- === Tres Seaver[EMAIL PROTECTED] Digital Creations "Zope Dealers"

Re: [Zope] Authentication Problem : External method returning object : Zope 2.2.4

2000-12-07 Thread Tres Seaver
> self.X = 1 > self.Y = 2 > > > def testexternal (self,REQUEST,RESPONSE): > A = AClass() > return A > > Thanks in advance, > Sean McGrath Tres. -- === Tres Seave

[Zope] Accessing hierarchical information in a CORBA server

2000-12-04 Thread Tres Seaver
? > > Sorry for so many questions, but I haven't found a lot of info > about using the dtml-tree together with external methods. > > Lars I have a proposal on dev.zope.org for adding CORBA client support to Zope: http://dev.zope.org/Wikis/DevSite/Proposals/CorbaClientIntegra

[Zope] News article

2000-12-04 Thread Tres Seaver
/Local/Business/1114digi.htm -- === Tres Seaver[EMAIL PROTECTED] Digital Creations "Zope Dealers" http://www.zope.org ___ Zope maillist - [EMAIL PROTECTED] http://lists.

[Zope] Zope.Org: Not a good example...

2000-12-03 Thread Tres Seaver
ting them would require a relatively small amount of effort; in fact, we are planning to do that in the relatively near future. Tres. -- === Tres Seaver[EMAIL PROTECTED] Digital Creations "Zope Deal

[Zope] Making lots of external data searchable?

2000-12-02 Thread Tres Seaver
ng. I think I would write a script which walked the hierarchy, calling a method to index one (or a few) messages at a time. This script might also need to pack the database at intervals; the catalog is a bit space inefficient across mutliple index/reindex opera

Re: [Zope] python methods

2000-11-30 Thread Tres Seaver
> The Doctor What <[EMAIL PROTECTED]> wrote: > * Tres Seaver ([EMAIL PROTECTED]) [001130 09:06]: > > Chris Withers <[EMAIL PROTECTED]> wrote: > > 'lambda' is actually a keyword, not a function, and hence works > > fine in PM0.1.7. 'map()'

Re: [Zope] python methods

2000-11-30 Thread Tres Seaver
re not permitted in through-the-web code (they would need to be added to the '_' namespace, like 'str()', et aliae). Tres. -- === Tres Seaver[EMAIL PROTECTED] Digital Creations

Re: [Zope] DC and the PTK?

2000-11-30 Thread Tres Seaver
> version." I think we need to distinguish between "support" and "consulting". DC is primarily a *consulting* company (we build custom software for our clients), which also sells support contracts for Zope. Because the PTK is not (yet) a "released product"

Re: [Zope] Ah, I found it -- Estimate of community size

2000-11-29 Thread Tres Seaver
AIL PROTECTED] mailing list, which seems to average 70+ messages per day (2000+ per month). * 409 subscribe to [EMAIL PROTECTED], which runs around 20 messages per day / 600 per month. * The zope.org websites have been averaging 200,000 unique visits per month. Tres. --

Re: [Zope] ZTopics not working right --Error Value: Vocabulary

2000-11-29 Thread Tres Seaver
> + > + > > > The 'portal_catalog' object is actually a wrapper around a standard ZCatalog instance. I would look at 'ZTopics.Topic._contentsSet()' to see what it is trying to do with the catalog. I would log also

Re: [Zope] Factoids for supporting zope

2000-11-29 Thread Tres Seaver
e place they get support for using Zope: right here on the lists: mailto:[EMAIL PROTECTED] http://lists.zope.org/pipermail/zope-ptk http://lists.zope.org/mailman/listinfo/zope-ptk (I watch the PTK tracker, as well). Tres. --

Re: [Zope] Python and EJB (J2EE)

2000-11-27 Thread Tres Seaver
cumentation/Developer/Models/ZODB and, in particular: http://www.zope.org/Documentation/Developer/Models/ZODB/ZODB_Architecture_Storage_Interface_Info.html for more than you want to know. :) Tres. -- === Tres Seaver[EMAIL PROTECTED] Dig

Re: [Zope] Still have error importing DemoPortal.zexp with PTK 0.9.2

2000-11-24 Thread Tres Seaver
the list (signing up, archives, etc.): http://www.zope.org/Products/PTK Tres. -- === Tres Seaver[EMAIL PROTECTED] Digital Creations "Zope Dealers" http://www.zope.org ___ Zope

Re: [Zope] Question about security

2000-11-22 Thread Tres Seaver
ic requirement of any system that uses passwords, but if it can't > be done just admit it. After all, zope is still *quite* good without it. ;-) See http://www.zope.org/Members/tseaver/user_settable_passwords. Tres. -- === Tres

[Zope] Re: Zope digest, Vol 1 #1059 - 51 msgs

2000-11-16 Thread Tres Seaver
gt; > > also found out that > > ZopeTime().strftime('%Y/%m/%d')"> > > works as well. This would do a match on the dates themselves: See $SOFTWARE_HOME/lib/python/DateTime/DateTime.py for more fun with dates. Tres. --

Re: [Zope] Catalog sort-on parameter

2000-11-16 Thread Tres Seaver
(assuming it has a reasonable index to use, that is). Sorting won't work as expected with TextIndexes (but then, what is "expected" in that case?) > I'm not sure if I use the right syntax so could someone post an sample code > here please ? Here is a working snippet fr

Re: [Zope] How to see if two objects are the same (minor fix)

2000-10-13 Thread Tres Seaver
od, the two wrappers are compared for identity (which is bogus). I recently fixed this in response to a Collector issue: http://classic.zope.org:8080/Collector/1650/view You can get the patch from that page, or just wait for Zope 2.3 (RSN, I'm sure). Tres. -- ===

Re: [Zope] Detecting Roles not working

2000-10-05 Thread Tres Seaver
if the user has not yet authenticated, suppressing the display of a link which would trigger authentication (if the edit method is guarded, as it should be, by the same "Edit Foo" permission) can leave that user in a Catch-22: they aren't authenticated, and they can't trigger auth

Re: [Zope] Zope bug collector on zope.org available?

2000-10-02 Thread Tres Seaver
tor is an *ancient* piece of software -- you probably want Ken Mannheimer's Tracker:: http://www.zope.org/Members/klm/TrackerWiki Tres. -- ======= Tres Seaver[EMAIL PROTECTED] Digital Creations

Re: [Zope] sequence-item is called in dtml-let assignment?

2000-09-28 Thread Tres Seaver
e. This behavior is targeted directly at DTML's original purpose, which was to generate HTML reports against the objects published by Bobo/Zope; the interoduction of more powerful programming constructs (the let tag, expression syntax) have not always jived well with the mor

Re: [Zope] Calling objects with arguments in a sequence

2000-09-27 Thread Tres Seaver
of calling the sequence-item, > but they all return the same error. Could anyone suggest how I should > do this? Thanks in advance... You were very close -- the trick here is that 'objectValues' returns real objects, not IDs. Try this (untested

[Zope] Re: [Zope-PTK] Apache + Zserver + SiteAccess + Search results from thecatalogcatalog

2000-09-27 Thread Tres Seaver
ny interactions between SiteRoot-style virtual hosting and the catalog; try a collector search to see what turns up: http://classic.zope.org:8080/Collector Tres. -- === Tres Seaver[EMAIL PROTECTED] Digital Creations "Zope Dealers"

[Zope] CalendarTag fix for Zope 2.2

2000-07-16 Thread Tres Seaver
barf. -- = Tres Seaver [EMAIL PROTECTED] Digital Creations "Zope Dealers" http://www.zope.org ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.o

Re: [Zope] Change Notification

2000-06-21 Thread Tres Seaver
Itamar Shtull-Trauring <[EMAIL PROTECTED]> wrote: > > Bob Barter wrote: > > > > Is there a way for an object to be notified that it has been > > modified? > > Use ZPatterns 0.4, it allows you to be notified of events - change, > add and delete of objects. I may be confused, but normally the ob

Re: [Zope] ZClass-within-a-ZClass not in subobjects list?

2000-06-18 Thread Tres Seaver
eboard object's Contents tab). The bad news here is that there are some weirder interactions possible, as well (several recent Collector issues come to mind); the good news is that they are almost all related to the UI -- the underlying object system is pretty sane. Patches gratefully accept

[Zope] Re: Zope digest, Vol 1 #834 - 57 msgs

2000-06-18 Thread Tres Seaver
ce. > > Anyone shed any light? > > Oh yes, I have applied the imap.py.diff patch to the python library. -- === Tres Seaver[EMAIL PROTECTED] Digital Creations"Zope Dealers"http://www.zope.o

Re: [Zope] PTK questions

2000-06-14 Thread Tres Seaver
ldn't find it. Look for a DTML file called "byline" -- I think it is the culprit. > Also, I've deleted a couple of test members I created but they still > show in the members listing. How can I reindex to remove them? -- =

Re: [Zope] M$soft

2000-05-25 Thread Tres Seaver
problem in the Windows world; the only solution is to serialize *all* access to the DB (even concurrent *reads* can foul each other up -- blech!) Tres. -- = Tres Seaver [EMAIL PROTECTED] Digital Creations "Zop

Re: [Zope] incosistant behaviour.

2000-05-25 Thread Tres Seaver
can't have a ZClass instance function as the index_html for a folder out-of-the-box, though. Tres. -- = Tres Seaver [EMAIL PROTECTED] Digital Creations "Zope Dealers" http://www.zope.org ___ Zop

Re: [Zope] seq-items and nested dtml-ins

2000-05-24 Thread Tres Seaver
tag itself, which would solve your problem nicely. For the details, see: http://www.zope.org/Members/4am/DTMLWiki/NamedDTMLInLoop Hope this helps! Tres. -- === Tres Seaver[EMAIL PROTECTED] Digital Creations"Zope Dealers"http://www.zope.org ___

Re: [Zope] LocalFS Question

2000-05-23 Thread Tres Seaver
lFS to 'open()' the batch files in binary mode, e.g., if string.lower( filename[:-4] ) == '.bat': return open( filename, 'b' ) else: return open( filename ) Tres. -- = Tres Seaver

Re: [Zope] ZClass acting up?

2000-05-23 Thread Tres Seaver
Erik Enge wrote: > > Tres Seaver <[EMAIL PROTECTED]> writes: > > > If you fill out the ID and press 'Add', le voilĂ ! > > Yeah, your right! But that still means I need to do > some hacking about, and me and my semantics does not > like that ;-) > &

Re: [Zope] ZClass acting up?

2000-05-22 Thread Tres Seaver
e" kicks in before the MI gets up to the top of the product, and so the nested "project team" class is the only one found; again, the MI wires up the "Add" button directly, with no list. * If you had more nested classes, you would see a list of them (but

<    2   3   4   5   6   7