Re: [Zope] ZMI in zope 2.10.5 broken

2008-01-30 Thread Martijn Pieters
On Jan 28, 2008 4:54 PM, quizzical [EMAIL PROTECTED] wrote:
   Module TreeDisplay.TreeTag, line 337, in tpRenderTABLE
   Module zlib, line 38, in compress
 NameError: global name 'util' is not defined

The error occurs in the 'zlib' module, which is not part of Zope, but
a python library. Moreover, on my python installs, this is a C
extension library, not pure python.. From what I can tell from this
traceback, it appears you have a rogue zlib library on your path
somewhere, Zope 2.10.5 certainly doesn't include it.

-- 
Martijn Pieters
___
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] ZMI in zope 2.10.5 broken

2008-01-30 Thread quizzical

I'm not sure how the rogue file got there but it was probably while I was
trying to install a non 2.5 version of python, I did have a lot of trouble
installing python with zlib included, I don't know if this is a common
problem. 

Anyway, I fixed the problem by removing and reinstalling python 2.4.4 with
zlib and that has solved the problem. Zope works perfectly now. Thanks
everyone for the help!

Alex
-- 
View this message in context: 
http://www.nabble.com/ZMI-in-zope-2.10.5-broken-tp15125493p15185129.html
Sent from the Zope - General mailing list archive at Nabble.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 )


[Zope] ZMI in zope 2.10.5 broken

2008-01-28 Thread quizzical

Hi everyone,

I'm new to Zope and have just installed Zope2.10.5. I have created a new
Zope instance in my home folder and then browsed to my servers ip address at
port 8080 and logged into the ZMI. 

This is the problem, the top and main frames of the ZMI render perfectly and
I can navigate to the links in the main window, however, the tree menu in
the left frame does not load. Instead I get this error:

Error Type: NameError
Error Value: global name 'util' is not defined

I have had a look through the mailing lists and googled for hhours and have
found no indication as to what could be causing this.

The only clue I have is that when I click on the 'help' link in the main
frame the left frame of the window fails to render, even though it is a
completely different url. I have tried this in both Mozilla and IE and on
several different computers, one on XP and one on Vista.  

Some information about my setup:

I am running an ubuntu 7.10 server, installed both Zope installations from
the .tgz files on Zope.org. Python version 2.4.4

please tell me what extra information I can provide, I have zero experience
with Zope and am finding it pretty tough to learn, so I know nothing about
standard log files or debugging.

Cheers for any help

Alex
-- 
View this message in context: 
http://www.nabble.com/ZMI-in-zope-2.10.5-broken-tp15125493p15125493.html
Sent from the Zope - General mailing list archive at Nabble.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] ZMI in zope 2.10.5 broken

2008-01-28 Thread Andreas Jung



--On 28. Januar 2008 07:14:36 -0800 quizzical [EMAIL PROTECTED] wrote:




Error Type: NameError
Error Value: global name 'util' is not defined



Please provide the full traceback - either from the error_log within the ZMI
or from messages on your console (requires Zope running in the foreground 
(zopectl fg)).


-aj

pgpKRtCBGBTU7.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] ZMI in zope 2.10.5 broken

2008-01-28 Thread quizzical

Here it is:

/home/alex/playground/bin/runzope -X debug-mode=on
2008-01-28 15:53:17 INFO ZServer HTTP server started at Mon Jan 28 15:53:17
2008
Hostname: 0.0.0.0
Port: 8080
2008-01-28 15:53:20 INFO Zope Ready to handle requests
2008-01-28 15:53:20 ERROR Zope.SiteErrorLog
http://192.168.1.67:8080/manage_menu
Traceback (innermost last):
  Module ZPublisher.Publish, line 119, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 42, in call_object
  Module Shared.DC.Scripts.Bindings, line 313, in __call__
  Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
  Module App.special_dtml, line 178, in _exec
  Module TreeDisplay.TreeTag, line 88, in render
  Module TreeDisplay.TreeTag, line 209, in tpRender
  Module TreeDisplay.TreeTag, line 461, in tpRenderTABLE
   - __traceback_info__: (['AAE=', []], {'url': 'tpURL', 'nowrap':
'1', 'branches': 'tpValues', 'id': 'tpId', 'childless_decoration': ''},
(['AAE=', []],), (['AAE=', []],))
  Module TreeDisplay.TreeTag, line 337, in tpRenderTABLE
  Module zlib, line 38, in compress
NameError: global name 'util' is not defined


Andreas Jung-5 wrote:
 
 
 
 --On 28. Januar 2008 07:14:36 -0800 quizzical [EMAIL PROTECTED] wrote:
 
 

 Error Type: NameError
 Error Value: global name 'util' is not defined


 Please provide the full traceback - either from the error_log within the
 ZMI
 or from messages on your console (requires Zope running in the foreground 
 (zopectl fg)).
 
 -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 )
 
 

-- 
View this message in context: 
http://www.nabble.com/ZMI-in-zope-2.10.5-broken-tp15125493p15138278.html
Sent from the Zope - General mailing list archive at Nabble.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 )