[Pkg-zope-developers] Bug#349281: marked as done (plone-site: adduser command fails)

Debian Bug Tracking System owner at bugs.debian.org
Sun Jan 22 08:48:10 UTC 2006


Your message dated Sun, 22 Jan 2006 09:34:39 +0100
with message-id <1137918879.4166.4.camel at eszakisark.kobold.it>
and subject line [Pkg-zope-developers] Bug#349281: plone-site: adduser command fails
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 22 Jan 2006 00:15:48 +0000
>From listes.rusconi at laposte.net Sat Jan 21 16:15:48 2006
Return-path: <listes.rusconi at laposte.net>
Received: from smtp17.wanadoo.fr ([193.252.23.111])
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1F0StU-0001bJ-2N
	for submit at bugs.debian.org; Sat, 21 Jan 2006 16:15:45 -0800
Received: from me-wanadoo.net (localhost [127.0.0.1])
	by mwinf1701.wanadoo.fr (SMTP Server) with ESMTP id DFE8F7000085
	for <submit at bugs.debian.org>; Sun, 22 Jan 2006 01:15:12 +0100 (CET)
Received: from biophypfr (APuteaux-151-1-70-12.w81-249.abo.wanadoo.fr [81.249.121.12])
	by mwinf1701.wanadoo.fr (SMTP Server) with ESMTP id 6AE077000081;
	Sun, 22 Jan 2006 01:15:12 +0100 (CET)
X-ME-UUID: 20060122001512437.6AE077000081 at mwinf1701.wanadoo.fr
Received: by biophypfr (Postfix, from userid 1000)
	id 0D5C33ABAF; Sun, 22 Jan 2006 01:15:03 +0100 (CET)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Filippo Rusconi <listes.rusconi at laposte.net>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: plone-site: adduser command fails
Message-ID: <20060122001503.13082.87218.reportbug at localhost.localdomain>
X-Mailer: reportbug 3.18
Date: Sun, 22 Jan 2006 01:15:03 +0100
X-Debbugs-Cc: When, there
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.6 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	RCVD_IN_SORBS,WEIRD_PORT,X_DEBBUGS_CC autolearn=ham 
	version=2.60-bugs.debian.org_2005_01_02

Package: plone-site
Version: 2.1.1-1
Severity: important

Hello, please bear with me, as I do not know if this is a bug in zope
or plone...


# apt-get install plone

downloaded all the zope-related packages... OK
setup those packages... OK

setup plone... OK

# apt-get install plone-site

downloaded plone-site OK and setup OK recommending that I run the following command:

/var/lib/zope2.8/instance/plone-site/bin/zopectl adduser username password

which I did like this:

/var/lib/zope2.8/instance/plone-site/bin/zopectl adduser rusconi rusconiplonesitepassword

which yielded this:


/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
2006-01-22 00:38:28 WARNING PortalTransforms Unable to find binary "rtf-converter" in /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
2006-01-22 00:38:28 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:770: DeprecationWarning: format_stx() will be removed in CMF 2.0. Please use StructuredText.StructuredText.HTML instead.  DeprecationWarning)
2006-01-22 00:38:35 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
2006-01-22 00:38:36 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
root at casamiatheirhouse:/home/rusconi#


I'm absolutely no pythonist... but apparently there are two issues at least.

First :

1)
/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.

2) /var/lib/zope2.8/instance/plone-site/Products/CMFCore/utils.py:770:
DeprecationWarning: format_stx() will be removed in CMF 2.0. Please
use StructuredText.StructuredText.HTML instead.  DeprecationWarning)

3) /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.

I do not know if these are critical and fatal deprecation warnings.


Second :

2006-01-22 00:38:36 ERROR ZODB.lock_file Error locking file
/var/lib/zope2.8/instance/plone-site/var/Data.fs.lock

If I go and look the contents of that file:

# cat /var/lib/zope2.8/instance/plone-site/var/Data.fs.lock
6077

Suspecting that this is a process id : 

# ps aux | grep 6077
zope      6077  1.9  8.3 102584 64532 ?  Sl   00:36   0:21 /usr/bin/python2.3 /usr/lib/zope2.8/lib/python/Zope2/Startup/run.py -C /etc/zope2.8/plone-site/zope.conf

So it was indeed a PID...

I tried restarting zope:

# /etc/init.d/zope2.8 restart
Zope2.8: restarting plone-site instance.


and then to connect to 

http://localhost:8081/manage

and can enter my admin/password OK.

However, I feel something is wrong somewhere. I could not tell if
there are non-working things yet as I'm discovering the whole
Zope/Plone stuff :)

Thank you for your help !

Ciao

Filippo Rusconi



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-fr3
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages plone-site depends on:
ii  debconf [debconf-2.0]         1.4.66     Debian configuration management sy
ii  zope-cmfplone                 2.1.1-1    content management system based on
ii  zope-common                   0.5.16     common settings and scripts for zo
ii  zope2.8                       2.8.4-2    Open Source Web Application Server

plone-site recommends no packages.

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


---------------------------------------
Received: (at 349281-done) by bugs.debian.org; 22 Jan 2006 08:35:17 +0000
>From kobold at kobold.it Sun Jan 22 00:35:17 2006
Return-path: <kobold at kobold.it>
Received: from ulisse.dmgroup.hu ([195.70.36.103])
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1F0agv-00082B-5S
	for 349281-done at bugs.debian.org; Sun, 22 Jan 2006 00:35:17 -0800
Received: from catv-5063f43d.catv.broadband.hu ([80.99.244.61] helo=eszakisark.kobold.it)
	by ulisse.dmgroup.hu with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA:32)
	(Exim 4.50)
	id 1F0agM-0004NB-Sw; Sun, 22 Jan 2006 09:34:43 +0100
Received: from localhost ([127.0.0.1] helo=eszakisark.kobold.it)
	by eszakisark.kobold.it with esmtp (Exim 4.60)
	(envelope-from <kobold at kobold.it>)
	id 1F0agK-00015s-7i; Sun, 22 Jan 2006 09:34:40 +0100
Subject: Re: [Pkg-zope-developers] Bug#349281: plone-site: adduser command
	fails
From: Fabio Tranchitella <kobold at kobold.it>
To: 349281-done at bugs.debian.org, Filippo Rusconi <listes.rusconi at laposte.net>
In-Reply-To: <20060122001503.13082.87218.reportbug at localhost.localdomain>
References: <20060122001503.13082.87218.reportbug at localhost.localdomain>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-O8lJ/Ji9gvG0v/dG4UQ7"
Organization: Studio Tranchitella Associazione Professionale
Date: Sun, 22 Jan 2006 09:34:39 +0100
Message-Id: <1137918879.4166.4.camel at eszakisark.kobold.it>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.3 
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02


--=-O8lJ/Ji9gvG0v/dG4UQ7
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Il giorno dom, 22/01/2006 alle 01.15 +0100, Filippo Rusconi ha scritto:
> Package: plone-site
> Version: 2.1.1-1
> Severity: important
>=20
> Hello, please bear with me, as I do not know if this is a bug in zope
> or plone...

This is a non bug, you just don'w know how zope and plone work.

> downloaded plone-site OK and setup OK recommending that I run the followi=
ng command:
> /var/lib/zope2.8/instance/plone-site/bin/zopectl adduser username passwor=
d

You don't need to do this as soon as you installed plone-site package:
it will run this for you using the information you provided through
debconf.

> which yielded this:
>=20
> /var/lib/zope2.8/instance/plone-site/Products/PortalTransforms/TransformE=
ngine.py:18: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermi=
ssions' is a deprecated compatiblity alias for 'Products.CMFCore.permission=
s';  please use the new module instead.
>   from Products.CMFCore import CMFCorePermissions
> 2006-01-22 00:38:28 WARNING PortalTransforms Unable to find binary "rtf-c=
onverter" in /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/=
usr/bin/X11
> 2006-01-22 00:38:28 WARNING PortalTransforms Unable to find binary "rtf2x=
ml" in /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bi=
n/X11
> /var/lib/zope2.8/instance/plone-site/Products/CMFCore/utils.py:770: Depre=
cationWarning: format_stx() will be removed in CMF 2.0. Please use Structur=
edText.StructuredText.HTML instead.  DeprecationWarning)
> 2006-01-22 00:38:35 WARNING OFS.Application Duplicate Product name
> After loading Product 'BTreeFolder2' from '/var/lib/zope2.8/instance/plon=
e-site/Products',
> I skipped the one in '/usr/lib/zope2.8/lib/python/Products'.

You are using zope2.8 with plone (and this is ok), and the upstream
plone developers are already aware about these warnings, so you can
ignore them.

> /var/lib/zope2.8/instance/plone-site/Products/kupu/__init__.py:23: Deprec=
ationWarning: The Zope package has been renamed to Zope2. Import of a packa=
ge named 'Zope' is deprecated and will be disabled starting in Zope 2.11.
>   import Zope
> 2006-01-22 00:38:36 ERROR ZODB.lock_file Error locking file /var/lib/zope=
2.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 __ini=
t__
>     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 start=
up
>     _startup()
>   File "/usr/lib/zope2.8/lib/python/Zope2/App/startup.py", line 56, in st=
artup
>     DB =3D configuration.dbtab.getDatabase('/', is_root=3D1)
>   File "/usr/lib/zope2.8/lib/python/DBTab/DBTab.py", line 96, in getDatab=
ase
>     db =3D self._createDatabase(name, is_root)
>   File "/usr/lib/zope2.8/lib/python/DBTab/DBTab.py", line 113, in _create=
Database
>     db =3D factory.open()
>   File "/usr/lib/zope2.8/lib/python/Zope2/Startup/datatypes.py", line 163=
, in open
>     DB =3D 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 =3D section.storage.open()
>   File "/usr/lib/zope2.8/lib/python/ZODB/config.py", line 133, in open
>     quota=3Dself.config.quota)
>   File "/usr/lib/zope2.8/lib/python/ZODB/FileStorage/FileStorage.py", lin=
e 112, in __init__
>     self._lock_file =3D LockFile(file_name + '.lock')
>   File "/usr/lib/zope2.8/lib/python/ZODB/lock_file.py", line 63, in __ini=
t__
>     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

Your zope instance is already running, just stop it
(/etc/init.d/zopeZVER stop).

> However, I feel something is wrong somewhere. I could not tell if
> there are non-working things yet as I'm discovering the whole
> Zope/Plone stuff :)

Nothing is wrong.. just add a plone-site and go ahead.

Ciao :)

Fabio

--=20
Fabio Tranchitella                         http://www.kobold.it
Studio Tranchitella Assoc. Professionale   http://www.tranchitella.it
_____________________________________________________________________
1024D/7F961564, fpr 5465 6E69 E559 6466 BF3D 9F01 2BF8 EE2B 7F96 1564

--=-O8lJ/Ji9gvG0v/dG4UQ7
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQBD00OfK/juK3+WFWQRAkKhAKCikY6z/j5JcDwJUYkmtm12gjmgiACfQ3PD
xMZhbwYiW2xYQChLGRoauwc=
=wvjc
-----END PGP SIGNATURE-----

--=-O8lJ/Ji9gvG0v/dG4UQ7--




More information about the Pkg-zope-developers mailing list