[Zope] ZClass - object is broken

2005-12-12 Thread Jens Walte
Hello, i have a little Problem with an old self-madeZClass-Product named "CMSFolder". Allready existing objects of CMSFolder are broken since the last restart of the instance. It is really strange because there is no broken-sign in /Control_Panel/Products. It is still possible to create

[Zope] zope and LDAP for authorisation

2005-12-12 Thread Marinussen, M.J. (Ria)
Hi, I'm looking for a zope product that enables me to use our Active Directory LDAP server for verification of login credentials only. I want users still stored in Zope, and access to directories should be also something I can handle in Zope, and I don't want to use LDAP groups because I don't

Re: [Zope] zope and LDAP for authorisation

2005-12-12 Thread Andreas Jung
--On 12. Dezember 2005 12:04:59 +0100 Marinussen, M.J. (Ria) [EMAIL PROTECTED] wrote: I've checked out LDAPUserFolder but that's not what I'm looking for (I think...). That's exactly what you are looking for. What is wrong with LDAPUF? (come with some reasonable arguments otherwise Jens

Re: [Zope] Hooks for methods other than GET/POST on port 80?

2005-12-12 Thread Chris Withers
Roman Susi wrote: Not sure if filesystem based products qualify, but its like saying that ┬┤is it operating system problem or stupid application code which brings OS down'. One misbehaving code should not bring down the whole framework, IMHO. What is the issue number for this in the zope

Re: [Zope] Re: zdsock

2005-12-12 Thread Chris Withers
John Poltorak wrote: Are you saying that Zope cannot be restarted through ZMI on Windows? Who does that anyway? Even on unix, I use zopectl restart, That is the point - zopectl uses a socket - 'zdsock'. Oh right, well, no, you don't have that kind of socket on WIndoze as far as I know

Re: [Zope] XML-RPC within ZOPE

2005-12-12 Thread Jan-Ole Esleben
The problem is that it isn't my design, and the design is part of a contract. I can't really do anything about that (the major problem is that there will be SOAP components that might even need to be transparently integrated - which completely excludes ZEO). I tried doing my own commits, but it

Re: [Zope] Simple User Folder Setup

2005-12-12 Thread Chris Withers
Infor Gates wrote: I am having problems in setting up Simple User Folder. Error Message: Error Type: UnconfiguredException Error Value: Addition of users has not been configured I have googled around for an answer. However, there is very little info on it. Urm? That's a pretty damn

Re: [Zope] zope and LDAP for authorisation

2005-12-12 Thread Jens Vagelpohl
On 12 Dec 2005, at 11:04, Marinussen, M.J. (Ria) wrote: Hi, I'm looking for a zope product that enables me to use our Active Directory LDAP server for verification of login credentials only. I want users still stored in Zope, and access to directories should be also something I can handle in

Re: [Zope] Re: why will FastCGI not be supported in the Future.

2005-12-12 Thread Chris Withers
Tino Wildenhain wrote: The funny thing is - performance isnt really the pro of fcgi over http. Its really more about transporting header and environment data from zope to apache, which is kinda limited with mod_proxy. (Think alternative authentication, ssl ) Indeed, and it's funny that the guy

Re: [Zope] XML-RPC within ZOPE

2005-12-12 Thread Chris Withers
Jan-Ole Esleben wrote: The problem is that it isn't my design, and the design is part of a contract. I can't really do anything about that (the major problem is that there will be SOAP components that might even need to be transparently integrated - which completely excludes ZEO). That

Re: [ZOPE] XML-RPC within ZOPE

2005-12-12 Thread Jan-Ole Esleben
Chris: the errors I get are always ConflictErrors without any usable tracebacks. I would like to give more information, but it really is very complex when you go a little deeper and would probably not be useful. I'll try to describe it a little better anyway: I have an Object that offers an

[Zope] Mailman Zope

2005-12-12 Thread John Poltorak
How do I configure a Mailman list for a website which is Zope based? I guess some entries in Apaches configuration file need to distinguish between Zope based pages and Apache pages for a given virtual host, but I've no idea how to do this. Can anyone give me an example? -- John

[Zope] attribute used to index PDFs?

2005-12-12 Thread Garth B.
TextIndexNG 3.1.1 Zope 2.8.0 Python 2.3.5 What attribute should be specified when indexing PDFs? I've been using data. Word docs are indexed properly, but the PDFs aren't. The PDFs are still found with the rest of the files, but the indexed content is not what I expected. To try narrow things

Re: [Zope] attribute used to index PDFs?

2005-12-12 Thread Andreas Jung
--On 12. Dezember 2005 11:33:13 -0500 Garth B. [EMAIL PROTECTED] wrote: TextIndexNG 3.1.1 Zope 2.8.0 Python 2.3.5 What attribute should be specified when indexing PDFs? I've been using data. Word docs are indexed properly, but the PDFs aren't. The PDFs are still found with the rest of the

Re: [Zope] attribute used to index PDFs?

2005-12-12 Thread Garth B.
Hi Andreas, Neither PrincipiaSearchSource nor SearchableText does anything for these File-type objects. I guess nothing for SearchableText is expected since these are not CMF or Plone-derived objects. The only way I've managed to get *anything* indexed for these File-type objects is by

[Zope] HTTP compressed response

2005-12-12 Thread Gabriel Genellina
Hello I wish to enable HTTP response compression. Looking at ZPublisher\HTTPResponse.py I see this method: def enableHTTPCompression(self,REQUEST={},force=0,disable=0,query=0): and I think I should invoke it with REQUEST=REQUEST to enable compression only when the client browser can

Re: [Zope] attribute used to index PDFs?

2005-12-12 Thread Garth B.
On closer inspection, the Word docs aren't actually being indexed appropriately either. When I browse the vocabulary for these indexed Word docs, I happen to see textual content that can be seen by also cat'ing the document to the stdout. The vocab includes other strings that certainly are not

[Zope] Re: just curious: zope and ingres

2005-12-12 Thread Alexander Limi
On Mon, 12 Dec 2005 08:33:25 -0800, Sascha Ottolski [EMAIL PROTECTED] wrote: I remembered reading about the plans to create RDBMS integration as alternative to ZODB about 1,5 years ago: http://www.zope.com/about_us/press_releases/ca_and_zope.html Doesn't seem to be alive anymore,

Re: [Zope] Simple User Folder Setup

2005-12-12 Thread Infor Gates
ChrisThanks for your email. There is another person I wish to thank. However, I lost his email contact by accident - his advice points me to where to check for the errors.Let me Simple User Folder works.As I googled for some time on this, I noticed there are others who had similar problems but the

Re: [Zope] Simple User Folder Setup

2005-12-12 Thread David H
Infor Gates wrote: Chris Thanks for your email. There is another person I wish to thank. However, I lost his email contact by accident - his advice points me to where to check for the errors. Let me Simple User Folder works. As I googled for some time on this, I noticed there are

Re: [Zope] attribute used to index PDFs?

2005-12-12 Thread Andreas Jung
--On 12. Dezember 2005 14:54:09 -0500 Garth B. [EMAIL PROTECTED] wrote: - Digging further in this file, mimetype is only defined when extract_content() in content.py calls icc.addBinary(...). This only happens when the indexed object provides a txng_get() hook (or I suppose if an adapter

[Zope-Checkins] SVN: Zope/branches/2.9/ Several zope.app packages were forgotten to be included in the

2005-12-12 Thread Philipp von Weitershausen
Log message for revision 40726: Several zope.app packages were forgotten to be included in the first beta due to the now zpkg-based build and release process. Changed: U Zope/branches/2.9/doc/CHANGES.txt U Zope/branches/2.9/releases/Zope2/DEPENDENCIES.cfg -=- Modified:

[Zope-Checkins] SVN: Zope/trunk/releases/Zope2/DEPENDENCIES.cfg Merge r40726 from 2.9 branch:

2005-12-12 Thread Philipp von Weitershausen
Log message for revision 40727: Merge r40726 from 2.9 branch: Several zope.app packages were forgotten to be included in the first beta due to the now zpkg-based build and release process. Changed: U Zope/trunk/releases/Zope2/DEPENDENCIES.cfg -=- Modified:

Re: [Zope-Checkins] SVN: Zope/branches/2.9/ Collector #1965: 'get_transaction' missing from builtins without sufficient deprecation notice

2005-12-12 Thread Tim Peters
[Tres Seaver] Log message for revision 40728: Collector #1965: 'get_transaction' missing from builtins without sufficient deprecation notice o ZODB 3.6 properly removed it, but Zope needs to keep it for another release because ZODB released *twice* during the Zope 2.9 release cycle.

[Zope-Checkins] SVN: Zope/trunk/doc/INSTALL.txt Trivial typo, WEBSERVER.txt was misspelled.

2005-12-12 Thread Paul Winkler
Log message for revision 40731: Trivial typo, WEBSERVER.txt was misspelled. Changed: U Zope/trunk/doc/INSTALL.txt -=- Modified: Zope/trunk/doc/INSTALL.txt === --- Zope/trunk/doc/INSTALL.txt 2005-12-12 15:56:57 UTC (rev

[Zope-Checkins] SVN: Zope/trunk/doc/FAQ.txt Removed old instructions to avoid python 2.4.

2005-12-12 Thread Paul Winkler
Log message for revision 40732: Removed old instructions to avoid python 2.4. (Keeping the general instructions to let ./configure choose the right version of python for you.) Changed: U Zope/trunk/doc/FAQ.txt -=- Modified: Zope/trunk/doc/FAQ.txt

[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/Zope2/App/startup.py Add 'stacklevel=2' to deprecation warning to show call site.

2005-12-12 Thread Tres Seaver
Log message for revision 40733: Add 'stacklevel=2' to deprecation warning to show call site. Thanks to Tim Peters for pointing out the flaw! Changed: U Zope/branches/2.9/lib/python/Zope2/App/startup.py -=- Modified: Zope/branches/2.9/lib/python/Zope2/App/startup.py

[Zope-Checkins] SVN: Zope/branches/2.9/doc/ Trivial doc fixes from trunk.

2005-12-12 Thread Paul Winkler
Log message for revision 40736: Trivial doc fixes from trunk. Changed: U Zope/branches/2.9/doc/FAQ.txt U Zope/branches/2.9/doc/INSTALL.txt -=- Modified: Zope/branches/2.9/doc/FAQ.txt === ---

[Zope-Checkins] SVN: Zope/branches/publication-refactor/lib/python/ZPublisher/Publi - Checkpoint before I dig into refactoring BaseRequest.py and Publish.py

2005-12-12 Thread Sidnei da Silva
Log message for revision 40742: - Checkpoint before I dig into refactoring BaseRequest.py and Publish.py Changed: A Zope/branches/publication-refactor/lib/python/ZPublisher/Publication.py U Zope/branches/publication-refactor/lib/python/ZPublisher/Publish.py -=- Added:

[Zope-Checkins] SVN: Zope/branches/publication-refactor/lib/python/ZPublisher/ - Implemented traverseName method and changed BaseRequest to use a (singleton) publication object

2005-12-12 Thread Sidnei da Silva
Log message for revision 40746: - Implemented traverseName method and changed BaseRequest to use a (singleton) publication object Changed: U Zope/branches/publication-refactor/lib/python/ZPublisher/BaseRequest.py U

[Zope-Checkins] SVN: Zope/branches/publication-refactor/lib/python/ZPublisher/ - Make Publish.py use the new IPublication object

2005-12-12 Thread Sidnei da Silva
Log message for revision 40750: - Make Publish.py use the new IPublication object Changed: U Zope/branches/publication-refactor/lib/python/ZPublisher/BaseRequest.py U Zope/branches/publication-refactor/lib/python/ZPublisher/Publication.py U

[Zope-Checkins] SVN: Zope/branches/publication-refactor/lib/python/ZPublisher/ - Fix a few minor typos. I can actually browse the ZMI now.

2005-12-12 Thread Sidnei da Silva
Log message for revision 40751: - Fix a few minor typos. I can actually browse the ZMI now. Changed: U Zope/branches/publication-refactor/lib/python/ZPublisher/BaseRequest.py U Zope/branches/publication-refactor/lib/python/ZPublisher/Publication.py U

[Zope-Checkins] SVN: Zope/trunk/ Fixed OFS.ObjectManager list_import() to tolerate missing directories.

2005-12-12 Thread Paul Winkler
Log message for revision 40754: Fixed OFS.ObjectManager list_import() to tolerate missing directories. Changed: U Zope/trunk/doc/CHANGES.txt U Zope/trunk/lib/python/OFS/ObjectManager.py U Zope/trunk/lib/python/OFS/tests/testObjectManager.py -=- Modified:

[Zope-Checkins] SVN: Zope/branches/publication-refactor/lib/python/ZPublisher/ - Fixed a couple mistakes.

2005-12-12 Thread Sidnei da Silva
Log message for revision 40755: - Fixed a couple mistakes. - The ZPublisher tests now pass Changed: U Zope/branches/publication-refactor/lib/python/ZPublisher/BaseRequest.py U Zope/branches/publication-refactor/lib/python/ZPublisher/HTTPRequest.py U

[Zope-Checkins] SVN: Zope/branches/2.9/ OFS ObjectManager: Fixed list_imports() to tolerate missing

2005-12-12 Thread Paul Winkler
Log message for revision 40756: OFS ObjectManager: Fixed list_imports() to tolerate missing import directories. (Merged from trunk.) Changed: U Zope/branches/2.9/doc/CHANGES.txt U Zope/branches/2.9/lib/python/OFS/ObjectManager.py U

[Zope-Checkins] SVN: Zope/branches/publication-refactor/lib/python/ZPublisher/Publication.py - Inline before_publishing_traverse handling and then fire the event

2005-12-12 Thread Sidnei da Silva
Log message for revision 40757: - Inline before_publishing_traverse handling and then fire the event Changed: U Zope/branches/publication-refactor/lib/python/ZPublisher/Publication.py -=- Modified: Zope/branches/publication-refactor/lib/python/ZPublisher/Publication.py

[Zope-dev] Re: RFC: Locale-specific Text Collation

2005-12-12 Thread Philipp von Weitershausen
Jim Fulton wrote: When presenting users with ordered text (e.g. sorted lists of options), simply sorting Unicode strings doesn't provide an ordering that users in a given locale will find useful. Various languages have text sorting conventions that don't agree with the ordering of Unicode

[Zope-dev] Re: [Zope3-dev] RFC: Locale-specific Text Collation

2005-12-12 Thread Christian Theune
Hi, Am Freitag, den 09.12.2005, 08:58 -0500 schrieb Jim Fulton: When presenting users with ordered text (e.g. sorted lists of options), simply sorting Unicode strings doesn't provide an ordering that users in a given locale will find useful. Various languages have text sorting conventions

Re: [Zope-dev] make test fails on 2.9.0-b1?

2005-12-12 Thread Paul Winkler
On Mon, Dec 12, 2005 at 05:40:27AM +0100, Andreas Jung wrote: The build process changed in 2.9. Perhaps make inplace; make test should work. -aj Good thought, but there is no inplace target anymore. What is now the canonical way of running tests in a release tarball? Is there one? -PW --

Re: [Zope-dev] Imports broken on 2.9.0-b1?

2005-12-12 Thread Paul Winkler
On Mon, Dec 12, 2005 at 07:57:43AM +0100, Tino Wildenhain wrote: I suspect its the feature which got introduced in 2.8? or so which has a browser for packets to import so you dont have to guess and type the name correctly. And to not have to copy the exaples to every instance home, it looks

[Zope-dev] Re: make test fails on 2.9.0-b1?

2005-12-12 Thread Philipp von Weitershausen
Andreas Jung wrote: The build process changed in 2.9. Perhaps make inplace; make test should work. He explicity said in a tarball. make inplace only exists in SVN. As a reminder: SVN repo != release tarball I know it's always been '==' for every other Zope 2 version, but 2.9 is different

[Zope-dev] Re: make test fails on 2.9.0-b1?

2005-12-12 Thread Philipp von Weitershausen
Paul Winkler wrote: On Mon, Dec 12, 2005 at 05:40:27AM +0100, Andreas Jung wrote: The build process changed in 2.9. Perhaps make inplace; make test should work. -aj Good thought, but there is no inplace target anymore. Yup, Andreas was referring to the SVN checkout. What is now the

Re: [Zope-dev] Re: make test fails on 2.9.0-b1?

2005-12-12 Thread Paul Winkler
On Mon, Dec 12, 2005 at 04:54:24PM +0100, Philipp von Weitershausen wrote: Andreas Jung wrote: The build process changed in 2.9. Perhaps make inplace; make test should work. He explicity said in a tarball. make inplace only exists in SVN. As a reminder: SVN repo != release tarball

[Zope-dev] Re: Imports broken on 2.9.0-b1?

2005-12-12 Thread Philipp von Weitershausen
Tino Wildenhain wrote: Am Sonntag, den 11.12.2005, 23:19 -0500 schrieb Paul Winkler: Another quickie problem report - no time to investigate further right now, but can anybody else reproduce? If so, I'll try to fix tomorrow... In a fresh 2.9.0-b1 instance, made via bin/mkzopeinstance, I get

[Zope-dev] Re: make test fails on 2.9.0-b1?

2005-12-12 Thread Paul Winkler
On Mon, Dec 12, 2005 at 05:01:35PM +0100, Philipp von Weitershausen wrote: I guess it should use zope.testing.testrunner instead of zope.app.testing.test, though I'm not sure how the parameters and options convert. I don't think that's the problem: [EMAIL PROTECTED] Zope-2.9-branch $ svn up

Re: [Zope-dev] Re: make test fails on 2.9.0-b1?

2005-12-12 Thread Paul Winkler
On Mon, Dec 12, 2005 at 12:43:35PM -0500, Paul Winkler wrote: Looks to me like it's a simple PYTHONPATH problem: (snip) OK, is Makefile.in the right place to fix that? This patch seems to work: [EMAIL PROTECTED] Zope-2.9-branch $ svn diff inst/Makefile.in Index: inst/Makefile.in

Re: [Zope-dev] Re: make test fails on 2.9.0-b1?

2005-12-12 Thread Paul Winkler
Just to clarify - sorry for confusing the issue (and myself): There are two separate problems here. make test doesn't work in a sandbox *or* a release tarball. The patch below addresses only the former. Phillip is right about the latter, it's got a broken import. -PW On Mon, Dec 12, 2005 at

Re: [Zope-dev] Re: make test fails on 2.9.0-b1?

2005-12-12 Thread Paul Winkler
On Mon, Dec 12, 2005 at 01:08:16PM -0500, Paul Winkler wrote: Phillip is right about the latter, it's got a broken import. OK, I have a patch for make test that allows it to at least run, but with lots of test errors. I think I will have to pass on this one and leave it to somebody who's more

[Zope-dev] New testrunner is confusing the heck out of me

2005-12-12 Thread Paul Winkler
I'm assuming this is operator error, but I can't make head nor tail of the following (in a zope 2 trunk sandbox). Note the number of tests run by each command: [EMAIL PROTECTED] Zope-Trunk $ python lib/python/OFS/tests/testObjectManager.py .No handlers could be found for logger Zope

Re: [Zope-dev] New testrunner is confusing the heck out of me

2005-12-12 Thread Paul Winkler
On Mon, Dec 12, 2005 at 03:31:08PM -0500, Paul Winkler wrote: I'm assuming this is operator error And so it was. I had SOFTWARE_HOME set pointing to a 2.7 installation! remembering-to-check-what-crap-is-in-my-environment-next-time-ly-y'rs, -PW -- Paul Winkler http://www.slinkp.com

Re: [Zope-dev] Re: Imports broken on 2.9.0-b1?

2005-12-12 Thread Paul Winkler
On Mon, Dec 12, 2005 at 06:05:48PM +0100, Philipp von Weitershausen wrote: I think supporting $SOFTWARE_HOME/import is yagni and just complicates things. Let's rip it out. I'm gonna punt on that: I can imagine hosting providers might be using that feature already, and I do'nt feel like doing