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
\==== 4 2273
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
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
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
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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....
|
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
|
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?
...
|
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...
|
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...
|
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)
|
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...
|
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":
...
|
by: Rina0 |
last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM)
The start time is equivalent to 19:00 (7PM) in Central...
|
by: linyimin |
last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
|
by: erikbower65 |
last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA:
1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
|
by: Taofi |
last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same
This are my field names
ID, Budgeted, Actual, Status and Differences
...
|
by: Rina0 |
last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
|
by: DJRhino |
last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer)
If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _
310030356 Or 310030359 Or 310030362 Or...
|
by: Mushico |
last post by:
How to calculate date of retirement from date of birth
|
by: DJRhino |
last post by:
Was curious if anyone else was having this same issue or not....
I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
| |