Skip to content

Fails on seeding new databaseΒ #19

@Crowdedlight

Description

@Crowdedlight

Hi There

Was looking at using this lib for a hobby project, but it seems like when sync a new database it fails to seed the database.

I tried to clone this repo to check if the tests ran and it was something I did wrong. However the unit-tests for sync with ECB fails. It seems to fail on the seed part of making a virtual table from the csv file. The error code from rusqlite I get is "permission denied" when it runs this line: https://github.com/sekunho/moneyman/blob/main/crates/moneyman/src/persistence/seed.rs#L136

I tried to poke about a bit, but I did not manage to figure out why it complains about permission access for the database. The files are created fine on my disk, and I can open both the sqlite database and the csv file. csv file seems to have correct format when comparing with the test-data, and the database is just empty.

Any chance you got an idea what is going on and how to fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions