aancw / Belati

The Traditional Swiss Army Knife for OSINT
GNU General Public License v2.0
527 stars 120 forks source link

no such table 'projects' #5

Closed maldevel closed 7 years ago

maldevel commented 7 years ago

Hi there, A table seems that is missing from sqlite db.

File "Belati.py", line 403, in <module>
    BelatiApp = Belati()
  File "Belati.py", line 101, in __init__
    self.project_id = self.db.create_new_project(domain, orgcomp, datetime.datetime.now())
  File "/path/to/Belati/plugins/database.py", line 50, in create_new_project
    cur.execute("INSERT INTO projects(`project_domain`, `project_org`, `started_time`) VALUES (?, ?, ?)", (project_domain, project_org, time))
sqlite3.OperationalError: no such table: projects
aancw commented 7 years ago

Hi, can i see your belati.conf?

Table projects is exist in belati.db file. To be make sure, i'm using belati.db from repository sqlite-belati

aancw commented 7 years ago

Fresh install

belati-projects-testing

maldevel commented 7 years ago

works like charm, didnt notice .conf file :D

aancw commented 7 years ago

FYI, in the next release i will use auto configuration. Because belati will use Django database for storing information.

Thanks!