git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* git p4 sync: "str expected, not %s"
@ 2019-06-28  9:57 Massimo B.
       [not found] ` <17077551562900174@sas1-9134aa144859.qloud-c.yandex.net>
  0 siblings, 1 reply; 3+ messages in thread
From: Massimo B. @ 2019-06-28  9:57 UTC (permalink / raw)
  To: git

Hello everybody,

since last updates, git p4 does not work anymore:

# git p4 sync --verbose
Reading pipe: ['git', '--git-dir', '/mnt/data/userspace/project-pb/MM6.test/.git', 'rev-parse', '--git-dir']
Reading pipe: git rev-parse --git-dir
Reading pipe: git rev-parse --show-cdup
Reading pipe: ['git', '--git-dir', b'.', 'rev-parse', '--git-dir']
Traceback (most recent call last):
  File "/usr/libexec/git-core/git-p4", line 4163, in <module>
    main()
  File "/usr/libexec/git-core/git-p4", line 4155, in main
    os.environ["GIT_DIR"] = cmd.gitdir
  File "/usr/lib64/python3.6/os.py", line 674, in __setitem__
    value = self.encodevalue(value)
  File "/usr/lib64/python3.6/os.py", line 744, in encode
    raise TypeError("str expected, not %s" % type(value).__name__)
TypeError: str expected, not bytes

git version 2.22.0
Gentoo Linux
Global Python is 3.6.

Last working version I found: 2.20.1

Best regards,
Massimo


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-07-17 10:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-28  9:57 git p4 sync: "str expected, not %s" Massimo B.
     [not found] ` <17077551562900174@sas1-9134aa144859.qloud-c.yandex.net>
2019-07-12 10:01   ` Massimo B.
     [not found]     ` <23610851562985541@iva7-634c9cb1f49d.qloud-c.yandex.net>
2019-07-17 10:54       ` Massimo B.

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).