Bug#332845: [Pkg-zope-developers] Bug#332845: Uncorrect named file
Brian Sutherland
jinty at web.de
Sun Oct 9 13:35:40 UTC 2005
On Sun, Oct 09, 2005 at 12:12:17AM +0200, Sven Wilhelm wrote:
> Package: zope3
> Version: 3.1.0-1
>
>
> zope.configuration.config.ConfigurationExecutionError:
> zope.configuration.exceptions.ConfigurationError:
> Help Topic definition usr/lib/zope3/lib/python/zope/interface/README.txt
> does not exist in:
> File
> "/usr/lib/zope3/lib/python/zope/app/apidoc/bookmodule/book.zcml", line
> 11.4-16.10
> <bookchapter
> id="interface"
> title="Interfaces"
> doc_path="README.txt"
> parent="ifaceschema"
> />
>
> Reason: This file is called README.ru.txt in the package.
> Fix: Rename the file and ZOPE starts as expected
Are you using Ubuntu? This smells suspiciously like an Ubuntu specific
bug to me;)
Looking at the contents of the zope3 package in Debian:
% dpkg-deb -c ~/zope3_3.1.0-1_i386.deb |grep zope/interface/README.txt
-rw-r--r-- root/root 20630 2005-10-02 20:47:59 ./usr/lib/python2.4/site-packages/zope/interface/README.txt
And now of the same package in Ubuntu:
% dpkg-deb -c ~/python2.4-zopeinterface_3.1.0-1_i386.deb |grep zope/interface/README.txt
% dpkg-deb -c ~/zope3_3.1.0-1_i386.deb |grep zope/interface/README.txt
A suggested (untested) patch:
% diff -u rules.old rules
--- rules.old 2005-10-09 15:19:09.001609880 +0200
+++ rules 2005-10-09 15:21:01.413520672 +0200
@@ -162,11 +162,12 @@
&& /usr/bin/python2.4 setup.py install --prefix=$(PWD)/$(d_zif24)/usr
-find debian/python*-zopeinterface -name '*.py[co]' | xargs rm -f
- # Move README.txt to the right place
+ # Copy README.txt to the right place
+ # (Zope needs the README to be there, see 332845)
set -x ; for dir in debian/python2*-zopeinterface ; do \
pkg=$$(basename $$dir) ; \
mkdir -p $$dir/usr/share/doc/$$pkg ; \
- mv $$(find $$dir -name README.txt) $$dir/usr/share/doc/$$pkg ; \
+ cp $$(find $$dir -name README.txt) $$dir/usr/share/doc/$$pkg ; \
done
# Remove interface module which has been split out
--
Brian Sutherland
Metropolis - "it's the first movie with a robot. And she's a woman.
And she's EVIL!!"
More information about the Pkg-zope-developers
mailing list