GNU bug report logs - #30189
Retux game halts after preloading levels (missing ucd.sqlite uniseg database)

Previous Next

Package: guix;

Reported by: Ben Sturmfels <ben <at> sturm.com.au>

Date: Sun, 21 Jan 2018 03:48:02 UTC

Severity: normal

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 30189 in the body.
You can then email your comments to 30189 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#30189; Package guix. (Sun, 21 Jan 2018 03:48:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ben Sturmfels <ben <at> sturm.com.au>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 21 Jan 2018 03:48:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ben Sturmfels <ben <at> sturm.com.au>
To: bug-guix <at> gnu.org
Cc: Kei Kebreau <kei <at> openmailbox.org>
Subject: Retux game halts after preloading levels (missing ucd.sqlite uniseg
 database)
Date: Sun, 21 Jan 2018 14:46:40 +1100
[Message part 1 (text/plain, inline)]
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-real"

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
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#30189; Package guix. (Sun, 21 Jan 2018 06:10:01 GMT) Full text and rfc822 format available.

Message #8 received at 30189 <at> debbugs.gnu.org (full text, mbox):

From: Gábor Boskovits <boskovits <at> gmail.com>
To: Ben Sturmfels <ben <at> sturm.com.au>
Cc: 30189 <at> debbugs.gnu.org, Kei Kebreau <kei <at> openmailbox.org>
Subject: Re: bug#30189: Retux game halts after preloading levels (missing
 ucd.sqlite uniseg database)
Date: Sun, 21 Jan 2018 07:09:21 +0100
[Message part 1 (text/plain, inline)]
I think unzip should be added to native-inputs. Can you try that?


2018-01-21 4:46 GMT+01:00 Ben Sturmfels <ben <at> sturm.com.au>:

> 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-
> real"
>
> 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
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#30189; Package guix. (Sun, 21 Jan 2018 07:57:01 GMT) Full text and rfc822 format available.

Message #11 received at 30189 <at> debbugs.gnu.org (full text, mbox):

From: Ben Sturmfels <ben <at> sturm.com.au>
To: Gábor Boskovits <boskovits <at> gmail.com>
Cc: 30189 <at> debbugs.gnu.org, Kei Kebreau <kei <at> openmailbox.org>
Subject: Re: bug#30189: Retux game halts after preloading levels (missing
 ucd.sqlite uniseg database)
Date: Sun, 21 Jan 2018 18:56:05 +1100
[Message part 1 (text/plain, inline)]
Thanks Gábor, 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ábor 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 <ben <at> sturm.com.au>:
>
>  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-real"
>  
>
>  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
[0001-gnu-python-uniseg-Switch-to-PyPi-source-to-get-missi.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#30189; Package guix. (Sun, 21 Jan 2018 08:02:01 GMT) Full text and rfc822 format available.

Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ben Sturmfels <ben <at> sturm.com.au>
To: guix-patches <at> gnu.org
Cc: Gábor Boskovits <boskovits <at> gmail.com>,
 30189 <at> debbugs.gnu.org, Kei Kebreau <kei <at> openmailbox.org>
Subject: Re: bug#30189: Retux game halts after preloading levels (missing
 ucd.sqlite uniseg database)
Date: Sun, 21 Jan 2018 19:01:28 +1100
[Message part 1 (text/plain, inline)]
Whoops, forgot to include guix-patches.

On Sun, 21 Jan 2018, Ben Sturmfels wrote:

> Thanks Gábor, 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ábor 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 <ben <at> sturm.com.au>:
>>
>>  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-real"
>>  
>>
>>  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
[0001-gnu-python-uniseg-Switch-to-PyPi-source-to-get-missi.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#30189; Package guix. (Sun, 21 Jan 2018 08:02:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#30189; Package guix. (Mon, 22 Jan 2018 02:04:01 GMT) Full text and rfc822 format available.

Message #20 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ben Sturmfels <ben <at> sturm.com.au>
To: guix-patches <at> gnu.org
Subject: [PATCH] Re: bug#30189: Retux game halts after preloading levels
 (missing ucd.sqlite uniseg database)
Date: Mon, 22 Jan 2018 13:03:12 +1100
[Message part 1 (text/plain, inline)]
Patch for python-uniseg attached that fixes bug#30189.

Sorry if this is a duplicate, but I can't seem my previous email in the
guix-patches archives. Maybe because I missed the [PATCH] in the subject?

On Sun, 21 Jan 2018, Ben Sturmfels wrote:

> Thanks Gábor, 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ábor 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 <ben <at> sturm.com.au>:
>>
>>  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-real"
>>
>>
>>  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
[0001-gnu-python-uniseg-Switch-to-PyPi-source-to-get-missi.patch (text/x-patch, inline)]
From 42c1e69526ec9781e3f7290fb74e2a561131e3be Mon Sep 17 00:00:00 2001
From: Ben Sturmfels <ben <at> sturm.com.au>
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.
---
 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
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -773,15 +773,15 @@ Python 3 support.")
     (source
      (origin
        (method url-fetch)
-       (uri (string-append "https://bitbucket.org/emptypage/uniseg-python/"
-                           "get/rel-" version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (uri (pypi-uri "uniseg" version ".zip"))
        (sha256
         (base32
-         "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
-- 
2.15.1

[signature.asc (application/pgp-signature, inline)]

Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Tue, 30 Jan 2018 05:20:02 GMT) Full text and rfc822 format available.

Notification sent to Ben Sturmfels <ben <at> sturm.com.au>:
bug acknowledged by developer. (Tue, 30 Jan 2018 05:20:02 GMT) Full text and rfc822 format available.

Message #25 received at 30189-done <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Ben Sturmfels <ben <at> sturm.com.au>
Cc: 30189-done <at> debbugs.gnu.org
Subject: Re: bug#30189: [PATCH] Re: bug#30189: Retux game halts after
 preloading levels (missing ucd.sqlite uniseg database)
Date: Tue, 30 Jan 2018 00:19:15 -0500
[Message part 1 (text/plain, inline)]
On Mon, Jan 22, 2018 at 01:03:12PM +1100, Ben Sturmfels wrote:
> Patch for python-uniseg attached that fixes bug#30189.
> 
> Sorry if this is a duplicate, but I can't seem my previous email in the
> guix-patches archives. Maybe because I missed the [PATCH] in the subject?

Hm... I'm not sure what's up with that.

> From 42c1e69526ec9781e3f7290fb74e2a561131e3be Mon Sep 17 00:00:00 2001
> From: Ben Sturmfels <ben <at> sturm.com.au>
> 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.

Anyways, I edited the commit message and pushed as
526789a1acb14cf930a756e968b4de8cb9d95188

Thanks!
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 27 Feb 2018 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 57 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.