Mageia Bugzilla – Attachment 8437 Details for
Bug 19430
6_rc0: Unable to do an install ("Theme parsing error: <data>:1:33: Using Pango syntax for the font: style property is deprecated; please use CSS syntax <data>:1:18not a number")
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
patching Gtk3 for more debug info regarding CSS failures
gtk3-debug.patch (text/plain), 964 bytes, created by
Thierry Vignaud
on 2016-09-21 20:26:05 CEST
(
hide
)
Description:
patching Gtk3 for more debug info regarding CSS failures
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2016-09-21 20:26:05 CEST
Size:
964 bytes
patch
obsolete
>--- /tmp/Gtk3.pm 2016-09-21 20:24:53.766004541 +0200 >+++ /usr/lib/perl5/vendor_perl/5.22.2/Gtk3.pm 2016-09-21 19:32:09.983159184 +0200 >@@ -985,6 +985,19 @@ > > sub Gtk3::CssProvider::load_from_data { > my ($self, $data) = @_; >+ use MDK::Common 'backtrace'; >+ warn ">> Trace:\n" . backtrace(); >+ use Data::Dumper; >+ warn ">>Data=" .Dumper([ $data ]); >+ use lib qw(/usr/lib/libDrakX); >+ eval { require log; log::l(">> Trace:\n" . backtrace()); log::l(Dumper([ $data ])) }; >+ $self->signal_connect("parsing-error" => sub { warn Dumper \@_; >+ my ($prov, $section, $error) = @_; >+ warn "parent=", Dumper($section->get_parent); >+ warn "type=", Dumper($section->get_section_type); >+ warn "start_line=", Dumper($section->get_start_line); >+ warn Dumper($section->get_parent->get_section_type); >+ }); > return Glib::Object::Introspection->invoke ( > $_GTK_BASENAME, 'CssProvider', 'load_from_data', > $self, _unpack_unless_array_ref ($data));
--- /tmp/Gtk3.pm 2016-09-21 20:24:53.766004541 +0200 +++ /usr/lib/perl5/vendor_perl/5.22.2/Gtk3.pm 2016-09-21 19:32:09.983159184 +0200 @@ -985,6 +985,19 @@ sub Gtk3::CssProvider::load_from_data { my ($self, $data) = @_; + use MDK::Common 'backtrace'; + warn ">> Trace:\n" . backtrace(); + use Data::Dumper; + warn ">>Data=" .Dumper([ $data ]); + use lib qw(/usr/lib/libDrakX); + eval { require log; log::l(">> Trace:\n" . backtrace()); log::l(Dumper([ $data ])) }; + $self->signal_connect("parsing-error" => sub { warn Dumper \@_; + my ($prov, $section, $error) = @_; + warn "parent=", Dumper($section->get_parent); + warn "type=", Dumper($section->get_section_type); + warn "start_line=", Dumper($section->get_start_line); + warn Dumper($section->get_parent->get_section_type); + }); return Glib::Object::Introspection->invoke ( $_GTK_BASENAME, 'CssProvider', 'load_from_data', $self, _unpack_unless_array_ref ($data));
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 19430
: 8437 |
8438