TypicalAM / goread

Beautiful program to read your RSS/Atom feeds right in the terminal!
GNU General Public License v3.0
411 stars 16 forks source link

Error generating default config files #11

Closed bhainesva closed 1 year ago

bhainesva commented 1 year ago

Hello, I tried to install and run goread with the following commands:

go install github.com/TypicalAM/goread@latest
goread

I got this error from the second command:

Failed to load the cache: open /Users/bhaines/Library/Caches/goread/cache.json: no such file or directory, creating a new oneThere has been an error executing the commands: 'open /Users/bhaines/Library/Application Support/goread/urls.yml: no such file or directory'%

It looks like the /Users/bhaines/Library/Caches/goread and /Users/bhaines/Library/Application Support/goread directories weren't created. After creating them manually goread had this new error:

Failed to load the cache: unexpected end of JSON input, creating a new oneThere has been an error executing the commands: 'open /Users/bhaines/Library/Application Support/goread/urls.yml: no such file or directory'%                                                                                                                                                                                 

After manually creating the cache.json and urls.yml files goread runs successfully.

I'm using go version go1.20.6 darwin/amd64 on macOS Monterey 12.3.

Thanks!

TypicalAM commented 1 year ago

Hi, should be working as of now (pr #13 ). Will update release version soon

TypicalAM commented 1 year ago

Fixed in v1.3.2