jjgomera/pychemqt

debug:sqlite3.OperationalError: no such table: compuestos

Closed this issue · 2 comments

File "/home/cmh/mygit/pychemqt/lib/sql.py", line 48, in
databank_Custom.execute("SELECT COUNT(*) AS Total FROM compuestos")
sqlite3.OperationalError: no such table: compuestos

change sql.py

databank_Custom_name = conf_dir +'databank.db'

to

databank_Custom_name = conf_dir +'dat'+os.sep+'databank.db'

Hi, that problem is from a old bug, remove the file /home/cmh/.pychemqt/databank.db and start pychemqt again.
conf_dir is that folder in your system, and there pychemqt save its config files, that databank is for save custom component defined by user.

Thanks