Re: [Zope] Zope/Editor problems

2005-10-27 Thread Chris Withers

J Cameron Cooper wrote:
Not logging errors on startup failures (in debug mode) is a problem that 
causes a lot of consternation. I recall hearing once why it is that way, 
but don't quite recall. I'm sure I could search the archives and find out.


Something to do with security. The goat that usually gets waved to scare 
people when something is dumb and barely justifiable ;-)


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 )


Re: [Zope] Zope/Editor problems

2005-10-26 Thread Håkan Johansson


You don't give enough informations (logs, tracebacks etc) for us to 
help you.




The problem is that nothing is written in the logs. In the Epoz case, 
Zope just crashes during startup. And in the Kupu case I get the errors 
when I click on any of the tabs in the editor object.
I have installed a new 2.8.3 instance and installed Epoz 2.0.1 in that. 
Zope still crashes without any logs or traces (I put both on them on 
'all' for 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] Zope/Editor problems

2005-10-26 Thread Lennart Regebro
On 10/26/05, Håkan Johansson [EMAIL PROTECTED] wrote:
 
  You don't give enough informations (logs, tracebacks etc) for us to
  help you.
 

 The problem is that nothing is written in the logs. In the Epoz case,
 Zope just crashes during startup.

It crashes, without any error messages? Really? Have you turned on debug mode?

--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.cps-project.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] Zope/Editor problems

2005-10-26 Thread Håkan Johansson


On Oct 26, 2005, at 13:31, Lennart Regebro wrote:


On 10/26/05, Håkan Johansson [EMAIL PROTECTED] wrote:


You don't give enough informations (logs, tracebacks etc) for us to
help you.



The problem is that nothing is written in the logs. In the Epoz case,
Zope just crashes during startup.


It crashes, without any error messages? Really? Have you turned on 
debug mode?




Yes, debug mode is on.

My personal guess is that both Epoz and Kupu has hidden prereqs that 
the documentation does not say, or that I simply missed somehow. With 
my old installation that has Plone installed (but not used), Zope can 
start with Kupu installed, but the bare bones installation crashes 
during startup if that is installed.


My $INSTANCE_HOME/Products dir contains the following (before trying 
with editors):

* LocalFS
* TextIndexNG2
* README.txt

___
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/Editor problems

2005-10-26 Thread Håkan Johansson


On Oct 26, 2005, at 17:00, Lennart Regebro wrote:


On 10/26/05, Håkan Johansson [EMAIL PROTECTED] wrote:

My personal guess is that both Epoz and Kupu has hidden prereqs that
the documentation does not say, or that I simply missed somehow.


You should still get an error message.

Do you start the server with bin/runzope or bin/zopectl start?


zopectl start

___
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/Editor problems

2005-10-26 Thread Lennart Regebro
On 10/26/05, Håkan Johansson [EMAIL PROTECTED] wrote:

 On Oct 26, 2005, at 17:00, Lennart Regebro wrote:

  On 10/26/05, Håkan Johansson [EMAIL PROTECTED] wrote:
  My personal guess is that both Epoz and Kupu has hidden prereqs that
  the documentation does not say, or that I simply missed somehow.
 
  You should still get an error message.
 
  Do you start the server with bin/runzope or bin/zopectl start?

 zopectl start

OK, use bin/runzope or zopectl fg, and you will surely get the error
message. I'm a bit surprised it doens't end up in the logs as well,
but maybe that's expected.

--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.cps-project.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] Zope/Editor problems

2005-10-26 Thread J Cameron Cooper

Lennart Regebro wrote:

On 10/26/05, Håkan Johansson [EMAIL PROTECTED] wrote:


On Oct 26, 2005, at 17:00, Lennart Regebro wrote:



On 10/26/05, Håkan Johansson [EMAIL PROTECTED] wrote:


My personal guess is that both Epoz and Kupu has hidden prereqs that
the documentation does not say, or that I simply missed somehow.


You should still get an error message.

Do you start the server with bin/runzope or bin/zopectl start?


zopectl start



OK, use bin/runzope or zopectl fg, and you will surely get the error
message. I'm a bit surprised it doens't end up in the logs as well,
but maybe that's expected.


If you don't run in debug mode the error will be written to the logs (at 
least in Zope 2.8), presumably because Zope gets to finish starting up 
and sets up logging.


Not logging errors on startup failures (in debug mode) is a problem that 
causes a lot of consternation. I recall hearing once why it is that way, 
but don't quite recall. I'm sure I could search the archives and find out.


--jcc
--
Building Websites with Plone
http://plonebook.packtpub.com/

Enfold Systems, LLC
http://www.enfoldsystems.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] Zope/Editor problems

2005-10-25 Thread bruno modulix

Håkan Johansson a écrit :

I need some sort of content editor and have looked at both Epoz and Kupu.
My problem is that I can't get any of them to work. If I install Epoz, 
Zope crashes without any error messages.


Have you looked in the logs ?

(snip)
Are these editors even usable by me? 


I had no problem using Epoz or Kupu.

I found the Kupu documentation a bit cryptic too. As I am very new to 
Zope, I want a simple functioning example how to edit a simple document 
object.


Use the code, Luke. Silva uses Kupu, so having a look at Silva's code 
should get you started.



Epoz has this but I could not try it because of the crash.

I have googled around a lot, but I haven't found anything that resembles 
my problems.


You don't give enough informations (logs, tracebacks etc) for us to help 
you.


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