Re: [Zope] Zope Crashed please help!

2005-09-14 Thread Andreas Jung



--On 15. September 2005 16:45:05 +1000 Michael <[EMAIL PROTECTED]> 
wrote:



Hi, tomorrow the zope site we have been developing is going live, and
all of a sudden, after months of development zope seems to have crashed!
PLEASE HELP ME!!


Crying does not solve your problem :-)


the web browser just keeps "spinning" when we call up the zope pages?
no error messages or anything!
could it have something to do with an updated version of pyOpenSSL.i386
installed (yum last night)?


A software update is nothing I would describe as "sudden" as you did above.



aarrgghh please tell me i haven't wasted all this time and will regret
not using php!! :-)


So try to revert the software update and see it the error goes away...this 
would be the first step.


-aj






pgp9zeg6dtGGB.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] Zope Crashed please help!

2005-09-14 Thread robert rottermann

Michael wrote:

Hi, tomorrow the zope site we have been developing is going live, and
all of a sudden, after months of development zope seems to have crashed!
PLEASE HELP ME!!
the web browser just keeps "spinning" when we call up the zope pages? 
no error messages or anything!

could it have something to do with an updated version of pyOpenSSL.i386
installed (yum last night)?

aarrgghh please tell me i haven't wasted all this time and will regret
not using php!! :-)

mike




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

 

No panic! Your site will be fine!
We need a bit more info.
What is your environment. Do you have appache in front of zope?
can you access zope accessing it directly?
did you restart zope?
what products are installed?

robert
___
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 Crashed please help! - one of those days

2005-09-14 Thread Michael
Oh bugga, don't you hate those emails you send seconds before trying
something else!
For some reason it was the firefox browser here, not zope at all, very
strange 'coz other sites
loaded ok...

ok, i love zope again ;-)

i'm going home now (sob)

m



mistakenly i wrote:

Hi, tomorrow the zope site we have been developing is going live, and
all of a sudden, after months of development zope seems to have crashed!
PLEASE HELP ME!!
the web browser just keeps "spinning" when we call up the zope pages? 
no error messages or anything!
could it have something to do with an updated version of pyOpenSSL.i386
installed (yum last night)?

aarrgghh please tell me i haven't wasted all this time and will regret
not using php!! :-)

mike




___
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 Crashed please help!

2005-09-14 Thread Michael
Hi, tomorrow the zope site we have been developing is going live, and
all of a sudden, after months of development zope seems to have crashed!
PLEASE HELP ME!!
the web browser just keeps "spinning" when we call up the zope pages? 
no error messages or anything!
could it have something to do with an updated version of pyOpenSSL.i386
installed (yum last night)?

aarrgghh please tell me i haven't wasted all this time and will regret
not using php!! :-)

mike




___
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: Output only the first or a particular record using TAL

2005-09-14 Thread Julian Yap
Thanks Tres, Sascha and Jirka for your help.

I used the following and it works great (without some formatting for
clarity):

Customer: 


The above condition checks that 'customer' is not empty.

I think I'll need to do some more reading up on "path expressions" and
"python expressions".  Still mentally confusing to me.

Julian

___
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] Captcha

2005-09-14 Thread akonsu
well, i mean, given the python implementations that are available,
that code on this site can be adapted and used to generate a captcha
image object.

2005/9/14, Brian Sullivan <[EMAIL PROTECTED]>:
> 
> 
> On 9/14/05, akonsu <[EMAIL PROTECTED]> wrote: 
> > as i said earlier,
> http://cvs.bluedynamics.org/viewcvs/BlueTexima/ 
> > seems to have code that dynamically creates an image object. would
> > this help?
>  
>  
> Possibly but that is only part of the puzzle - usually the image has
> distorted text on a mottled background to further complicate and confuse
> automatic readers and force a human read.
>  
> 
> ___
> 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] Captcha

2005-09-14 Thread Brian Sullivan

On 9/14/05, akonsu <[EMAIL PROTECTED]> wrote:
as i said earlier, http://cvs.bluedynamics.org/viewcvs/BlueTexima/
seems to have code that dynamically creates an image object. wouldthis help?
 
 
Possibly but that is only part of the puzzle - usually the image has distorted text on a mottled background to further complicate and confuse automatic readers and force a human read. 
___
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] Captcha

2005-09-14 Thread akonsu
as i said earlier, http://cvs.bluedynamics.org/viewcvs/BlueTexima/
seems to have code that dynamically creates an image object. would
this help?

2005/9/14, Brian Sullivan <[EMAIL PROTECTED]>:
>  
> Has anyone created a Zope product based on either of those?
>
___
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] Captcha

2005-09-14 Thread Brian Sullivan

On 9/14/05, akonsu <[EMAIL PROTECTED]> wrote:
I am not sure if there is a ready product for this, but is there a wayin zope to generate an image dynamically? does anyone know how? if
there is, any python implementation of captcha can be adapted to zopei think.
 
 
I found this:
http://captchas.net/
http://captchas.net/sample/python/
 
It seems they provide the service of creating the graphic.
 
and this
 
http://svn.navi.cx/misc/trunk/pycaptcha/README
 
that uses the Python Imaging Library and so is self contained.
 
Has anyone created a Zope product based on either of those?
  
___
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] Captcha

2005-09-14 Thread akonsu
> 
> But some people are using text-to-image products
> to render buttons and this is where you can
> use CSS instead.
> 

ok, i see.

> Btw. Text-to-image obfuscation makes it harder for
> machines to automatically fill out forms but not
> impossible.
> 

of course ;-) this is just to prevent impossible amounts of spam. it
is ok if it fails once in a while. so far i have not heard about a
reliable algorithm for accurate image recognition.
___
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] Captcha

2005-09-14 Thread Tino Wildenhain
Am Mittwoch, den 14.09.2005, 13:48 -0700 schrieb akonsu:
> could you explain how one can use CSS to generate images during
> request processing? or am i missing something?

No it cant - you cannot use it to obfuscate text
like your captcha product seems to do.

But some people are using text-to-image products
to render buttons and this is where you can
use CSS instead.

Btw. Text-to-image obfuscation makes it harder for
machines to automatically fill out forms but not
impossible.



___
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] Captcha

2005-09-14 Thread akonsu
could you explain how one can use CSS to generate images during
request processing? or am i missing something?

2005/9/14, Tino Wildenhain <[EMAIL PROTECTED]>:
> Am Mittwoch, den 14.09.2005, 13:37 -0700 schrieb akonsu:
> > thank you. my question was how to do it from zope. namely, how to set
> > request headers/contents, etc. from another list i found this link
> > that has some image generating code:
> > http://cvs.bluedynamics.org/viewcvs/BlueTexima/. hope this will help
> > others.
> 
> You could just have written you are looking for an image-button
> generator. And I would point you to the (sometimes) wonderful
> world of CSS as a better alternative to this :-)
> 
> 
> 
>
___
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] Captcha

2005-09-14 Thread Tino Wildenhain
Am Mittwoch, den 14.09.2005, 13:37 -0700 schrieb akonsu:
> thank you. my question was how to do it from zope. namely, how to set
> request headers/contents, etc. from another list i found this link
> that has some image generating code:
> http://cvs.bluedynamics.org/viewcvs/BlueTexima/. hope this will help
> others.

You could just have written you are looking for an image-button
generator. And I would point you to the (sometimes) wonderful
world of CSS as a better alternative to this :-)



___
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] Captcha

2005-09-14 Thread akonsu
thank you. my question was how to do it from zope. namely, how to set
request headers/contents, etc. from another list i found this link
that has some image generating code:
http://cvs.bluedynamics.org/viewcvs/BlueTexima/. hope this will help
others.

konstantin

2005/9/14, Jonathan <[EMAIL PROTECTED]>:
> From: "akonsu" <[EMAIL PROTECTED]>
> >I am not sure if there is a ready product for this, but is there a way
> > in zope to generate an image dynamically? does anyone know how? if
> > there is, any python implementation of captcha can be adapted to zope
> 
> Google 'python image library'  (PIL)
> 
> 
> Jonathan
> 
>
___
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] Captcha

2005-09-14 Thread Jonathan

From: "akonsu" <[EMAIL PROTECTED]>

I am not sure if there is a ready product for this, but is there a way
in zope to generate an image dynamically? does anyone know how? if
there is, any python implementation of captcha can be adapted to zope


Google 'python image library'  (PIL)


Jonathan

___
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] Captcha

2005-09-14 Thread akonsu
I am not sure if there is a ready product for this, but is there a way
in zope to generate an image dynamically? does anyone know how? if
there is, any python implementation of captcha can be adapted to zope
i think.

konstanitn

2005/9/13, Brian Sullivan <[EMAIL PROTECTED]>:
> Is anybody aware of a ready to go Zope product for using creating/using
> Captcha? 
> ___
> 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] Strange warning after removing products

2005-09-14 Thread Martin Koekenberg

Hello All,

You put me into the right way. I found a good function in SupperLogger. 
Just instal and uninstal that product and it will cleanup the control 
pannel.


Regards,

Martin Koekenberg

Peter Bengtsson schreef:


http://www.peterbe.com/uninstall-LeakFinder

On 9/10/05, Martin Koekenberg <[EMAIL PROTECTED]> wrote:
 


Hello,

A while ago I used the products 'Superlogger' and 'Quicklinks.'
I Also removed 'PlacelessTranslationService'.
All the products were available in the control_panel.

But I still get the following warnings ?

2005-09-10 16:49:05 WARNING ZODB Could not import class
'PlacelessTranslationService' from module
'Products.PlacelessTranslationService.PlacelessTranslationService'
2005-09-10 16:49:05 WARNING ZODB Could not import class 'SuperLogger'
from module 'Products.SuperLogger.SuperLogger'
2005-09-10 16:49:05 WARNING ZODB Could not import class 'QuickLinks'
from module 'Products.QuickLinks.QuickLinks'

Does anybody has a solutiuon for this ?  Zope is still running. but
the warning isn't there without a reason.

regards,

Martin Koekenberg



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


[Zope] [ANN] TextIndexNG 3.0.6 released

2005-09-14 Thread Andreas Jung


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

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.5:

  - internal: refactored all exceptions (exceptions.py)

  - internal: new storage class StorageWithTermFrequency() implementing
term-per-document frequency (required for upcoming relevance ranking 
support)


  - better integration to the Plone integration (default parameters + 
configlet settings),

fixes for Plone integration

  - clear() could not be called multiple times properly due to a name clash

  - Extensions/Install.py: fixed problem with wrong 'textindexng' skin 
folder



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


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





  -

pgp1rzUJdmQVF.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] Stepper 1.2.0 Released!

2005-09-14 Thread Chris Withers

This is a new release fixing several bugs and introducing two new features.

Stepper is a framework for performing asynchronous tasks on Zope servers

The major changes for this release were:

- you can now control whether errors processing an object abort the
  processing of a whole sequence sequence on a step by step basis

- you can control how objects are represented in error messages on a
  step by step basis

- There is an improved Delete step in the base library

- There is a new Workflow step in the base library for migrating
  CMF-like workflows

- There is improved handling of ZODB transactions when errors occur.

For more information, please see: 
http://www.simplistix.co.uk/software/zope/stepper


cheers,

Chris

--
Simplistix - Content Management, Zope & Python Consulting
   - http://www.simplistix.co.uk





___
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: Output only the first or a particular record using TAL

2005-09-14 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Julian Yap wrote:
> Hi all,
> 
> I wanted to create something of a header using TAL and a Z SQL Method.
> 
> I have the following code where getCustomerLicenses is my Z SQL Method and
> it prints out the customer's full name with details:
> 
> full_name
> serial_number
> 
> 
> 
> In it's simplest form, how do I retrieve just the full_name of the first
> record using TAL.  I think I use tal:replace but I'm not sure.
> 
> I was along the lines of something like this:
> 
> 

You can use 'tal:condition repeat/licenses/start' to test that you are
in the first pass through the loop.


Tres.
- --
===
Tres Seaver  +1 202-558-7113  [EMAIL PROTECTED]
Palladion Software   "Excellence by Design"http://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDKAqD+gerLs4ltQ4RAhKEAJsFo4Tm2DLiUTCSEjcqDUxgVvfsrQCffiyP
hXXtC8lu3xbW20JY0RVXOyg=
=j0u0
-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 )


[Zope] Re: How to create an ansynchronous method

2005-09-14 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

David Pratt wrote:
> Hi Ron.  I found the following trying to follow up a bit on what you
> have suggested. I believe it is similar to what you are doing from your
> explanation.  It may be out of date.   I have not attempted to daemonize
> a process to date so it  would be great if you could look at this and
> comment since I need something to work with.
> 
> http://mail.python.org/pipermail/python-list/2001-February/030814.html
> 
> As far as interacting with Zope, I have done something similar to build
> a site remotely from another server but setup https and sent credentials
> in the urls.  I wonder if there is a way to inject them into Zope
> another way since the daemon is on the machine.  I think the ClockServer
> injects requests into Zope.  I believe it is something similar since
> credentials still need to be in url to execute something but requests
> are not exposed to the web doing this.

The CookieCrumbler is willing to accept credentials from a form, and
hence from the URL.  See its '_setAuthHeader' and 'modifyRequest'
methods for how:


http://svn.zope.org/CMF/branches/1.5/CMFCore/CookieCrumbler.py?rev=37453&view=auto


Tres.
- --
===
Tres Seaver  +1 202-558-7113  [EMAIL PROTECTED]
Palladion Software   "Excellence by Design"http://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDKAim+gerLs4ltQ4RAvuFAKDR7FtOqJH3Co1Rr0Aq3ny7U/HzNgCcC8i+
ly5WHcv8rwArQHwXf8sJdZw=
=otbx
-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] Output only the first or a particular record using TAL

2005-09-14 Thread Sascha Ottolski
Am Mittwoch, 14. September 2005 06:48 schrieb Julian Yap:
> I was along the lines of something like this:
> 
>     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 )