App doesn't start with "Unable to find zbar shared library" error
Created by: fuzzmz
Reporter info
* Distribution - Ubuntu 17.10
* Gtk+ 3.0 version - 3.22.25-0ubuntu0.1
* Desktop environment - GNOME Shell 3.26.2
Authenticator version Updating: com.github.bilelmoussaoui.Authenticator/x86_64/stable from flathub No updates. Updating: com.github.bilelmoussaoui.Authenticator.Locale/x86_64/stable from flathub No updates
Actual issue Authenticator crashes with following stack trace:
Traceback (most recent call last):
File "/app/bin/authenticator", line 31, in <module>
from Authenticator import Application
File "/app/lib/python3.5/site-packages/Authenticator/__init__.py", line 19, in <module>
from .application import Application
File "/app/lib/python3.5/site-packages/Authenticator/application.py", line 24, in <module>
from .widgets import Window, AboutDialog
File "/app/lib/python3.5/site-packages/Authenticator/widgets/__init__.py", line 19, in <module>
from .window import Window
File "/app/lib/python3.5/site-packages/Authenticator/widgets/window.py", line 22, in <module>
from ..models import Logger, Settings, Database
File "/app/lib/python3.5/site-packages/Authenticator/models/__init__.py", line 20, in <module>
from .qr_reader import QRReader
File "/app/lib/python3.5/site-packages/Authenticator/models/qr_reader.py", line 24, in <module>
from pyzbar.pyzbar import decode
File "/app/lib/python3.5/site-packages/pyzbar-0.1.4-py3.5.egg/pyzbar/pyzbar.py", line 8, in <module>
from .wrapper import (
File "/app/lib/python3.5/site-packages/pyzbar-0.1.4-py3.5.egg/pyzbar/wrapper.py", line 166, in <module>
c_uint_p, # minor
File "/app/lib/python3.5/site-packages/pyzbar-0.1.4-py3.5.egg/pyzbar/wrapper.py", line 159, in zbar_function
return prototype((fname, load_libzbar()))
File "/app/lib/python3.5/site-packages/pyzbar-0.1.4-py3.5.egg/pyzbar/wrapper.py", line 135, in load_libzbar
raise ImportError('Unable to find zbar shared library')
ImportError: Unable to find zbar shared library
Steps to reproduce (if you knew)
flatpak install flathub com.github.bilelmoussaoui.Authenticator
flatpak run com.github.bilelmoussaoui.Authenticator
Other Note (feature-request, question, etc...)
Tried manually installing libzbar-dev
but issue still reproduces.