Package Details: pyrescene-hg 816-3

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

Latest Comments

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: https://fb.hash.works/4AfLLE

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

From 81c0fc3fa7f9ccd067f0490562c29957c0cddd5b Mon Sep 17 00:00:00 2001
From: hashworks <mail@hashworks.net>
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
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,12 +15,12 @@ md5sums=('SKIP'
          'SKIP')

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

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

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

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/srr.py", line 602, in main
parser.exit(manage_srr(options, infolder, infiles, working_dir))
File "/usr/lib/python2.7/site-packages/rescene/srr.py", line 316, in manage_srr
options.volume is None, options.volume, rar_mt)
File "/usr/lib/python2.7/site-packages/rescene/main.py", line 1318, in reconstruct
in_folder, hints, auto_locate_renamed)
File "/usr/lib/python2.7/site-packages/rescene/main.py", line 1707, in get_rar_data_object
auto_locate_renamed))
File "/usr/lib/python2.7/site-packages/rescene/main.py", line 2019, in compressed_rar_file_factory
nblock, followup_src, solid=False)
File "/usr/lib/python2.7/site-packages/rescene/main.py", line 2144, in __init__
first_block, blocks, thread_count)
File "/usr/lib/python2.7/site-packages/rescene/main.py", line 2396, in search_matching_rar_executable
found = try_rar_executable(rar, args, old)
File "/usr/lib/python2.7/site-packages/rescene/main.py", 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 libstdc++-libc6.2-2.so.3

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 ld-linux.so.1 and even when you dirty link that to ld-linux.so.2 it's missing libc.so.5. I tried linking that to libc.so.6 but it keeps complaining about missing libc.so.5.