473,320 Members | 1,744 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

ZWiki: "product broken" on Zope 2.5.1/Debian

Hi, I am trying to install ZWiki on Zope 2.5.1 / Debian 2.4.20-bf2.4-xfs.

First I copied the contents of the ZWiki-0.32.0.tgz to the
Products-directory under SOFTWARE_HOME:

This is what it contained before:

server1:/usr/lib/zope/lib/python/Products# ls
ExternalMethod PageTemplates StandardCacheManagers ZSQLMethods
Hotfix_2002-06-14 PluginIndexes TemporaryFolder ZopeTutorial
MIMETools PythonScripts Transience __init__.py
MailHost Sessions ZCatalog __init__.pyc
OFSP SiteAccess ZGadflyDA

After restarting Zope there was no ZWiki in the Product Management, but
in the server start log there was something saying:

SyntaxWarning: local name 'self' in 'mailbox' shadows use of 'self' as
global in nested scope 'msgfactory'

Then I read something that installing in INSTANCE_HOME/Products is the
prefered way of installing zwiki with Zope 2.7. (I have Zope 2.5.1!). So
where should I put it?

Well I gave it a try and moved the ZWiki folder there:

server1:/var/lib/zope/Products# ls
ZWiki

Now after restarting Zope there is a ZWiki in my Product Management, but
it appears to be *broken* ... :-(

The Item in Products is named "ZWiki (Broken product ZWiki)", and when I
click it I get this page:

/====

Product at /Control_Panel/Products/ZWiki
Import Traceback

Traceback (most recent call last):
File "/usr/lib/zope/lib/python/OFS/Application.py", line 531, in
import_product
product=__import__(pname, global_dict, global_dict, silly)
File "/usr/lib/zope/lib/python/Products/ZWiki/__init__.py", line 10, in ?
#
File "/usr/lib/zope/lib/python/Products/ZWiki/ZWikiPage.py", line 78,
in ?
File "/usr/lib/zope/lib/python/Products/ZWiki/Comments.py", line 3, in ?
ImportError: No module named email

\====

Can you give any hints?

I installed Zope with apt-get from stable, but maybe I should install
manually from the recent stable Version from the Zope page?

Thank you for your help!

Jochen

PS: This is the Debug Information from the Zope Control Panel:

/====

Debug Information

Zope version: (Zope 2.5.1 (source release, python 2.1, linux2), python
2.1.3, linux2)
Python version: 2.1.3 (#1, Sep 7 2002, 15:29:56) [GCC 2.95.4 20011002
(Debian prerelease)]
System Platform: linux2
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /var/lib/zope
CLIENT_HOME: /var/lib/zope/var
Process ID: 1025 (16386)
Running for: 5 min 10 sec
sys.path:
/usr/lib/zope/lib/python/ZopeZODB3
/usr/lib/zope/lib/python
/usr/lib/zope
/usr/lib/zope/lib/python
/usr/sbin/../lib/zope
/usr/lib/python2.1
/usr/lib/python2.1/plat-linux2
/usr/lib/python2.1/lib-tk
/usr/lib/python2.1/lib-dynload
/usr/local/lib/python2.1/site-packages
/usr/lib/python2.1/site-packages
/usr/lib/python2.1/site-packages/Bobo
/usr/lib/python2.1/site-packages/HTMLgen
/usr/lib/python2.1/site-packages/Numeric
/usr/lib/python2.1/site-packages/PIL
/usr/lib/python2.1/site-packages/gadfly
/usr/lib/site-python

\====
Jul 18 '05 #1
4 2314
On Friday 09 July 2004 4:10 pm, Jochen Demuth wrote:
The Item in Products is named "ZWiki (Broken product ZWiki)", and when I
click it I get this page:

/====

Product at /Control_Panel/Products/ZWiki
Import Traceback

Traceback (most recent call last):
File "/usr/lib/zope/lib/python/OFS/Application.py", line 531, in
import_product
product=__import__(pname, global_dict, global_dict, silly)
File "/usr/lib/zope/lib/python/Products/ZWiki/__init__.py", line 10, in
? #
File "/usr/lib/zope/lib/python/Products/ZWiki/ZWikiPage.py", line 78,
in ?
File "/usr/lib/zope/lib/python/Products/ZWiki/Comments.py", line 3, in ?
ImportError: No module named email

\====

Can you give any hints?

I installed Zope with apt-get from stable, but maybe I should install
manually from the recent stable Version from the Zope page?

Thank you for your help!

Jochen


One quick hint: the "email" package has only been included in the Python
standard library since Python 2.2, though if you get if from somewhere else
it will work with Python 2.1. But you really should upgrade to Python 2.3.4
and Zope 2.7 - I don't even know if ZWiki is meant to work with Zope 2.5.

Another hint: this question would be better posted to zo**@zope.org.

HTH,
James
--
James Henderson, Logical Progression Ltd
http://www.logicalprogression.net
http://mailmanager.sourceforge.net

Jul 18 '05 #2
According to Jochen Demuth <jd***@gmx-topmail.de>:
Hi, I am trying to install ZWiki on Zope 2.5.1 / Debian 2.4.20-bf2.4-xfs.
Can you give any hints?


Use a more recent Zope, like 2.6.4 or 2.7.x.

I have ZWiki 0.31.0 running on Zope 2.7.1. Works fine, including
External Editor.

HTH.

--
Ng Pheng Siong <ng**@netmemetic.com>

http://firewall.rulemaker.net -+- Cisco PIX & Netscreen Config Version Control
http://sandbox.rulemaker.net/ngps -+- M2Crypto, ZServerSSL for Zope, Blog
Jul 18 '05 #3
James Henderson wrote:
On Friday 09 July 2004 4:10 pm, Jochen Demuth wrote: But you really should upgrade to Python 2.3.4
and Zope 2.7 - I don't even know if ZWiki is meant to work with Zope 2.5.


Thank you very much, also thank you Ng Pheng Siong!

So I will upgrade to 2.3.4.

Can I just make/install this version over the old one or does the old
one have to be removed? how can i remove an old python installation,
that I installed from source?

Greetings
Jochen
Jul 18 '05 #4
Jochen Demuth wrote:
Can I just make/install this version over the old one or does the old
one have to be removed? how can i remove an old python installation,
that I installed from source?


Well i just deleted folders that seemed to belong to zope and python,
then installed zlib, then python, zope and zwiki. Seems to work.

I used the empty product folder in my instance home, and now I have
ZWiki running:

ZWiki (Installed product ZWiki (ZWiki-0-32-0))
Zope Version
(unreleased version, python 2.3.4, linux2)
Python Version
2.3.4 (#2, Jul 10 2004, 22:28:04) [GCC 2.95.4 20011002 (Debian prerelease)]
System Platform
linux2
SOFTWARE_HOME
/usr/lib/zope/lib/python
ZOPE_HOME
/usr/lib/zope
INSTANCE_HOME
/usr/lib/zopei
CLIENT_HOME
/usr/lib/zopei/var
Network Services
ZServer.HTTPServer.zhttp_server (Port: 9080)
ZServer.FTPServer.FTPServer (Port: 9021)

Process Id
8377 (65541)
Running For
2 min 10 sec
Jul 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Ovid | last post by:
Hi, I've run into a bit of a sticky design issue. We have products in three categories which I will call 'A', 'B' and 'C'. We have "kits" which contain three products, one from each category....
205
by: Jeremy Siek | last post by:
CALL FOR PAPERS/PARTICIPATION C++, Boost, and the Future of C++ Libraries Workshop at OOPSLA October 24-28, 2004 Vancouver, British Columbia, Canada http://tinyurl.com/4n5pf Submissions
2
by: John Dalberg | last post by:
How does this product fit in the scheme of developing ASP.NET 2.0 websites? Does it compliment Visual Web Developer 2005 Express? Expected release time frame? ...
3
by: ITP | last post by:
Hello, I'm seeing this with the ADO.NET SQLClient provider: When I check the connection's open status after it has been opened AND has been broken (I simulate this by disconnecting the cable...
0
by: Marc Gravell | last post by:
(re-posted from microsoft.public.dotnet.framework.windowsforms due to lack of response) If I have a click-once deployed app, I can get the version via: if...
2
by: Samuel | last post by:
Hi, When using telnetlib, the connection sometimes breaks with the following error: "error: (32, 'Broken pipe')" where the traceback points to self.sock.send(buffer)
0
by: | last post by:
I'd like to change the "Product name" property on a (Win32) DLL - AFTER it's been built. Basically, I have a post-processing tool that modifies the DLL in a way that can't easily be detected. I...
8
by: Steven D'Aprano | last post by:
According to the Python docs, once an iterator raises StopIteration, it should continue to raise StopIteration forever. Iterators that fail to behave in this fashion are deemed to be "broken": ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.