[Pkg-zope-developers] Bug#337146: plone-site: don't seem to have a plone site

Ross Boylan RossBoylan at stanfordalumni.org
Wed Nov 2 20:36:25 UTC 2005


Package: plone-site
Version: 2.1-2
Severity: normal

I just installed plone-site on a system that already had zope and
zope2.8 on it.  There appear to be a number of problems.

1. There is no README.Debian giving a fuller (than the package
description) account of what is supposed to happen and what I need to
do.  If it's supposed to "just work" such a file may not be necessary,
but if there are additional steps or items they would be useful to note.

2. I found the message during the setup
-----------------------------
NOTE: Once the instance has been created, the parameter entered here isn't relevant anymore.  To change the admin user (and password) later on, call:

/var/lib/zope2.8/instance/plone-site/bin/zopectl adduser <user> <password>
----------------------------------------------
confusing.  Does this mean the account and password given during the
setup are no longer valid?  That seems to be the case.  But then, what
is the admin user?  More on account issues below.

3. When I connected to the site I saw what appeared to be a generic
"Zope Quick Start" page, not plone.  Not having worked with plone before, I'm
not sure if this is to be expected, but it doesn't look as if plone is
set up.

4. When I attempted to login use the account/password setup during
package install, I could not log in.  (I thought maybe I needed to
install the plone product).

5.  When I attempted to add a user as indicated in 2, I got the
following messages, at least one of which looks like an error, not a
warning:
-----------------------------------------------------------
/var/lib/zope2.8/instance/plone-site/Products/PortalTransforms/TransformEngine.py:18: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions'is a deprecated compatiblity alias for 'Products.CMFCore.permissions';  please use the new module instead.
  from Products.CMFCore import CMFCorePermissions
2005-11-02 11:58:48 WARNING PortalTransforms Unable to find binary "rtf-converter" in /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
2005-11-02 11:58:48 WARNING PortalTransforms Unable to find binary "rtf2xml" in /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
/var/lib/zope2.8/instance/plone-site/Products/CMFCore/utils.py:629: DeprecationWarning: format_stx() will be removed in CMF 1.6. Please use StructuredText.StructuredText.HTML instead.
  DeprecationWarning)
2005-11-02 11:59:11 WARNING OFS.Application Duplicate Product name
After loading Product 'BTreeFolder2' from '/var/lib/zope2.8/instance/plone-site/Products',
I skipped the one in '/usr/lib/zope2.8/lib/python/Products'.

/var/lib/zope2.8/instance/plone-site/Products/kupu/__init__.py:23: DeprecationWarning: The Zope package has been renamed to Zope2. Import of a package named 'Zope' is deprecated and will be disabled starting in Zope 2.11.
  import Zope
2005-11-02 11:59:14 ERROR ZODB.lock_file Error locking file /var/lib/zope2.8/instance/plone-site/var/Data.fs.lock
Traceback (most recent call last):
  File "/usr/lib/zope2.8/lib/python/ZODB/lock_file.py", line 63, in __init__
    lock_file(self._fp)
  File "/usr/lib/zope2.8/lib/python/ZODB/lock_file.py", line 42, in lock_file
    fcntl.flock(file.fileno(), _flags)
IOError: [Errno 11] Resource temporarily unavailable
Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "/usr/lib/zope2.8/lib/python/Zope2/__init__.py", line 51, in app
    startup()
  File "/usr/lib/zope2.8/lib/python/Zope2/__init__.py", line 47, in startup
    _startup()
  File "/usr/lib/zope2.8/lib/python/Zope2/App/startup.py", line 56, in startup
    DB = configuration.dbtab.getDatabase('/', is_root=1)
  File "/usr/lib/zope2.8/lib/python/DBTab/DBTab.py", line 96, in getDatabase
    db = self._createDatabase(name, is_root)
  File "/usr/lib/zope2.8/lib/python/DBTab/DBTab.py", line 113, in _createDatabase
    db = factory.open()
  File "/usr/lib/zope2.8/lib/python/Zope2/Startup/datatypes.py", line 163, in open
    DB = self.createDB()
  File "/usr/lib/zope2.8/lib/python/Zope2/Startup/datatypes.py", line 160, in createDB
    return ZODBDatabase.open(self)
  File "/usr/lib/zope2.8/lib/python/ZODB/config.py", line 97, in open
    storage = section.storage.open()
  File "/usr/lib/zope2.8/lib/python/ZODB/config.py", line 133, in open
    quota=self.config.quota)
  File "/usr/lib/zope2.8/lib/python/ZODB/FileStorage/FileStorage.py", line 112, in __init__
    self._lock_file = LockFile(file_name + '.lock')
  File "/usr/lib/zope2.8/lib/python/ZODB/lock_file.py", line 63, in __init__
    lock_file(self._fp)
  File "/usr/lib/zope2.8/lib/python/ZODB/lock_file.py", line 42, in lock_file
    fcntl.flock(file.fileno(), _flags)
IOError: [Errno 11] Resource temporarily unavailable
-----------------------------------------------------------------------

I'm not sure if the plone zope instance is still running.  The home
page seems to be there, and I can attempt to get to the admin page
(though no login via the new account either), but clicking on the
examples gets me a "resource not found" error.

I shut down zope2.8, and then was able to execute the adduser command
without the traceback on the lockfile.  However, I still can't log
into the management interface with the new user I just created.

6. Perhaps related to some of the above errors, I noted with some
surprise that the installation pulled in some zope2.7 packages.  For
your reference, here's what my install looked like:
----------------------------------------------------------------

wheat:/etc/default# date; time apt-get -q install plone-site; date
Wed Nov  2 11:25:09 PST 2005
Reading package lists...
Building dependency tree...
The following extra packages will be installed:
  pdftohtml python-docutils python-roman python2.3-docutils zope-atcontenttypes zope-atrbw zope-btreefolder2 zope-cmf1.5 zope-cmfactionicons1.5
  zope-cmfcalendar1.5 zope-cmfcore1.5 zope-cmfdefault1.5 zope-cmfdynamicviewfti zope-cmfformcontroller zope-cmfplone zope-cmfquickinstallertool
  zope-cmfsetup1.5 zope-cmftopic1.5 zope-cmfuid1.5 zope-dcworkflow1.5 zope-extendedpathindex zope-groupuserfolder zope-kupu zope-ploneerrorreporting
  zope-plonetranslations zope-pts zope-resourceregistries zope-securemailhost zope2.7-archetypes zope2.7-generator zope2.7-mimetypesregistry
  zope2.7-portaltransforms zope2.7-validation
Suggested packages:
  plone zope-filesystemsite unrtf ppthtml xlhtml
-------------------------------------------------------------------------

I know this is a lot for a single bug report, but I suspect that many
of these things are related.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (990, 'stable'), (50, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27advncdfs
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages plone-site depends on:
ii  debconf [debconf-2.0]         1.4.58     Debian configuration management sy
ii  zope-cmfplone                 2.1-2      content management system based on
ii  zope-common                   0.5.13     common settings and scripts for zo
ii  zope2.8                       2.8.1-7    Open Source Web Application Server

plone-site recommends no packages.

-- debconf information:
  plone-site/internal:
* plone-site/instance-http-port: 81
* plone-site/keep-data-on-purge: true
* plone-site/admin-user: admin




More information about the Pkg-zope-developers mailing list