Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perface fails cloning from perforce #6

Open
lazvlada opened this issue Oct 28, 2024 · 0 comments
Open

perface fails cloning from perforce #6

lazvlada opened this issue Oct 28, 2024 · 0 comments

Comments

@lazvlada
Copy link

Here is the command and error output:

PS D:\hg> hg clone p4://ssl:myServer:1234/perfarce_workspace
destination directory: perfarce_workspace
pulling from p4://ssl:myServer:1234 using perfarce_workspace
searching for changes
** Unknown exception encountered with possibly-broken third-party extension "perfarce" (version N/A)
** which supports versions unknown of Mercurial.
** Please disable "perfarce" and try your action again.
** If that fixes the bug please report it to the extension author.
** Python 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64 bit (AMD64)]
** Mercurial Distributed SCM (version 6.6.3)
** Extensions loaded: perfarce
Traceback (most recent call last):
File "hg", line 58, in
File "mercurial\dispatch.pyc", line 142, in run
File "mercurial\dispatch.pyc", line 231, in dispatch
File "mercurial\dispatch.pyc", line 275, in _rundispatch
File "mercurial\dispatch.pyc", line 456, in _runcatch
File "mercurial\dispatch.pyc", line 466, in _callcatch
File "mercurial\scmutil.pyc", line 152, in callcatch
File "mercurial\dispatch.pyc", line 446, in _runcatchfunc
File "mercurial\dispatch.pyc", line 1271, in _dispatch
File "mercurial\dispatch.pyc", line 904, in runcommand
File "mercurial\dispatch.pyc", line 1283, in _runcommand
File "mercurial\dispatch.pyc", line 1269, in
File "mercurial\util.pyc", line 1878, in check
File "mercurial\util.pyc", line 1878, in check
File "C:/git/perfarce/perfarce.py", line 1531, in clone
r = pull(None, ui, repo, source=source, **pycompat.strkwargs(opts))
File "C:/git/perfarce/perfarce.py", line 1301, in pull
cl = client.describe(c)
File "C:/git/perfarce/perfarce.py", line 792, in describe
desc=self.decode(d[b'desc']),
File "C:/git/perfarce/perfarce.py", line 499, in decode
return text.decode(self.encoding).encode(encoding.encoding)
TypeError: decode() argument 'encoding' must be str, not bytes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant