[Biopython-dev] TravisCI BioSQL - TypeError: unhashable type: 'bytearray'

Chris Mitchell chris.mit7 at gmail.com
Thu Oct 9 17:27:28 UTC 2014


Have you tried specifying the working version of mysql-connector-python
with pip?

ie. pip install mysql-connector-python==xxx

On Thu, Oct 9, 2014 at 6:28 AM, Peter Cock <p.j.a.cock at googlemail.com>
wrote:

> On Thu, Oct 9, 2014 at 10:43 AM, Lluís Revilla <lluis.revilla at gmail.com>
> wrote:
> >
> > El dia 08/10/2014 11:38, "Peter Cock" <p.j.a.cock at googlemail.com> va
> > escriure:
> >
> >> It looks like we need one of the developers to try installing this
> >> new version locally to reproduce and diagnose the error...
>
> Tiago has been able to reproduce this problem on one of his
> Linux machines which is setup as a buildslave, see:
>
> http://testing.open-bio.org/biopython/tgrid
>
> http://testing.open-bio.org/biopython/builders/Linux%2064%20-%20Python%203.4/builds/193
>
> > I volunteer!!
> >
> > I have never before installed locally a version from github. Is there any
> > tutorial or recommended reading? I would install it on a windows 7 home
> > premium 64 bytes operative system, with python 3.3
> >
> > Lluís
>
> Hi Lluís,
>
> Volunteering is great, but unless this particular problem interests
> you there may be some easier bugs/issues you could work on.
>
> You've picked a hard target - compiling on Windows is a pain, and
> 64 bit Windows especially so (I still only have a 32 bit Windows XP
> machine for testing). Tiago has made some notes here:
>
> http://biopython.org/wiki/64-bit_Windows_Biopython
>
> There is further information focused on making a 32 bit version
> of Biopython for use with a 32 bit Python (which still should be
> possible on 64 bit Windows), but it may be a bit out of date:
>
> http://biopython.org/DIST/docs/install/Installation.html
>
> https://github.com/biopython/biopython/blob/master/Doc/install/Installation.tex
>
> However, BioSQL and most of Biopython doesn't need a C compiler
> (which is why most of Biopython works under Jython and PyPy) so
> you might be able to avoid that for now. Basically you'd hack setup.py
> to set EXTENSIONS = [], much like how setup.py already does this
> for Jython or PyPy.
>
> Also are you familiar with git, and have you ever used it on Windows?
>
> For this specific bug you will also need a MySQL database installed,
> and the connector-python library. This is available for Python 3.3,
> hopefully for both 32 and 64 bit Python (?):
> http://dev.mysql.com/downloads/connector/python/
>
> Finally, working out what is wrong will also need some experience of
> Python 2 vs 3 and bytes vs unicode.
>
> On the bright side, debugging a problem can be a great way to
> learn things...
>
> Regards,
>
> Peter
>
> _______________________________________________
> Biopython-dev mailing list
> Biopython-dev at mailman.open-bio.org
> http://mailman.open-bio.org/mailman/listinfo/biopython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.open-bio.org/pipermail/biopython-dev/attachments/20141009/f69a72e3/attachment.html>


More information about the Biopython-dev mailing list