git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* `git p4` broken on machines which do not have python on path
@ 2025-02-06  1:27 Kapil Somani
  2025-02-06  1:46 ` brian m. carlson
  0 siblings, 1 reply; 5+ messages in thread
From: Kapil Somani @ 2025-02-06  1:27 UTC (permalink / raw)
  To: git

Thank you for filling out a Git bug report!
Please answer the following questions to help us understand your issue.

What did you do before the bug happened? (Steps to reproduce your issue)
Run `git p4 clone //path/to/p4/depot --destination=/tmp/localcopy`


What did you expect to happen? (Expected behavior)
The command should have imported perforce depot to a git repository


What happened instead? (Actual behavior)
The command threw error
fatal: 'p4' appears to be a git command, but we were not
able to execute it. Maybe git-p4 is broken?


What's different between what you expected and what actually happened?
The command did not perform desired operation


Anything else you want to add:
The machine does not have python on path
I noticed `git-p4`'s shebang line points to python.
On my local git installation, i was able to update shebang line on
git-p4 to python3 and
the command worked as expected.
With python3 now being default should be update git-p4 to run using python3 ?


Please review the rest of the bug report below.
You can delete any lines you don't wish to share.


[System Info]
git version:
git version 2.30.2
cpu: x86_64
no commit associated with this build
sizeof-long: 8
sizeof-size_t: 8
shell-path: /bin/sh
uname: Linux 5.10.0-33-amd64 #1 SMP Debian 5.10.226-1 (2024-10-03) x86_64
compiler info: gnuc: 10.2
libc info: glibc: 2.31
$SHELL (typically, interactive shell): /bin/tcsh


[Enabled Hooks]
not run from a git repository - no hooks to show

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

end of thread, other threads:[~2025-02-06 23:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-06  1:27 `git p4` broken on machines which do not have python on path Kapil Somani
2025-02-06  1:46 ` brian m. carlson
2025-02-06  2:16   ` Illia Bobyr
     [not found]   ` <CANF_+=7hM7QqLNE3d4=UO-8erYoeQwYG5SrsDTXtgqZq3AKJwg@mail.gmail.com>
2025-02-06 22:18     ` brian m. carlson
2025-02-06 23:17       ` Junio C Hamano

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).