tech-repository archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: weird error updating from

At Sat, 20 Mar 2021 21:56:12 -0700, "Greg A. Woods" <> wrote:
Subject: weird error updating from
> I haven't updated my local git clone of pkgsrc in a while, but I tried
> just now and got this:
> $ cd g-NetBSD-pkgsrc
> /work/woods/g-NetBSD-pkgsrc
> $ git up
> Fetching origin
> OLDtrunk  rebasing
> Failed to rebase origin/trunk onto OLDtrunk
> Here's what git said:
> Traceback (most recent call last):
>   File "/usr/pkg/bin/git-up", line 11, in <module>
>     sys.exit(run())
>   File "/usr/pkg/lib/python2.7/site-packages/click/", line 829, in __call__
>     return self.main(*args, **kwargs)
>   File "/usr/pkg/lib/python2.7/site-packages/click/", line 782, in main
>     rv = self.invoke(ctx)
>   File "/usr/pkg/lib/python2.7/site-packages/click/", line 1066, in invoke
>     return ctx.invoke(self.callback, **ctx.params)
>   File "/usr/pkg/lib/python2.7/site-packages/click/", line 610, in invoke
>     return callback(*args, **kwargs)
>   File "/usr/pkg/lib/python2.7/site-packages/PyGitUp/", line 656, in run
>   File "/usr/pkg/lib/python2.7/site-packages/PyGitUp/", line 208, in run
>     self.print_error(error)
>   File "/usr/pkg/lib/python2.7/site-packages/PyGitUp/", line 594, in print_error
>     print(error.stderr, file=self.stderr)
>   File "/usr/pkg/lib/python2.7/site-packages/colorama/", line 41, in write
>     self.__convertor.write(text)
>   File "/usr/pkg/lib/python2.7/site-packages/colorama/", line 164, in write
>     self.wrapped.write(text)
> UnicodeEncodeError: 'ascii' codec can't encode character u'\udc8c' in position 55: ordinal not in range(128)

N.B.:  I haven't seen this error again since finding and fixing a
corrupted program file (part of git-base -- I just re-installed the
binary package).

(The system in question, a Xen domU, suffered a major crash some days
ago (due to its dom0 panicing) and while everything seemed to have
survived, there was this one corrupt file, so far, with no obvious
cause.  One other NetBSD domU on the same hardware survived without any
apparent problems, at least none discovered so far.  On the other hand a
FreeBSD domU encountered major problems with the new Xen and did not

					Greg A. Woods <>

Kelowna, BC     +1 250 762-7675           RoboHack <>
Planix, Inc. <>     Avoncote Farms <>

Attachment: pgpciDUNymJUl.pgp
Description: OpenPGP Digital Signature

Home | Main Index | Thread Index | Old Index