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 )


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


[Zope] Problem Installing Zope 2.7.0

2005-06-13 Thread rni users

Hello Members,

i m installing zope2.7.0 on red hat linux advance server 3.0n m trying 2 
create a new zope instance..but the problem is that there is no /bin 
directory created in my zope_home folder( which is zope-2.7.0) though all 
other


doc ,import,lib, skel,Zserver,utilites,import, test.py,setup,py,sbin 
etchave been created


is sbin similar to bin??

m unable to execute the command/bin/mkzopeinstance.py
it says no such file or directory

from where shld i run /mkzopeinstance.py???

m completely new to zope...

kindly help

Thankyou

_
Sajnaave or Dhoom machaale? http://server1.msn.co.in/sp05/iifa/ Make your 
favourite song win!


___
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 Installing Zope 2.7.0

2005-06-13 Thread Paul Winkler
On Mon, Jun 13, 2005 at 11:55:20AM +0530, rni users wrote:
 Hello Members,
 
 i m installing zope2.7.0 on red hat linux advance server 3.0

why are you installing such an old version of zope?

 n m trying 
 2 create a new zope instance..but the problem is that there is no /bin 
 directory created in my zope_home folder( which is zope-2.7.0) though all 
 other
 
 doc ,import,lib, skel,Zserver,utilites,import, test.py,setup,py,sbin 
 etchave been created
 
 is sbin similar to bin??

have you looked to see what is in it? :-)

Are you installing from RPM or something?  Of those, only
import is normally created in a Zope instance home...
I have generally avoided the zope packages provided by linux
distributions, because:

* they are usually way behind the current stable release.
(2.7.6, or 2.8.0 if you are comfortable with a dot-zero release).
Which is fine for playing around, but sooner or later you will have 
a need to upgrade to a version not supported by the distribution.
E.g. you may find that you *need* one of the several dozen, if not 
hundred, bugfixes and/or new features they haven't picked up yet.

* When you have installation problems, zope people on this list will 
have no idea what the hell you're talking about :-)

* Installing zope from source on linux is trivial, and
well-documented (e.g. in the online Zope Book at www.plope.com ).
 
 m unable to execute the command/bin/mkzopeinstance.py
 it says no such file or directory
 
 from where shld i run /mkzopeinstance.py???
 
 m completely new to zope...

sounds like you are pretty new to linux/unix too.  Try one
of the standard ways of finding stuff on linux, such as:

locate mkzopeinstance.py

That should tell you where it is.

If you are installing from RPM, there should be documentation
(maybe in /usr/share/doc ) explaining everything about where 
redhat puts stuff, since they apparently do it weird. 

If there is not, either complain to redhat, or install from 
source instead.

-- 

Paul Winkler
http://www.slinkp.com
___
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-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-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 installing zope products

2001-01-02 Thread Darrin Nova

Hello,

I am having problems installing zope products (*.zexp files) using the import 
function.

I have tried several products including TimeTracker-0.0.3.zexp, 
EvTracker.zexp, ZPhotoAlbum-1.0.zexp and others. I get the same error when 
trying to install these three.

For example with Time Tracker I get...

The object TimeTracker does not support this operation
   
Traceback (innermost last):
  File /opt/zope/Zope-2.2.4-src/lib/python/ZPublisher/Publish.py, line 222, in 
publish_module
  File /opt/zope/Zope-2.2.4-src/lib/python/ZPublisher/Publish.py, line 187, in 
publish
  File /opt/zope/Zope-2.2.4-src/lib/python/Zope/__init__.py, line 221, in 
zpublisher_exception_hook
(Object: ApplicationDefaultPermissions)
  File /opt/zope/Zope-2.2.4-src/lib/python/ZPublisher/Publish.py, line 171, in 
publish
  File /opt/zope/Zope-2.2.4-src/lib/python/ZPublisher/mapply.py, line 160, in 
mapply
(Object: manage_importObject)
  File /opt/zope/Zope-2.2.4-src/lib/python/ZPublisher/Publish.py, line 112, in 
call_object
(Object: manage_importObject)
  File /opt/zope/Zope-2.2.4-src/lib/python/OFS/ObjectManager.py, line 537, in 
manage_importObject
(Object: ApplicationDefaultPermissions)
  File /opt/zope/Zope-2.2.4-src/lib/python/OFS/CopySupport.py, line 406, in 
_verifyObjectPaste
(Object: ApplicationDefaultPermissions)
Copy Error: (see above)


I am running zope 2.2.4 on Debian Linux (Potato). I installed this from source 
instead of from the .deb in the /opt/zope/Zope-2.2.4-src/ directory as you can 
see from the error mesages.

I can't understand why these errors occur. The scripts under zope are all 
owned by the user nobody.

Some help or guidance would be greatly appreciated since these products seem 
quite powerfull and usefull.

Thanks.

Darrin


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




[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 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 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 running Zope

2000-08-14 Thread R. David Murray

On Fri, 11 Aug 2000 [EMAIL PROTECTED] wrote:
 trying to run 'python z2.py" I get an error message saying the
 executable is incompatible with the hardware (obviously!!). So I tried
 to recompile the python source on the new machine and everything seemed

Note that you will also have to recompile the Zope source, since it
does contain some C code as well as a lot of Python code.

 to go through fine. However when trying to run the new executable here
 is the error message I get.
[...]
 File "/optZope-2.1.4-src/Zserver/HTTPServer.py, line 111, in ?
   import thread
 Import Error: No module named thread

Zope requires python to be compiled with thread support.  Rerun
the python configure with --with-threads, redo the make/install,
and see if things work better.

--RDM


___
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 running Zope

2000-08-11 Thread fardin_habibi
 BDY.RTF


[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 string, 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:

dtml-var standard_html_header
dtml-call "REQUEST.set('editor',AUTHENTICATED_USER)"
dtml-call "REQUEST.set('edit_date', ZopeTime())"
dtml-call "propertysheets.properties.manage_changeProperties(REQUEST)"
dtml-call reindex_object
[...]

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 )




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:
 
  dtml-var standard_html_header
  dtml-call "REQUEST.set('editor',AUTHENTICATED_USER)"
  dtml-call "REQUEST.set('edit_date', ZopeTime())"
  dtml-call
"propertysheets.properties.manage_changeProperties(REQUEST)"
  dtml-call reindex_object
  [...]
 
  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:
   dtml-call "REQUEST.set('editor',AUTHENTICATED_USER)"
 to:
   dtml-call "REQUEST.set('editor',AUTHENTICATED_USER.getUserName())"

that's it. i changed the 2.1.x version (dtml-call
"REQUEST.set('editor',AUTHENTICATED_USER.getUserRealName())") 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 )