** Attachment removed: "JournalErrors.txt" https://bugs.launchpad.net/ubuntu/+source/pillow-sane/+bug/1448448/+attachment/4383937/+files/JournalErrors.txt
** Attachment added: "minimal test case" https://bugs.launchpad.net/ubuntu/+source/pillow-sane/+bug/1448448/+attachment/4383939/+files/badscan.py ** Description changed: Basic python2 script to reproduce (assumes you have a single working - scanner seen by SANE): - - import sane - sane.init() - sane.open(sane.get_devices()[0][0]) + scanner seen by SANE) attached. fails with traceback: - File "/usr/lib/python2.7/dist-packages/sane.py", line 287, in open - new=SaneDev(devname) - File "/usr/lib/python2.7/dist-packages/sane.py", line 142, in __init__ - d['dev'] = _sane._open(devname) + File "/usr/lib/python2.7/dist-packages/sane.py", line 287, in open + new=SaneDev(devname) + File "/usr/lib/python2.7/dist-packages/sane.py", line 142, in __init__ + d['dev'] = _sane._open(devname) NameError: global name '_sane' is not defined - Fixed in upstream: https://bugs.archlinux.org/task/44168 ----------- Versions: python-sane:amd64 2.7.0-1ubuntu1 on Ubuntu 15.04; worked okay on 14.10 ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: python-sane 2.7.0-1ubuntu1 ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3 Uname: Linux 3.19.0-15-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.17.2-0ubuntu1 Architecture: amd64 CurrentDesktop: Unity Date: Sat Apr 25 13:41:32 2015 EcryptfsInUse: Yes InstallationDate: Installed on 2013-04-26 (728 days ago) InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424) SourcePackage: pillow-sane UpgradeStatus: Upgraded to vivid on 2015-04-24 (0 days ago) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1448448 Title: internal name snafu breaks pillow +sane (fixed in upstream) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pillow-sane/+bug/1448448/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs