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 ~]$
The path logic is to check the current directory only. Need to add bin directory.
The above logic works on windows setup.