You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install the project and hit below command directly.
I am getting error while executing commands such as - allpass, modpass
modpass
(new_en) [ghubale@localhost genpass]$ pygenpass modpass
Enter portal name [None]: paytm
Enter new password [None]:
Traceback (most recent call last):
File "/home/ghubale/mayuri/new_en/bin/pygenpass", line 11, in <module>
load_entry_point('pygenpass==0.1', 'console_scripts', 'pygenpass')()
File "/home/ghubale/mayuri/new_en/lib64/python3.7/site-packages/Click-7.0-py3.7.egg/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/home/ghubale/mayuri/new_en/lib64/python3.7/site-packages/Click-7.0-py3.7.egg/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/ghubale/mayuri/new_en/lib64/python3.7/site-packages/Click-7.0-py3.7.egg/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/ghubale/mayuri/new_en/lib64/python3.7/site-packages/Click-7.0-py3.7.egg/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/ghubale/mayuri/new_en/lib64/python3.7/site-packages/Click-7.0-py3.7.egg/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/ghubale/mayuri/new_en/lib64/python3.7/site-packages/pygenpass-0.1-py3.7.egg/genpass/password.py", line 63, in modpass
db_obj.update_data(portal_name=portal_name, password=mod)
File "/home/ghubale/mayuri/new_en/lib64/python3.7/site-packages/pygenpass-0.1-py3.7.egg/genpass/database.py", line 77, in update_data
(self.password, self.portal_name),
sqlite3.OperationalError: no such table: passwords
allpass:
(new_en) [ghubale@localhost genpass]$ pygenpass allpass
Traceback (most recent call last):
File "/home/ghubale/mayuri/new_en/bin/pygenpass", line 11, in <module>
load_entry_point('pygenpass==0.1', 'console_scripts', 'pygenpass')()
File "/home/ghubale/mayuri/new_en/lib64/python3.7/site-packages/Click-7.0-py3.7.egg/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/home/ghubale/mayuri/new_en/lib64/python3.7/site-packages/Click-7.0-py3.7.egg/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/ghubale/mayuri/new_en/lib64/python3.7/site-packages/Click-7.0-py3.7.egg/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/ghubale/mayuri/new_en/lib64/python3.7/site-packages/Click-7.0-py3.7.egg/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/ghubale/mayuri/new_en/lib64/python3.7/site-packages/Click-7.0-py3.7.egg/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/ghubale/mayuri/new_en/lib64/python3.7/site-packages/pygenpass-0.1-py3.7.egg/genpass/password.py", line 39, in allpass
all_pass = db_obj.show_all_data()
File "/home/ghubale/mayuri/new_en/lib64/python3.7/site-packages/pygenpass-0.1-py3.7.egg/genpass/database.py", line 96, in show_all_data
"""SELECT * FROM passwords"""
sqlite3.OperationalError: no such table: passwords
(new_en) [ghubale@localhost genpass]$
delpass
(new_en) [ghubale@localhost genpass]$ pygenpass delpass
Enter portal name [None]:
Traceback (most recent call last):
File "/home/ghubale/mayuri/new_en/bin/pygenpass", line 11, in <module>
load_entry_point('pygenpass==0.1', 'console_scripts', 'pygenpass')()
File "/home/ghubale/mayuri/new_en/lib64/python3.7/site-packages/Click-7.0-py3.7.egg/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/home/ghubale/mayuri/new_en/lib64/python3.7/site-packages/Click-7.0-py3.7.egg/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/ghubale/mayuri/new_en/lib64/python3.7/site-packages/Click-7.0-py3.7.egg/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/ghubale/mayuri/new_en/lib64/python3.7/site-packages/Click-7.0-py3.7.egg/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/ghubale/mayuri/new_en/lib64/python3.7/site-packages/Click-7.0-py3.7.egg/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/ghubale/mayuri/new_en/lib64/python3.7/site-packages/pygenpass-0.1-py3.7.egg/genpass/password.py", line 55, in delpass
db_obj.delete_data(portal_name=portal_name)
File "/home/ghubale/mayuri/new_en/lib64/python3.7/site-packages/pygenpass-0.1-py3.7.egg/genpass/database.py", line 67, in delete_data
"""DELETE from passwords where portal_name = ?""", (self.portal_name,)
sqlite3.OperationalError: no such table: passwords
showpass
(new_en) [ghubale@localhost genpass]$ pygenpass showpass
Enter portal name [None]: paytm
Traceback (most recent call last):
File "/home/ghubale/mayuri/new_en/bin/pygenpass", line 11, in <module>
load_entry_point('pygenpass==0.1', 'console_scripts', 'pygenpass')()
File "/home/ghubale/mayuri/new_en/lib64/python3.7/site-packages/Click-7.0-py3.7.egg/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/home/ghubale/mayuri/new_en/lib64/python3.7/site-packages/Click-7.0-py3.7.egg/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/ghubale/mayuri/new_en/lib64/python3.7/site-packages/Click-7.0-py3.7.egg/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/ghubale/mayuri/new_en/lib64/python3.7/site-packages/Click-7.0-py3.7.egg/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/ghubale/mayuri/new_en/lib64/python3.7/site-packages/Click-7.0-py3.7.egg/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/ghubale/mayuri/new_en/lib64/python3.7/site-packages/pygenpass-0.1-py3.7.egg/genpass/password.py", line 105, in showpass
spass = db_obj.show_data(portal_name)
File "/home/ghubale/mayuri/new_en/lib64/python3.7/site-packages/pygenpass-0.1-py3.7.egg/genpass/database.py", line 86, in show_data
"""SELECT password FROM passwords WHERE portal_name=?""", (self.portal_name,)
sqlite3.OperationalError: no such table: passwords
The text was updated successfully, but these errors were encountered:
ganeshhubale
changed the title
OperationalError while executing allpass command
OperationalError while executing commands
Jan 13, 2020
allpass
,modpass
The text was updated successfully, but these errors were encountered: