>>760
God dammit Hydrus_Dev, I can't connect to the database through this code:
[code]
import sqlite3
db = sqlite3.connect('./client.db')
db.execute('SELECT hash_id, mime FROM files_info ORDER BY timestamp LIMIT 100')
[code]
Which just results in the following error:
[code]
Traceback (most recent call last):
File "C:\Hydrus Network\db\database_test.py", line 3, in <module>
db.execute('SELECT hash_id, mime FROM files_info ORDER BY timestamp LIMIT 100')
sqlite3.DatabaseError: file is encrypted or is not a database
[Finished in 0.4s with exit code 1]
[code]
My client still works, and I've tried to look through the source code, but it is still an arcane mess, and I don't find you doing anything special when accessing the database.
Please, I need to understand this, because of reasons.