tambovchanin / macos-sierra-sane-binaries

Binaries of Sane for MacOS Sierra
MIT License
18 stars 3 forks source link

pref pane & interface don't work #1

Open practik opened 7 years ago

practik commented 7 years ago

Both files install fine on my Mac – thanks for updating the installers! – but unfortunately they don't actually work.

The preference pane seems to be able to see all the configuration files, but it won't let me actually configure them – the boxes for "Configure" and "Firmware" aren't clickable.

I haven't tried to use the interface, but in the Finder I see that its icon is overlaid with the slashed-circle symbol that indicates a nonfunctional application.

I see that the version numbers of both files match the El Capitan versions at http://www.ellert.se/twain-sane/. Could it be that these are simply not the right versions for Sierra?

onpaws commented 7 years ago

Ellert.se image

vs here: image

Pacifist tells me that this installer doesn't ship with a binary. (?) Not an expert on Mac OS X installers but it seems like a mistake.

onpaws commented 7 years ago

Combing through the Ellert.se installer a bit more, I can see these install time checks:

function InstallationCheck() {
  if((system.compareVersions(system.version.ProductVersion, '10.11') < 0) ||
     (system.compareVersions(system.version.ProductVersion, '10.12') >= 0)) {
    my.result.title = system.localizedString('WrongVersionTitle');
    my.result.message = system.localizedString('WrongVersionMessage');
    my.result.type = 'Fatal';
    return false;
  }
  if(!system.files.fileExistsAtPath('/usr/local/lib/libusb.dylib')) {
    my.result.title = system.localizedString('NoLibusbTitle');
    my.result.message = system.localizedString('NoLibusbMessage');
    my.result.type = 'Fatal';
    return false;
  }
  if(!system.files.fileExistsAtPath('/usr/local/lib/libsane.dylib')) {
    my.result.title = system.localizedString('NoSANETitle');
    my.result.message = system.localizedString('NoSANEMessage');
    my.result.type = 'Fatal';
    return false;
  }
  return true;
}

Thus I'd recommend using homebrew to install the SANE backend: brew install sane-backend

Now I see scanner drivers in System Preferences->SANE image

practik commented 7 years ago

See them, yes – but can you actually configure them? I couldn't, and I had installed the SANE backends using Homebrew as you described. Does the pref pane actually work for you?

onpaws commented 7 years ago

So for my purposes I was trying to setup an old Canon LiDE scanner for a non-technical user.

After installing sane-backend the command scanimage started working. So I didn't try to configure.

In the end, my user preferred a GUI so we went with VueScan.

practik commented 7 years ago

VueScan is working for me too. Thanks, Pat!

onpaws commented 7 years ago

Happy to hear that. Happy scanning!

practik commented 7 years ago

@tambovchanin, you may have misunderstood what's going on here. The pref pane and interface still don't work – I've just given up on them. But as far as I know the issue still exists, so the thread should not be closed.

practik commented 7 years ago

Thanks, @tambovchanin !

adrianmihalko commented 7 years ago

For me, prefpane and scanimage is working, but vuescan and image capture doesnt find anything.

Do you have solution to this?

genose commented 5 years ago

Got the same issue than @adrianmihalko with "Image Capture.app" on Sierra 10.12.6. No Devices showed, but scanimage working only once, after that i had to un-plug and re-plug the scanner.