Git Product home page Git Product logo

Comments (11)

fauxmight avatar fauxmight commented on June 26, 2024 1

@derricw Issue resolved. This is working beautifully again on Arch. Many thanks.

from siggo.

derricw avatar derricw commented on June 26, 2024

Hey! This looks like you might have installed using go get. go get has some issues with getting correct dependency versions. Try building by cloning and using make build and see if that solves this issue.

Edit: just saw that you re-built from source. Hrrmmm... I'll try and test if I can. I don't have a FreeBSD box available. I can test on MacOS and Ubuntu.

from siggo.

kilix-git avatar kilix-git commented on June 26, 2024

Thanks for the reply.
I wonder what may've caused this, it's about a month since this problem started. I neglected it, thinking that some update will repair it automagically, stupid of me, I should've looked into it immediately, at least I would've known what may've caused it. Now it's too late to remember exactly, what packages got updated or what happened.

Another piece of info I realized:
scli has this same issue, while music player cmus (written in C, using curses UI) is with no such issues. What does scli and siggo have in common UI-wise?

from siggo.

fauxmight avatar fauxmight commented on June 26, 2024

Same issue on Arch linux, building from the 0.9.0 AUR entry.
https://aur.archlinux.org/packages/siggo/
Have tried on multiple terminal emulators, shifted fonts and font types (bitmap, xft).
Lost colors at the same time as the offset issue began.
I, too, have just used siggo anyway for the last month or so when I couldn't find an obvious answer to why the issue started.

I have rebuilt with a fresh go installation with no change to the UI effect mentioned here.

from siggo.

kilix-git avatar kilix-git commented on June 26, 2024

Yeah, I forgot to mention that too, I tried multiple terminal emulators, all of them had the same results. I also tried 2 or 3 different fonts, that also didn't help.

from siggo.

derricw avatar derricw commented on June 26, 2024

Hey guys, I am able to reproduce the error. It looks like somehow the contact names are read from the signal-cli data file sandwiched between some unicode that I'm not familiar with: \u2068 and \u2069

I am not sure why this is happening, but hopefully I can get you a fix soon.

from siggo.

sharksforarms avatar sharksforarms commented on June 26, 2024

Just trying this project out today, also confirming the issue on arch.

Possibly related: https://www.w3.org/International/questions/qa-bidi-unicode-controls

from siggo.

derricw avatar derricw commented on June 26, 2024

Hey guys, this should be fixed on master. Please try it out and re-open if you still see this issue.

from siggo.

sharksforarms avatar sharksforarms commented on June 26, 2024

@derricw Seems to have fixed it! Now running into a crash:

panic: runtime error: invalid memory address or nil pointer dereference [recovered]
        panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x7c423c]

goroutine 1 [running]:
github.com/rivo/tview.(*Application).Run.func1(0xc0002d61c0)
        /home/sharks/go/pkg/mod/github.com/rivo/[email protected]/application.go:244 +0x87
panic(0x827d80, 0xc5d2e0)
        /usr/lib/go/src/runtime/panic.go:965 +0x1b9
github.com/derricw/siggo/model.(*Conversation).HasStagedMessage(...)
        /tmp/siggo/model/model.go:338
github.com/derricw/siggo/model.(*Conversation).HasStagedData(...)
        /tmp/siggo/model/model.go:343
github.com/derricw/siggo/widgets.(*ContactListPanel).Render(0xc0001cf0c0)
        /tmp/siggo/widgets/contactlist.go:73 +0x3fc
github.com/derricw/siggo/widgets.(*ChatWindow).update(0xc0002c06c0)
        /tmp/siggo/widgets/chatwindow.go:432 +0x68
github.com/derricw/siggo/widgets.NewChatWindow.func3.1()
        /tmp/siggo/widgets/chatwindow.go:601 +0x2a
github.com/rivo/tview.(*Application).QueueUpdateDraw.func1()
        /home/sharks/go/pkg/mod/github.com/rivo/[email protected]/application.go:716 +0x2f
github.com/rivo/tview.(*Application).Run(0xc0002d61c0, 0x0, 0x0)
        /home/sharks/go/pkg/mod/github.com/rivo/[email protected]/application.go:371 +0x986
github.com/derricw/siggo/cmd.glob..func10(0xc65f40, 0xc99ef8, 0x0, 0x0)
        /tmp/siggo/cmd/root.go:121 +0x453
github.com/spf13/cobra.(*Command).execute(0xc65f40, 0xc000012210, 0x0, 0x0, 0xc65f40, 0xc000012210)
        /home/sharks/go/pkg/mod/github.com/spf13/[email protected]/command.go:842 +0x2c2
github.com/spf13/cobra.(*Command).ExecuteC(0xc65f40, 0x407f85, 0xc00006c058, 0x401410)
        /home/sharks/go/pkg/mod/github.com/spf13/[email protected]/command.go:943 +0x336
github.com/spf13/cobra.(*Command).Execute(...)
        /home/sharks/go/pkg/mod/github.com/spf13/[email protected]/command.go:883
github.com/derricw/siggo/cmd.Execute()
        /tmp/siggo/cmd/root.go:131 +0x31
main.main()
        /tmp/siggo/main.go:8 +0x25

Related: #41

from siggo.

kilix-git avatar kilix-git commented on June 26, 2024

Ok, I built it after fixing u_int type:
/usr/include/sys/_lock.h:38:2: error: unknown type name 'u_int' u_int lo_flags;
in dbus/transport_unixcred_freebsd.go:13

and now the issue with UI seems gone, thanks @derricw!

from siggo.

derricw avatar derricw commented on June 26, 2024

@sharksforarms Thanks. Since @kilix-git is reporting this particular problem fixed, I'll leave this one closed and work on #41.

from siggo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.