[MB-4724] sample bucket loader does not work if python 2.6 is not installed or is not the default python interpreter Created: 31/Jan/12  Updated: 09/Jan/13  Resolved: 07/Feb/12

Status: Closed
Project: Couchbase Server
Component/s: documentation, tools
Affects Version/s: 2.0-developer-preview-3
Fix Version/s: 2.0-developer-preview-4
Security Level: Public

Type: Bug Priority: Major
Reporter: Farshid Ghods (Inactive) Assignee: MC Brown (Inactive)
Resolution: Fixed Votes: 0
Labels: 2.0-dev-preview-4-release-notes
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

install latest 2.0 build ( 2.0.0r-602 )

after setting up the node go to the settings and choose "sample bucket" and click on "create"

btw . things work just fine if you run cluster_run but it fails on rpm/deb installations.

Comment by Dale Harvey [ 31/Jan/12 ]
looking into it now
Comment by Steve Yen [ 31/Jan/12 ]
dipti wants to see if getting the loader to run on python 2.4 is easy
Comment by Dale Harvey [ 31/Jan/12 ]
It would mean pretty significant changes to the couchbase python client, as that also requires 2.6 (so no)
Comment by Farshid Ghods (Inactive) [ 31/Jan/12 ]
we can add a release note for 2.0 dev preview 4 that sample bucket loader won't work if python 2.6 is not the default python on the box ( applies only to centos 5 users)

for 2.0 beta however we want to completely fix this issue and remove all python 2.6 dependant scripts from couchbase ( scripts including cbrestore )
Comment by Farshid Ghods (Inactive) [ 01/Feb/12 ]
workaround is to instal python 2.6 and change /usr/bin/python to point to /usr/bin/python2.6

this works just fine if you use amazon basic AMIs ( which is a mixture of centos 5 and centos 6) but if you make this change on a centos 5 "yum" will not work
Comment by Farshid Ghods (Inactive) [ 01/Feb/12 ]

for dp-4 we are going to have a release note for this issue.
Comment by Farshid Ghods (Inactive) [ 06/Feb/12 ]
will be part of 2.0 dp4 release notes
Comment by MC Brown (Inactive) [ 07/Feb/12 ]
A note has been added to the 2.0DP4 release notes, with workaround.
Generated at Wed Nov 26 17:13:22 CST 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.