[Zope] Re: FW: Problem Starting Zope after Installation

2007-01-22 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ken Winter wrote:
> I give up on Zope just because a I can't get over this hurdle.  Can anybody
> offer any tools or resources or suggestions (Zope-related or otherwise) for
> diagnosing whether and how I have messed up my system or registry, in a way
> that prevents Zope from working?

Caveat:  I haven't run Windows at *all* for years now.  That said:

  1. Run 'regedit.exe', and search for keys related to 'zope' or
'python'.  If you have no other Zope or Python stuff on your
 machine, zap all such keys.

  2. Try this on another, "fresh" machine (one with no preexisting
 Zope / Python install).


  3. Ensure that you install Zope into an NTFS partition, rather than
 a FAT variant (likely superstition at this point).

Hope that helps,


Tres.
- --
===
Tres Seaver  +1 540-429-0999  [EMAIL PROTECTED]
Palladion Software   "Excellence by Design"http://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFtRYs+gerLs4ltQ4RAgo6AJ9HP3JkPNo0KamS6UKONCnff+EM1wCfYj75
H9xAQUyFT9aAUxwxKfDxP9Y=
=Q4O6
-END 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] FW: Problem Starting Zope after Installation

2007-01-22 Thread Ken Winter
Oops; I meant to say "I **don't want to** give up on Zope just because of
this hurdle."  If I were giving up I wouldn't be asking for further help. 

~ Ken

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
> Ken Winter
> Sent: Monday, January 22, 2007 12:44 PM
> To: 'Andreas Jung'; [EMAIL PROTECTED]; 'Jonathan'; 'Zope List';
> 'Gabriel Genellina'
> Subject: RE: [Zope] FW: Problem Starting Zope after Installation
> 
> I give up on Zope just because a I can't get over this hurdle.  Can
> anybody
> offer any tools or resources or suggestions (Zope-related or otherwise)
> for
> diagnosing whether and how I have messed up my system or registry, in a
> way
> that prevents Zope from working?
> 
> ~ TIA
> ~ Ken
> 
> 
> > -Original Message-
> > From: Andreas Jung [mailto:[EMAIL PROTECTED]
> > Sent: Saturday, January 20, 2007 10:00 AM
> > To: Ken Winter; 'Andreas Jung'; [EMAIL PROTECTED]; 'Jonathan'; 'Zope
> > List'; 'Gabriel Genellina'
> > Subject: RE: [Zope] FW: Problem Starting Zope after Installation
> >
> >
> >
> > --On 20. Januar 2007 09:56:22 -0500 Ken Winter <[EMAIL PROTECTED]> wrote:
> >
> > > I have installed Python in addition to Zope because some of the
> > > respondents in this thread have said I should, while others have said
> > > it's redundant in terms of getting Zope to work.  Anyway, the presence
> > or
> > > absence of the independent Python installation doesn't make a white of
> > > difference to my problem, which still persists.
> > >
> > >
> >
> > Hard too believe...likely you've messed up your system or the registry.
> > No idea.
> >
> > -aj
> 
> ___
> 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] Key Error in Catalog Reindex

2007-01-22 Thread Dieter Maurer
KJZZ Webmaster wrote at 2007-1-22 09:53 -0700:
>I am using zope 2.8.1. and am using the following dtml method to reindex
>the catalog:
>
>
>
>
>
>
>However, midway through the reindex, I am receiving the following error 
>message:
>
>Traceback (innermost last):
>  Module ZPublisher.Publish, line 113, in publish
>  Module ZPublisher.mapply, line 88, in mapply
>  Module ZPublisher.Publish, line 40, in call_object
>  Module OFS.DTMLMethod, line 153, in __call__
>   - 
>   - Physical Path: //somepath/somedtmlmethod
>KeyError: 'validate'
>
>I checked the zope source file here:
>
>Zope-2.8.1-final\lib\python\OFS\DTMLMethod.py
>
>and found the reference to the "validate" method in line 128:
>
>if self.__dict__.has_key('validate'):
>first_time_through = 0
>else:
>self.__dict__['validate'] = security.DTMLValidate
>first_time_through = 1
>try:
>
>My questions are these:
>
>a) what changes could I to the catalog to avoid this error in the future?

Your problem is not in the catalog.

If the "KeyError: 'validate'" really comes from the code
snippet above, then you have a "DTMLMethod" with a very
strange "__dict__". A normal dict would not raise
a "KeyError: 'validate'", even when 'validate' indeed does not exist.


If fear, this problem is big enough that debugging is necessary.

> ...
>Is the catalog getting too large, and maybe the reindex is taking too long
>to complete?

No (there is no limit on the catalog size. It may just get a bit slower).

>b) are there any changes to the script \lib\python\OFS\DTMLMethod.py that
>I could make which would eliminate, or at least render this error message
>harmless?

Unlikely. The code (as least the quoted one) should work...



-- 
Dieter
___
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] FW: Problem Starting Zope after Installation

2007-01-22 Thread Ken Winter
I give up on Zope just because a I can't get over this hurdle.  Can anybody
offer any tools or resources or suggestions (Zope-related or otherwise) for
diagnosing whether and how I have messed up my system or registry, in a way
that prevents Zope from working?

~ TIA
~ Ken


> -Original Message-
> From: Andreas Jung [mailto:[EMAIL PROTECTED]
> Sent: Saturday, January 20, 2007 10:00 AM
> To: Ken Winter; 'Andreas Jung'; [EMAIL PROTECTED]; 'Jonathan'; 'Zope
> List'; 'Gabriel Genellina'
> Subject: RE: [Zope] FW: Problem Starting Zope after Installation
> 
> 
> 
> --On 20. Januar 2007 09:56:22 -0500 Ken Winter <[EMAIL PROTECTED]> wrote:
> 
> > I have installed Python in addition to Zope because some of the
> > respondents in this thread have said I should, while others have said
> > it's redundant in terms of getting Zope to work.  Anyway, the presence
> or
> > absence of the independent Python installation doesn't make a white of
> > difference to my problem, which still persists.
> >
> >
> 
> Hard too believe...likely you've messed up your system or the registry.
> No idea.
> 
> -aj

___
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] Key Error in Catalog Reindex

2007-01-22 Thread Andreas Jung

Why

--On 22. Januar 2007 09:53:51 -0700 KJZZ Webmaster 
<[EMAIL PROTECTED]> wrote:



I am using zope 2.8.1. and am using the following dtml method to reindex
the catalog:







Rewrite the code using a PythonScript and check again for errors.

-aj

pgpD3U0aWBr5X.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 )


[Zope] Key Error in Catalog Reindex

2007-01-22 Thread KJZZ Webmaster
I am using zope 2.8.1. and am using the following dtml method to reindex
the catalog:






However, midway through the reindex, I am receiving the following error message:

Traceback (innermost last):
  Module ZPublisher.Publish, line 113, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 40, in call_object
  Module OFS.DTMLMethod, line 153, in __call__
   - 
   - Physical Path: //somepath/somedtmlmethod
KeyError: 'validate'

I checked the zope source file here:

Zope-2.8.1-final\lib\python\OFS\DTMLMethod.py

and found the reference to the "validate" method in line 128:

if self.__dict__.has_key('validate'):
first_time_through = 0
else:
self.__dict__['validate'] = security.DTMLValidate
first_time_through = 1
try:

My questions are these:

a) what changes could I to the catalog to avoid this error in the future?

(I have already cleared and rebuilt our catalog using the manage_catalogFind
tab within the catalog).  Are there certain object types that I should keep
out of the catalog?

Is the catalog getting too large, and maybe the reindex is taking too long
to complete?

b) are there any changes to the script \lib\python\OFS\DTMLMethod.py that
I could make which would eliminate, or at least render this error message
harmless?

When this key error occurs, the catalog does not index fully, and so objects
are left out of the catalog.

Thanks for your advice.

John T.



___
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] ANN: Latest Zope and Plone versions available at WebFaction

2007-01-22 Thread Andreas Jung



--On 22. Januar 2007 14:48:52 + Remi Delon <[EMAIL PROTECTED]> wrote:


Hi everyone,

This is just a quick post to announce that the latest Zope and Plone
versions are now available in WebFaction's one-click installer.
These are currently Zope-2.10.1 and Plone-2.5.2-1




Where are the download links? What are the difference to the existing
binary installers for Zope & Plone?


Sorry if this wasn't clear: I was just announcing that users of
WebFaction (a commercial web hosting service) can now install the latest
Zope and Plone in one click from our control panel.

There is nothing to download ...

Our one-click installer takes a standard Zope tarball, installs and
configures a Zope instance, starts it and connects it to the Apache
server.



Please avoid using this list for spam. I am pretty you can reach the users 
of your services through an internal mailing list or something similar.


-aj






pgpAyTMmu86vZ.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] Re: ANN: Latest Zope and Plone versions available at WebFaction

2007-01-22 Thread Andreas Jung



--On 22. Januar 2007 15:49:44 +0100 Michael Haubenwallner <[EMAIL PROTECTED]> 
wrote:



Andreas Jung wrote:



--On 22. Januar 2007 14:29:17 + Remi Delon
<[EMAIL PROTECTED]> wrote:


Hi everyone,

This is just a quick post to announce that the latest Zope and Plone
versions are now available in WebFaction's one-click installer.
These are currently Zope-2.10.1 and Plone-2.5.2-1




Where are the download links? What are the difference to the existing
binary installers for Zope & Plone?



Looks like they are just again advertising their hosting plans:
http://www.webfaction.com/zope-hosting
http://www.webfaction.com/shared_hosting




That's also my impression.

Andreas

pgpTQQA57wDhF.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 )


[Zope] Re: ANN: Latest Zope and Plone versions available at WebFaction

2007-01-22 Thread Michael Haubenwallner

Andreas Jung wrote:



--On 22. Januar 2007 14:29:17 + Remi Delon 
<[EMAIL PROTECTED]> wrote:



Hi everyone,

This is just a quick post to announce that the latest Zope and Plone
versions are now available in WebFaction's one-click installer.
These are currently Zope-2.10.1 and Plone-2.5.2-1




Where are the download links? What are the difference to the existing
binary installers for Zope & Plone?



Looks like they are just again advertising their hosting plans:
http://www.webfaction.com/zope-hosting
http://www.webfaction.com/shared_hosting

Michael

--
http://zope.org/Members/d2m
http://planetzope.org

___
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] ANN: Latest Zope and Plone versions available at WebFaction

2007-01-22 Thread Remi Delon

Hi everyone,

This is just a quick post to announce that the latest Zope and Plone
versions are now available in WebFaction's one-click installer.
These are currently Zope-2.10.1 and Plone-2.5.2-1




Where are the download links? What are the difference to the existing
binary installers for Zope & Plone?


Sorry if this wasn't clear: I was just announcing that users of WebFaction 
(a commercial web hosting service) can now install the latest Zope and Plone 
in one click from our control panel.


There is nothing to download ...

Our one-click installer takes a standard Zope tarball, installs and 
configures a Zope instance, starts it and connects it to the Apache server.



Cheers,

Remi.

___
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] ANN: Latest Zope and Plone versions available at WebFaction

2007-01-22 Thread Andreas Jung



--On 22. Januar 2007 14:29:17 + Remi Delon <[EMAIL PROTECTED]> wrote:


Hi everyone,

This is just a quick post to announce that the latest Zope and Plone
versions are now available in WebFaction's one-click installer.
These are currently Zope-2.10.1 and Plone-2.5.2-1




Where are the download links? What are the difference to the existing
binary installers for Zope & Plone?

-aj

pgpOWo4vKjisC.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 )


[Zope] ANN: Latest Zope and Plone versions available at WebFaction

2007-01-22 Thread Remi Delon

Hi everyone,

This is just a quick post to announce that the latest Zope and Plone 
versions are now available in WebFaction's one-click installer.

These are currently Zope-2.10.1 and Plone-2.5.2-1

Remi

http://www.webfaction.com - Hosting for an agile web

___
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 )