#58274 closed defect (worksforme)

sane-backends and dbus problem after upgrade to macOS 10.14.4 (18E226)

Reported by: Kyshman (Tony Kinyua) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc: michael.klein@…, Kyshman (Tony Kinyua)
Port: sane-backends

Description (last modified by Kyshman (Tony Kinyua))

After an upgrade to macOS 10.14.4 sane applications like xsane, scanimage are failing with a dbus error.

> scanimage -L
dbus[85732]: Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
Assertion failed: (p), function avahi_threaded_poll_lock, file thread-watch.c, line 171.
fish: 'scanimage -L' terminated by signal SIGABRT (Abort)

After setting up debug more information is provided.

bash-3.2$ SANE_DEBUG_NET=3 scanimage -L
[sanei_debug] Setting debug level of net to 3.
[net] sane_init: authorize != null, version_code != null
dbus[57747]: Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
[net] net_avahi_init: could not create Avahi client: Memory exhausted
[net] net_avahi_init: Avahi init failed, support disabled
[net] sane_init: SANE net backend version 1.0.14 (AF-indep+IPv6) from sane-backends 1.0.27
[net] sane_init: Client has little endian byte order
[net] sane_init: searching for config file
[net] sane_init: done reading config
[net] sane_init: evaluating environment variable SANE_NET_HOSTS
[net] sane_init: evaluating environment variable SANE_NET_TIMEOUT
[net] sane_init: done
[net] sane_get_devices: local_only = 0
[net] sane_get_devices: finished (0 devices)

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
[net] sane_exit: exiting
[net] sane_exit: finished.

This setup was working before the upgrade to 10.14.4

Change History (7)

comment:1 Changed 22 months ago by Kyshman (Tony Kinyua)

Cc: Kyshman added
Description: modified (diff)

comment:2 Changed 22 months ago by mf2k (Frank Schima)

Keywords: sane-backends dbus avahi removed

comment:3 Changed 22 months ago by dbevans (David B. Evans)

This sounds like dbus not being initialized properly. Try

$ sudo port load dbus

and see if that helps.

comment:4 Changed 22 months ago by Kyshman (Tony Kinyua)

I had already tried this. It makes no difference whether I use the

port load dbus

or

launchctl

manual method.

Since I had a one day old back up on Time Machine I have gone back to Mac OS: Version 10.14.3 (18D109)

I will then test on this version then upgrade and retest. Will keep this forum updated.

comment:5 Changed 22 months ago by Kyshman (Tony Kinyua)

Version 10.14.3 (18D109). No issues at all. Now upgrading

comment:6 Changed 22 months ago by Kyshman (Tony Kinyua)

Finally am on Version: 10.14.4 (18E226).

Its weird but this time around I have no issue using the sane-backends and even xsane is working.

tony@tk /p/tmp> scanimage -L
device `net:sahara:hp5590:libusb:001:004' is a HP 5590 Workgroup scanner

The restored back up plus the upgrade must have restored a file somewhere that had been messed up but for the life of me I cant tell which/what it was.

Consider this closed for now.

Regards Tony

comment:7 Changed 22 months ago by kencu (Ken)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.