[PYCBC-48] Fatal warning during client installation Created: 31/Jul/12  Updated: 07/Aug/12  Resolved: 07/Aug/12

Status: Resolved
Project: Couchbase Python Client Library
Component/s: library
Affects Version/s: 0.7
Fix Version/s: 0.7.1
Security Level: Public

Type: Bug Priority: Major
Reporter: Pavel Paulau Assignee: Benjamin Young
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment: virtualenv --no-site-packages -p python2.7 test_install_2.7
virtualenv --no-site-packages -p python2.6 test_install_2.6


 Description   
> Steps to reproduce:
pip install couchbase

> Expected output:

Downloading/unpacking couchbase
  Downloading couchbase-0.7.0.tar.gz
  Running setup.py egg_info for package couchbase

> Actual output:

Downloading/unpacking couchbase
  Downloading couchbase-0.7.0.tar.gz
  Running setup.py egg_info for package couchbase
    fatal: Not a git repository (or any of the parent directories): .git

> Tip:
def get_version():
    try:
        p = subprocess.Popen('git describe', stdout=subprocess.PIPE,
                             shell=True)
        version = p.communicate()[0].strip()
    except:
        version = ''
    return version

 Comments   
Comment by Pavel Paulau [ 31/Jul/12 ]
Raising to major because it may fail completely if end user does't have git (not sure about this, though).
Generated at Tue Sep 23 20:13:11 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.