Skip to content

add something to control glib log output #119

Closed
@felixbuenemann

Description

@felixbuenemann

I'm not sure if this is a libvips or ruby-vips problem, but suppressing warnings by setting the VIPS_WARNING environment variable to 0 no longer works.

Instead every warning is printed with a complete backtrace:

VIPS-WARNING **: Incompatible type for "RichTIFFIPTC"; tag ignored
	from /Users/felix/.rvm/gems/ruby-2.4.1/gems/gobject-introspection-3.1.8/lib/gobject-introspection/loader.rb:576:in `block in define_method'
	from /Users/felix/.rvm/gems/ruby-2.4.1/gems/ruby-vips-1.0.6/lib/vips/call.rb:185:in `build'
	from /Users/felix/.rvm/gems/ruby-2.4.1/gems/ruby-vips-1.0.6/lib/vips/call.rb:253:in `invoke'
	from /Users/felix/.rvm/gems/ruby-2.4.1/gems/ruby-vips-1.0.6/lib/vips/call.rb:282:in `call_base'
	from /Users/felix/.rvm/gems/ruby-2.4.1/gems/ruby-vips-1.0.6/lib/vips/image.rb:632:in `write_to_file'
…

I'm using ruby-vips 1.0.6 and gobject-introspection 3.1.8 with vips 8.5.6 on ruby 2.4.1.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions