473,699 Members | 2,119 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 StandardCacheMa nagers 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=__impor t__(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 2335
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=__impor t__(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**@netmemeti c.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.HTTPSer ver.zhttp_serve r (Port: 9080)
ZServer.FTPServ er.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
1926
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. Below is some sample SQL to set things up, but I need to ensure that each kit gets three products -- one from each category. Obviously, this basic SQL doesn't allow that. Any suggestions? Do I need a different schema design, or is there...
205
10639
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
1197
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? http://www.microsoft.com/products/expression/en/web_designer/default.aspx -- John Dalberg
3
2254
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 or by stopping SQL Server), the status returned is "true" or that it is open. The connection status of "broken" is not currently supported and therefore does not work either.
0
1498
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 (System.Deployment.Application.ApplicationDeployment.IsNetworkDeployed) { System.Deployment.Application.ApplicationDeployment ad = System.Deployment.Application.ApplicationDeployment.CurrentDeployment; version = ad.CurrentVersion; // blah...
2
3891
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
1472
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 want to tag files that have been modfied in this way so that we can right-click on them later and know that they've been modified. How could I write a little app that I could run in a build script to do this?
8
1913
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": http://docs.python.org/lib/typeiter.html I don't understand the reasoning behind this. As I understand it, an iterator is something like a stream. There's no constraint that once a stream is empty it must remain empty forever.
0
8697
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8621
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9184
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8929
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6538
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4380
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3061
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2357
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2013
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.