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=__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 startup
    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=debug_mode)
  File "/usr/lib/zope2.7/lib/python/OFS/Application.py", line 673, in
import_product
    product=__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

Reply via email to