[Pkg-zope-developers] Bug#332725: marked as done (ImportError: No module named zgettext)

Debian Bug Tracking System owner at bugs.debian.org
Sat Oct 8 12:18:13 UTC 2005


Your message dated Sat, 08 Oct 2005 05:02:19 -0700
with message-id <E1EODP9-000648-00 at spohr.debian.org>
and subject line Bug#332725: fixed in zope-localizer 1.0.1-11
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; 8 Oct 2005 07:14:44 +0000
>From shagi.refugio at gmail.com Sat Oct 08 00:14:44 2005
Return-path: <shagi.refugio at gmail.com>
Received: from nproxy.gmail.com [64.233.182.193] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EO8up-0004qz-00; Sat, 08 Oct 2005 00:14:44 -0700
Received: by nproxy.gmail.com with SMTP id a4so326623nfc
        for <submit at bugs.debian.org>; Sat, 08 Oct 2005 00:14:09 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
        b=hOyOABfQJjy9+96lLES8nT1Srma3QpQJZb1dQVeyuJNIjfQV5uvD3OJp8ufGPiYxQ4aL0JUU18m7b+rf5r+VSCvyAgJtvsNVzcDYfpbWSC9bpyww00ZfMm9vQXh1UDLRFxRlFIZHLaNfg++bXmhnuHL2A/hyrvwzMyU+MPvqY3M=
Received: by 10.49.5.7 with SMTP id h7mr210512nfi;
        Sat, 08 Oct 2005 00:14:09 -0700 (PDT)
Received: by 10.49.5.8 with HTTP; Sat, 8 Oct 2005 00:14:09 -0700 (PDT)
Message-ID: <f8b62b1c0510080014y46907ddk at mail.gmail.com>
Date: Sat, 8 Oct 2005 09:14:09 +0200
From: Shagi <shagi.refugio at gmail.com>
To: submit at bugs.debian.org
Subject: ImportError: No module named zgettext
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

/usr/share/zope/Products/Localizer/zgettext.py targets to
/bin/zgettext, but the file is in /usr/bin/zgettext, so Zope dont run.

$ ls -l /usr/share/zope/Products/Localizer/zgettext.py
lrwxrwxrwx  1 root root 13 2005-10-08 09:10
/usr/share/zope/Products/Localizer/zgettext.py -> /bin/zgettext

I fixed the link and now all goes well.

The log from Zope:

2005-10-08T09:08:51 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 "/var/lib/zope2.7/instance/kbp/Products/Localizer/__init__.py",
line 285, in ?
    import Localizer, LocalContent, MessageCatalog, LocalFolder
  File "/var/lib/zope2.7/instance/kbp/Products/Localizer/Localizer.py",
line 36, in ?
    from MessageCatalog import MessageCatalog
  File "/var/lib/zope2.7/instance/kbp/Products/Localizer/MessageCatalog.py"=
,
line 39, in ?
    from zgettext import parse_po_file
ImportError: cannot import name parse_po_file
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 "/var/lib/zope2.7/instance/kbp/Products/Localizer/__init__.py",
line 285, in ?
    import Localizer, LocalContent, MessageCatalog, LocalFolder
  File "/var/lib/zope2.7/instance/kbp/Products/Localizer/Localizer.py",
line 36, in ?
    from MessageCatalog import MessageCatalog
  File "/var/lib/zope2.7/instance/kbp/Products/Localizer/MessageCatalog.py"=
,
line 39, in ?
    from zgettext import parse_po_file
ImportError: cannot import name parse_po_file

---------------------------------------
Received: (at 332725-close) by bugs.debian.org; 8 Oct 2005 12:08:05 +0000
>From katie at spohr.debian.org Sat Oct 08 05:08:05 2005
Return-path: <katie at spohr.debian.org>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
	id 1EODP9-000648-00; Sat, 08 Oct 2005 05:02:19 -0700
From: Matthias Klose <doko at debian.org>
To: 332725-close at bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#332725: fixed in zope-localizer 1.0.1-11
Message-Id: <E1EODP9-000648-00 at spohr.debian.org>
Sender: Archive Administrator <katie at spohr.debian.org>
Date: Sat, 08 Oct 2005 05:02:19 -0700
Delivered-To: 332725-close 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

Source: zope-localizer
Source-Version: 1.0.1-11

We believe that the bug you reported is fixed in the latest version of
zope-localizer, which is due to be installed in the Debian FTP archive:

zope-localizer_1.0.1-11.diff.gz
  to pool/main/z/zope-localizer/zope-localizer_1.0.1-11.diff.gz
zope-localizer_1.0.1-11.dsc
  to pool/main/z/zope-localizer/zope-localizer_1.0.1-11.dsc
zope-localizer_1.0.1-11_all.deb
  to pool/main/z/zope-localizer/zope-localizer_1.0.1-11_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 332725 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <doko at debian.org> (supplier of updated zope-localizer package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster at debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat,  8 Oct 2005 11:43:42 +0000
Source: zope-localizer
Binary: zope-localizer
Architecture: source all
Version: 1.0.1-11
Distribution: unstable
Urgency: low
Maintainer: Debian/Ubuntu Zope Team <pkg-zope-developers at lists.alioth.debian.org>
Changed-By: Matthias Klose <doko at debian.org>
Description: 
 zope-localizer - helps build multilingual web sites and multilingual zope products
Closes: 332725
Changes: 
 zope-localizer (1.0.1-11) unstable; urgency=low
 .
   * Fix zgettext symlink (closes: #332725).
Files: 
 43abfb7cafd258e021b79b2fb5aa75c8 747 web extra zope-localizer_1.0.1-11.dsc
 dffdd3a554297dc5caaf8bc78046ccb9 4949 web extra zope-localizer_1.0.1-11.diff.gz
 0adeedadd4408781de8729535dba6255 140820 web extra zope-localizer_1.0.1-11_all.deb

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

iD8DBQFDR7GUStlRaw+TLJwRAgYFAJ9cbagEr2/qq0rQ4Lc6cb6lW5PfbQCghjM/
mYpdVa8R+yGwmkZDPg9ySWk=
=KgzU
-----END PGP SIGNATURE-----




More information about the Pkg-zope-developers mailing list