Re: Macsyfinder Test Issues
Hi again,
On Thu, Oct 27, 2016 at 09:16:06AM +0200, Andreas Tille wrote:
> On Thu, Oct 27, 2016 at 03:53:59AM +0300, Canberk Koç wrote:
> > I try to make a test for macsyfinder but when i try quick start guide like:
> >
> > macsyfinder --db-type unordered --sequence-db metagenome.fasta all
> >
> > it gives an error message like:
> >
> > ValueError: debian/macsyfinder/usr/share/macsyfinder/DEF: No such
> > definition directory
> >
> > I control theres is a DEF directory in /usr/share i think developer gave
> > path wrong.
> > Is anybody came across something like that or this program have a bug ?
>
> I admit that I wonder how these currently 25 regular users (according to
> popcon) did not stumbled upon this. You definitely hit a bug in the
> packaging. You should report this via
>
> reportbug macsyfinder
>
> The cause is that in
>
> /usr/lib/python2.7/dist-packages/macsypy/config.py
>
> the temporary location that is used for packaging ended up hardcoded as
>
> debian/macsyfinder/usr/
>
> I'll check how to fix this but a bug report seems apropriate here.
I found a *hack* to solve the issue. It would be better to fix setup.py
to provide a root dir there. You might like to ask on
debian-python@lists.debian.org list if you want to solve the issue
properly but have no idea how to do this.
> BTW, I'll also convert the packaging from SVN to Git as you prefer.
That's done now. The fix (=hack) is in
https://anonscm.debian.org/git/debian-med/macsyfinder.git
Kind regards
Andreas.
--
http://fam-tille.de
Reply to: