vhakulinen / gnvim

GUI for neovim, without any web bloat
MIT License
1.84k stars 69 forks source link

gnvim runs, but the executed page does not display anything #216

Closed mohmmadView closed 8 months ago

mohmmadView commented 11 months ago

os : GNU/Linux localhost.localdomain 5.14.21-150400.24.41-default #1 SMP PREEMPT_DYNAMIC Fri Jan 13 08:55:22 UTC 2023 (1d4442d) x86_64 x86_64 x86_64 GNU/Linux Operating System: openSUSE Leap 15.4 KDE Plasma Version: 5.24.4 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 Kernel Version: 5.14.21-150400.24.41-default (64-bit) Graphics Platform: X11 Processors: 12 × 12th Gen Intel® Core™ i5-12400 Memory: 15.4 GiB of RAM Graphics Processor: Mesa Intel® Graphics

1. make build compiling one warning finished

makeBuild

2.Fix warning in file row.rs

fix-warning__file--row rs

3. test compiling not warning fix

fix-warning__file--row rs

4.export RUST_BACKTRACE=1 in file ~/.zshrc source ~/.zshrc

5.run gnvim in terminal erorr

fix-Bug__RUST_BACKTRACE=1__NEW-BUG

6. gnvim runs, but the executed page does not display anything

run__gnvim

Thank you for creating this program. If you have a guide, I would be grateful if it could be implemented

vhakulinen commented 11 months ago

Which neovim version are you using? Gnvim requires neovim 0.9.

MahdiGMK commented 10 months ago

I have the same issue

$ nvim -v NVIM v0.9.4 Build type: Release LuaJIT 2.1.1696795921 system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/usr/share/nvim" Run :checkhealth for more info

vhakulinen commented 10 months ago

@MahdiGMK what is the error you're getting? The original error is from because of older nvim version.

MahdiGMK commented 10 months ago

thread 'main' panicked at 'failed to decode redraw notification: Syntax("error while decoding value: invalid length 5, expected fewer elements in array")', ui/src/components/appwindow/imp.rs:78:26 stack backtrace: 0: 0x559f554ad3e1 - 1: 0x559f554d4dff - 2: 0x559f554aa837 - 3: 0x559f554ad1f5 - 4: 0x559f554ae603 - 5: 0x559f554ae394 - 6: 0x559f554aeb89 - 7: 0x559f554aea87 - 8: 0x559f554ad846 - 9: 0x559f554ae7d2 - 10: 0x559f5533f4d3 - 11: 0x559f5533f913 - 12: 0x559f5539088a - 13: 0x559f5548d77a - 14: 0x559f5548ce38 - 15: 0x7f6e88799f19 - 16: 0x7f6e887f82b7 - 17: 0x7f6e88798112 - g_main_context_iteration 18: 0x7f6e889cdaf6 - g_application_run 19: 0x559f55344d55 - 20: 0x559f5536397a - 21: 0x559f553a0543 - 22: 0x559f55398849 - 23: 0x559f554a6b5b - 24: 0x559f55364355 - 25: 0x7f6e88498cd0 - 26: 0x7f6e88498d8a - __libc_start_main 27: 0x559f5533fbd5 - 28: 0x0 -

MahdiGMK commented 10 months ago

any idea? @vhakulinen

mohmmadView commented 10 months ago

NVIM v0.9.2 Build type: Release LuaJIT 2.1.1692716794

system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/__w/neovim/neovim/build/nvim.AppDir/usr/share/nvim"

Run :checkhealth for more info You have new mail.

szdytom commented 9 months ago

I have encountered the same problem. I'm use a build script from AUR.

LOGS:

(gnvim:2108910): Gtk-WARNING **: 15:25:57.196: No IM module matching GTK_IM_MODULE=fcitx found
thread 'main' panicked at ui/src/components/shell/mod.rs:70:31:
nvim_ui_try_resize failed: Error(Array([Integer(PosInt(0)), String(Utf8String { s: Ok("UI not attached to channel: 1") })]))
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' panicked at ui/src/components/appwindow/imp.rs:78:26:
failed to decode redraw notification: Syntax("error while decoding value: invalid length 5, expected fewer elements in array")

(gnvim:2108910): Gtk-WARNING **: 15:26:02.476: Finalizing Overflower 0x563f21f2f580, but it still has children left:
   - Omnibar 0x563f21f7c1d0

(gnvim:2108910): Gtk-WARNING **: 15:26:02.476: Finalizing Tabline 0x563f22021b60, but it still has children left:
   - GtkBox 0x563f220226a0