<class 'sqlite3.OperationalError'> | Python 2.6.6: /usr/bin/python Thu Apr 18 15:40:32 2024 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/home/marknnrq/file-extension.net/seeker/seeker.py in |
293 |
294 |
295 |
296 if __name__ == "__main__": |
297 main() |
main = <function main> |
/home/marknnrq/file-extension.net/seeker/seeker.py in main() |
222 |
223 ts = clock() |
224 results = seeker_query(qext, qand, qor, qnot) |
225 te = clock() |
226 |
results undefined, global seeker_query = <function seeker_query>, qext = '-5', qand = [], qor = [], qnot = [] |
/home/marknnrq/file-extension.net/seeker/seeker.py in seeker_query(qext='-5', qand=[], qor=[], qnot=[]) |
200 res = [] |
201 conn = sqlite3.connect("seeker.db3") |
202 for row in conn.execute(sqlbody, (fts_query,)): |
203 res.append(row) |
204 conn.close() |
row undefined, conn = <sqlite3.Connection object>, conn.execute = <built-in method execute of sqlite3.Connection object>, sqlbody = '\n select ext, ftype, site, extra\n from see... where\n (seeker match ?)\n limit 150\n ', fts_query = 'ext:-5 ' |
<class 'sqlite3.OperationalError'>: malformed MATCH expression: [ext:-5 ]
args =
('malformed MATCH expression: [ext:-5 ]',)
message =
'malformed MATCH expression: [ext:-5 ]'