[Zope] [ANN] TextIndexNG 3.0.7 released

2005-09-24 Thread Andreas Jung


I am pleased to announce the release of TextIndexNG V 3.0.7.

TextIndexNG V 3 is a complete new implementation based on Zope 3 
technologies and can be used both in Zope 2.8 or 2.7 (with Five) or in

Zope 3.

What's new?

- multi-field indexing and query support

- multi-lingual support

- configurable converters (through ZCML)

- new indexing API (allowing you to hook your custom content types with 
TextIndexNG

  through Zope 3 adapters).


Changes since V 3.0.6:

  - support for thesauruses

  - converters: massive improvements for OpenOffice documents
(patch by Raphaël Poss)

  - converters: RTF support added  (patch by Raphaël Poss)


Requirements:

 - Zope 2.8 or Zope 2.7 (+ Five) or Zope 3 (Zope 3 has nothing like 
catalogs yet)


 TextIndexNG V3 will *not* run with bare Zope 2.7 installations without 
Five

 (and this will not be changed in the future).

Download:

 http://sf.net/projects/textindexng

Project page:

 http://opensource.zopyx.biz/OpenSource/TextIndexNG3


For installation and documentation issues refer to doc/README.txt from the 
archive. It's basically the same procedure as with former versions except 
you *need* to recompile the extension modules. Windows binaries of the 
required extension modules are currently not available (any volunteers?).


TextIndexNG V 3 is published under the ZPL.


Andreas Jung

   ---
  -   Andreas JungZOPYX Software Development and Consulting -
 -   E-mail: [EMAIL PROTECTED]   Web: www.zopyx.com   -
  --- 




  -

pgpJ5xQ2CJ03W.pgp
Description: PGP signature
___
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/listinfo/zope-dev )


Re: [Zope] create a new log file

2005-09-24 Thread Sascha Ottolski
Am Montag, 19. September 2005 20:19 schrieb Nuno:
> Hi!
>
> How can I create a new log file, e.g. "mylog.log", this is to log
> specific jobs in a different log file of "event.log".

depending on your needs, the EventLogManager Product might suit you:

http://www.zope.org/Members/mcdonc/Products/EventLogManager


Cheers, Sascha
___
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/listinfo/zope-dev )


Re: [Zope] securing webdav

2005-09-24 Thread Sascha Ottolski
Am Samstag, 24. September 2005 01:08 schrieb David Bear:
> I run zope in back of apache, and let apache handle tls/ssl.
>
> In all the searching on zope.org  though I haven't found
> any documents on how to let apache handle securing webdav for zope as well.
>
> Anyone see/written such?

depending on your situation, a ssh tunnel might be feasible; works perfectly. 
small drawback is, you obviously have to open a ssh session first (ssh-agent 
is your friend).


Cheers, Sascha
___
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/listinfo/zope-dev )


Re: [Zope] securing webdav

2005-09-24 Thread David Pratt
Hi Sascha. I realize that you can forward a port this way but this 
requires providing server accounts to users in addition to zope 
accounts.  scponly is a product to remove other shell functionality - 
so you can hand out accounts in a more untrusted situation.  Either 
way, handing out server accounts is not something I favor.


I am looking for either for a proper zope solution or a way of using 
the apache proxy to accomplish this.  David is right, I have also seen 
very little about securing webdav outside of ZServerSSL and m2crypto.  
Anyone happy with the results? I am not even certain if it works with 
2.8.


What about sftp? Anyone using Zope Corp's sftp package that can 
comment? I believe twisted is in the mix for Zope3 and sftp.  Can 
anyone comment on this or whether this solution has some potential for 
Zope2.  I think the Zope Corp idea was twisted obtaining the data on 
port and supplying the data to zope in the background.


Regards,
David

On Saturday, September 24, 2005, at 08:39 AM, Sascha Ottolski wrote:


Am Samstag, 24. September 2005 01:08 schrieb David Bear:

I run zope in back of apache, and let apache handle tls/ssl.

In all the searching on zope.org  though I haven't 
found
any documents on how to let apache handle securing webdav for zope as 
well.


Anyone see/written such?


depending on your situation, a ssh tunnel might be feasible; works 
perfectly.
small drawback is, you obviously have to open a ssh session first 
(ssh-agent

is your friend).


Cheers, Sascha
___
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/listinfo/zope-dev )


___
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/listinfo/zope-dev )


Re: [Zope] securing webdav

2005-09-24 Thread Tino Wildenhain
Am Samstag, den 24.09.2005, 00:29 -0300 schrieb David Pratt:
> Hi Tino. Over HTTP is not the problem. It is more on normally https you 
> are rewriting your requests to port 443 with apache proxy and your 
> usual webdav server is port 1980 that is not secure.

Ah so. I use webdav over the standard port and not unsing the separate
webdav only server.

ZServer handles webdav just fine. 

Regards
Tino

___
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/listinfo/zope-dev )


Re: [Zope] securing webdav

2005-09-24 Thread Tino Wildenhain
Am Samstag, den 24.09.2005, 13:39 +0200 schrieb Sascha Ottolski:
> Am Samstag, 24. September 2005 01:08 schrieb David Bear:
> > I run zope in back of apache, and let apache handle tls/ssl.
> >
> > In all the searching on zope.org  though I haven't found
> > any documents on how to let apache handle securing webdav for zope as well.
> >
> > Anyone see/written such?
> 
> depending on your situation, a ssh tunnel might be feasible; works perfectly. 
> small drawback is, you obviously have to open a ssh session first (ssh-agent 
> is your friend).

Oh, its not that hard either, you can use apache as proxy for
any host:port combination. That means if you really want to
use the separate zope webdav daemon, you can use another
hostname, say https://dav.yourdomain.com/ to
proxy to zopeserver:webdavport
or https://yourdomain.com:8443/ - which works
too (and has the advantage of keeping the ssl-certificate
valid)

___
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/listinfo/zope-dev )


[Zope] Re: ZSQL pluggable brains

2005-09-24 Thread Martijn Pieters
Chris Hoy wrote:
> I have been using ZSQLMethods object some with some without pluggable
> brains. I have come across a problem where the results of the sql query
> are not refreshed even thought the database is updated. I have noticed
> that the problem only occurs to those ZSQLMethods that have pluggable
> brains. It doesn't happen all the time.
> Has anybody come across a similar problem?

What are the cache settings of the ZSQLMethod in question?

Martijn Pieters


___
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/listinfo/zope-dev )


Re: [Zope] securing webdav

2005-09-24 Thread Sascha Ottolski
Am Samstag, 24. September 2005 01:08 schrieb David Bear:
> I run zope in back of apache, and let apache handle tls/ssl.
>
> In all the searching on zope.org  though I haven't found
> any documents on how to let apache handle securing webdav for zope as well.
>
> Anyone see/written such?

forget that one: another approach might be put a pound reverse proxy in front 
of your zope, that handles your ssl connection.

Cheers, Sascha
___
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/listinfo/zope-dev )


[Zope] Re: ZSQL pluggable brains

2005-09-24 Thread Chris Hoy
The caches setting on the ZSQLMethod in questions are 
max_rows=0 
max_cache=0
cache_time=0



Martijn Pieters wrote:
What are the cache settings of the ZSQLMethod in question?

Chris Hoy wrote:
> I have been using ZSQLMethods object some with some without pluggable 
> brains. I have come across a problem where the results of the sql 
> query are not refreshed even thought the database is updated. I have 
> noticed that the problem only occurs to those ZSQLMethods that have 
> pluggable brains. It doesn't happen all the time. Has anybody come 
> across a similar problem?



 
 



___
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/listinfo/zope-dev )


[Zope] Re: Zope Foundation?

2005-09-24 Thread Godefroid Chapelle

Hadar Pedhazur wrote:
 > Godefroid Chapelle wrote:
 >
 >> Can the name of people that are part of this small committee be
 >> published ? I'd like to know who might be representing me, this way I
 >> can ask him or them about the direction taken and maybe actually give
 >> them my opinion.
 >
 >
 > I don't think this should be a problem, but I'll have to check with Rob
 > first, and then the people on the committee, to make sure they don't
 > mind being contacted. After all, they are "volunteering" their time, and
 > they might not want the extra burden of communicating with many
 > individuals.
 >
 > Still, this is a good idea, so I will float it early next week.

Has there been any steps made about this ?


--
Godefroid Chapelle (aka __gotcha)- BubbleNet  http://bubblenet.be

___
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/listinfo/zope-dev )


[Zope] Re: Zope Foundation?

2005-09-24 Thread Hadar Pedhazur

Godefroid Chapelle wrote:

Hadar Pedhazur wrote:
 > Godefroid Chapelle wrote:
 >
 >> Can the name of people that are part of this small committee be
 >> published ? I'd like to know who might be representing me, this way I
 >> can ask him or them about the direction taken and maybe actually give
 >> them my opinion.
 >
 >
 > I don't think this should be a problem, but I'll have to check with Rob
 > first, and then the people on the committee, to make sure they don't
 > mind being contacted. After all, they are "volunteering" their time, and
 > they might not want the extra burden of communicating with many
 > individuals.
 >
 > Still, this is a good idea, so I will float it early next week.

Has there been any steps made about this ?


Yes. We have heard from all but one person on the committee, and they 
have said yes. We'll try to track the last person down over the weekend, 
and publish the names on Monday (we'll likely publish the rest without 
this one person if we can't track him down).


___
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/listinfo/zope-dev )


[Zope] I still can't load Zope at start up on a Mac OS X Server

2005-09-24 Thread Garito

Hi all

Now I'm trying launchd method

I have:
lanunchd[309]: ZopeSistes: respawning too quickly! throtting
or
exits with exit code: 1
errors at system.log (it depends how I launch zope)

any idea?

Thanks!!!

--
Mis Cosas
http://blogs.sistes.net/Garito/


___
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/listinfo/zope-dev )


[Zope] Zope Foundation - formation review committee

2005-09-24 Thread Rob Page

We've been asked to share the membership of the
committee we have helping with the formation documents
for the Zope Foundation.

We're grateful to the following people for sharing
their valuable time to participate:

o Takeshi Yamamoto, CEO, Zope Japan KK
o Jan Smith, OzZope
o Jean-Marc Orliaguet, Chalmers University/CPSSkins
o Kit Blake, CEO, Infrae
o Christian Theune, CEO, Gocept and DZUG
o Eric Barroca, Managing Partner, Nuxeo
o Hadar Pedhazur, Chairman, Zope Corp
o Rob Page, CEO, Zope Corp
o Rajesh Setty, Chairman, Cignex
o Dan Ravicher, Legal Director, Software Freedom law Cnter

Regards,
Rob

--
Rob Page   V: 540 361 1710
Zope Corporation   F: 703 995 0412




___
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/listinfo/zope-dev )


[Zope] POSKeyError nightmare

2005-09-24 Thread Kevin Carlson

Hi all,

Rather large message with tracebacks and all -- any help is greatly 
appreciated...


I have tried to rid a large Zope DB of a POSKeyError to no avail.  I 
have tried the method that traverses the folder which contains the 
offending object using try/except to catch the POSKeyError, but even 
those continually throw the error.  Below is the traceback:


-
Traceback (most recent call last):
 File "", line 1, in ?
 File "error_finder.py", line 6, in error_finder
   for id, next_item in folder.objectItems():
 File 
"/home/zope/instances/primary/Products/BTreeFolder2/BTreeFolder2.py", 
line 369, in objectItems

   self.objectIds(spec))
 File "/opt/Zope-2.7/lib/python/Products/ZCatalog/Lazy.py", line 138, 
in __init__

   else: self._len = len(seq)
 File "/opt/Zope-2.7/lib/python/ZODB/Connection.py", line 559, in setstate
   p, serial = self._storage.load(oid, self._version)
 File "/opt/Zope-2.7/lib/python/ZODB/FileStorage.py", line 689, in load
   return self._load(oid, version, self._index, self._file)
 File "/opt/Zope-2.7/lib/python/ZODB/FileStorage.py", line 657, in _load
   raise POSKeyError(oid)
ZODB.POSException.POSKeyError: 000e5fec


I also ran fsrefs.py and the output is below:


oid 0x47152L BTrees.OOBTree.OOBucket
last updated: 2005-04-19 22:45:48.466296, tid=0x35CB635CECA1E99L
refers to invalid object:
   oid 0xD5B62L missing: 'Products.CMFDefault.File.File'

oid 0x25506L BTrees.OOBTree.OOBucket
last updated: 2005-09-19 10:00:59.079910, tid=0x3601B18FC130433L
refers to invalid objects:
   oid 0xE5FEBL missing: 'Products.CMFDefault.File.File'
   oid 0xE5FECL missing: 'BTrees.OOBTree.OOBucket'

oid 0x393C8L BTrees.OOBTree.OOBucket
last updated: 2005-06-28 08:05:37.236789, tid=0x35E42259EE080DDL
refers to invalid object:
   oid 0xDB6C5L missing: 'Products.CMFDefault.File.File'

oid 0x18235L BTrees.OOBTree.OOBucket
last updated: 2005-09-03 05:26:28.090544, tid=0x35FC00677DA5D66L
refers to invalid object:
   oid 0xD2F9BL missing: 'Products.CMFDefault.File.File'

oid 0xE43BEL BTrees.OOBTree.OOBucket
last updated: 2005-08-16 06:58:59.474963, tid=0x35F5B22FDC28500L
refers to invalid objects:
   oid 0xE2A83L missing: 'Products.CMFDefault.File.File'
   oid 0xE2AADL missing: 'Products.CMFDefault.File.File'
   oid 0xE2AB8L missing: 'Products.CMFDefault.File.File'

oid 0xE4FAEL BTrees.OOBTree.OOBucket
last updated: 2005-08-29 04:59:25.040228, tid=0x35FA3CB6AD69B33L
refers to invalid objects:
   oid 0xE19C4L missing: 'BTrees.IOBTree.IOBTree'
   oid 0xE19CDL missing: 'BTrees.IOBTree.IOBTree'
   oid 0xE19D7L missing: 'BTrees.IOBTree.IOBTree'


All of the objects that are causing the POSKeyError I believe to be 
coming from a single instance of a very large BTreeFolder2 instance.  
Can anyone offer any remedy to remove or repair the offending objects?


Thanks,

Kevin

___
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/listinfo/zope-dev )


[Zope] POSKeyError nightmare

2005-09-24 Thread Kevin Carlson

Hi all,

Rather large message with tracebacks and all -- any help is greatly 
appreciated...


I have tried to rid a large Zope DB of a POSKeyError to no avail.  I 
have tried the method that traverses the folder which contains the 
offending object using try/except to catch the POSKeyError, but even 
those continually throw the error.  Below is the traceback:


-
Traceback (most recent call last):
 File "", line 1, in ?
 File "error_finder.py", line 6, in error_finder
   for id, next_item in folder.objectItems():
 File 
"/home/zope/instances/primary/Products/BTreeFolder2/BTreeFolder2.py", 
line 369, in objectItems

   self.objectIds(spec))
 File "/opt/Zope-2.7/lib/python/Products/ZCatalog/Lazy.py", line 138, 
in __init__

   else: self._len = len(seq)
 File "/opt/Zope-2.7/lib/python/ZODB/Connection.py", line 559, in setstate
   p, serial = self._storage.load(oid, self._version)
 File "/opt/Zope-2.7/lib/python/ZODB/FileStorage.py", line 689, in load
   return self._load(oid, version, self._index, self._file)
 File "/opt/Zope-2.7/lib/python/ZODB/FileStorage.py", line 657, in _load
   raise POSKeyError(oid)
ZODB.POSException.POSKeyError: 000e5fec


I also ran fsrefs.py and the output is below:


oid 0x47152L BTrees.OOBTree.OOBucket
last updated: 2005-04-19 22:45:48.466296, tid=0x35CB635CECA1E99L
refers to invalid object:
   oid 0xD5B62L missing: 'Products.CMFDefault.File.File'

oid 0x25506L BTrees.OOBTree.OOBucket
last updated: 2005-09-19 10:00:59.079910, tid=0x3601B18FC130433L
refers to invalid objects:
   oid 0xE5FEBL missing: 'Products.CMFDefault.File.File'
   oid 0xE5FECL missing: 'BTrees.OOBTree.OOBucket'

oid 0x393C8L BTrees.OOBTree.OOBucket
last updated: 2005-06-28 08:05:37.236789, tid=0x35E42259EE080DDL
refers to invalid object:
   oid 0xDB6C5L missing: 'Products.CMFDefault.File.File'

oid 0x18235L BTrees.OOBTree.OOBucket
last updated: 2005-09-03 05:26:28.090544, tid=0x35FC00677DA5D66L
refers to invalid object:
   oid 0xD2F9BL missing: 'Products.CMFDefault.File.File'

oid 0xE43BEL BTrees.OOBTree.OOBucket
last updated: 2005-08-16 06:58:59.474963, tid=0x35F5B22FDC28500L
refers to invalid objects:
   oid 0xE2A83L missing: 'Products.CMFDefault.File.File'
   oid 0xE2AADL missing: 'Products.CMFDefault.File.File'
   oid 0xE2AB8L missing: 'Products.CMFDefault.File.File'

oid 0xE4FAEL BTrees.OOBTree.OOBucket
last updated: 2005-08-29 04:59:25.040228, tid=0x35FA3CB6AD69B33L
refers to invalid objects:
   oid 0xE19C4L missing: 'BTrees.IOBTree.IOBTree'
   oid 0xE19CDL missing: 'BTrees.IOBTree.IOBTree'
   oid 0xE19D7L missing: 'BTrees.IOBTree.IOBTree'


All of the objects that are causing the POSKeyError I believe to be 
coming from a single instance of a very large BTreeFolder2 instance.  
Can anyone offer any remedy to remove or repair the offending objects?


Thanks,

Kevin

___
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/listinfo/zope-dev )


[Zope] SQL query in ZSQLMethod

2005-09-24 Thread celtek



Hi, 
In ZSQLMethod I would have SQL 
query similar to this logic:
 
IF
value1= and 
value2=
THEN
update table set(
name=''
)where value1= and value2=
ELSE
insert into table values(
Id,

name='',
value1=, 
value2=
)
I can't figure out how to change this 
notation.
 
Many greetings and thanks for every 
answer!   
___
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/listinfo/zope-dev )


Re: [Zope] SQL query in ZSQLMethod

2005-09-24 Thread David H




How do you want to change this notation? What is it you want to do? 
Please spend as much time writing a question as someone may in
answering it!

You do not want logic in your zsql methods.
I tend to use python scripts for branching logic, eg

# python script
request = context.REQUEST
if request.get('value1') == someValue:
   do the add zsql
else:
  do the edit zsql.


[EMAIL PROTECTED] wrote:

  
  
  
  Hi, 
  In ZSQLMethod I would have SQL
query similar to this logic:
   
  IF
  value1= and
value2=
  THEN
  update table set(
  name=''
  )where value1=
and value2=
  ELSE
  insert into table values(
  Id,
  
  name='',
  
  value1=, 
  value2=
  )
  I can't figure out how to change
this notation.
   
  Many greetings and thanks for every
answer!  
 
  
  




___
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/listinfo/zope-dev )


[Zope] Apache/Zope port redirection basic questions...

2005-09-24 Thread seberino
I made Apache redirect certain URLs to
a Zope/Plone site on port 8280 and it works.

(e.g. mysite.com/lef --> mysite.com:8280/lefiss)


Question #1: I'm not sure now what is the need for Plone/Zope's
Virtual Host Monster??? Apache seems to take care of
proxying/redirection BY ITSELEF!?!?!?

Question #2: Zope/Plone site displays port 8280
in the client browser. If Apache tries to *hide*
the redirectionwhy does Zope/Plone reveal the true port and how
tell ZOpe/Plone to hide this fact again?

Thanks!

Chris
___
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/listinfo/zope-dev )