Github messages for voidlinux
 help / color / mirror / Atom feed
From: Goorzhel <Goorzhel@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: python3-jellyfish: Update to 0.8.8
Date: Tue, 26 Oct 2021 03:02:26 +0200	[thread overview]
Message-ID: <20211026010226.zYq04bogJ-sPZXr0tGcB0G_VgJG8GsttYwECLUNPWuA@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33667@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 2956 bytes --]

New comment by Goorzhel on void-packages repository

https://github.com/void-linux/void-packages/pull/33667#issuecomment-951461611

Comment:
@vpzomtrrfrt , @paper42: I just did, and can confirm this fixes `beet`. Previously, it was throwing:

<details>
<summary>TypeError: str argument expected</summary>

```
$ beet im .
Traceback (most recent call last):
  File "/usr/bin/beet", line 33, in <module>
    sys.exit(load_entry_point('beets==1.4.9', 'console_scripts', 'beet')())
  File "/usr/lib/python3.10/site-packages/beets/ui/__init__.py", line 1266, in main
    _raw_main(args)
  File "/usr/lib/python3.10/site-packages/beets/ui/__init__.py", line 1253, in _raw_main
    subcommand.func(lib, suboptions, subargs)
  File "/usr/lib/python3.10/site-packages/beets/ui/commands.py", line 955, in import_func
    import_files(lib, paths, query)
  File "/usr/lib/python3.10/site-packages/beets/ui/commands.py", line 925, in import_files
    session.run()
  File "/usr/lib/python3.10/site-packages/beets/importer.py", line 329, in run
    pl.run_parallel(QUEUE_SIZE)
  File "/usr/lib/python3.10/site-packages/beets/util/pipeline.py", line 445, in run_parallel
    six.reraise(exc_info[0], exc_info[1], exc_info[2])
  File "/usr/lib/python3.10/site-packages/six.py", line 719, in reraise
    raise value
  File "/usr/lib/python3.10/site-packages/beets/util/pipeline.py", line 312, in run
    out = self.coro.send(msg)
  File "/usr/lib/python3.10/site-packages/beets/util/pipeline.py", line 194, in coro
    func(*(args + (task,)))
  File "/usr/lib/python3.10/site-packages/beets/importer.py", line 1351, in lookup_candidates
    task.lookup_candidates()
  File "/usr/lib/python3.10/site-packages/beets/importer.py", line 641, in lookup_candidates
    autotag.tag_album(self.items, search_ids=self.search_ids)
  File "/usr/lib/python3.10/site-packages/beets/autotag/match.py", line 461, in tag_album
    _add_candidate(items, candidates, matched_candidate)
  File "/usr/lib/python3.10/site-packages/beets/autotag/match.py", line 374, in _add_candidate
    mapping, extra_items, extra_tracks = assign_items(items, info.tracks)
  File "/usr/lib/python3.10/site-packages/beets/autotag/match.py", line 102, in assign_items
    row.append(track_distance(item, track))
  File "/usr/lib/python3.10/site-packages/beets/autotag/match.py", line 141, in track_distance
    dist.add_string('track_title', item.title, track_info.title)
  File "/usr/lib/python3.10/site-packages/beets/autotag/hooks.py", line 533, in add_string
    dist = string_dist(str1, str2)
  File "/usr/lib/python3.10/site-packages/beets/autotag/hooks.py", line 275, in string_dist
    base_dist = _string_dist_basic(str1, str2)
  File "/usr/lib/python3.10/site-packages/beets/autotag/hooks.py", line 241, in _string_dist_basic
    return levenshtein_distance(str1, str2) / float(max(len(str1), len(str2)))
TypeError: str argument expected
```
</details>

  parent reply	other threads:[~2021-10-26  1:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-21  3:59 [PR PATCH] " vpzomtrrfrt
2021-10-21  4:19 ` [PR PATCH] [Updated] " vpzomtrrfrt
2021-10-22 20:54 ` paper42
2021-10-22 21:08 ` [PR REVIEW] " paper42
2021-10-22 21:12 ` vpzomtrrfrt
2021-10-22 21:16 ` [PR PATCH] [Updated] " vpzomtrrfrt
2021-10-22 21:17 ` vpzomtrrfrt
2021-10-26  1:02 ` Goorzhel [this message]
2021-10-26  1:02 ` Goorzhel
2021-10-26  1:03 ` Goorzhel
2021-10-28 22:28 ` [PR PATCH] [Merged]: " paper42

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211026010226.zYq04bogJ-sPZXr0tGcB0G_VgJG8GsttYwECLUNPWuA@z \
    --to=goorzhel@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).