Re: [Zope] Problem with Zope

2017-05-31 Thread Andreas Jung
Look at your error_log in the ZMI. Never seen the case that such 
an error would _not_ trigger a complete traceback in the error_log.

-aj


On 5 Jan 2016, at 12:45, Jordan Guerder wrote:

> Hello,
> I discovered Zope, however, I see an error output from one of my clients. 
> Indeed its website appears for a few hours this error message:
>
> Zope Error
> Zope HAS Encountered an error while publishing this resource.
> Error type: IndexError
> Error Value: 0
>
> Server side all seems ok:
> - Apache is up
> - Php fpm is up
> - Mysql is up
>
> The logs do not show me any errors, would you therefore an idea of how I 
> could identify this problem?
>
> Jordan
> ___
> Zope maillist  -  Zope@zope.org
> https://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-announce
> https://mail.zope.org/mailman/listinfo/zope-dev )


signature.asc
Description: OpenPGP digital signature
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Problem with Zope

2016-01-05 Thread Sebastian Tänzer
Hello Jordan,

ZOPE does not rely or use neither PHP nor MySQL (in most cases at least - MySQL 
can be integrated using a database adapter).

Without any further details and trace logs it’s almost impossible to say what 
the reason for this is.

Which ZOPE version is running? You can see the details in the ZOPE control 
panel.

Kind regards
Sebastian

> Am 05.01.2016 um 12:45 schrieb Jordan Guerder :
> 
> Hello,
> I discovered Zope, however, I see an error output from one of my clients. 
> Indeed its website appears for a few hours this error message:
> 
> Zope Error
> Zope HAS Encountered an error while publishing this resource.
> Error type: IndexError
> Error Value: 0
> 
> Server side all seems ok:
> - Apache is up
> - Php fpm is up
> - Mysql is up
> 
> The logs do not show me any errors, would you therefore an idea of how I 
> could identify this problem?
> 
> Jordan
> ___
> Zope maillist  -  Zope@zope.org 
> https://mail.zope.org/mailman/listinfo/zope 
> 
> **   No cross posts or HTML encoding!  **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-announce 
> 
> https://mail.zope.org/mailman/listinfo/zope-dev 
>  )

___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Problem with Zope

2016-01-05 Thread Jordan Guerder
Hello,
I discovered Zope, however, I see an error output from one of my clients. 
Indeed its website appears for a few hours this error message:

Zope Error
Zope HAS Encountered an error while publishing this resource.
Error type: IndexError
Error Value: 0

Server side all seems ok:
- Apache is up
- Php fpm is up
- Mysql is up

The logs do not show me any errors, would you therefore an idea of how I could 
identify this problem?

Jordan
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Problem with Zope Threads on Debain

2005-04-20 Thread Andrew Langmead
On Apr 20, 2005, at 5:43 AM, David wrote:
I do : ps -aux  . There is one zope process (user : zope) running in 
every moment :

zope 19004  0.3 11.0 171460 114380 ? S09:58   0:16 
/usr/bin/python2.3 /usr/lib/zope2.7/lib/python/Zope/Startup/run.py -C 
/var/lib/zope2.7/instance/ ...

However, there are a lot of apache process (6) running.
Do you know another way to obtain the number of zope threads running?
Apache spawns multiple processes, not threads. (that changes a bit with 
Apache 2, but lets ignore that for the moment.) Zope uses threads 
instead.

The Linux kernel, before version 2.6 had relatively primitive thread 
support, and built threads out of multiple processes with some memory 
sharing. Linux 2.6 has more advanced thread support that supports the 
pthread standard. One side effect of real pthreads is that all threads 
are really within the same process.

If you use the command and options "ps auxm", you will see displayed 
the threads within the process.

___
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] Problem with Zope Threads on Debain

2005-04-20 Thread David
David wrote:
>> I have installed the zope debian (sarge) package. The default number 
of
>> threads is 4 but only one thread is running.
>> I installed this package in several machines and I have this problem 
in
>> everyone.

> How are you deducing that only one thread is running?
> Chris
I do : ps -aux  . There is one zope process (user : zope) running in 
every moment :

zope 19004  0.3 11.0 171460 114380 ? S09:58   0:16 
/usr/bin/python2.3 /usr/lib/zope2.7/lib/python/Zope/Startup/run.py -C 
/var/lib/zope2.7/instance/ ...

However, there are a lot of apache process (6) running.
Do you know another way to obtain the number of zope threads running?
___
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] Problem with Zope Threads on Debain

2005-04-19 Thread Chris Withers
David wrote:
I have installed the zope debian (sarge) package. The default number of 
threads is 4 but only one thread is running.
I installed this package in several machines and I have this problem in 
everyone.
How are you deducing that only one thread is running?
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] Problem with Zope Threads on Debain

2005-04-14 Thread David
I have installed the zope debian (sarge) package. The default number of 
threads is 4 but only one thread is running.
I installed this package in several machines and I have this problem in 
everyone.
Somebody knows whats the possible problem?

Sorry for bad english and thank for advance.
David.
--

David Zapico
<[EMAIL PROTECTED]>
Neo Ingeniería Informática S.L.
< http://www.neosystemssl.com >
Tlfn/fax: 895 313 424

--
___
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] Problem with Zope 2.2.0 and Z SQL Method : "NO MODULE NAMED ZDBASE"...

2000-10-11 Thread Frederic Quin

Hi all,


I have some problem using Z SQL Method on Zope 2.2.0. I have a Zope
error clicking on the item "Advanced". I have the same error when trying
to find an object... Here is the error :


Thanks
Fred


Error

 Zope has encountered an error while publishing this
resource. See below for details. 

 Error Type: ImportError
 Error Value: No module named ZDBase



 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. 


   Version 2.0.3 -- © 2000 Profile
For You -- Internal use only.

Traceback (innermost last):
  File
/usr/local/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
222, in publish_module
  File
/usr/local/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
187, in publish
  File /usr/local/Zope-2.2.0-linux2-x86/lib/python/Zope/__init__.py,
line 221, in zpublisher_exception_hook
(Object: essai)
  File
/usr/local/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
171, in publish
  File /usr/local/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/mapply.py,
line 160, in mapply
(Object: manage_advancedForm)
  File
/usr/local/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
112, in call_object
(Object: manage_advancedForm)
  File /Zope2/lib/python/App/special_dtml.py, line 120, in __call__
(Object: manage_advancedForm)
(Info: /Zope/lib/python/Shared/DC/ZRDB/advanced.dtml)
  File /Zope2/lib/python/DocumentTemplate/DT_String.py, line 528, in
__call__
(Object: manage_advancedForm)
  File /Zope2/lib/python/Shared/DC/ZRDB/DA.py, line 508, in
manage_product_zclass_info
(Object: essai)
  File /Zope2/lib/python/ZODB/Connection.py, line 447, in setstate
ImportError: (see above)

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




Re: [Zope] Problem with zope mailing list

2000-08-31 Thread Nils Kassube

Francois-Regis CHALAOUX wrote:

> Any idea ?

A broken X.400 e-mail gateway? Your sysadmin should be able to
help you. 

| Received: (from x400@localhost)
|   by gtlhpmed.paris.sanofi.com (8.8.6 (PHNE_17135)/8.8.6) id PAA29215
|   for [EMAIL PROTECTED]; Thu, 31 Aug 2000 15:38:29 +0200 (METDST)
| Original-Encoded-Information-Types: IA5-Text
| X400-MTS-Identifier: [/P=SANOFI/A=ATLAS/C=FR/;39AE6FD6.32D4.06A7.000]

Cheers,
Nils
--
[EMAIL PROTECTED]   | [EMAIL PROTECTED] (preferred)
[EMAIL PROTECTED] | [EMAIL PROTECTED]



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




Re: [Zope] Problem with zope mailing list

2000-08-31 Thread J. Cameron Cooper

> Since longtime now I have a problem with the Zope mailing list :
> I always receive, the messages from "[EMAIL PROTECTED] " not from the name
> of the right person (for 97% messages) ?
> Any idea ?

Take a look at the headers of a Zope list message (ctrl-U in Messenger). It
correctly states the "sender" as [EMAIL PROTECTED], and also correctly states
that the message is "from" whoever sent it to the list. For some reaon your
mail client is getting these confused, and I don't know why or how to fix it.
I can say that using practically the same client that you used to send the
message I'm replying to I'm not experiencing that problem. So in
short: I dunno.

--jcc

--
"No! I am not Prince Hamlet, nor was meant to be."
http://www.owlnet.rice.edu/~jccooper/




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




Re: [Zope] Problem with zope mailing list

2000-08-31 Thread Chris Withers

Francois-Regis CHALAOUX wrote:
> 
> Hi All,
> 
> Since longtime now I have a problem with the Zope mailing list :
> I always receive, the messages from "[EMAIL PROTECTED] " not from the name
> of the right person (for 97% messages) ?
> Any idea ?
> 
> FR

Sounds like a mail client problem rather than one with the list. I don't
experience this...

cheers,

Chris

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




[Zope] Problem with zope mailing list

2000-08-31 Thread Francois-Regis CHALAOUX

Hi All,

Since longtime now I have a problem with the Zope mailing list : 
I always receive, the messages from "[EMAIL PROTECTED] " not from the name
of the right person (for 97% messages) ?
Any idea ?

FR
  
  
  
  
  
  
  
  
  
  
  
  
  
  
   

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




Re: [Zope] Problem with Zope 2.2.0 and changing a ZClass property

2000-07-17 Thread Jochen Knuth

Hi Shane,

Shane Hathaway wrote:


> Jochen Knuth wrote:
> >
> > Hi,
> >
> > trying to update a ZClass based Product to Zope 2.2.0 i get the
> > following Error and Traceback:

[traceback deleted]

> > The error occurs in a method i defined in a ZClass. The beginning of
the
> > method is:
> >
> > 
> > 
> > 
> > 
> > 
> > [...]
> >
> > The method is called from a edit form of a ZClass instance as the
form
> > action.
> >
> > Is there anything wrong with the method or is there something other
to
> > look at?
>
> Try changing:
>   
> to:
>   

that's it. i changed the 2.1.x version () because i
haven't ported our user folder (GUF, with an addition getUserRealName)
to 2.2.0 and forgot to set it to getUserName.

Thanx,

Jochen


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




Re: [Zope] Problem with Zope 2.2.0 and changing a ZClass property

2000-07-17 Thread Shane Hathaway

Jochen Knuth wrote:
> 
> Hi,
> 
> trying to update a ZClass based Product to Zope 2.2.0 i get the
> following Error and Traceback:
> 
> Error Type: ValueError
> Error Value: Invalid property value: wrapped object
> 
> Traceback (innermost last):
>   File /usr/local/Zope-2.2.0/lib/python/ZPublisher/Publish.py, line 222,
> in publish_module
>   File /usr/local/Zope-2.2.0/lib/python/ZPublisher/Publish.py, line 187,
> in publish
>   File /usr/local/Zope-2.2.0/lib/python/Zope/__init__.py, line 221, in
> zpublisher_exception_hook
> (Object: ElementWithAttributes)
>   File /usr/local/Zope-2.2.0/lib/python/ZPublisher/Publish.py, line 171,
> in publish
>   File /usr/local/Zope-2.2.0/lib/python/ZPublisher/mapply.py, line 160,
> in mapply
> (Object: postit)
>   File /usr/local/Zope-2.2.0/lib/python/ZPublisher/Publish.py, line 112,
> in call_object
> (Object: postit)
>   File /usr/local/Zope-2.2.0/lib/python/OFS/DTMLMethod.py, line 167, in
> __call__
> (Object: postit)
>   File /usr/local/Zope-2.2.0/lib/python/DocumentTemplate/DT_String.py,
> line 502, in __call__
> (Object: postit)
>   File /usr/local/Zope-2.2.0/lib/python/DocumentTemplate/DT_Util.py,
> line 337, in eval
> (Object: propertysheets.properties.manage_changeProperties(REQUEST))
> (Info: REQUEST)
>   File , line 0, in ?
>   File /usr/local/Zope-2.2.0/lib/python/OFS/PropertySheets.py, line 443,
> in manage_changeProperties
> (Object: Traversable)
>   File /usr/local/Zope-2.2.0/lib/python/OFS/PropertySheets.py, line 255,
> in _updateProperty
> (Object: Traversable)
>   File /usr/local/Zope-2.2.0/lib/python/OFS/PropertySheets.py, line 208,
> in _wrapperCheck
> (Object: Traversable)
> ValueError: (see above)
> 
> The error occurs in a method i defined in a ZClass. The beginning of the
> method is:
> 
> 
> 
> 
> 
> 
> [...]
> 
> The method is called from a edit form of a ZClass instance as the form
> action.
> 
> Is there anything wrong with the method or is there something other to
> look at?

Try changing:
  
to:
  

Shane

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




[Zope] Problem with Zope 2.2.0 and changing a ZClass property

2000-07-17 Thread Jochen Knuth

Hi,

trying to update a ZClass based Product to Zope 2.2.0 i get the
following Error and Traceback:

Error Type: ValueError
Error Value: Invalid property value: wrapped object

Traceback (innermost last):
  File /usr/local/Zope-2.2.0/lib/python/ZPublisher/Publish.py, line 222,
in publish_module
  File /usr/local/Zope-2.2.0/lib/python/ZPublisher/Publish.py, line 187,
in publish
  File /usr/local/Zope-2.2.0/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
(Object: ElementWithAttributes)
  File /usr/local/Zope-2.2.0/lib/python/ZPublisher/Publish.py, line 171,
in publish
  File /usr/local/Zope-2.2.0/lib/python/ZPublisher/mapply.py, line 160,
in mapply
(Object: postit)
  File /usr/local/Zope-2.2.0/lib/python/ZPublisher/Publish.py, line 112,
in call_object
(Object: postit)
  File /usr/local/Zope-2.2.0/lib/python/OFS/DTMLMethod.py, line 167, in
__call__
(Object: postit)
  File /usr/local/Zope-2.2.0/lib/python/DocumentTemplate/DT_String.py,
line 502, in __call__
(Object: postit)
  File /usr/local/Zope-2.2.0/lib/python/DocumentTemplate/DT_Util.py,
line 337, in eval
(Object: propertysheets.properties.manage_changeProperties(REQUEST))
(Info: REQUEST)
  File , line 0, in ?
  File /usr/local/Zope-2.2.0/lib/python/OFS/PropertySheets.py, line 443,
in manage_changeProperties
(Object: Traversable)
  File /usr/local/Zope-2.2.0/lib/python/OFS/PropertySheets.py, line 255,
in _updateProperty
(Object: Traversable)
  File /usr/local/Zope-2.2.0/lib/python/OFS/PropertySheets.py, line 208,
in _wrapperCheck
(Object: Traversable)
ValueError: (see above)

The error occurs in a method i defined in a ZClass. The beginning of the
method is:






[...]

The method is called from a edit form of a ZClass instance as the form
action.

Is there anything wrong with the method or is there something other to
look at?

Ciao,
Jochen


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