From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Sturmfels Subject: bug#30189: Retux game halts after preloading levels (missing ucd.sqlite uniseg database) Date: Sun, 21 Jan 2018 19:01:28 +1100 Message-ID: <87shazmyhz.fsf@sturm.com.au> References: <87vafvnaan.fsf@sturm.com.au> <87tvvfmyqy.fsf@sturm.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53489) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1edAZp-00025I-2w for bug-guix@gnu.org; Sun, 21 Jan 2018 03:02:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1edAZm-0000Dj-0K for bug-guix@gnu.org; Sun, 21 Jan 2018 03:02:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:56868) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1edAZl-0000DW-S4 for bug-guix@gnu.org; Sun, 21 Jan 2018 03:02:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1edAZl-0001bu-Iv for bug-guix@gnu.org; Sun, 21 Jan 2018 03:02:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87tvvfmyqy.fsf@sturm.com.au> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: guix-patches@gnu.org Cc: 30189@debbugs.gnu.org, Kei Kebreau --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Whoops, forgot to include guix-patches. On Sun, 21 Jan 2018, Ben Sturmfels wrote: > Thanks G=C3=A1bor, adding zipfile fixes the build and Retux now runs. > > Patch attached and CC'd to guix-patches. > > Regards, > Ben > > On Sun, 21 Jan 2018, G=C3=A1bor Boskovits wrote: > >> I think unzip should be added to native-inputs. Can you try that? >> >> 2018-01-21 4:46 GMT+01:00 Ben Sturmfels : >> >> Hi Folks, >> >> I'd like to play the Retux game, but while the game starts up it >> crashes >> on me after the "preloading levels" screen. >> >> There's no useful console output, but when running in the debugger, I >> see that the python-uniseg package is looking for a file called >> ucd.sqlite3 that doesn't exist, some kind of Unicode letter spacing >> database that's not present in the BitBucket repository. >> >> python3 -m pdb -c continue \ >> "/gnu/store/57psnlgdyri8phkxzasaf6q0gb8nskpz-retux-1.3.5/bin/.retux-rea= l" >>=20=20 >> >> See uniseg/db.py:107 and 21. Since it's also looking in the current >> directory, I tried downloading ucd.sqlite3 from the PyPI zip package - >> that fixes the issue. >> >> The python-uniseg package downloads the source from BitBucket, so >> I >> tried changing that to PyPI: >> >> (uri (pypi-uri "uniseg" version ".zip")) >> >> which downloads ok, but fails but the fails at the unpack phase >> without >> any details. Should Guix know how to unpack a .zip? Or maybe I >> should >> coerce the maintainer to publish a .tar.gz? >> >> Currently Retux is the only program that uses python-uniseg (via >> python-sge-pygame dependency). >> >> Regards, >> Ben --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-python-uniseg-Switch-to-PyPi-source-to-get-missi.patch Content-Transfer-Encoding: quoted-printable From=2042c1e69526ec9781e3f7290fb74e2a561131e3be Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Sun, 21 Jan 2018 18:43:07 +1100 Subject: [PATCH] gnu: python-uniseg: Switch to PyPi source to get missing ucd.sqlite3. * gnu/packages/python.scm (python-uniseg): Use PyPI, add zipfile dependency= to unpack. =2D-- gnu/packages/python.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 0b582e6b7..2f1c20e31 100644 =2D-- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -773,15 +773,15 @@ Python 3 support.") (source (origin (method url-fetch) =2D (uri (string-append "https://bitbucket.org/emptypage/uniseg-pytho= n/" =2D "get/rel-" version ".tar.gz")) =2D (file-name (string-append name "-" version ".tar.gz")) + (uri (pypi-uri "uniseg" version ".zip")) (sha256 (base32 =2D "1df4gddnj2a0v8z35wb2ra5vvh1f1qyxs8fgd25c8g64031mna6x")))) + "05jsazvz6nbmh6l3v1rph5ydkqn1hzx1pyggdyvgp2qgmgrnmiz2")))) (build-system python-build-system) (arguments '(#:tests? #f)) ; The test suite requires network access. + (native-inputs + `(("unzip" ,unzip))) (home-page "https://bitbucket.org/emptypage/uniseg-python") (synopsis =2D-=20 2.15.1 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEPn825zvdanEG+SAhAjwF4snAaPAFAlpkSNgACgkQAjwF4snA aPAFUA/8C3+k0fCR+g93gQMDgSsFVWXQNs1apV2iJxBrKr2dAiQQXC70xapj1S+p gGZ/4zS8kO+bldAauLq4LJQLxYYoxuYjJoQE5irzPDOoczPglgWj/LHLeFoidYod pUCBCv4idnNorW1mF8UvCdot3ocGLAaxcw+3Qn2WE2WOJoxeurRftq1svbL8sTun +JyMo6Z1zN3BEBUNRw0rT0miuA6JyLj2GXRghGSP3cLPDsOVvg+4L/c+3P7eaGlW Vd4GfGzQWDeQuCqzg+o+ZELW8gi/xXosODI25Y02bkWMvj38HXDdPZFR9CRU+qPU qPnNfbTigTozf8Hv261hps0vrd5uKRYJ0lU1Ht/mkXCG7ew6UvOe2orwsw6+rE+C 0ie+NsONPhT/kKa7MPWV7PnXozRTXXZlg/atxI2vZqG8OaD7ozReAbnkeMqsvy1u FCFX1hEeEBMSruRpVugwKWzA6LFZPHJ1lSQX1ST2ew0S8yfrQhmUm0ZR4GIbbHIu OMZ2VN8CY1GuAR0zHCfIC7jMucmPkHKFjrGbjAGQS4ccPnXF34sXpL2PmqqXLZgX WU+i1UhRv5Rtl5hoEM4jM2dwtSIfdbXNxmODF6JSYSyFiQqYuKzlTroADDsEUqv0 ZvrIJol2madpBTOytCUMbWKAzWHCuLRVw3b4F9IwXDOuivXMVXw= =F2by -----END PGP SIGNATURE----- --==-=-=--