Comments (8)
Fix has been implemented, release is pending (#61). See previous issue for more context #57
For now you can import directly from https://raw.githubusercontent.com/denodrivers/sqlite3/d597bc5c9308bb16018534f63143a636b2ddb5eb/mod.ts (note that this fix only prevents corruption, you will still have to fix the corrupted row if it is giving error)
from sqlite3.
any idea how i can find the corrupted row?
from sqlite3.
Run the query in SQLite CLI, it'll show garbled values where it is corrupted.
from sqlite3.
BTW now you can import normally from https://deno.land/x/[email protected]/mod.ts - corruption issues will not appear anymore, just need to fix current data for now. If you need any help with that feel free to comment further on this issue. If it is resolved, let me know. Thanks
from sqlite3.
Installed. I'll let you know if I see it again. Closing issue for now. I saw some garbage text scroll by, but it appears sqlite doesn't have a pager, so I just deleted my db and started over with v0.6.0.
Thanks!
from sqlite3.
Sorry, re-opening. app won't start now.
error: Uncaught Error: Native SQLite3 library not found, try installing SQLite3. If you have an existing installation, either add it to path or set the `DENO_SQLITE_PATH` environment variable.
const error = new Error(
^
at https://deno.land/x/[email protected]/src/ffi.ts:450:17
Caused by: CacheError: Not Found
at protocolHttp (https://deno.land/x/[email protected]/file_fetcher.ts:23:11)
at async fetchFile (https://deno.land/x/[email protected]/file_fetcher.ts:45:14)
at async FileWrapper.fetch (https://deno.land/x/[email protected]/file.ts:95:18)
at async FileWrapper.get (https://deno.land/x/[email protected]/file.ts:113:12)
at async cache (https://deno.land/x/[email protected]/cache.ts:67:10)
at async Wrapper.cache (https://deno.land/x/[email protected]/cache.ts:21:12)
at async download (https://deno.land/x/[email protected]/plug.ts:107:16)
at async prepare (https://deno.land/x/[email protected]/plug.ts:116:16)
at async https://deno.land/x/[email protected]/src/ffi.ts:434:12
All I did was change the dep url
import { Database as DB } from 'https://deno.land/x/[email protected]/mod.ts';
import { config } from 'https://deno.land/x/[email protected]/mod.ts';
export { DB, config };
from sqlite3.
Use 0.6.1 instead
from sqlite3.
That worked. Tanks.
from sqlite3.
Related Issues (20)
- Unsafe pointer create exception HOT 4
- Bug in Reading Integers HOT 1
- Get one row as object HOT 3
- Error: Native SQLite3 library not found, try installing SQLite3 HOT 3
- not working inside docker HOT 4
- Support user-defined functions HOT 3
- Insertions in prepared statements need to be finalized to persist HOT 2
- empty string and NOT NULL constraint
- Segfault after close() (regression from 0.6.1) HOT 2
- Error running the example HOT 10
- Support extensions HOT 1
- Breaks with Deno v1.30 HOT 2
- TS Error when running the vendored code HOT 2
- `ext/` folder containing import helpers for common extensions HOT 1
- `ext/` folder containing import helpers for common extensions
- Segfault on debian aarch64 (raspberry pi) HOT 13
- Use tagged releases of SQLite HOT 3
- Open database readOnly not working HOT 3
- Fts5 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sqlite3.