Re: Re: Bug#639995: epigrass does not start on GNOME

2012-02-02 Thread erB@rilloo
Hello Jakub,
I still have the error reported into bug 639995 (epigrass: missing
dependency on python-pkg-resources):

Traceback (most recent call last):
  File /usr/bin/epigrass, line 5, in module
from pkg_resources import load_entry_point
  File /usr/lib/python2.7/dist-packages/pkg_resources.py, line 2676, in
module
parse_requirements(__requires__), Environment()
  File /usr/lib/python2.7/dist-packages/pkg_resources.py, line 552, in
resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: distribute


I urgently need EPIGRASS for my study so pls give me any advice to
bypass this error. how can I get this missing dependency (it seems a python
module)

I'm using Ubuntu 11.10.

thanks !
Davide Barillari


Re: Bug#639995: epigrass does not start on GNOME

2012-02-02 Thread Andreas Tille
Hi Davide,

thanks for using EpiGrass and I hope to get it up and running for your study.

On Thu, Feb 02, 2012 at 12:21:27PM +0100, erB@rilloo wrote:
 Hello Jakub,
 I still have the error reported into bug 639995 (epigrass: missing
 dependency on python-pkg-resources):
 
 Traceback (most recent call last):
   File /usr/bin/epigrass, line 5, in module
 from pkg_resources import load_entry_point
   File /usr/lib/python2.7/dist-packages/pkg_resources.py, line 2676, in
 module
 parse_requirements(__requires__), Environment()
   File /usr/lib/python2.7/dist-packages/pkg_resources.py, line 552, in
 resolve
 raise DistributionNotFound(req)
 pkg_resources.DistributionNotFound: distribute
 
 
 I urgently need EPIGRASS for my study so pls give me any advice to
 bypass this error. how can I get this missing dependency (it seems a python
 module)
 
 I'm using Ubuntu 11.10.

I admit I never used Ubuntu and I'm just wild guessing.  So please take
this advise with a grain of salt because there will be a chance to break
your system when doing so.

If I understood things correctly the bug was not in epigrass but rather
in python-networkx.  It was fixed in python-networkx package version
1.6-1.  So you can try to install this very package version on top of
your Ubuntu system.  I repeat my warning:  There are chances to crash
several things by mixing packages from different distributions - just
ask an Ubuntu expert for more detailed advise.

Another option would be to install Debian and upgrade to testing - it
just depends *how* urgently you need EpiGrass.  I also could give
backporting EpiGrass a try to backports.debian.org if you confirm that
you prefer to run a Debian stable system.

Kind regards

   Andreas.


-- 
http://fam-tille.de


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120203073316.gf...@an3as.eu



Bug#639995: epigrass does not start on GNOME

2011-09-02 Thread Andreas Tille
Hi,

I received a bug report against epigrass which I can not reprodice.  The
bug reported now provided more information which looks like a missing
dependency.  However, I might lack some experience with Python modules.
Any hint how to fix this:

- Forwarded message from melchiaros melchia...@aol.com -

I´ve used GNOME console to startup epigrass and get:

 epigrass
Traceback (most recent call last):
  File /usr/bin/epigrass, line 5, in module
from pkg_resources import load_entry_point
  File /usr/lib/python2.6/dist-packages/pkg_resources.py, line 2672,
in module
working_set.require(__requires__)
  File /usr/lib/python2.6/dist-packages/pkg_resources.py, line 654, in
require
needed = self.resolve(parse_requirements(requirements))
  File /usr/lib/python2.6/dist-packages/pkg_resources.py, line 552, in
resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: distribute

- End forwarded message -

Kind regards

 Andreas.

-- 
http://fam-tille.de


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110902085632.gf29...@an3as.eu



Re: Bug#639995: epigrass does not start on GNOME

2011-09-02 Thread Jakub Wilk

clone 639995 -1
retitle -1 epigrass: missing dependency on python-pkg-resources
severity -1 important
submitter -1 !
reassign 639995 python-networkx 1.5-2
retitle 639995 python-networkx: spurious setuptools in requires.txt
severity 639995 serious
thanks

* Andreas Tille andr...@an3as.eu, 2011-09-02, 10:56:
I received a bug report against epigrass which I can not reprodice. The 
bug reported now provided more information which looks like a 
missing dependency.  However, I might lack some experience with Python 
modules. Any hint how to fix this:


- Forwarded message from melchiaros melchia...@aol.com -

I´ve used GNOME console to startup epigrass and get:

epigrass
Traceback (most recent call last):
 File /usr/bin/epigrass, line 5, in module
   from pkg_resources import load_entry_point
 File /usr/lib/python2.6/dist-packages/pkg_resources.py, line 2672,
in module
   working_set.require(__requires__)
 File /usr/lib/python2.6/dist-packages/pkg_resources.py, line 654, in
require
   needed = self.resolve(parse_requirements(requirements))
 File /usr/lib/python2.6/dist-packages/pkg_resources.py, line 552, in
resolve
   raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: distribute

- End forwarded message -


I can reproduce the bug in a minimal chroot.

First of all, your package uses python-pkg-resources without depending 
on it (but that's not the cause of submitter's trouble, as other 
packages pull -pkg-resources into chroot).


The culprit is that one of your dependencies, python-networkx, declares 
that it needs setuptools (aka distribute) in its requires.txt, but 
it doesn't depend on python-setuptools. As a result, importing it via 
pkg_resources fails:


$ python -c import pkg_resources as p; p.require('networkx')
Traceback (most recent call last):
   File string, line 1, in module
   File /usr/lib/python2.6/dist-packages/pkg_resources.py, line 654, in 
require
 needed = self.resolve(parse_requirements(requirements))
   File /usr/lib/python2.6/dist-packages/pkg_resources.py, line 552, in 
resolve
 raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: distribute

--
Jakub Wilk


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110902105438.ga3...@jwilk.net