pkg icon indicating copy to clipboard operation
pkg copied to clipboard

DBD::SQLite::st execute failed: no such column at line 201.

Open Veraellyunjie opened this issue 3 years ago • 2 comments

Dashes break pkg:

pkg search p5-Test 
DBD::SQLite::st execute failed: no such column: Test at /opt/bin.d/pkg line 201.
pkg search nedit-ng
DBD::SQLite::st execute failed: no such column: ng at /opt/bin.d/pkg line 201.
pkg search withoutdash
# fine
pkg search with-dash
DBD::SQLite::st execute failed: no such column: dash at /opt/bin.d/pkg line 201.

Also, it fails with exitcode 0

Veraellyunjie avatar Oct 08 '22 04:10 Veraellyunjie

Ya, I am not sure what to do about the syntax .. SQLite's fts5 stuff is pretty limited.

I am planning on testing a few different approaches but none seem ideal.

qbit avatar Oct 08 '22 17:10 qbit

This should be fixed here: https://github.com/qbit/pkg/commit/83ecf32b64bfddeaf3fe060c6f9a1dcfbe7eed1c

Sorta a hammer approach..

qbit avatar Oct 10 '22 18:10 qbit