Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 658970 - dev-python/libzilla-1.4: lzilla fails to run
Summary: dev-python/libzilla-1.4: lzilla fails to run
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrice Clement (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-24 14:57 UTC by Pacho Ramos
Modified: 2018-06-24 16:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2018-06-24 14:57:30 UTC
I get the same with python3.5 and python3.6
 $ lzilla 
Traceback (most recent call last):
  File "/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 2430, in resolve
    return functools.reduce(getattr, self.attrs, module)
AttributeError: module 'libzilla.__main__' has no attribute 'main'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.5/lzilla", line 11, in <module>
    load_entry_point('libzilla==1.2', 'console_scripts', 'lzilla')()
  File "/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 572, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 2769, in load_entry_point
    return ep.load()
  File "/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 2422, in load
    return self.resolve()
  File "/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 2432, in resolve
    raise ImportError(str(exc))
ImportError: module 'libzilla.__main__' has no attribute 'main'
Comment 1 Larry the Git Cow gentoo-dev 2018-06-24 16:53:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d99d0bc2230664f6c73c4aa5ad1d8d1425a07eab

commit d99d0bc2230664f6c73c4aa5ad1d8d1425a07eab
Author:     Patrice Clement <monsieurp@gentoo.org>
AuthorDate: 2018-06-24 16:52:43 +0000
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: 2018-06-24 16:53:08 +0000

    dev-python/libzilla: version bump.
    
    Closes: https://bugs.gentoo.org/658970
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-python/libzilla/Manifest            |  1 +
 dev-python/libzilla/libzilla-1.5.ebuild | 24 ++++++++++++++++++++++++
 2 files changed, 25 insertions(+)
Comment 2 Patrice Clement (RETIRED) gentoo-dev 2018-06-24 16:53:52 UTC
Thanks for the heads up. That's weird, I never ran into this problem until Python 3.6 came out. lzilla works now!