git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Git-p4 fails with NameError with python 2.7.2
@ 2015-10-20 10:34 Etienne Girard
  2015-10-20 13:57 ` Luke Diamand
  0 siblings, 1 reply; 10+ messages in thread
From: Etienne Girard @ 2015-10-20 10:34 UTC (permalink / raw)
  To: git

Hello,

Git-p4 fail when I try to rebase with the error: "NameError: global
name 'ctypes' is not defined". The error occurs when I use python
2.7.2 that is installed by default on my company's computers (it goes
without saying that everything works fine with python 2.7.10).

I'm a beginner in python, but simply importing ctypes at the beginning
of the script does the trick. I was wondering if submitting a patch
for this issue is worth the trouble, when a satisfying solution is not
using a 4 years old version of python.

Best regards

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

end of thread, other threads:[~2015-10-21 20:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-20 10:34 Git-p4 fails with NameError with python 2.7.2 Etienne Girard
2015-10-20 13:57 ` Luke Diamand
2015-10-20 16:00   ` Junio C Hamano
2015-10-20 16:42     ` Manlio Perillo
2015-10-20 19:31     ` [PATCH] git-p4: import the ctypes module Dennis Kaarsemaker
2015-10-20 19:36       ` Junio C Hamano
2015-10-20 23:00         ` Luke Diamand
2015-10-21  8:23           ` Etienne Girard
2015-10-21  9:54             ` Etienne Girard
2015-10-21 20:00             ` Lars Schneider

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