Re: [Zope-dev] Web Services for Zope

2001-09-27 Thread kapil thangavelu

On Thursday 27 September 2001 08:15 am, Brian Lloyd wrote:
> > Can I ask what the current status of the WebServices for Zope project is?
> >
> > http://dev.zope.org/Wikis/DevSite/Projects/WebServicesForZope/FrontPage
> >
> > Wiki says "I had been shooting for something at the end of September, but
> > that has been overtaken by events :( I'll be trying to work on this on an
> > as-possible basis"
> >
> > trying-to-auto-generate-a-wsdl-from-my-product'ly yours
> > --
> >   Andy McKay.
>
> Well... the status is that I'm trying to work on it on an
> as-possible basis :) The problem is that it hasn't been very
> possible for the last few weeks.
>

i've been very curious, what the plan is for attacking the no magic problem 
described on the wiki. my understanding is this isn't possible without 
altering the publishing process. i guess i was curious if the component based 
publisher that was talked about at ipc9 was ever going to see the light of 
day or if there was another strategy that would work as well.

curious,

kapil thangavelu

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Web Services for Zope

2001-09-27 Thread kapil thangavelu

On Wednesday 26 September 2001 04:41 pm, Andy McKay wrote:

> trying-to-auto-generate-a-wsdl-from-my-product'ly yours

they're is a python script/product on ibm.com/developer that will automate 
much of the wsdl generation or you. its linked from one of uche's web 
services articles. its under the IPL (ibm pl).

hth

kapil

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] 2.5 roadmap and schedule?

2001-09-27 Thread Michael R. Bernstein

The current roadmap for Zope 2.5 sets an alpha release date for sometime
in september, but is that still likely?

Michael Bernstein.


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Zope Dying

2001-09-27 Thread Dieter Maurer

Andre Schubert writes:
 > Yesterday our Zope(2.2.5) on redhat 6.2 immunix was dying 3-4 times in
 > about 2 hours.
 > There are nothing to report in all the logs zope can produce.
 > But is there a way that zope makes a core dump when he is dying
 > unexpectly?
ulimit -c 2
in the shell before you start Zope...


Dieter

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] [Bug&Patch] "range" searches for "FieldIndexes" fail

2001-09-27 Thread Dieter Maurer

 affected "Zope 2.4.1 and Zope CVS (from about 1 1/2 weeks ago).

Patch attached.

Dieter



--- PluginIndexes/common/UnIndex.py~Fri Jun  1 20:53:40 2001
+++ PluginIndexes/common/UnIndex.py Thu Sep 27 19:09:30 2001
@@ -399,6 +399,7 @@
 if record.get('range',None):
 opr = "range"
 opr_args = []
+range= record.get('range')
 if range.find("min")>-1:  opr_args.append("min")
 if range.find("max")>-1:  opr_args.append("max")
 



[Zope-dev] Start your business for UNDER $10 - ah13

2001-09-27 Thread CC Computer Consulting Co.


ARE YOU LOOKING FOR A WORK-AT-HOME JOB?
-- EITHER PART-TIME OR FULL-TIME??

DO WANT ANOTHER PRODUCT TO COMPLEMENT
YOUR EXISTING MLM PROGRAM??

OR... ARE YOU LOOKING TO REPLACE AN MLM THAT
YOU ARE NOT TOTALLY PLEASED WITH??

If the answers to all of the above questions are no, then you
can delete this message now.

If the answer to any of the above questions is YES, then
PLEASE READ ON!

Congratulations!  You have just discovered an incredible
and unique home-based business that can honestly make
you money faster and easier than any other opportunity
you may find. 

NO SELLING!!  NO HASSLES!

This is not a scam or pyramid scheme.  This is a company
that has been in the retail business since 1983 and in the
MLM business since 1996.  They make and sell a real
honest-to-goodness product.  One that everybody wants.

This company has tremendous support!  They supply you
with free training and a free web site.  They have Training
Conference Calls, Chat Rooms, 24 Hour Recorded Phone
Messages and much more!

And...the lowest start up expense in the MLM industry.

For only $9.95 you are enrolled and receive a Start-up Kit
and a sample of the product!  No gimmicks! No Hassles!
No hidden fees!  No Kidding!

SOUND INTERESTING??  WANT MORE INFO??

Just reply to this message and say "More Info".

Or, E-mail us at [EMAIL PROTECTED]

Or, call us, toll-free at 1-866-277-4434, between the hours
of 7:00am and 7:00pm PDT.

Or, call the 24 hr. 3 minute recorded message at 1-800-242-0363
Mailbox # 3069.


This email is sent in compliance with our strict
anti-abuse regulations.  This is not SPAM.  This
message was sent to you because you, or someone
using your email address, requested information,
sent or posted to our system, Opt-in, FFA site,
Classifieds, web site or email box

If you would like to be removed from this list,
e-mail to or click on:
[EMAIL PROTECTED]

***
ah13

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] zcatalog and versions

2001-09-27 Thread Oliver Bleutgen

Thanks for the fast reply Casey.

Casey Duncan wrote:
> On Thursday 27 September 2001 12:48 pm, Oliver Bleutgen allegedly wrote:
>> Hi,
>> I'm resending this to zope-dev because on zope
>> nobody answered, it would be very nice if someone
>> could step up with a small hint.
>>
>>
>>
>> Can somenone briefly explain what exactly gets
>> locked in zope 2.3.3's catalog when it tries to
>> index an object which is hold in a version?
>> The whole catalog?

> Any Btree buckets (in the indexes) which get changed get locked, which can
> effectively lock out other changes to the catalog. This is a limitation of
> the way the indexes are implemented, for which, sadly, there is no easy
> fix.


>>
>> I found some answers which indicate that it has
>> to do with the catalog when we see version lock errors
>> where there shouldn't be any (from a naive POV).
>> I would like to know how far reaching these problems
>> are, because I'm currently rewriting an application,
>> and I might be able to work around that.

> I would suggest that if any objects are reindexed in a version, that no
> cataloged objects should be reindexed in any other version until that
> version
> is saved.

I hope I understand you correctly, but I'd say that if there's already 
a locked bucket, I've lost. There's no guarantee how long this 
particular version will stay uncommitted. I would also have to check 
anyhow whether there is a lock somewhere in the catalog's index.

> You could also get around that by deferring the indexing until the version
> is
> commited, but this will take some coding on your part. 

This seems easier - if I'm a little bit lax about when the indexing occurs.
Like making the object only index/reindex/unindex itself if it's not in
a version, and combining that with a nightly cronjob which reindexes
all (non-versioned) documents. 

With "some coding on your part" you mean making Version.py more intelligent?

Like instead of just doing commitVersion(s,'') doing the following:

1) search for objects which have been deleted in the 
  version
2) search for objects which want to catalog themselves 
  and are locked in version s
3) unindex the objects found in 1)
4) commit version
5) index/reindex objects found in 2)

Where it's not clear to me how to prevent that 3) and 5) will
not itself get versioned.


> Ultimately I think
> that ZCatalog should do this for you, or at least somehow let indexes have
> concurrent versioning (any volunteers?)

I should say that I really don't grasp this ZODB voodoo, but I 
suspect that this will also be not too easy. AFAIK, the decision 
to write "in" a version (and in which) is taken deep down in 
zope's innards.

> I am thinking about writing a fishbowl proposal for ZCatalog upgrades
> sometime next month, and this is one potential problem areas to address
> there, especially as things like the CMF make it more ubiquitous

If I don't misunderstand how versions work (not unlikely), it might
be necessary in the end rather to improve versions than the zcatalog 
in order to remedy this specific problem.

thanks again,
oliver

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] zcatalog and versions

2001-09-27 Thread Casey Duncan

On Thursday 27 September 2001 12:48 pm, Oliver Bleutgen allegedly wrote:
> Hi,
> I'm resending this to zope-dev because on zope
> nobody answered, it would be very nice if someone
> could step up with a small hint.
>
>
>
> Can somenone briefly explain what exactly gets
> locked in zope 2.3.3's catalog when it tries to
> index an object which is hold in a version?
> The whole catalog?

Any Btree buckets (in the indexes) which get changed get locked, which can 
effectively lock out other changes to the catalog. This is a limitation of 
the way the indexes are implemented, for which, sadly, there is no easy fix.
>
> I found some answers which indicate that it has
> to do with the catalog when we see version lock errors
> where there shouldn't be any (from a naive POV).
> I would like to know how far reaching these problems
> are, because I'm currently rewriting an application,
> and I might be able to work around that.

I would suggest that if any objects are reindexed in a version, that no 
cataloged objects should be reindexed in any other version until that version 
is saved. 

You could also get around that by deferring the indexing until the version is 
commited, but this will take some coding on your part. Ultimately I think 
that ZCatalog should do this for you, or at least somehow let indexes have 
concurrent versioning (any volunteers?)

I am thinking about writing a fishbowl proposal for ZCatalog upgrades 
sometime next month, and this is one potential problem areas to address 
there, especially as things like the CMF make it more ubiquitous

>
> Do these problems still persist in zope 2.4.x?

AFAIK

>
> cheers,
> oliver

/---\
  Casey Duncan, Sr. Web Developer
  National Legal Aid and Defender Association
  [EMAIL PROTECTED]
\---/

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] zcatalog and versions

2001-09-27 Thread Oliver Bleutgen

Hi,
I'm resending this to zope-dev because on zope
nobody answered, it would be very nice if someone
could step up with a small hint.



Can somenone briefly explain what exactly gets 
locked in zope 2.3.3's catalog when it tries to
index an object which is hold in a version?
The whole catalog?

I found some answers which indicate that it has
to do with the catalog when we see version lock errors
where there shouldn't be any (from a naive POV).
I would like to know how far reaching these problems
are, because I'm currently rewriting an application,
and I might be able to work around that.

Do these problems still persist in zope 2.4.x?

cheers,
oliver


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



RE: [Zope-dev] Web Services for Zope

2001-09-27 Thread Brian Lloyd

> Can I ask what the current status of the WebServices for Zope project is?
> 
> http://dev.zope.org/Wikis/DevSite/Projects/WebServicesForZope/FrontPage
> 
> Wiki says "I had been shooting for something at the end of September, but
> that has been overtaken by events :( I'll be trying to work on this on an
> as-possible basis"
> 
> trying-to-auto-generate-a-wsdl-from-my-product'ly yours
> --
>   Andy McKay.

Well... the status is that I'm trying to work on it on an 
as-possible basis :) The problem is that it hasn't been very 
possible for the last few weeks.

If you just need to generate WSDL and you're willing to live 
on the bleeding edge and use some code that might still change 
a lot in the future to get the job done, let me know and I'll 
be happy to send you a snapshot of what I have...


Brian Lloyd[EMAIL PROTECTED]  
Zope Corporation   www.zope.com



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] HTMLFile vs DTMLFile

2001-09-27 Thread Toby Dickenson

On Thu, 27 Sep 2001 15:48:45 +0200, Dario Lopez-Kästen
<[EMAIL PROTECTED]> wrote:

>Why would one want to use DTMLFile or HTMLFile, and what are the
>differences, benefits or drawbacks of each?

Both of them use files stored in the filesystem, which means they are
completely trusted. No security checks are performed as they execute.

DTMLFile is the usual choice. It sets up the dtml namespace so that
the first place searched is the object that the DTMLFile is an
attribute of.

HTMLFile doesnt tweak the namespace in this way; it will be in the
same state as provided by your caller. This makes it very easy to open
a security hole. HTMLFile should be avoided unless you have a very
good reason to need it.

(there was a full description of the potential security hole in the
Collector)

Toby Dickenson
[EMAIL PROTECTED]

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] Small bug in DTMLFile

2001-09-27 Thread Juan David Ibáñez Palomar


Hello,

(I think) there's a very small bug in 'App/special_dtml.py'. In Zope
2.4.1, the line 231 is:

  if bind_to in ('container', 'client'):

I think it should be:

  if bind_to in ('container', 'context'):

The problem shows when subclassing DTMLFile and trying to change the
value of "_Bindings_client". The bug is also in the CVS.


jdavid

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] HTMLFile vs DTMLFile

2001-09-27 Thread Dario Lopez-Kästen

Hello!

Why would one want to use DTMLFile or HTMLFile, and what are the
differences, benefits or drawbacks of each?

Thanks in advance,

/dario - wanting to understand...

- 
Dario Lopez-Kästen Systems Developer  Chalmers Univ. of Technology
[EMAIL PROTECTED]  ICQ will yield no hitsIT Systems & Services



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Z2.log file not showing user name correctly

2001-09-27 Thread Andreas Jung

Logging the authenticated user works for me (trunk/branch).

Andreas
- Original Message -
From: "Chris McDonough" <[EMAIL PROTECTED]>
To: "R. David Murray" <[EMAIL PROTECTED]>; "George Nguyen"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, September 26, 2001 17:02
Subject: Re: [Zope-dev] Z2.log file not showing user name correctly


> Someone (Shane?) claimed that 2.4.1 removes this "optimization".
>
> - Original Message -
> From: "R. David Murray" <[EMAIL PROTECTED]>
> To: "George Nguyen" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Wednesday, September 26, 2001 4:40 PM
> Subject: Re: [Zope-dev] Z2.log file not showing user name correctly
>
>
> > On Wed, 26 Sep 2001, George Nguyen wrote:
> > > I was looking in the entries in the Z2.log file and it
> > > lists the user as being "Anonymous" when I'm actually
> > > logged in as a validated user.
> >
> > This is very likely the result of an
authentication...optimization?...done
> > by the security machinery:  if the resource requires only Anonymous
> > permission to access, then no further security checks are done,
> > including identification of the user.  This leads to various unexpected
> > behaviors, presumably this among them, and there has been at least
> > one motion to change this behavior.  I don't know if it has made it
> > into the Fishbowl yet or not.
> >
> > --RDM
> >
> >
> > ___
> > Zope-Dev maillist  -  [EMAIL PROTECTED]
> > http://lists.zope.org/mailman/listinfo/zope-dev
> > **  No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope )
> >
>
>
> ___
> Zope-Dev maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )
>


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] ImportError

2001-09-27 Thread Andreas Jung

hmm..
ZopeSplitter/__init__.py already contains

   from ZopeSplitter import ZopeSplitter as Splitter

Andreas
- Original Message -
From: "Jens Vagelpohl" <[EMAIL PROTECTED]>
To: "Nils Wiegandt" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, September 27, 2001 08:07
Subject: Re: [Zope-dev] ImportError


> nils,
>
> this is actually a bug in 2.4.1. a file was omitted that makes changes to
> the Splitter modules backwards-compatible for content and catalogs that
> have been created under an earlier version of Zope.
>
> AFAIK this will be fixed in the next release, what you can do right now is
> to make a file Splitter.py on the file system under
> /lib/python/Products/PluginIndexes/TextIndex/Splitter/ZopeSplitter
> with the content::
>
>
> from ZopeSplitter import *
> Splitter = ZopeSplitter
>
>
> that fixed it for me.
>
> jens
>
>
>
>
>
> On Thursday, September 27, 2001, at 06:50 , Nils Wiegandt wrote:
>
> > Hello to all of you,
> >
> > I want to import a website written on a Windows NT machine with Zope
> > 2.4.0 to
> > a Solarisserver with Zope 2.4.1, but it doesn' t work!?
> >
> > following error ocurred:
> >
> > Zope Error
> >
> >   Zope has encountered an error while publishing this
> > resource.
> >
> >   Error Type: ImportError
> >   Error Value: No module named Splitter
> >
> >
> >
> >   Troubleshooting Suggestions
> >
> >The URL may be incorrect.
> >The parameters passed to this resource may be
> > incorrect.
> >A resource that this resource relies on may be
> > encountering an error.
> >
> >   For more detailed information about the error, please
> > refer to the HTML source for this page.
> >
> >   If the error persists please contact the site maintainer.
> > Thank you for your patience.
> >
> > Traceback (innermost last):
> >   File
> >
/www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
> >
> > line 223, in publish_module
> >   File
> >
/www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
> >
> > line 187, in publish
> >   File
> > /www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/Zope/__init__.py,
> > line 226, in zpublisher_exception_hook
> > (Object: ApplicationDefaultPermissions)
> >   File
> >
/www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
> >
> > line 171, in publish
> >   File
> >
/www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZPublisher/mapply.py,
> >
> > line 160, in mapply
> > (Object: manage_importObject)
> >   File
> >
/www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
> >
> > line 112, in call_object
> > (Object: manage_importObject)
> >   File
> >
/www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/OFS/ObjectManager.py,
> >
> > line 584, in manage_importObject
> > (Object: ApplicationDefaultPermissions)
> >   File
> >
/www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZODB/ExportImport.py,
> >
> > line 150, in importFile
> >   File
> > /www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZODB/Transaction.py,
> >
> > line 302, in commit
> >   File
> > /www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZODB/Connection.py,
> > line 307, in commit
> >   File
> >
/www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZODB/ExportImport.py,
> >
> > line 219, in _importDuringCommit
> > ImportError: (see above)
> >
> >
> > Thanks for help
> >
> > Nils
> >
> >
> > ___
> > Zope-Dev maillist  -  [EMAIL PROTECTED]
> > http://lists.zope.org/mailman/listinfo/zope-dev
> > **  No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope )
>
> ___
> Zope-Dev maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )
>


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] ImportError

2001-09-27 Thread Nils Wiegandt



Thaks for your help, but it doesn't work for me.
So far, I have deleted the catalog, but have the same Error when importing it.

Jens Vagelpohl wrote:

> nils,
>
> this is actually a bug in 2.4.1. a file was omitted that makes changes to
> the Splitter modules backwards-compatible for content and catalogs that
> have been created under an earlier version of Zope.
>
> AFAIK this will be fixed in the next release, what you can do right now is
> to make a file Splitter.py on the file system under
> /lib/python/Products/PluginIndexes/TextIndex/Splitter/ZopeSplitter
> with the content::
>
> from ZopeSplitter import *
> Splitter = ZopeSplitter
>
> that fixed it for me.
>
> jens
>
>


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] ImportError

2001-09-27 Thread Jens Vagelpohl

nils,

this is actually a bug in 2.4.1. a file was omitted that makes changes to 
the Splitter modules backwards-compatible for content and catalogs that 
have been created under an earlier version of Zope.

AFAIK this will be fixed in the next release, what you can do right now is 
to make a file Splitter.py on the file system under 
/lib/python/Products/PluginIndexes/TextIndex/Splitter/ZopeSplitter 
with the content::


from ZopeSplitter import *
Splitter = ZopeSplitter


that fixed it for me.

jens





On Thursday, September 27, 2001, at 06:50 , Nils Wiegandt wrote:

> Hello to all of you,
>
> I want to import a website written on a Windows NT machine with Zope
> 2.4.0 to
> a Solarisserver with Zope 2.4.1, but it doesn' t work!?
>
> following error ocurred:
>
> Zope Error
>
>   Zope has encountered an error while publishing this
> resource.
>
>   Error Type: ImportError
>   Error Value: No module named Splitter
>
>
>
>   Troubleshooting Suggestions
>
>The URL may be incorrect.
>The parameters passed to this resource may be
> incorrect.
>A resource that this resource relies on may be
> encountering an error.
>
>   For more detailed information about the error, please
> refer to the HTML source for this page.
>
>   If the error persists please contact the site maintainer.
> Thank you for your patience.
>
> Traceback (innermost last):
>   File
> /www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
>
> line 223, in publish_module
>   File
> /www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
>
> line 187, in publish
>   File
> /www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/Zope/__init__.py,
> line 226, in zpublisher_exception_hook
> (Object: ApplicationDefaultPermissions)
>   File
> /www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
>
> line 171, in publish
>   File
> /www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZPublisher/mapply.py,
>
> line 160, in mapply
> (Object: manage_importObject)
>   File
> /www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
>
> line 112, in call_object
> (Object: manage_importObject)
>   File
> /www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/OFS/ObjectManager.py,
>
> line 584, in manage_importObject
> (Object: ApplicationDefaultPermissions)
>   File
> /www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZODB/ExportImport.py,
>
> line 150, in importFile
>   File
> /www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZODB/Transaction.py,
>
> line 302, in commit
>   File
> /www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZODB/Connection.py,
> line 307, in commit
>   File
> /www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZODB/ExportImport.py,
>
> line 219, in _importDuringCommit
> ImportError: (see above)
>
>
> Thanks for help
>
> Nils
>
>
> ___
> Zope-Dev maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] ImportError

2001-09-27 Thread Nils Wiegandt

Hello to all of you,

I want to import a website written on a Windows NT machine with Zope
2.4.0 to
a Solarisserver with Zope 2.4.1, but it doesn' t work!?

following error ocurred:

Zope Error

  Zope has encountered an error while publishing this
resource.

  Error Type: ImportError
  Error Value: No module named Splitter



  Troubleshooting Suggestions

   The URL may be incorrect.
   The parameters passed to this resource may be
incorrect.
   A resource that this resource relies on may be
encountering an error.

  For more detailed information about the error, please
refer to the HTML source for this page.

  If the error persists please contact the site maintainer.
Thank you for your patience.

Traceback (innermost last):
  File
/www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,

line 223, in publish_module
  File
/www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,

line 187, in publish
  File
/www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/Zope/__init__.py,
line 226, in zpublisher_exception_hook
(Object: ApplicationDefaultPermissions)
  File
/www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,

line 171, in publish
  File
/www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZPublisher/mapply.py,

line 160, in mapply
(Object: manage_importObject)
  File
/www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,

line 112, in call_object
(Object: manage_importObject)
  File
/www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/OFS/ObjectManager.py,

line 584, in manage_importObject
(Object: ApplicationDefaultPermissions)
  File
/www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZODB/ExportImport.py,

line 150, in importFile
  File
/www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZODB/Transaction.py,

line 302, in commit
  File
/www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZODB/Connection.py,
line 307, in commit
  File
/www/server/Zope-2.4.1-solaris-2.6-sparc/lib/python/ZODB/ExportImport.py,

line 219, in _importDuringCommit
ImportError: (see above)


Thanks for help

Nils


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] update Zcatalog

2001-09-27 Thread Johan Beauce

Hello,

I use Zcatalog to index my file. This file change often. They are deleted,
added or modified.
I have two choices to update my ZCatalog :
first 
when I add a file, I add the file to the catalog (but it doesn't work)


  


when I delete a file, I delete the file from the catalog (but it doesn't
work)


  


second 
clear the catalog, and create all indexes in catalog again.






Can you help me to this two solutions work please ?

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )