mrusme / neonmodem

Neon Modem Overdrive
https://neonmodem.com
GNU General Public License v3.0
582 stars 22 forks source link

[Discourse] IPFS works, Caddy does not. Why? #27

Closed IngwiePhoenix closed 1 year ago

IngwiePhoenix commented 1 year ago

Hello!

First off: I am so down with this synthwave branding, I love it! :D

Now, after getting the bin, I configured three sources:

The Lemmy instance doesnt work either - but that is already in #23 .

The IPFS community works flawlessly - but the Caddy one, doe snot:

{"level":"error","ts":1686839701.429568,"caller":"aggregator/aggregator.go:77","msg":"aggregator error: json: cannot unmarshal bool into Go struct field CategoryModel.category_list.categories.sort_ascending of type string\n","stacktrace":"github.com/mrusme/neonmodem/aggregator.(*Aggregator).ListPosts\n\t/home/runner/work/neonmodem/neonmodem/aggregator/aggregator.go:77\ngithub.com/mrusme/neonmodem/ui/views/posts.(*Model).refresh.func1\n\t/home/runner/work/neonmodem/neonmodem/ui/views/posts/posts.go:206\ngithub.com/charmbracelet/bubbletea.(*Program).handleCommands.func1.1\n\t/home/runner/g║                                                                                                                                                                                                    ║                                                                 {"level":"error","ts":1686839701.430567,"caller":"posts/posts.go:209","msg":"[<nil> <nil> json: cannot unmarshal bool into Go struct ║   q quit • ? more                                                                                                                                                                                  ║ui/views/posts/posts.go:209\ngithub.com/charmbracelet/bubbletea.(*Program).handleCommands.func1.1\n\t/home/runner/go/pkg/mod/github.com/charmbracelet/bubbletea@v0.23.1/tea.go:247"}

The output was quite butchered in the view, so here is a screenshot:

image

Got any ideas for this?

Thanks and kind regards!

mrusme commented 1 year ago

@IngwiePhoenix could you give it a try with the latest master?

IngwiePhoenix commented 1 year ago

That seems to work! git describe --tag gave me v1.0.2-29-g98c323d and commit seems to be 98c323d18bee8a0f06cc93d8d3aa8d7cf35723d6.

I had installed a release binary (1.0.2)