[Zope] Firefox manage_changePermissions issue?

2005-04-19 Thread Tony Addyman
I have experienced the following problem on two separate Zope/Plone sites. It is reasonably repeatable, but sometimes works without problem. I have a ZODB saved for testing purposes. I have tried fsrecovery.py on the database. It is not corrupted. Firefox fails on this database every time. The

Re: [Zope] Restart button in Control Panel

2005-04-19 Thread Milos Prudek
I don't think that debug mode has anything to do with it. Rather, if Correct. i have debug mode off, no Restart button. you're using runzope it's not running in daemon mode, and so cannot restart. Run it as a service with 'zopectl start' and you'll have a Restart button. Correct again. Thank

Re: [Zope] tal:attributes and extra newline

2005-04-19 Thread bruno modulix
Andreas Jung wrote: --On Montag, 18. April 2005 17:55 Uhr +0200 Pascal Peregrina [EMAIL PROTECTED] wrote: Ok, it was TALInterpreter after all, but you need a long list of attributes (on a single line / single tal:attributes statement I mean)... It's because of the

[Zope] How to break up an external method over multiply source files

2005-04-19 Thread Lucas Hofman
I have an external method a.py (in $INSTANCE_HOME/Extensions) that becomes to big to be in one python file. I have put some functions in b.py (also in $INSTANCE_HOME/Extensions) and want to use them from a.py. However 'import b' in a.py does not work. How to get this to work? Lucas

Re: [Zope] How to break up an external method over multiply source files

2005-04-19 Thread Andreas Jung
--On Dienstag, 19. April 2005 11:25 Uhr +0200 Lucas Hofman [EMAIL PROTECTED] wrote: I have an external method a.py (in $INSTANCE_HOME/Extensions) that becomes to big to be in one python file. I have put some functions in b.py (also in $INSTANCE_HOME/Extensions) and want to use them from a.py.

[Zope] Re: How to break up an external method over multiply source files

2005-04-19 Thread Lucas Hofman
Andreas Jung wrote: --On Dienstag, 19. April 2005 11:25 Uhr +0200 Lucas Hofman [EMAIL PROTECTED] wrote: I have an external method a.py (in $INSTANCE_HOME/Extensions) that becomes to big to be in one python file. I have put some functions in b.py (also in $INSTANCE_HOME/Extensions) and want to

[Zope] Re: How to break up an external method over multiply source files

2005-04-19 Thread Lucas Hofman
Lucas Hofman wrote: Andreas Jung wrote: --On Dienstag, 19. April 2005 11:25 Uhr +0200 Lucas Hofman [EMAIL PROTECTED] wrote: I have an external method a.py (in $INSTANCE_HOME/Extensions) that becomes to big to be in one python file. I have put some functions in b.py (also in

Re: [Zope] Zope on cdrom

2005-04-19 Thread Chris Withers
Nicolas Perrier - Zindep wrote: File /mnt/cdrom/python/lib/python2.3/asyncore.py, line 543, in __init__ flags = fcntl.fcntl(fd, fcntl.F_GETFL, 0) AttributeError: 'module' object has no attribute 'fcntl' Somebody can it help me? Is there any other handbook? Thanks. This looks more like you are

Re: [Zope] Problem with Zope Threads on Debain

2005-04-19 Thread Chris Withers
David wrote: I have installed the zope debian (sarge) package. The default number of threads is 4 but only one thread is running. I installed this package in several machines and I have this problem in everyone. How are you deducing that only one thread is running? Chris -- Simplistix - Content

Re: [Zope] Using USB smart token with Apache-enabled Zope web site

2005-04-19 Thread Chris Withers
[EMAIL PROTECTED] wrote: I would like to create a collaborative environment where people would work on Blender files (among other file types) with yet unknown parties and enforce 2-way authenticated access to the Zope web site with smart tokens. I want also manage the Zope web site from

Re: [Zope] Meta Type change

2005-04-19 Thread Chris Withers
David wrote: I was wondering if I could just alter the meta_type for the object from within Zope, maybe through a python script and see if that makes the object accessible again. I can't find anything on how to change the meta_type for an existing object though. This is likely ot be the wrong

Re: [Zope] problems with *.zip and IE6 behind Apache

2005-04-19 Thread Chris Withers
Sounds like this is an Apache problem and should be directed to an Apache mailing list... Chris robert wrote: Hi there, Internet Explorer can not open *.zip files served by Zope. I use apache 2.49 and mod_deflate on Linux (Suse 9.1/2) I use the following rule to supress compression: # Don't

Re: [Zope] Firefox manage_changePermissions issue?

2005-04-19 Thread Chris Withers
Tony Addyman wrote: I have experienced the following problem on two separate Zope/Plone sites. It is reasonably repeatable, but sometimes works without problem. I have a ZODB saved for testing purposes. I have tried fsrecovery.py on the database. It is not corrupted. Firefox fails on this database

[Zope] Re: How to break up an external method over multiply source files

2005-04-19 Thread Lucas Hofman
Lucas Hofman wrote: Sorry, I finished typing a little to early. I get an importerror: Traceback (innermost last): Module ZPublisher.Publish, line 101, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 39, in call_object Module

[Zope] Re: How to break up an external method over multiply source files

2005-04-19 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Jung wrote: | --On Dienstag, 19. April 2005 11:25 Uhr +0200 Lucas Hofman | [EMAIL PROTECTED] wrote: | | I have an external method a.py (in $INSTANCE_HOME/Extensions) that | becomes to big to be in one python file. | | I have put some functions

Re: [Zope] Firefox manage_changePermissions issue?

2005-04-19 Thread Paul Winkler
On Mon, Apr 18, 2005 at 10:53:00PM +0100, Tony Addyman wrote: I have experienced the following problem on two separate Zope/Plone sites. It is reasonably repeatable, but sometimes works without problem. I have a ZODB saved for testing purposes. I have tried fsrecovery.py on the database. It is

[Zope] (no subject)

2005-04-19 Thread Maslak, Michael
Hi All, How do I install multiple instances of Zope that are valid Windows Services in W2K3 w/ SP1 installed? i.e. start like an automatic service on startup? Only the initial instance that gets created during the installation process gets associated with a Hardware Profile, Profile1

[Zope] Organisational vs. Functional hierarchies

2005-04-19 Thread David Given
I apologise if this is a newbie question, but I can't seem to find anything in the documentation about this. The way Zope seems to want to organise things is so that folders roughly equate to classes. That is, if I have B inside A, then B inherits its behaviour from A. All of B's siblings are the

Re: [Zope] Using USB smart token with Apache-enabled Zope web site

2005-04-19 Thread Tom Trelvik
Chris Withers wrote: Sounds like looking at PluggableAuthenticationService or Easier to find by searching for Pluggable*Auth*Service (without the asterisks for emphasis). Tom ___ Zope maillist - Zope@zope.org

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

Re: [Zope] Organisational vs. Functional hierarchies

2005-04-19 Thread bruno modulix
David Given wrote: I apologise if this is a newbie question, but I can't seem to find anything in the documentation about this. The way Zope seems to want to organise things is so that folders roughly equate to classes. Nope. That is, if I have B inside A, then B inherits its behaviour from A. B

Re: [Zope] Organisational vs. Functional hierarchies

2005-04-19 Thread Lennart Regebro
On 4/19/05, David Given [EMAIL PROTECTED] wrote: I apologise if this is a newbie question, but I can't seem to find anything in the documentation about this. The way Zope seems to want to organise things is so that folders roughly equate to classes. That is, if I have B inside A, then B

[Zope] Convert Photos to ExtImage store

2005-04-19 Thread David Chandek-Stark
I have a few PhotoFolders containing Photos that are stored in the ZODB which I would like to convert to ExtImage storage. Since the number is large enough to make a manual process painful, I'd like to write a conversion script. Seems simple enough in principle, but I'm having trouble getting

Re: [Zope] Convert Photos to ExtImage store

2005-04-19 Thread J Cameron Cooper
David Chandek-Stark wrote: I have a few PhotoFolders containing Photos that are stored in the ZODB which I would like to convert to ExtImage storage. Since the number is large enough to make a manual process painful, I'd like to write a conversion script. Seems simple enough in principle, but

Re: [Zope] Organisational vs. Functional hierarchies

2005-04-19 Thread David Given
On Tue, 2005-04-19 at 18:43 +0200, bruno modulix wrote: [...] All of B's siblings are the same sort of object. Why do you have this strange idea ? From, uh, the documentation... because all of B's siblings will inherit the same methods from A. [...] Then calls like:

Re: [Zope] Organisational vs. Functional hierarchies

2005-04-19 Thread Paul Winkler
On Tue, Apr 19, 2005 at 06:17:30PM +0100, David Given wrote: On Tue, 2005-04-19 at 18:43 +0200, bruno modulix wrote: [...] All of B's siblings are the same sort of object. Why do you have this strange idea ? From, uh, the documentation... because all of B's siblings will inherit the

[Zope] Re: Convert Photos to ExtImage store

2005-04-19 Thread David Chandek-Stark
OK, my problem now is how to feed the image data from the ZODB photos to the factory method. If 'photo' is the original image object, I've tried photo.file (attribute error: file), photo.data (attribute error: read - line 658 of Photo.py), and other things. There must be a simple way to get

Re: [Zope] Organisational vs. Functional hierarchies

2005-04-19 Thread Lennart Regebro
On 4/19/05, David Given [EMAIL PROTECTED] wrote: Unfortunately, this requires having the code dealing with text and images to be in the same place, which breaks encapsulation. Zope is not a programming language. :-) Yes, Acquisition has similarieties to class inheritance, but it isn't, and

[Zope] Writing products (was: Organisational vs. Functional hierarchies)

2005-04-19 Thread Milos Prudek
Meh. Can you point me at any good tutorial documentations? I just learned how to write products in about four hours by reading the following tutorials: Start with the minimal Product http://www.zope.org/Members/maxm/HowTo/minimal_01/ Then read about Boring product

[Zope] Re: Organisational vs. Functional hierarchies

2005-04-19 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lennart Regebro wrote: On 4/19/05, David Given [EMAIL PROTECTED] wrote: Unfortunately, this requires having the code dealing with text and images to be in the same place, which breaks encapsulation. Zope is not a programming language. :-)

[Zope] Re: Organisational vs. Functional hierarchies

2005-04-19 Thread Lennart Regebro
Acquisition can be handy for inheriting data (or rather, configuration), but not methods. Hmmm CMF skins (templates, Python Scripts, etc.) all work via acquisition; placeful scripting in general relies on it heavily. There is admittedly a lot of extra machinery in place to make sure

[Zope] Zope2.7.4 with Python2.4?

2005-04-19 Thread Luis N
Hi, I fired up zope ona new server yesterday. It's very very slow! I didn't think about it much at first (because I didn't think it possible), but, sh bin/runzope/usr/local/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random

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

2005-04-19 Thread Luis N
Hi, Zope appears to be defaulting, and running with Python2.4 Forgive my newbieness, but might this be because I did something silly like: python mkzopeinstance.py rather than, /usr/local/bin/python2.3 mkzopeinstance.py when the instance was first created? nm, I fixed 'runzope', and

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

2005-04-19 Thread Paul Winkler
On Tue, Apr 19, 2005 at 05:45:08PM -0500, Luis N wrote: Forgive my newbieness, but might this be because I did something silly like: python mkzopeinstance.py rather than, /usr/local/bin/python2.3 mkzopeinstance.py when the instance was first created? Yep, that'd be my guess. --

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

2005-04-19 Thread Paul Winkler
On Tue, Apr 19, 2005 at 06:45:04PM -0500, Luis N wrote: Hi, Zope appears to be defaulting, and running with Python2.4 Forgive my newbieness, but might this be because I did something silly like: python mkzopeinstance.py rather than, /usr/local/bin/python2.3

[Zope] Memory management problems

2005-04-19 Thread Peter Millar
I have a serious memory problem. And would like to hear from anyone who has large image files being served up to a large number of simultaneous user base. I am running plone 2.0, zope 2.7.3, python 2.3.3, on windows 2003 server with 1.5 GB RAM. I have a 1MB image. I have created a little

RE: [Zope] Memory management problems

2005-04-19 Thread Pascal Peregrina
My useless comment: In such a real world scenario, anyone would put squid between Zope and the millions of users. :) Pascal -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Peter Millar Envoyé : mercredi 20 avril 2005 02:28 À : [EMAIL PROTECTED]; Zope

Re: [Zope] Memory management problems

2005-04-19 Thread Chris McDonough
Many things could be going on here. I don't know of any outstanding memory leaks in Zope itself. There may be one in Plone or another 3rd-party product you're using. Or you may have created one within your own code. Tracking down memory leaks is hard and it's not clear to even tell you where

[Zope] ZPsycopgDA dropping connections?

2005-04-19 Thread Richard Jones
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Has anyone else seen ZPsycopgDA just lose its connection? I've got two ZEO clients set up to use it, and every now and then one of them (the primary) just up and loses its connection. There doesn't appear to be any message in the log file *except*

Re: [Zope] ZPsycopgDA dropping connections?

2005-04-19 Thread Tino Wildenhain
Hi, Am Mittwoch, den 20.04.2005, 15:23 +1000 schrieb Richard Jones: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Has anyone else seen ZPsycopgDA just lose its connection? I've got two ZEO clients set up to use it, and every now and then one of them (the primary) just up and loses its

Re: [EMAIL PROTECTED]: Re: [Zope-Checkins] CVS: Zope/lib/python/nt_svcutils - service.py:1.1.2.2]

2005-04-19 Thread Tim Peters
[Mark Hammond] [For some reason Tim's original still hasn't arrived!] You know, from my POV that statement is pretty mysterious, since you seem to be replying to my email here wink. [Tim Peters] ... I'm trying to build a new ZRS release. Trying to stop the ZRS service now suddenly and for no

[Zope-Checkins] CVS: Zope/lib/python/nt_svcutils - service.py:1.1.2.4

2005-04-19 Thread Tim Peters
Update of /cvs-repository/Zope/lib/python/nt_svcutils In directory cvs.zope.org:/tmp/cvs-serv16208/lib/python/nt_svcutils Modified Files: Tag: Zope-2_7-branch service.py Log Message: After consulting with Mark Hammond, removed the explicit calls to SvcStop(). That method gets

[Zope-Checkins] CVS: Zope/doc - CHANGES.txt:1.625.2.323

2005-04-19 Thread Andreas Jung
Update of /cvs-repository/Zope/doc In directory cvs.zope.org:/tmp/cvs-serv18673/doc Modified Files: Tag: Zope-2_7-branch CHANGES.txt Log Message: 2.7.6b2 === Zope/doc/CHANGES.txt 1.625.2.322 = 1.625.2.323 === --- Zope/doc/CHANGES.txt:1.625.2.322Wed Apr 13 08:07:57 2005 +++

[Zope-Coders] Zope Bugs, Features, and Patches Collector: Open Issues

2005-04-19 Thread tseaver
The following supporters have open issues assigned to them in this collector (http://www.zope.org/Collectors/Zope). Assigned and Open Brian - ZPT not being processed with text/vnd.wap.wml mime type, [Accepted] http://www.zope.org/Collectors/Zope/968 Caseman - ZCTextUndex

Re: [Zope-Coders] Wrong username and password == Anonymous User?

2005-04-19 Thread Richard Jones
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 20 Apr 2005 12:09 pm, Sidnei da Silva wrote: - If you want to access a anonymous page, you will *not* be sending auth credentials. Why do you say that? Cooke auth doesn't distinguish between anonymous pages and pages that require a user,

Re: [Zope-Coders] Wrong username and password == Anonymous User?

2005-04-19 Thread Sidnei da Silva
On Tue, Apr 19, 2005 at 11:06:05PM -0400, Paul Winkler wrote: | Again: | | - Not sending credentials is fine for anonymous pages | - Sending valid credentials is fine for all pages | - Sending invalid credentials should fail as early as possible. | | What should happen if your credentials

Re: [Zope-dev] debug-mode on under Windows 2000.

2005-04-19 Thread Chris Withers
[EMAIL PROTECTED] wrote: I'm trying to get Zope to reload my Python modules so I don't have to restart Zope after code changes. Even with debug-mode on (according to the zope config file, it defaults to on) my modules are not being reloaded unless I do a restart. Is there a fix for this? Debug

Re: [Zope-DB] Returning values from Oracle function/procedure withZSQLMethod

2005-04-19 Thread Chris Withers
Hi Cynthia, Cynthia Kiser wrote: When you do our own connection management, are you able to avoid DCOracle2 leaking connections? In our Zope 2.6.1/DCOracle2-1.3b server, we accumulate sessions where Oracle is waiting for a response from Zope, but Zope apparently thinks it closed that connection

Re: [Zope-DB] Returning values from Oracle function/procedure withZSQLMethod

2005-04-19 Thread Chris Withers
M.-A. Lemburg wrote: This is a no-go if your Oracle people go huh? ODBC? that's deprecated rubbish and you ain't using it ;-) Depends on what people you're talking to, I guess... Oracle DBA's who know a helluva lot more than me about Oracle ;-) Why are they saying ODBC is deprecated? Is it? Is ADO