From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Pimentel Subject: Re: [PATCH 2/2] gnu: Update python2-qrcode Date: Thu, 23 Jun 2016 13:14:34 -0300 Message-ID: References: <37a4098c2f54e331321179bc1dca5a59@d4n1.org> <20160614195101.GA32427@khazad-dum> <90180b476cac6c8eea4c3aff7b214d83@d4n1.org> <57632348.7020101@uq.edu.au> <5764DCCF.2070508@uq.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37940) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG7H9-0002AQ-TJ for guix-devel@gnu.org; Thu, 23 Jun 2016 12:14:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bG7H4-0004zU-Mu for guix-devel@gnu.org; Thu, 23 Jun 2016 12:14:42 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:58671) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG7H4-0004zC-Go for guix-devel@gnu.org; Thu, 23 Jun 2016 12:14:38 -0400 In-Reply-To: <5764DCCF.2070508@uq.edu.au> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ben Woodcroft Cc: guix-devel@gnu.org > Thanks for the updated patch. In future would you mind sending the > whole patch like as attached? It just makes things easier - thanks. Ok, thanks > I noticed that the sha256 did not change, so I changed the source > field. But perhaps more problematically, I couldn't get the example in > the README to work. Do you know if this is a problem with the library > itself or the packing of it? > > $ ./pre-inst-env guix environment --pure --ad-hoc python2-qrcode > python@2 > ... > $ python > Python 2.7.10 (default, Jan 1 1970, 00:00:01) > [GCC 4.9.3] on linux2 > Type "help", "copyright", "credits" or "license" for more information. >>>> import qrcode >>>> img = qrcode.make('Some data here') > Traceback (most recent call last): > File "", line 1, in > File > "/gnu/store/n205hrfqrc0mp1csbh44mxpm19hrggld-profile/lib/python2.7/site-packages/qrcode-5.3-py2.7.egg/qrcode/main.py", > line 11, in make > File > "/gnu/store/n205hrfqrc0mp1csbh44mxpm19hrggld-profile/lib/python2.7/site-packages/qrcode-5.3-py2.7.egg/qrcode/main.py", > line 271, in make_image > File > "/gnu/store/n205hrfqrc0mp1csbh44mxpm19hrggld-profile/lib/python2.7/site-packages/qrcode-5.3-py2.7.egg/qrcode/image/pil.py", > line 8, in > ImportError: No module named Image I tried it and I had the same error. I'll try again and I'll fix it. Thank you for your feedbacks. -- Daniel Pimentel (aka d4n1)