[Koha-bugs] [Bug 32656] Script delete_records_via_leader.pl no longer deletes items

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 18 23:06:25 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32656

--- Comment #6 from David Nind <david at davidnind.com> ---
I'm having difficulty signing this off:

/usr/bin/git-bz:1908: UnicodeWarning: Unicode equal comparison failed to
convert both arguments to Unicode - interpreting them as being unequal
  obsoleted = (initial_description == patch.description)
Traceback (most recent call last):
  File "/usr/bin/git-bz", line 2722, in <module>
    do_attach(*args)
  File "/usr/bin/git-bz", line 2074, in do_attach
    attach_commits(bug, commits, edit_comments=global_options.edit)
  File "/usr/bin/git-bz", line 1988, in attach_commits
    description, body, obsoletes, statuses, patch_complexities, depends =
edit_attachment_comment(bug, commit.subject, body)
  File "/usr/bin/git-bz", line 1940, in edit_attachment_comment
    lines = edit_template(template.getvalue())
  File "/usr/lib/python2.7/StringIO.py", line 271, in getvalue
    self.buf += ''.join(self.buflist)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 3: ordinal
not in range(128)

I had this the other day with another bug when testing. It was to do with
Unicode characters in the bug title:

[PATCH] =?UTF-8?q?Bug=C2=A032656:=20Script=20delete=5Frecords=5Fv?=
 =?UTF-8?q?ia=5Fleader.pl=20no=20longer=20deletes=20items?=

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list