siddhantac / puffin

A beautiful terminal dashboard for hledger 💰
MIT License
256 stars 6 forks source link

Nothing Appears when Running Application #15

Closed charlespnh closed 8 months ago

charlespnh commented 8 months ago

@siddhantac I ran make start and this is what happened:

image

I'm using hledger 1.12.1 and running puffin on WSL2. I've ensured the directory structure is correct and everything is in its correct place. I suspect it has something to do with hledger's version... What version are you currently using?

charlespnh commented 8 months ago

So I tried this out on Mac and it doesn't really work either... With version hledger 1.32.2, mac-aarch64 and on commit 28ec23abdc188a328df6e3613a46289b883e35b1, it works as in demo

On the lastest commit, no data is shown as reported above... I tried out different commits, some works and some don't. Looks like changes to UI were introduced more recently that cause breaking, at least for me.

Enqueued commented 8 months ago

I know it doesnt help but on hledger version 1.31 on linux 64 with latest commit 33bdfe2 it functions properly.

I had recieved the same exit status message when I realized that I was not on the latest, I had to git pull and validate that my hledger command was within my $PATH. I dont have much experience with wsl but does it have the access to the binaries for hledger and is the ledger file located in a place that is accessable by the wsl vm? Usually my .hledger.journal is in my home directory, iirc that should be where puffin is checking as its the default location for the journal.

Lastly; have you tried puffin -file 'hledger journal file-path'?

siddhantac commented 8 months ago

Hi @charlespnh, thanks for reporting the issue! I had to step away from this project for a while due to personal commitments. I will be looking into this, and other issues, very soon! I have some improvements and features planned. Thanks again for trying out my little side-project. I hope to have an update soon.

siddhantac commented 8 months ago

Hi @charlespnh could you please try out the latest commit from main branch. I tested on mac as well as on Windows with WSL. I used hledger 1.31 on Windows with an Ubuntu distro.

Running make start should look like this

image

siddhantac commented 8 months ago

Closing due to inactivity. Feel free to create a new-issue if the error persists.