Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Telegrand can't be opened #428

Closed
Cherro59 opened this issue Jan 14, 2023 · 5 comments
Closed

Telegrand can't be opened #428

Cherro59 opened this issue Jan 14, 2023 · 5 comments
Labels
invalid This doesn't seem right

Comments

@Cherro59
Copy link

No description provided.

@Cherro59
Copy link
Author

Cherro59 commented Jan 14, 2023

So I compiled telegrand by myself via meson(without api id). But it can be opened.

Logs with RUST_BACKTRACE=FULL:

(telegrand:20943):` Gtk-CRITICAL **: 13:50:50.850: Error building template class 'ContentChatHistory' for an instance of type 'ContentChatHistory': .:0:0 Invalid property: GtkListView.reversed
thread 'main' panicked at 'Failed to retrieve template child. Please check that it has been bound and has a #[template_child] attribute.', /media/Hard_Drive/code/telegrand-melix99-auto-update-string/build/cargo-home/registry/src/github.com-1ecc6299db9ec823/gtk4-0.5.2/src/subclass/widget.rs:1278:17
stack backtrace:
   0:     0x55b5f36a877f - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h9d54c163a2784482
   1:     0x55b5f36c4d9e - core::fmt::write::h08b100011d70beb0
   2:     0x55b5f3690595 - std::io::Write::write_fmt::h9e440623ffb47937
   3:     0x55b5f36a8535 - std::sys_common::backtrace::print::h78722fe5ee770b03
   4:     0x55b5f3698fcf - std::panicking::default_hook::{{closure}}::hba76f8efeca4b607
   5:     0x55b5f3698c88 - std::panicking::default_hook::hd32cf5630ce14fc6
   6:     0x55b5f36995db - std::panicking::rust_panic_with_hook::h43464dfce1ee1b8b
   7:     0x55b5f36a8a91 - std::panicking::begin_panic_handler::{{closure}}::hef6013169d6db333
   8:     0x55b5f36a88cc - std::sys_common::backtrace::__rust_end_short_backtrace::h41c05308f039fa28
   9:     0x55b5f3699182 - rust_begin_unwind
  10:     0x55b5f308fd63 - core::panicking::panic_fmt::hbb4997eeed2e047a
  11:     0x55b5f33775c0 - <telegrand::session::content::chat_history::imp::ChatHistory as gtk4::subclass::widget::CompositeTemplate>::check_template_children::h9c9db114dd9ef489
  12:     0x55b5f32ef772 - glib::subclass::types::instance_init::h5286e45059e01994
  13:     0x7f9c91d5e6b8 - g_type_create_instance
  14:     0x7f9c91d414b0 - <unknown>
  15:     0x7f9c91d42ab8 - g_object_new_with_properties
  16:     0x7f9c91d43851 - g_object_new
  17:     0x7f9c8feee421 - <unknown>
  18:     0x7f9c8fef1a5b - <unknown>
  19:     0x7f9c8fee539f - <unknown>
  20:     0x7f9c8fef2d33 - <unknown>
  21:     0x7f9c8fee7449 - gtk_builder_extend_with_template
  22:     0x7f9c900ff16c - gtk_widget_init_template
  23:     0x55b5f32eeeeb - glib::subclass::types::instance_init::h43e81d9817947f27
  24:     0x7f9c91d5e6b8 - g_type_create_instance
  25:     0x7f9c91d414b0 - <unknown>
  26:     0x7f9c91d42ab8 - g_object_new_with_properties
  27:     0x7f9c91d43851 - g_object_new
  28:     0x7f9c8feee421 - <unknown>
  29:     0x7f9c8fef1a5b - <unknown>
  30:     0x7f9c8fee539f - <unknown>
  31:     0x7f9c8fef2d33 - <unknown>
  32:     0x7f9c8fee7449 - gtk_builder_extend_with_template
  33:     0x7f9c900ff16c - gtk_widget_init_template
  34:     0x55b5f32f163d - glib::subclass::types::instance_init::hdc3e7ec5d9de1a4a
  35:     0x7f9c91d5e6b8 - g_type_create_instance
  36:     0x7f9c91d414b0 - <unknown>
  37:     0x7f9c91d42a9b - g_object_new_with_properties
  38:     0x55b5f35fe7a8 - glib::object::Object::new_internal::hccdf62d28dd494b7
  39:     0x55b5f35fe05c - glib::object::Object::with_values::hf27f71d1d7632200
  40:     0x55b5f3359afb - glib::object::ObjectBuilder<O>::build::hdc2b40639420d98c
  41:     0x55b5f3262e7f - telegrand::session::Session::new::h21466d548587c41c
  42:     0x55b5f33455bb - telegrand::session_manager::SessionManager::add_new_session::h84d0cba39c79e104
  43:     0x55b5f33a0c40 - <telegrand::session_manager::imp::SessionManager as glib::subclass::object::ObjectImpl>::constructed::hb4e7ae8be98852f2
  44:     0x7f9c91d41586 - <unknown>
  45:     0x7f9c91d42ab8 - g_object_new_with_properties
  46:     0x7f9c91d43851 - g_object_new
  47:     0x7f9c8feee421 - <unknown>
  48:     0x7f9c8fef1a5b - <unknown>
  49:     0x7f9c8fee539f - <unknown>
  50:     0x7f9c8fef2d33 - <unknown>
  51:     0x7f9c8fee7449 - gtk_builder_extend_with_template
  52:     0x7f9c900ff16c - gtk_widget_init_template
  53:     0x55b5f32edb06 - glib::subclass::types::instance_init::h11564c771a8b4b1a
  54:     0x7f9c91d5e6b8 - g_type_create_instance
  55:     0x7f9c91d414b0 - <unknown>
  56:     0x7f9c91d42a9b - g_object_new_with_properties
  57:     0x55b5f35fe7a8 - glib::object::Object::new_internal::hccdf62d28dd494b7
  58:     0x55b5f35fe05c - glib::object::Object::with_values::hf27f71d1d7632200
  59:     0x55b5f3359afb - glib::object::ObjectBuilder<O>::build::hdc2b40639420d98c
  60:     0x55b5f33a3571 - telegrand::window::Window::new::h03ff3aa39d24c8d6
  61:     0x55b5f3254044 - <telegrand::application::imp::Application as gio::subclass::application::ApplicationImpl>::activate::hf1e1e9b010b55c6d
  62:     0x7f9c91d3b769 - <unknown>
  63:     0x7f9c91d5620f - g_signal_emit_valist
  64:     0x7f9c91d5651f - g_signal_emit
  65:     0x7f9c8fbbe458 - <unknown>
  66:     0x55b5f322e266 - gio::subclass::application::ApplicationImpl::local_command_line::ha05dbd9b7989eff6
  67:     0x55b5f31d466f - gio::subclass::application::application_local_command_line::h824da258bf47d8d7
  68:     0x7f9c8fbbe5e6 - g_application_run
  69:     0x55b5f31e753c - <O as gio::application::ApplicationExtManual>::run::h818d5fd8d82acc1d
  70:     0x55b5f32de089 - telegrand::main::he89015d07b2744ae
  71:     0x55b5f322e633 - std::sys_common::backtrace::__rust_begin_short_backtrace::h205e58a0e9cb2cda
  72:     0x55b5f31d4839 - std::rt::lang_start::{{closure}}::hf17c1a4366739910
  73:     0x55b5f368f324 - std::rt::lang_start_internal::h83324437dbcc2561
  74:     0x55b5f32e7ff5 - main
  75:     0x7f9c8f6dd5b0 - __libc_start_call_main
  76:     0x7f9c8f6dd679 - __libc_start_main@GLIBC_2.2.5
  77:     0x55b5f30900b5 - _start
                               at /home/abuild/rpmbuild/BUILD/glibc-2.36/csu/../sysdeps/x86_64/start.S:115

@Cherro59 Cherro59 changed the title Telegrand refu Telegrand can't be opened Jan 14, 2023
@Newbytee
Copy link
Contributor

Newbytee commented Jan 14, 2023

Your build of GTK 4 needs to have this patch included: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4447

@Cherro59
Copy link
Author

So how I can patch my gtk4 in opensuse?

@Newbytee
Copy link
Contributor

Newbytee commented Jan 14, 2023

That's something you're better off asking in an OpenSUSE help group. The Flatpak package is the only officially supported method of installing Telegrand: https://nightly.link/melix99/telegrand/workflows/ci/main/telegrand-x86_64

@Cherro59
Copy link
Author

Ok,thanks

@melix99 melix99 added the invalid This doesn't seem right label Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants