Exception `TypeError’ at gfselect.rb:53 - GMountMountFlags is not a
GFlags
passing in the GLib ‘NONE’ constant does not make any difference.
Any solution?
ii gvfs-bin 1.8.2-1smbdom1 userspace
virtual filesystem - binaries
gio2 (1.0.0)
Thanks
Michal
$ irb
irb(main):001:0> remote = GLib::File.new_for_commandline_arg
“smb://server/share”
=> #<#Class:0x7fd2d20abea8:0x7fd2d20abca0 ptr=0x11e2e70>
irb(main):002:0> remote.mount_enclosing_volume
=> #<#Class:0x7fd2d20abea8:0x7fd2d20abca0 ptr=0x11e2e70>
irb(main):003:0> remote.mount_enclosing_volume
=> #<#Class:0x7fd2d20abea8:0x7fd2d20abca0 ptr=0x11e2e70>
irb(main):004:0> remote.mount_enclosing_volume 0
TypeError: GMountMountFlags is not a GFlags
from (irb):4:in mount_enclosing_volume' from (irb):4 irb(main):005:0> remote.mount_enclosing_volume GLib::Mount::MOUNT_NONE TypeError: GMountMountFlags is not a GFlags from (irb):5:inmount_enclosing_volume’
from (irb):5
irb(main):005:0> remote.mount_enclosing_volume GLib::Mount::MOUNT_NONE
TypeError: GMountMountFlags is not a GFlags
from (irb):5:in `mount_enclosing_volume’
from (irb):5
irb(main):005:0> remote.mount_enclosing_volume GLib::Mount::MOUNT_NONE
TypeError: GMountMountFlags is not a GFlags
from (irb):5:in `mount_enclosing_volume’
from (irb):5