GithubHelp home page GithubHelp logo

Comments (8)

DjDeveloperr avatar DjDeveloperr commented on June 14, 2024

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.

ralyodio avatar ralyodio commented on June 14, 2024

any idea how i can find the corrupted row?

from sqlite3.

DjDeveloperr avatar DjDeveloperr commented on June 14, 2024

Run the query in SQLite CLI, it'll show garbled values where it is corrupted.

from sqlite3.

DjDeveloperr avatar DjDeveloperr commented on June 14, 2024

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.

ralyodio avatar ralyodio commented on June 14, 2024

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.

ralyodio avatar ralyodio commented on June 14, 2024

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.

DjDeveloperr avatar DjDeveloperr commented on June 14, 2024

Use 0.6.1 instead

from sqlite3.

ralyodio avatar ralyodio commented on June 14, 2024

That worked. Tanks.

from sqlite3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.