Help please with error

I can not work out how to fix this error.(Newbie)
The person wrote the script is now not available
this is the error I am getting (think it has something to do with Cookie and firefox
-------------------
Traceback (most recent call last):
File "ns.py", line 238, in <module>
br = blw_Browser_firefox()
File "ns.py", line 212, in blw_Browser_firefox
cj = blw_sqlite2cookie(loc + x[0] + '\\cookies.sqlite')
File "ns.py", line 180, in blw_sqlite2cookie
cur.execute("select host, path, isSecure, expiry, name, va
es")
sqlite3.DatabaseError: file is encrypted or is not a database