ananthakumaran / paisa

Paisa – Personal Finance Manager. https://paisa.fyi demo: https://demo.paisa.fyi
https://paisa.fyi
GNU Affero General Public License v3.0
2.24k stars 111 forks source link

Unable to open database file #158

Closed roverflow closed 5 months ago

roverflow commented 5 months ago

Describe your Environment OS: Windows 11 Paisa Version: Latest App Variant: Desktop

Describe the bug I get this error on launch: Unable to open database file

To Reproduce Steps to reproduce the behavior:

  1. installed
  2. tweaked config a bit
  3. uninstalled
  4. reinstalled
  5. error

Expected behavior Should open the initial screen for setup

ananthakumaran commented 5 months ago

can you delete the paisa.db file (documents > paisa > paisa.db) and try to open the app? if that doesn't work can you share the full error message (or screenshot of the error)

roverflow commented 5 months ago

Just deleted the paisa.db file. didnt help, but i did look at this yml file and seems like db_path is empty maybe thats the issue:

journal_path: main.ledger
db_path: ""
readonly: false
ledger_cli: ledger
default_currency: INR
display_precision: 0
locale: en-IN
financial_year_starting_month: 4
week_starting_day: 0
strict: "no"
budget:
    rollover: "yes"
schedule_al: []
allocation_targets: []
commodities: []
import_templates: []
accounts: []
goals:
    retirement: []
    savings: []
user_accounts: []

Screenshot 2024-01-22 180521

roverflow commented 5 months ago

seems to work if i put in the db, thanks for the help

roverflow commented 5 months ago

image Although i did get this error now

ananthakumaran commented 5 months ago

This is a duplicate of https://github.com/ananthakumaran/paisa/issues/154 I just released 0.6.4, can you try that

seems like db_path is empty maybe thats the issue:

did you manually set it to empty? Do you know how it got to empty

roverflow commented 5 months ago

This is a duplicate of https://github.com/ananthakumaran/paisa/issues/154 I just released 0.6.4, can you try that

seems like db_path is empty maybe thats the issue:

did you manually set it to empty? Do you know how it got to empty

i don't know how that got empty, i just uninstalled it and reinstalled it once.

Will try 0.6.4

ananthakumaran commented 5 months ago

I am closing this issue assuming the problem is solved (as reported by other users)