[packman] [PM] elisa 0.5.36-0.pm.1 (openSUSE 11.1/x86_64)

Toni toni at links2linux.de
Wed Apr 22 08:38:42 CEST 2009


Am Mittwoch, 22. April 2009 schrieb Jason Power:
> Toni,
>
> I installed elisa from yast and I get the error
>
> Traceback (most recent call last):
>
> File "/usr/bin/elisa", line 5, in <module>
>
> >     from pkg_resources import load_entry_point
> >   File "/usr/lib64/python2.6/site-packages/pkg_resources.py", line 2561,
> > in <module>
> >     working_set.require(__requires__)
> >   File "/usr/lib64/python2.6/site-packages/pkg_resources.py", line 626,
> > in require
> >     needed = self.resolve(parse_requirements(requirements))
> >   File "/usr/lib64/python2.6/site-packages/pkg_resources.py", line 524,
> > in resolve
> >     raise DistributionNotFound(req)  # XXX put more info here
> > pkg_resources.DistributionNotFound: elisa==0.5.36
>
>  I think the issue is that Elisa, and most of the plugins, install to
> /usr/lib/python*/site-packages/ instead of
> /usr/lib64/python*/site-packages/ (* is 2.6 for me...)
>
> If I add /usr/lib/python*/site-packages/ to my PYTHONPATH it gets closer to
> running I then get this error.
>
> Traceback (most recent call last):
> >   File "/usr/bin/elisa", line 8, in <module>
> >     load_entry_point('elisa==0.5.36', 'gui_scripts', 'elisa')()
> >   File "/usr/lib64/python2.6/site-packages/pkg_resources.py", line 277,
> > in load_entry_point
> >     return get_distribution(dist).load_entry_point(group, name)
> >   File "/usr/lib64/python2.6/site-packages/pkg_resources.py", line 2179,
> > in load_entry_point
> >     return ep.load()
> >   File "/usr/lib64/python2.6/site-packages/pkg_resources.py", line 1912,
> > in load
> >     entry = __import__(self.module_name, globals(),globals(),
> > ['__name__']) ImportError: No module named elisa.core.launcher
>
>  So I'm pretty sure the issue is where the python distutils installs Elisa.

just to clarify a small list of the files in the elisa packages for 64bit:

from elisa-0.5.36-0.pm.1.x86_64.rpm:

/usr/bin/elisa
/usr/lib64/python2.6/site-packages/elisa
/usr/lib64/python2.6/site-packages/elisa-0.5.36-py2.6-nspkg.pth
/usr/lib64/python2.6/site-packages/elisa-0.5.36-py2.6.egg-info
/usr/lib64/python2.6/site-packages/elisa-0.5.36-py2.6.egg-info/PKG-INFO
/usr/lib64/python2.6/site-packages/elisa-0.5.36-py2.6.egg-info/SOURCES.txt
/usr/lib64/python2.6/site-packages/elisa-0.5.36-py2.6.egg-info/dependency_links.txt
/usr/lib64/python2.6/site-packages/elisa-0.5.36-py2.6.egg-info/elisa_infos.txt
/usr/lib64/python2.6/site-packages/elisa-0.5.36-py2.6.egg-info/entry_points.txt
/usr/lib64/python2.6/site-packages/elisa-0.5.36-py2.6.egg-info/namespace_packages.txt
/usr/lib64/python2.6/site-packages/elisa-0.5.36-py2.6.egg-info/not-zip-safe
/usr/lib64/python2.6/site-packages/elisa-0.5.36-py2.6.egg-info/top_level.txt
/usr/lib64/python2.6/site-packages/elisa/core
/usr/lib64/python2.6/site-packages/elisa/core/__init__.py
/usr/lib64/python2.6/site-packages/elisa/core/__init__.pyc
/usr/lib64/python2.6/site-packages/elisa/core/application.py
/usr/lib64/python2.6/site-packages/elisa/core/application.pyc

from elisa-plugins-bad-0.5.36-0.pm.1.x86_64.rpm:
/usr/lib64/python2.6/site-packages/elisa
/usr/lib64/python2.6/site-packages/elisa/plugins
/usr/lib64/python2.6/site-packages/elisa/plugins/amazon
/usr/lib64/python2.6/site-packages/elisa/plugins/amazon/__init__.py
/usr/lib64/python2.6/site-packages/elisa/plugins/amazon/__init__.pyc
/usr/lib64/python2.6/site-packages/elisa/plugins/amazon/key.py
/usr/lib64/python2.6/site-packages/elisa/plugins/amazon/key.pyc
/usr/lib64/python2.6/site-packages/elisa/plugins/amazon/metadata.py
/usr/lib64/python2.6/site-packages/elisa/plugins/amazon/metadata.pyc
/usr/lib64/python2.6/site-packages/elisa/plugins/amazon/models.py
/usr/lib64/python2.6/site-packages/elisa/plugins/amazon/models.pyc
/usr/lib64/python2.6/site-packages/elisa/plugins/amazon/resource_provider.py
/usr/lib64/python2.6/site-packages/elisa/plugins/amazon/resource_provider.pyc
/usr/lib64/python2.6/site-packages/elisa/plugins/amazon/setup.py
/usr/lib64/python2.6/site-packages/elisa/plugins/amazon/setup.pyc

...

so the packages install to /usr/lib64/python-2.6

I guess your setup is mixed up :)

you can check this with rpm -ql <package-name>
and rpm -qa | grep elisa shows you all installed elisa-packages.

> Thanks in advance,
> Jason



-- 
have fun
Toni




More information about the Packman mailing list