Bug#356750: [Pkg-zope-developers] Bug#356750: broken product CMFUid

Stefano Zacchiroli zack at debian.org
Tue Mar 14 17:13:35 UTC 2006


On Tue, Mar 14, 2006 at 05:34:58PM +0100, Fabio Tranchitella wrote:
>   I can't find that snippet of code anywhere in my source tree. Are you
> sure that you are using zope-cmfuid1.5? Could you please check
> that /var/lib/zope2.8/instance/plone-site/Products/CMFUid/ is a symbolic
> link to /usr/share/zope/Products/CMFUid:1.5 and
> that /usr/share/zope/Products/CMFUid:1.5/version.txt contains CMF-1.5.5?

Ciao Fabio,
  no, the directory itself is not a symlink since I choosed the
tree-linked installation mode, but all files available in that dir are
symlinks pointing under /usr/share/zope/Products/CMFUid:1.5. Look:

  zack at aquarium:/var/lib/zope2.8/instance/plone-site/Products/CMFUid$ find . -type f
  ./__init__.pyc
  zack at aquarium:/var/lib/zope2.8/instance/plone-site/Products/CMFUid$ find . -type l -exec readlink {} \;
  /usr/share/zope/Products/CMFUid:1.5/DEPENDENCIES.txt
  /usr/share/zope/Products/CMFUid:1.5/__init__.py
  /usr/share/zope/Products/CMFUid:1.5/UniqueIdGeneratorTool.py
  /usr/share/zope/Products/CMFUid:1.5/interfaces.py
  /usr/share/zope/Products/CMFUid:1.5/README.txt
  /usr/share/zope/Products/CMFUid:1.5/tool.gif
  /usr/share/zope/Products/CMFUid:1.5/.dzproduct
  /usr/share/zope/Products/CMFUid:1.5/UniqueIdAnnotationTool.py
  /usr/share/zope/Products/CMFUid:1.5/UniqueIdHandlerTool.py
  /usr/share/zope/Products/CMFUid:1.5/version.txt
  /usr/share/zope/Products/CMFUid:1.5/profiles/default/toolset.xml
  /usr/share/zope/Products/CMFUid:1.5/tests/test_uidhandling.py
  /usr/share/zope/Products/CMFUid:1.5/tests/__init__.py
  /usr/share/zope/Products/CMFUid:1.5/tests/test_uidannotation.py
  /usr/share/zope/Products/CMFUid:1.5/tests/test_uidgeneration.py
  /usr/share/zope/Products/CMFUid:1.5/www/queryUID.pt

Besides, I made a fresh installation after a rm -rf on
/var/lib/zope2.8/instance/*, to be sure I've not played around with
products.

Still version.txt does not contain what you expect:

  zack at aquarium:/var/lib/zope2.8/instance/plone-site/Products/CMFUid$ cat version.txt
  1.5.0.2 (functionality of the upcoming CMF-1.5.1, http://cvs.zope.org/CMF/CMFUid/?only_with_tag=CMF-1_5-branch)

Uhm ... I starting to see what could have happened. Having installed as
tree-linked it is possible that my playing with a different version of
CMFUid in the past has overwritten the "original" version of CMFUid
which resides in /usr/share/zope/Products ...

Do you think is possible to prevent such mistakes from the user? Due to
the way external (i.e. non-Debian) products are added to instances I
think it can happen frequently.

I will perform a fresh deinstallation/reinstallation of zope-cmfuid1.5.
In case the problem vanishes I will close the bugreport by myself.

Thanks for your help.
Cheers.

-- 
Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. -!-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-zope-developers/attachments/20060314/636ebfa7/attachment.pgp


More information about the Pkg-zope-developers mailing list