[Pkg-zope-developers] Bug#332245: marked as done (Localizer: /usr/lib/zope/lib/python/Products/Localizer empty)

Debian Bug Tracking System owner at bugs.debian.org
Wed Oct 5 11:18:11 UTC 2005


Your message dated Wed, 05 Oct 2005 13:08:23 +0200
with message-id <1128510503.22504.4.camel at localhost.localdomain>
and subject line [Pkg-zope-developers] Bug#332245: Localizer: /usr/lib/zope/lib/python/Products/Localizer empty
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; 5 Oct 2005 10:52:17 +0000
>From shagi.refugio at gmail.com Wed Oct 05 03:52:17 2005
Return-path: <shagi.refugio at gmail.com>
Received: from nproxy.gmail.com [64.233.182.205] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EN6si-0007bS-00; Wed, 05 Oct 2005 03:52:16 -0700
Received: by nproxy.gmail.com with SMTP id n15so45539nfc
        for <submit at bugs.debian.org>; Wed, 05 Oct 2005 03:51:44 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
        b=IkyVFYoze5PKwg/PUbxOXpqI97UAYUifxxCsUNjh1G1ylJ0IKmGIVx4kZdhFvoLgMlSOHzE16c9dWOCKikDm8DSwTS6NhodoCvJ0wmCb9PkoniOw7DVEk/TaRSeB9n9NDBNjMOOcfXKP+HM+T4s0xe/Aek0bC4uXvtQm7Dn+HBE=
Received: by 10.49.5.11 with SMTP id h11mr30984nfi;
        Wed, 05 Oct 2005 03:51:44 -0700 (PDT)
Received: by 10.49.5.8 with HTTP; Wed, 5 Oct 2005 03:51:44 -0700 (PDT)
Message-ID: <f8b62b1c0510050351k5c8b128bt at mail.gmail.com>
Date: Wed, 5 Oct 2005 12:51:44 +0200
From: Shagi <shagi.refugio at gmail.com>
Reply-To: Shagi <shagi.refugio at gmail.com>
To: submit at bugs.debian.org
Subject: Localizer: /usr/lib/zope/lib/python/Products/Localizer empty
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
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.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: zope-localizer
Version: 1.0.1-10

Zope dont run with the last localizer update. Whe executed manualy, in
debug mode throws this error (Eusko is the package i'm creating, it
worked fine before update):

$ Z_DEBUG_MODE=3D1
$ cd /var/lib/zope2.7/instance/kbp
$ bin/runzope

------
2005-10-05T12:28:00 INFO(0) ZServer HTTP server started at Wed Oct  5
12:28:00 2005
=09Hostname: refugio
=09Port: 9673
------
2005-10-05T12:28:00 INFO(0) ZServer FTP server started at Wed Oct  5
12:28:00 2005
=09Hostname: refugio
=09Port: 8021
------
2005-10-05T12:28:00 INFO(0) Zope Set effective user to "zope"
------
2005-10-05T12:28:01 ERROR(200) Zope Could not import Products.Eusko
Traceback (most recent call last):
  File "/usr/lib/zope2.7/lib/python/OFS/Application.py", line 673, in
import_product
    product=3D__import__(pname, global_dict, global_dict, silly)
  File "/home/shagi/lana/svn/kbp/Eusko/__init__.py", line 2, in ?
    import Eusko
  File "/home/shagi/lana/svn/kbp/Eusko/Eusko.py", line 2, in ?
    from EuskoObject import EuskoObject
  File "/home/shagi/lana/svn/kbp/Eusko/EuskoObject.py", line 14, in ?
    from Products.Localizer.LocalFiles import LocalDTMLFile
ImportError: No module named Localizer.LocalFiles
Traceback (most recent call last):
  File "/usr/lib/zope2.7/lib/python/Zope/Startup/run.py", line 50, in ?
    run()
  File "/usr/lib/zope2.7/lib/python/Zope/Startup/run.py", line 19, in run
    start_zope(opts.configroot)
  File "/usr/lib/zope2.7/lib/python/Zope/Startup/__init__.py", line
52, in start_zope
    starter.startZope()
  File "/usr/lib/zope2.7/lib/python/Zope/Startup/__init__.py", line
231, in startZope
    Zope.startup()
  File "/usr/lib/zope2.7/lib/python/Zope/__init__.py", line 47, in startup
    _startup()
  File "/usr/lib/zope2.7/lib/python/Zope/App/startup.py", line 45, in start=
up
    OFS.Application.import_products()
  File "/usr/lib/zope2.7/lib/python/OFS/Application.py", line 650, in
import_products
    import_product(product_dir, product_name, raise_exc=3Ddebug_mode)
  File "/usr/lib/zope2.7/lib/python/OFS/Application.py", line 673, in
import_product
    product=3D__import__(pname, global_dict, global_dict, silly)
  File "/home/shagi/lana/svn/kbp/Eusko/__init__.py", line 2, in ?
    import Eusko
  File "/home/shagi/lana/svn/kbp/Eusko/Eusko.py", line 2, in ?
    from EuskoObject import EuskoObject
  File "/home/shagi/lana/svn/kbp/Eusko/EuskoObject.py", line 14, in ?
    from Products.Localizer.LocalFiles import LocalDTMLFile
ImportError: No module named Localizer.LocalFiles


/usr/lib/zope/lib/python/Products/Localizer is empty, and the contents
are in /usr/share/zope/Products/Localizer. When copied from one to
another, it crashes like this:

$ cp -ar /usr/share/zope/Products/Localizer/*
/usr/lib/zope/lib/python/Products/Localizer/
$ cd /var/lib/zope2.7/instance/kbp
$ bin/runzope
------
2005-10-05T12:47:49 INFO(0) ZServer HTTP server started at Wed Oct  5
12:47:49 2005
=09Hostname: refugio
=09Port: 9673
------
2005-10-05T12:47:49 INFO(0) ZServer FTP server started at Wed Oct  5
12:47:49 2005
=09Hostname: refugio
=09Port: 8021
------
2005-10-05T12:47:49 INFO(0) Zope Set effective user to "zope"
/home/shagi/lana/svn/kbp/Eusko/EuskoObject.py:14: DeprecationWarning:
Non-ASCII character '\xe1' in file
/usr/lib/zope/lib/python/Products/Localizer/__init__.py on line 1, but
no encoding declared; see http://www.python.org/peps/pep-0263.html for
details
  from Products.Localizer.LocalFiles import LocalDTMLFile
/usr/lib/zope/lib/python/Products/Localizer/__init__.py:161:
SyntaxWarning: argument named None
  def evaluateText(self, expr, None=3DNone):
/usr/lib/zope/lib/python/Products/Localizer/__init__.py:97:
DeprecationWarning: Non-ASCII character '\xe1' in file
/usr/lib/zope/lib/python/Products/Localizer/Accept.py on line 2, but
no encoding declared; see http://www.python.org/peps/pep-0263.html for
details
  from Accept import AcceptCharset, AcceptLanguage
------
2005-10-05T12:47:49 DEBUG(-200) Localizer Unicode patching for Zope 2.6b1+
/usr/lib/zope/lib/python/Products/Localizer/__init__.py:285:
DeprecationWarning: Non-ASCII character '\xe1' in file
/usr/lib/zope/lib/python/Products/Localizer/Localizer.py on line 2,
but no encoding declared; see http://www.python.org/peps/pep-0263.html
for details
  import Localizer, LocalContent, MessageCatalog, LocalFolder
/usr/lib/zope/lib/python/Products/Localizer/Localizer.py:35:
DeprecationWarning: Non-ASCII character '\xe1' in file
/usr/lib/zope/lib/python/Products/Localizer/LocalFiles.py on line 2,
but no encoding declared; see http://www.python.org/peps/pep-0263.html
for details
  from LocalFiles import LocalDTMLFile
/usr/lib/zope/lib/python/Products/Localizer/LocalFiles.py:34:
DeprecationWarning: Non-ASCII character '\xe1' in file
/usr/lib/zope/lib/python/Products/Localizer/Utils.py on line 2, but no
encoding declared; see http://www.python.org/peps/pep-0263.html for
details
  from Utils import lang_negotiator
/usr/lib/zope/lib/python/Products/Localizer/Localizer.py:36:
DeprecationWarning: Non-ASCII character '\xe1' in file
/usr/lib/zope/lib/python/Products/Localizer/MessageCatalog.py on line
2, but no encoding declared; see
http://www.python.org/peps/pep-0263.html for details
  from MessageCatalog import MessageCatalog
------
2005-10-05T12:47:49 ERROR(200) Zope Could not import Products.Eusko
Traceback (most recent call last):
  File "/usr/lib/zope2.7/lib/python/OFS/Application.py", line 673, in
import_product
    product=3D__import__(pname, global_dict, global_dict, silly)
  File "/home/shagi/lana/svn/kbp/Eusko/__init__.py", line 2, in ?
    import Eusko
  File "/home/shagi/lana/svn/kbp/Eusko/Eusko.py", line 2, in ?
    from EuskoObject import EuskoObject
  File "/home/shagi/lana/svn/kbp/Eusko/EuskoObject.py", line 14, in ?
    from Products.Localizer.LocalFiles import LocalDTMLFile
  File "/usr/lib/zope/lib/python/Products/Localizer/__init__.py", line 285,=
 in ?
    import Localizer, LocalContent, MessageCatalog, LocalFolder
  File "/usr/lib/zope/lib/python/Products/Localizer/Localizer.py", line 36,=
 in ?
    from MessageCatalog import MessageCatalog
  File "/usr/lib/zope/lib/python/Products/Localizer/MessageCatalog.py",
line 39, in ?
    from zgettext import parse_po_file
ImportError: No module named zgettext
Traceback (most recent call last):
  File "/usr/lib/zope2.7/lib/python/Zope/Startup/run.py", line 50, in ?
    run()
  File "/usr/lib/zope2.7/lib/python/Zope/Startup/run.py", line 19, in run
    start_zope(opts.configroot)
  File "/usr/lib/zope2.7/lib/python/Zope/Startup/__init__.py", line
52, in start_zope
    starter.startZope()
  File "/usr/lib/zope2.7/lib/python/Zope/Startup/__init__.py", line
231, in startZope
    Zope.startup()
  File "/usr/lib/zope2.7/lib/python/Zope/__init__.py", line 47, in startup
    _startup()
  File "/usr/lib/zope2.7/lib/python/Zope/App/startup.py", line 45, in start=
up
    OFS.Application.import_products()
  File "/usr/lib/zope2.7/lib/python/OFS/Application.py", line 650, in
import_products
    import_product(product_dir, product_name, raise_exc=3Ddebug_mode)
  File "/usr/lib/zope2.7/lib/python/OFS/Application.py", line 673, in
import_product
    product=3D__import__(pname, global_dict, global_dict, silly)
  File "/home/shagi/lana/svn/kbp/Eusko/__init__.py", line 2, in ?
    import Eusko
  File "/home/shagi/lana/svn/kbp/Eusko/Eusko.py", line 2, in ?
    from EuskoObject import EuskoObject
  File "/home/shagi/lana/svn/kbp/Eusko/EuskoObject.py", line 14, in ?
    from Products.Localizer.LocalFiles import LocalDTMLFile
  File "/usr/lib/zope/lib/python/Products/Localizer/__init__.py", line 285,=
 in ?
    import Localizer, LocalContent, MessageCatalog, LocalFolder
  File "/usr/lib/zope/lib/python/Products/Localizer/Localizer.py", line 36,=
 in ?
    from MessageCatalog import MessageCatalog
  File "/usr/lib/zope/lib/python/Products/Localizer/MessageCatalog.py",
line 39, in ?
    from zgettext import parse_po_file
ImportError: No module named zgettext

---------------------------------------
Received: (at 332245-done) by bugs.debian.org; 5 Oct 2005 11:09:03 +0000
>From kobold at debian.org Wed Oct 05 04:09:03 2005
Return-path: <kobold at debian.org>
Received: from diana.kobold.it [81.208.30.142] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EN78w-0005NQ-00; Wed, 05 Oct 2005 04:09:03 -0700
Received: from matilde.dmgroup.it ([81.208.30.130] helo=localhost.localdomain)
	by diana.kobold.it with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA:32)
	(Exim 4.50)
	id 1EN79W-0008BE-4E; Wed, 05 Oct 2005 13:09:39 +0200
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)
	by localhost.localdomain with esmtp (Exim 4.53)
	id 1EN78N-0005z7-5R; Wed, 05 Oct 2005 13:08:27 +0200
Subject: Re: [Pkg-zope-developers] Bug#332245: Localizer:
	/usr/lib/zope/lib/python/Products/Localizer empty
From: Fabio Tranchitella <kobold at debian.org>
To: 332245-done at bugs.debian.org, Shagi <shagi.refugio at gmail.com>
In-Reply-To: <f8b62b1c0510050351k5c8b128bt at mail.gmail.com>
References: <f8b62b1c0510050351k5c8b128bt at mail.gmail.com>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-uTUZDtp8eMrhc1A+0M/n"
Organization: Debian (http://www.debian.org)
Date: Wed, 05 Oct 2005 13:08:23 +0200
Message-Id: <1128510503.22504.4.camel at localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.3 
Delivered-To: 332245-done 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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02


--=-uTUZDtp8eMrhc1A+0M/n
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Il giorno mer, 05/10/2005 alle 12.51 +0200, Shagi ha scritto:
> Package: zope-localizer
> Version: 1.0.1-10
>=20
> Zope dont run with the last localizer update. Whe executed manualy, in
> debug mode throws this error (Eusko is the package i'm creating, it
> worked fine before update):

Zope products have been moved to /usr/share/zope/Products, so you have
to symlink them to your instance's Products directory, or use dzhandle.

I'm closing this bugreport.

--=20
Fabio Tranchitella <kobold at debian.org>                        .''`.
Proud Debian GNU/Linux developer, admin and user.            : :'  :
                                                             `. `'`
   http://people.debian.org/~kobold/                           `-
_____________________________________________________________________
1024D/7F961564, fpr 5465 6E69 E559 6466 BF3D 9F01 2BF8 EE2B 7F96 1564

--=-uTUZDtp8eMrhc1A+0M/n
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)

iD8DBQBDQ7QmK/juK3+WFWQRAs/+AJ9EiX+gAMwCT6Nd+FCSXpsk89FxMQCfdh6L
J6R8/n5/1zk236ak46og2YM=
=/NVS
-----END PGP SIGNATURE-----

--=-uTUZDtp8eMrhc1A+0M/n--




More information about the Pkg-zope-developers mailing list