[Zope] Upload just file headers?

2000-10-10 Thread Paul Winkler
I'd like to make a form that looks like the typical file upload form, but will upload ONLY the header of the chosen file. Anyone know how / if this can be done? -- .paul winkler.. slinkP arts: music, sound, illustration, design, etc. web page

[Zope] Re: Upload just file headers?

2000-10-10 Thread Paul Winkler
upload form, but will upload ONLY the header of the chosen file. Anyone know how / if this can be done? -- .paul winkler.. slinkP arts: music, sound, illustration, design, etc. web page: http://www.slinkp.com A member of ARMS: http

Re: [Zope] Re: Upload just file headers?

2000-10-11 Thread Paul Winkler
want to do is start uploading the file, but stop quickly. Now then, does anyone know how to do it? Thanks again, Paul -- .....paul winkler.. slinkP arts: music, sound, illustration, design, etc. web page: http://www.slinkp.com A member of AR

[Zope] Any limit on number of users?

2000-10-11 Thread Paul Winkler
Hi, Has anyone run up against a limitation on the number of users that can be in one acl_users folder? Either a hard limit or a practical limit? -- .paul winkler.. slinkP arts: music, sound, illustration, design, etc. web page: http

Re: [Zope] Re: Upload just file headers?

2000-10-11 Thread Paul Winkler
Much thanks to Knight and to Peter Bengtsson (who replied off-list), I know have at least two possible avenues to explore. If I ever get this to work, I'll post it! -- .paul winkler.. slinkP arts: music, sound, illustration, design, etc. web

Re: [Zope] Re: Upload just file headers?

2000-10-12 Thread Paul Winkler
Martijn Pieters wrote: This doesn't hold true for JPEG's. (snip) Aha, thanks. I'll have to think of a way to deal with this... --PW .paul winkler.. slinkP arts: music, sound, illustration, design, etc. web page: http://www.slinkp.com

[Zope] Hosting?

2000-10-26 Thread Paul Winkler
plan that enables us to pay for the storage we need and add more as needed. -- .paul winkler.. slinkP arts: music, sound, illustration, design, etc. web page: http://www.slinkp.com A member of ARMS: http://www.reacharms.com

Re: [Zope] Search and replace

2000-11-19 Thread Paul Winkler
you to check off the ones you want to ok. Yes, definitely you should have a chance to verify. --Paul (no relation to Martin AFAIK!) -- .paul winkler.. slinkP arts: music, sound, illustration, design, etc. web page: http://www.slinkp.com

[Zope] PTK won't let me add objects

2000-11-20 Thread Paul Winkler
TML method?? We're not talking about the end-user interface here. For now I'm going to revert to an old version of PTK, bugfixes be damned. I can't get any work done in this version. -- .....paul winkler.. slinkP arts: music, sound, illustration, d

[Zope] newbie question: Redirect from Python?

2000-11-27 Thread Paul Winkler
I want the user to be sent to a particular URL after calling the product's manage_add method. How can I do that? The URL I want is REQUEST['URL3']. I've tried RESPONSE.redirect(REQUEST['URL3']) but that's not it - the RESPONSE doesn't seem to exist here. -- .paul winkler

Re: [Zope] newbie question: Redirect from Python?

2000-11-27 Thread Paul Winkler
seb bacon wrote: * Paul Winkler [EMAIL PROTECTED] [001127 19:54]: I want the user to be sent to a particular URL after calling the product's manage_add method. How can I do that? The URL I want is REQUEST['URL3']. I've tried RESPONSE.redirect(REQUEST['URL3']) but that's

Re: [Zope] newbie question: Redirect from Python?

2000-11-27 Thread Paul Winkler
Michel Pelletier wrote: Paul Winkler wrote: (snip) Looking through various Zope docs, I thought RESPONSE.redirect might work, but RESPONSE is not mentioned anywhere in Boring.py. Boring only uses REQUEST. So pass it RESPONSE: def manage_addMyProduct(self, blah, blah, REQUEST=None

Re: [Zope] newbie question: Redirect from Python?

2000-11-27 Thread Paul Winkler
hat method. Went to learn about what people use it for - searched for manage_afterAdd on zope.org and got nothing at all??? Anyway, I'm now redirecting in manage_Add and it seems to work fine. -- .....paul winkler.. slinkP arts: music, sound, illustration, d

Re: [Zope] newbie question: Redirect from Python?

2000-11-27 Thread Paul Winkler
OK, this seems to work. def manage_addMyProduct(self, id, title='', REQUEST=None, RESPONSE=None): self._setObject(id, MyProduct(id, title)) if REQUEST is not None: whereto= REQUEST['URL3'] RESPONSE.redirect(whereto, lock=0) -- .paul winkler

Re: [Zope] HTTPSConnection Python 2.3.4

2005-03-31 Thread Paul Winkler
, maybe it will help you. -PW -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] Dynamic Zope Style Sheets with HTML 4.01 Strict

2005-03-31 Thread Paul Winkler
-mainTextColor;; } /* more style rules follow */ ... /dtml-with -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-01 Thread Paul Winkler
+1 for deprecation. However, I haven't used them for years. I suspect you will hear otherwise from some people with currently deployed solutions based on ZClasses... (cue Dieter) -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope

Re: [Zope] HTTPSConnection Python 2.3.4

2005-04-01 Thread Paul Winkler
On Fri, Apr 01, 2005 at 08:29:39AM +0100, Chris Withers wrote: Paul Winkler wrote: I have a somewhat similar issue; an in-house Zope product is retrieving some information from a remote URL. If I hit the same URL from the command line on the zope server (using wget), it works fine. When Zope

Re: [Zope] Re: login page problem

2005-04-05 Thread Paul Winkler
On Tue, Apr 05, 2005 at 09:32:04PM +0200, Dieter Maurer wrote: exUserFolder has built in caching (positive and negative caches), I guess that by negative cache you mean something like a cache of failed user lookups? Nice. -- Paul Winkler http://www.slinkp.com

Re: [Zope] Re: DateTime(), locale, summertime etc.

2005-04-07 Thread Paul Winkler
-- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org

Re: [Zope] The Zope Book

2005-04-08 Thread Paul Winkler
On Fri, Apr 08, 2005 at 05:41:30PM +0200, Lennart Regebro wrote: On Apr 8, 2005 5:22 PM, Paul Winkler [EMAIL PROTECTED] wrote: But that leaves unanswered questions - should we document the Five stuff at all, and if so, how? Well, the Five stuff is a subset of the Zope3 stuff, with way too

Re: [Zope] The Zope Book

2005-04-08 Thread Paul Winkler
On Fri, Apr 08, 2005 at 06:06:57PM +0200, Lennart Regebro wrote: On Apr 8, 2005 5:59 PM, Paul Winkler [EMAIL PROTECTED] wrote: Well, the chapter-by-chapter editing is still not done. See http://plope.com/Books/zb_signup for an overview of the known tasks to be done. OK, but that's better

Re: [Zope] Re: DateTime(), locale, summertime etc.

2005-04-09 Thread Paul Winkler
On Thu, Apr 07, 2005 at 11:22:39AM -0400, Paul Winkler wrote: Maybe this is relevant: http://www.zope.org/Collectors/CMF/325 ... crap, I never merged the fix. OK, now this is merged to the trunk and CMF-1_5-branch. -- Paul Winkler http://www.slinkp.com

Re: [Zope] Composite Objects?

2005-04-11 Thread Paul Winkler
and such for each copy, which argues against the usual solution of building a Product. You might check out AbracadabraObject, which seems tailor-made for your use case. -PW -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http

Re: [Zope] Composite Objects?

2005-04-11 Thread Paul Winkler
On Mon, Apr 11, 2005 at 04:56:04PM -0400, Jeffrey E. Forcier wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Winkler wrote: (snip) I gather you want to be able to modify the scripts and such for each copy, which argues against the usual solution of building a Product

Re: [Zope] Newbie questions:

2005-04-11 Thread Paul Winkler
/ScriptingZope.stx (which will make more sense if you read http://www.plope.com/Books/2_7Edition/BasicScripting.stx first) -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross

Re: [Zope] Composite Objects?

2005-04-11 Thread Paul Winkler
On Mon, Apr 11, 2005 at 08:36:22PM -0400, Jeffrey E. Forcier wrote: Paul Winkler wrote: In that case, I'd write a filesystem Product for the logic. Replace the scripts with methods of the Product class. Make it folderish so it can contain Forumator forms and anything else you want: inherit

Re: [Zope] developer docs

2005-04-12 Thread Paul Winkler
. Instead of an __ac_permissions__ attribute, you should use ClassSecurityInfo as shown in, well, just about any Product you have lying around.) I know, this all screams for an organized, updated effort :-( -- Paul Winkler http://www.slinkp.com ___ Zope

Re: [Zope] Q: Embedding documentation in Page Templates?

2005-04-12 Thread Paul Winkler
less keystrokes. This is even shorter:: a tal:replace=nothing comment in here /a Of those, I like your first: it explicitly says comment. Even somebody unfamiliar with ZPT can probably figure out what that means. -- Paul Winkler http://www.slinkp.com

Re: [Zope] [ANN] Zope 2.7.6 b1 released

2005-04-13 Thread Paul Winkler
/Products/Zope/2.7.6b1 Great news! But: The release notes can be found at http://www.zope.org/Products/Zope/2.7.6.b1/CHANGES.txt that should be: http://www.zope.org/Products/Zope/2.7.6b1/CHANGES.txt -- Paul Winkler http://www.slinkp.com

Re: [Zope] Some problem about Data.fs

2005-04-13 Thread Paul Winkler
On Wed, Apr 13, 2005 at 05:27:39PM +0200, Andreas Jung wrote: There should be exactly *one* Data.fs file + Data.fs.index + maybe a Data.fs.pack file from the last ZODB packing operation. Also Data.fs.tmp. -- Paul Winkler http://www.slinkp.com

Re: [Zope] non-undoable storage

2005-04-18 Thread Paul Winkler
pythonic properties yet.) e.g.: NumberOfReaders= ComputedAttribute(getNumberOfReaders) But AFAIK, ComputedAttributes don't support write methods. So client code can't write someArticle.NumberOfReaders += 1. But then, you wouldn't be able to do that with a SQL-based solution either. -- Paul

Re: [Zope] non-undoable storage

2005-04-18 Thread Paul Winkler
someArticle.NumberOfReaders += 1, how would you get that assignment to fire off your SQL code? -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope] Firefox manage_changePermissions issue?

2005-04-19 Thread Paul Winkler
. (if zope is running on http://fooserver:8080): tcpwatch.py -h -L :fooserver:8080 then point your browser at http://localhost: and tcpwatch will log *everything* that goes between server and browser - all request data, all response headers and data. -- Paul Winkler http

Re: [Zope] Organisational vs. Functional hierarchies

2005-04-19 Thread Paul Winkler
On Tue, Apr 19, 2005 at 04:31:15PM +0100, David Given wrote: Is this in fact possible, or do I need to start tinkering with custom products? That's what I would do. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http

Re: [Zope] Organisational vs. Functional hierarchies

2005-04-19 Thread Paul Winkler
://zopewiki.org/DiskBasedProduct - Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http

Re: [Zope] Zope2.7.4 with Python2.4?

2005-04-19 Thread Paul Winkler
. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman

Re: [Zope] Re: Zope2.7.4 with Python2.4?

2005-04-19 Thread Paul Winkler
you're properly warned :-) -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] Organisational vs. Functional hierarchies

2005-04-20 Thread Paul Winkler
be people who did care. ... Many active Zope developers are (understandbly) dismissive of ZClasses, but I think we can't ignore the many people who depend on them. My interpretation: they aren't going away, but think twice before you get heavily invested in them now. -- Paul Winkler http

Re: [Zope] Organisational vs. Functional hierarchies

2005-04-20 Thread Paul Winkler
not a use-case I need so I haven't gone looking. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org

Re: [Zope] Adding a folder

2005-04-21 Thread Paul Winkler
/Books/2_7Edition/BasicScripting.stx#2-45 -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman

Re: [Zope] backing up zope files

2005-04-21 Thread Paul Winkler
do most of our development on the filesystem and use FilesystemDirectoryViews to get zope to use the data. We used FSDump as a one-time convenience for copying scripts that were initially developed in Zope back to the filesystem with properties intact. -- Paul Winkler http://www.slinkp.com

Re: [Zope] The Zope Book

2005-04-25 Thread Paul Winkler
/zb_signup -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http

Re: [Zope] high loads, more threads, spinning wheels

2005-05-01 Thread Paul Winkler
is an order of magnitude worse when running ZEO. Once the data is in the client cache, performance is about the same as a standalone zope running filestorage. One workaround is to set the client cache size very large. -- Paul Winkler http://www.slinkp.com

Re: [Zope] Re: ZEO and session variables.

2005-05-03 Thread Paul Winkler
appealingly simple; the obvious drawback is that the session would be lost if the ZEO client restarts. Presumably details can be found in the pound docs. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

Re: [Zope] i am completely new to zope

2005-05-05 Thread Paul Winkler
On Thu, May 05, 2005 at 09:27:41AM -0700, Lukman Salifu Nayendi wrote: i am a new user of zope, i really want to learn alot about it and know more please help. http://zopewiki.org/ZopeWiki http://www.plope.com/Books/2_7Edition -- Paul Winkler http://www.slinkp.com

Re: [Zope] Re: i am completely new to zope

2005-05-05 Thread Paul Winkler
, good luck ;-) -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http

Re: [Zope] Underscoring Inaugural Address

2005-05-11 Thread Paul Winkler
(it acts like it doesn't exist.) Objects whose names begin with underscores are not publishable. The code is in lib/python/ZPublisher/BaseRequest.py and there is no easy way to override this behavior. -- Paul Winkler http://www.slinkp.com ___ Zope

Re: [Zope] Underscoring Inaugural Address

2005-05-11 Thread Paul Winkler
. There is no other way to do this? Do you have to use URL traversal to reach the final object? There's no such restriction on query parameters. http://foo.com/get_file?name=__init__.py -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope

Re: [Zope] How to make a ZPT-based form that calls itself?

2005-05-11 Thread Paul Winkler
. But note that they're not semantically equivalent. getattr(foo, 'bar') might use acquisition to find 'bar'. foo['bar'] does not use acquisition, it only looks directly in foo. I don't like this difference, but, whatever. -- Paul Winkler http://www.slinkp.com

Re: [Zope] Underscoring Inaugural Address

2005-05-12 Thread Paul Winkler
/supercoolfileat__init__.py ? I don't know of an easy way to do that in zope alone, since the names beginning with underscore are blocked at a pretty low level (in ZPublisher). But, if you have e.g. apache in front, that could be easily done with a rewrite rule. -- Paul Winkler http://www.slinkp.com

Re: [Zope] Corrupt Data.fs / ZODB

2005-05-16 Thread Paul Winkler
obj.getPhysicalPath() but it not tell you anything useful on a raw object (one directly loaded from _p_jar) because it is lacking its acquisition context. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

Re: [Zope] Seeking advice on Zope implementation

2005-05-17 Thread Paul Winkler
://www.zopelabs.com which has many relevant recipes. FWIW, everything I said applies to zope 2 only. I can't really give helpful advice about Z3, I haven't spent much time with it yet. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope

Re: [Zope] How to make a ZPT-based form that calls itself? (Part II)

2005-05-18 Thread Paul Winkler
to sneak this argument in, but my limited experience with Zope/Python syntax has left me unable to guess the right trick. You can append it to the url as a query parameter. e.g.: response.redirect('some_page?some_parameter=%s' % some_value) -- Paul Winkler http://www.slinkp.com

Re: [Zope] Modifying __bases__

2005-05-20 Thread Paul Winkler
UserFolder and overriding _doAddUser(). 2) the hacky way: monkeypatch User.py to replace SimpleUser with your class. either way the stuff you are interested in is in AccessControl/User.py. -- Paul Winkler http://www.slinkp.com ___ Zope maillist

Re: [Zope] response.redirect not working

2005-05-20 Thread Paul Winkler
no effect until the client receives it. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo

Re: [Zope] Modifying __bases__

2005-05-20 Thread Paul Winkler
need a hook where there just isn't one and you have no choice but to bash your way in there like a 500-pound gorilla. So, I monkeypatch, and I feel guilty :-) -PW -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http

Re: [Zope] ZSyncer and ZEO

2005-05-25 Thread Paul Winkler
ZSyncer 0.5.1. ... which, just so you know, is now different enough from the current codebase that if you had any problems with it, I'd be unable to give you any advice except to upgrade :-) -- Paul Winkler http://www.slinkp.com ___ Zope maillist

Re: [Zope] ZSyncer and ZEO

2005-05-25 Thread Paul Winkler
On Wed, May 25, 2005 at 10:14:23AM -0400, Paul Winkler wrote: We synced from 2.7.X to 2.6.X for quite a while with no observed problems. ... which, to be clear, you should take as anecdotal evidence only. I can't guarantee that you will have no problems syncing between mismatched zope

[Zope] Re: ZSyncer and ZEO

2005-05-25 Thread Paul Winkler
continue to test but I am pretty sure this was not a ZSyncer problem. You might be interested to know that I made substantial improvements to the error reporting and logging for ZSyncer 0.6. Problems like this are generally easier to diagnose now. -PW -- Paul Winkler http://www.slinkp.com

Re: [Zope] Finding an object in a folder

2005-05-26 Thread Paul Winkler
: marker = () if getattr(some_object, marker) is not marker: ... -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] Finding an object in a folder

2005-05-26 Thread Paul Winkler
an attribute, not any question about the value of the object. I think returning false if the value is false is potentially dangerous - I may want to retrieve a false value. But what? You just said the same thing that I said :-) -- Paul Winkler http://www.slinkp.com

Re: [Zope] Finding an object in a folder

2005-05-26 Thread Paul Winkler
()... Now, there need only to be someone who checks it in. Well, first I think it should be discussed on zope-dev... unless it already has been? I'll post a message there. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http

Re: [Zope] Finding an object in a folder

2005-05-27 Thread Paul Winkler
On Fri, May 27, 2005 at 08:51:58AM +0100, Chris Withers wrote: Paul Winkler wrote: marker = () if getattr(some_object, marker) is not marker: For good measure, I wonder if that should be a [], no a ()? What's wrong with a tuple? There's no reason to mutate the marker. -- Paul Winkler

Re: [Zope] Finding an object in a folder

2005-05-27 Thread Paul Winkler
for that. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http

Re: [Zope] Finding an object in a folder

2005-05-27 Thread Paul Winkler
have arbitrary third-party packages breaking when they are used with Zope. Such bugs could be maddeningly difficult to diagnose and find. Anyway, Jim has made a papal edict on zope-dev: We will never monkeypatch hasattr in the zope core. -- Paul Winkler http://www.slinkp.com

Re: [Zope] Finding an object in a folder

2005-05-27 Thread Paul Winkler
are missing. But I like the idea. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] How to read a file object

2005-06-01 Thread Paul Winkler
with over 100 recipes: http://zopelabs.com/cookbook/byCategory?category=Python%28Script%29 -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] Property id clashes with object id?

2005-06-02 Thread Paul Winkler
properties as attributes. So they're in the same namespace as ObjectManager sub-objects. Arguably that's wrong, but this is the first time I've heard of anybody having a problem with it :-) -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope

Re: [Zope] importing encode_base64

2005-06-03 Thread Paul Winkler
are giving me trouble on 2.7.6, but this is a very preliminary observation and i have not had time to troubleshoot yet. Monday... -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] importing encode_base64

2005-06-06 Thread Paul Winkler
On Fri, Jun 03, 2005 at 04:58:57PM -0400, Paul Winkler wrote: Just now I saw something that *may* be related, some imports that were fine on zope 2.7.3 are giving me trouble on 2.7.6, but this is a very preliminary observation and i have not had time to troubleshoot yet. Monday... False

Voodoo with ModuleSecurityInfo, was Re: [Zope] importing encode_base64

2005-06-08 Thread Paul Winkler
On Mon, Jun 06, 2005 at 05:50:42PM -0400, Paul Winkler wrote: On Fri, Jun 03, 2005 at 04:58:57PM -0400, Paul Winkler wrote: Just now I saw something that *may* be related, some imports that were fine on zope 2.7.3 are giving me trouble on 2.7.6, but this is a very preliminary observation

Re: [Zope] Product architecture question (long)

2005-06-09 Thread Paul Winkler
into using Ape, but I've never done that. http://hathawaymix.org/Software/Ape I've looked but found no Zope SSL capabilities, so does this requires placing Zope behind Apache, right? Ref: http://www.zope.org/Members/simonb/howtos/Set%20Up%20SSL Pound would do the job too. -- Paul Winkler

Re: [Zope] Problem Installing Zope 2.7.0

2005-06-13 Thread Paul Winkler
be documentation (maybe in /usr/share/doc ) explaining everything about where redhat puts stuff, since they apparently do it weird. If there is not, either complain to redhat, or install from source instead. -- Paul Winkler http://www.slinkp.com ___ Zope maillist

Re: [Zope] ACTUAL_URL vs. VIRTUAL_URL

2005-06-13 Thread Paul Winkler
not appear in the request. This is inconvenient; we wanted something that would always be available and would always mean the URL originally sent by the client. This is what ACTUAL_URL is. Having said that, I'm not clear on the difference between ACTUAL_URL and URL :-) -- Paul Winkler http

Re: [Zope] ACTUAL_URL vs. VIRTUAL_URL

2005-06-13 Thread Paul Winkler
On Mon, Jun 13, 2005 at 07:15:45PM +0200, Dieter Maurer wrote: Paul Winkler wrote at 2005-6-13 10:27 -0400: ... Having said that, I'm not clear on the difference between ACTUAL_URL and URL :-) URL is in fact computed. Thus, it can be both shorter (e.g. in case of a PythonScript

Re: [Zope] Transferring Zope Settings

2005-06-14 Thread Paul Winkler
sync a folder, you automatically sync all its sub-objects. But it can still help with some things, if e.g. it's safe to sync your entire portal_skins tool. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org

Re: [Zope] Passing parameters using DTML

2005-06-17 Thread Paul Winkler
all how to call X from Y questions. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo

Re: [Zope] Passing parameters using DTML

2005-06-17 Thread Paul Winkler
have to all make sense on the first read, but eventually it starts to click. If you won't even read it at all, you're screwed before you begin. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

Re: [Zope] developing with zmi: how to move a patch from data fro m devel to live?

2005-06-20 Thread Paul Winkler
sync a folderish object, zsyncer will necessarily sync all its sub-objects as well. But within those limitations, it's still pretty useful. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo

Re: [Zope] custom_persist_obj

2005-06-20 Thread Paul Winkler
, you do indeed need to write a Product. But that needn't be complex. http://www.zope.org/Members/maxm/HowTo/minimal_01 -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross

Re: [Zope] custom_persist_obj

2005-06-20 Thread Paul Winkler
or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo

Re: [Zope] ZPT tutorial

2005-06-21 Thread Paul Winkler
tasks using the Zope managment interface. To use the tutorial, go to any Folder and select Zope Tutorial from the add list and click the Add button. Provide a name for the tutorial and click Add to begin working with the tutorial. -- Paul Winkler http://www.slinkp.com

Re: [Zope] accessing session data error

2005-06-21 Thread Paul Winkler
.whatever on win2k). -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http

Re: [Zope] ZPT tutorial

2005-06-21 Thread Paul Winkler
On Tue, Jun 21, 2005 at 10:10:06PM +0100, John Poltorak wrote: On Tue, Jun 21, 2005 at 03:15:33PM -0400, Paul Winkler wrote: On Tue, Jun 21, 2005 at 07:29:20PM +0100, John Poltorak wrote: re. zopelabs.com: It probably is very useful, but I know I'd get hopelessly lost because

Re: [Zope] ZPT code sample

2005-06-21 Thread Paul Winkler
On Tue, Jun 21, 2005 at 09:58:32PM +0100, John Poltorak wrote: I got the impression that DTML and ZPT make some aspects of HTML redundant... redundant? no. DTML and ZPT are better understood as languages that you use on top of HTML. (Or on top of XML, as the case may be.) -- Paul

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-22 Thread Paul Winkler
a bunch of external methods anyway. 2) Source code version control is mandatory, and ZClasses make it nearly impossible. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross

Re: [Zope] External editor for ZMI

2005-06-23 Thread Paul Winkler
On Thu, Jun 23, 2005 at 04:27:50PM +0100, John Poltorak wrote: What alternatives are there to editing objects through ZMI? ExternalEditor. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

Re: [Zope] Newbie-question

2005-06-23 Thread Paul Winkler
that will help debug security issues. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] 2.5.1 to 2.8.0

2005-06-27 Thread Paul Winkler
do not need to import any .zexp's. If the failure occurs during import, well then, just don't do that :-) -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] 2.5.1 to 2.8.0

2005-06-27 Thread Paul Winkler
port at once. -PW -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http

Re: [Zope] 2.5.1 to 2.8.0

2005-06-27 Thread Paul Winkler
function? We need the whole traceback, which should be listed in the /error_log object in the root of your zope folder tree. Find that and maybe we can get a clue from it. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http

Re: [Zope] 2.5.1 to 2.8.0

2005-06-27 Thread Paul Winkler
of LDAPUserFolder that is not compatible with Zope 2.8? New versions can be downloaded here: http://www.dataflake.org/software/ldapuserfolder/ Or, hmmm, maybe you did not remember to install *any* of the Products that you had installed for zope 2.5? -- Paul Winkler http://www.slinkp.com

Re: [Zope] loading an url from a restricted python script

2005-06-28 Thread Paul Winkler
page. is there a zope method that I can use, or must I relay on an external python script and use urllib ? This is a FAQ: use filesystem based code. Also note that you may find existing third-party code that does what you want. Have a look at KebasData. -PW -- Paul Winkler http

Re: [Zope] Checking for an Integer Argument

2005-06-30 Thread Paul Winkler
) True looks_like_int(1) True looks_like_int(1.0) False looks_like_int(1.0) False looks_like_int(1.3) False looks_like_int(1.3) False looks_like_int(None) False looks_like_int(abc) False -- Paul Winkler http://www.slinkp.com ___ Zope maillist

Re: [Zope] Re: Re: Poll: Zope and Suse Linux

2005-07-08 Thread Paul Winkler
--with-python=/usr/local/bin/python2.3 --prefix=... make make install Does that not work? I don't see why this is any different from the usual case of the distro-provided python or zope being too old. -- Paul Winkler http://www.slinkp.com ___ Zope

Re: [Zope] Re: Zope Foundation Update

2005-07-20 Thread Paul Winkler
Everybody needs to calm down, stop insulting each other and stop broadcasting this problem to the whole world on zope-announce (for example). Its making us all look childish. +1. Please folks, remember that this is a public venue and your words will be archived for a long time. Let's have no

Re: [Zope] object acquisition via python scripts

2005-07-22 Thread Paul Winkler
', None) return attrobject -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce

Re: [Zope] Suppressing dupes in a concatenated ZCatalog query.

2005-07-28 Thread Paul Winkler
it. I don't know if you can do that with ZCatalog alone. Try Dieter's AdvancedQuery product, it's been very helpful to me. http://www.dieter.handshake.de/pyprojects/zope/#AdvancedQuery -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope

Re: [Zope] When Debug Spinning Zope doesn't work

2005-08-01 Thread Paul Winkler
for me. Good idea, thanks! Will do. Some googling suggests that info threads returns nothing when gdb is run on a system that doesn't support threads. But that's absurd in this case. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope

  1   2   3   4   5   6   7   >