Package Details: pyrescene-hg 816-5

Git Clone URL: (read-only, click to copy)
Package Base: pyrescene-hg
Description: pyReScene is a port of ReScene .NET to the Python programming language.
Upstream URL:
Licenses: GPL, custom, MIT
Conflicts: pyrescene
Provides: pyrescene
Submitter: dryes
Maintainer: ichundes (dryes)
Last Packager: ichundes
Votes: 5
Popularity: 0.006629
First Submitted: 2015-09-28 16:01
Last Updated: 2020-07-16 10:28

Latest Comments

ichundes commented on 2020-03-11 13:55

@nullstring0 making chromaprint optional is definitely a good idea, this pulls in a ton of dependencies on my system that I don't really need. I'll double check about python-numpy and remove it. As for lib32-libstdc++5, I think it is needed for some old RAR versions.

nullstring0 commented on 2020-03-10 20:05

I was able to get this to work without the following dependencies. Could we discuss changing some of them?

  • chromaprint - I assume it's needed for some features, I recommend adding as opt-dependency.
  • python-numpy - No longer a dependency of pyrescene, I suggest removing
  • lib32-libstdc++5 - Not sure why this is here, would you mind clarifying?

ichundes commented on 2020-01-06 07:47

Oh, sorry about that. I applied your patch and bumped pkgrel to 3.

hashworks commented on 2020-01-06 00:57

Since the latest commit this package won't build. Apply this patch to fix this:

git am < 0001-Fix-changedir-arguments-in-regards-to-previous-commi.patch

From 81c0fc3fa7f9ccd067f0490562c29957c0cddd5b Mon Sep 17 00:00:00 2001
From: hashworks <>
Date: Mon, 6 Jan 2020 01:54:53 +0100
Subject: [PATCH] Fix changedir arguments in regards to previous commit

 PKGBUILD | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index 3406c73..38f3906 100644
@@ -15,12 +15,12 @@ md5sums=('SKIP'

 pkgver() {
-  cd "${srcdir}/${pkgname%-hg}"
+  cd "${srcdir}/${pkgname}"
   hg identify -n

 package() {
-  cd "${srcdir}/${pkgname%-hg}"
+  cd "${srcdir}/${pkgname}"

   cp 'rescene/' 'rescene/'
   sed -i -r 's|(dest=\"rar_executable_dir\",)|\1 default=\"/opt/rarlinux\",|' 'rescene/'

ichundes commented on 2019-12-02 05:16

Switched to Python 3. Thanks for the suggestion.

hashworks commented on 2019-12-01 17:01

Thanks for the update. Could we switch to python3 here? Seems like it's supported: "pyReScene requires Python 2.6, 2.7, or 3 to run"

naguz commented on 2017-07-25 22:21

2002-12-19 Has the same issue. Can anything be done to remedy this? Also, it is strange that the script does not start with the newest version - it starts with
2009-12-12 and then works it way through the older versions, meaning it never gets to the newer versions as the script crashes when it fails to execute a rar version.

Ideally the script would start with the newest version, and skip the version with problems gracefully. But that is, perhaps, a bug to be filed with pyrescene and not here.

Output when failing:
Fatal error: glibc detected an invalid stdio handle
Fatal error: glibc detected an invalid stdio handle

Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/rescene/", line 602, in main
parser.exit(manage_srr(options, infolder, infiles, working_dir))
File "/usr/lib/python2.7/site-packages/rescene/", line 316, in manage_srr
options.volume is None, options.volume, rar_mt)
File "/usr/lib/python2.7/site-packages/rescene/", line 1318, in reconstruct
in_folder, hints, auto_locate_renamed)
File "/usr/lib/python2.7/site-packages/rescene/", line 1707, in get_rar_data_object
File "/usr/lib/python2.7/site-packages/rescene/", line 2019, in compressed_rar_file_factory
nblock, followup_src, solid=False)
File "/usr/lib/python2.7/site-packages/rescene/", line 2144, in __init__
first_block, blocks, thread_count)
File "/usr/lib/python2.7/site-packages/rescene/", line 2396, in search_matching_rar_executable
found = try_rar_executable(rar, args, old)
File "/usr/lib/python2.7/site-packages/rescene/", line 2316, in try_rar_executable
_fire(MsgCode.MSG, message=RETURNCODE[compress.returncode])
KeyError: -6
Unexpected Error: -6Trying 2002-12-19 3.10.
Something went wrong executing Rar.exe:

hashworks commented on 2017-07-20 21:57

Addition: 2003-01-15_rar311 misses

hashworks commented on 2017-07-20 18:06

For once, 1997-12-29_rar202 and 1999-03-24_rar250 are missing executable rights.

Also 1997-12-29_rar202 didn't work for me, at first it is missing its interpreter and even when you dirty link that to it's missing I tried linking that to but it keeps complaining about missing