fatal: Not a git repository when installing mod_python

Juneyee

I'm trying to install mod_python but I got an error:

SyntaxError: ('EOL while scanning string literal', ('/usr/local/lib/python2.7/dist-packages/mod_python/version.py', 3, 79, 'version = "fatal: Not a git repository (or any of the parent directories): .git\n'))

This is the version.sh file used in mod_python.

#!/bin/sh

MPV_PATH="`dirname $0`/../src/include/mp_version.h"

MAJ=`awk '/MP_VERSION_MAJOR/ {print $3}' $MPV_PATH`
MIN=`awk '/MP_VERSION_MINOR/ {print $3}' $MPV_PATH`
PCH=`awk '/MP_VERSION_PATCH/ {print $3}' $MPV_PATH`
GIT=`git describe --always`

echo $MAJ.$MIN.$PCH-$GIT

I run it manually then I got:

fatal: Not a git repository (or any of the parent directories): .git
3.4.1-

What does this mean? Pleas help!!

Thanks!

Robin Green

The version.sh file assumes you are installing from git. That seems like a bug.

To fix it, you can remove the line

GIT=`git describe --always`

and change the next line to

echo $MAJ.$MIN.$PCH

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

fatal: Not a git repository when installing mod_python

From Dev

Heroku - Fatal error when pushing to a git repository

From Dev

Heroku - Fatal error when pushing to a git repository

From Java

Receiving "fatal: Not a git repository" when attempting to remote add a Git repo

From Dev

fatal: Not a git repository: when adding files to git repo

From Dev

unable to look up https fatal error when push to git repository

From Dev

Git fatal not valid : is this a git repository?

From Dev

Fatal: not a git repository - after BSoD

From Dev

GIT: fatal: 'master' does not appear to be a git repository

From Dev

got errors when import mod_python

From Dev

got errors when import mod_python

From Dev

fatal: Not a git repository (or any of the parent directories): .git (And yet the repository exists)

From Java

git: fatal: Could not read from remote repository

From Dev

git clone --bare: fatal: repository does not exist

From Dev

SourceTree - git: fatal: remote error: Repository not found

From Dev

Redmine error log fatal:not a git repository

From Dev

Python: fatal: not a git repository Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set)

From Dev

git fatal not a git repository (or any of the parent directories) .git

From Dev

problems when installing git

From Dev

problems when installing git

From Dev

Why does fatal: Not a git repository error show up when publishing site using sbt-ghpages for valid git project?

From Dev

Why does fatal: Not a git repository error show up when publishing site using sbt-ghpages for valid git project?

From Dev

When to shrink a Git repository?

From Java

Git push: "fatal 'origin' does not appear to be a git repository - fatal Could not read from remote repository."

From Dev

Installing package with composer from git repository

From Dev

Installing package with composer from git repository

From Dev

Why am I getting error "fatal: 'C:/Program Files (x86)/Git' is outside the repository" when I run "git reset --hard ~1" from within the repository?

From Dev

Why am I getting error "fatal: 'C:/Program Files (x86)/Git' is outside the repository" when I run "git reset --hard ~1" from within the repository?

From Dev

fatal: Not a git repository (or any of the parent directories): .git in Mac OS

Related Related

  1. 1

    fatal: Not a git repository when installing mod_python

  2. 2

    Heroku - Fatal error when pushing to a git repository

  3. 3

    Heroku - Fatal error when pushing to a git repository

  4. 4

    Receiving "fatal: Not a git repository" when attempting to remote add a Git repo

  5. 5

    fatal: Not a git repository: when adding files to git repo

  6. 6

    unable to look up https fatal error when push to git repository

  7. 7

    Git fatal not valid : is this a git repository?

  8. 8

    Fatal: not a git repository - after BSoD

  9. 9

    GIT: fatal: 'master' does not appear to be a git repository

  10. 10

    got errors when import mod_python

  11. 11

    got errors when import mod_python

  12. 12

    fatal: Not a git repository (or any of the parent directories): .git (And yet the repository exists)

  13. 13

    git: fatal: Could not read from remote repository

  14. 14

    git clone --bare: fatal: repository does not exist

  15. 15

    SourceTree - git: fatal: remote error: Repository not found

  16. 16

    Redmine error log fatal:not a git repository

  17. 17

    Python: fatal: not a git repository Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set)

  18. 18

    git fatal not a git repository (or any of the parent directories) .git

  19. 19

    problems when installing git

  20. 20

    problems when installing git

  21. 21

    Why does fatal: Not a git repository error show up when publishing site using sbt-ghpages for valid git project?

  22. 22

    Why does fatal: Not a git repository error show up when publishing site using sbt-ghpages for valid git project?

  23. 23

    When to shrink a Git repository?

  24. 24

    Git push: "fatal 'origin' does not appear to be a git repository - fatal Could not read from remote repository."

  25. 25

    Installing package with composer from git repository

  26. 26

    Installing package with composer from git repository

  27. 27

    Why am I getting error "fatal: 'C:/Program Files (x86)/Git' is outside the repository" when I run "git reset --hard ~1" from within the repository?

  28. 28

    Why am I getting error "fatal: 'C:/Program Files (x86)/Git' is outside the repository" when I run "git reset --hard ~1" from within the repository?

  29. 29

    fatal: Not a git repository (or any of the parent directories): .git in Mac OS

HotTag

Archive