Details
Description
[perry@Membase1 ~]$ /opt/membase/bin/mbbackup /opt/membase/var/lib/membase/data/default-data/default /tmp
Traceback (most recent call last):
File "/opt/membase/lib/python/mbbackup", line 52, in ?
sqlite_path = find_sqlite()
File "/opt/membase/lib/python/mbbackup", line 49, in find_sqlite
return findCmd('sqlite3')
File "/opt/membase/lib/python/mbbackup", line 45, in findCmd
cmdbin = [p for p in possible if os.path.exists(p)][0]
IndexError: list index out of range
[perry@Membase1 ~]$
Traceback (most recent call last):
File "/opt/membase/lib/python/mbbackup", line 52, in ?
sqlite_path = find_sqlite()
File "/opt/membase/lib/python/mbbackup", line 49, in find_sqlite
return findCmd('sqlite3')
File "/opt/membase/lib/python/mbbackup", line 45, in findCmd
cmdbin = [p for p in possible if os.path.exists(p)][0]
IndexError: list index out of range
[perry@Membase1 ~]$
Activity
Farshid Ghods
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Labels | regression | |
| Assignee | Bin Cui [ bcui ] | |
| Fix Version/s | 1.7 beta 1 [ 10110 ] |
Bin Cui
made changes -
| Assignee | Bin Cui [ bcui ] | Steve Yen [ steve ] |
Steve Yen
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
Peter Wansch
made changes -
| Component/s | tools [ 10223 ] | |
| Component/s | cli [ 10011 ] |
The path logic is to check the current directory only. Need to add bin directory.
The above logic works on windows setup.