xeny
xeny
RRailway
Created by xeny on 3/17/2024 in #✋|help
pyzbar library
hey brody, thank you very much for taking your time to help me with this, ive merged the pr and will work on making it work with the actual repo. sorry for my late reply, but yeah thank you so much. ill update you and let you know if it all goes well.
38 replies
RRailway
Created by xeny on 3/17/2024 in #✋|help
pyzbar library
let me know when u have time please
38 replies
RRailway
Created by xeny on 3/17/2024 in #✋|help
pyzbar library
its fine, thank you for ur help so far
38 replies
RRailway
Created by xeny on 3/17/2024 in #✋|help
pyzbar library
do u think a dockerfile might make it work
38 replies
RRailway
Created by xeny on 3/17/2024 in #✋|help
pyzbar library
thank u tho
38 replies
RRailway
Created by xeny on 3/17/2024 in #✋|help
pyzbar library
i've heard of them but i've never used docker so yeah :l
38 replies
RRailway
Created by xeny on 3/17/2024 in #✋|help
pyzbar library
sadly not 😕
38 replies
RRailway
Created by xeny on 3/17/2024 in #✋|help
pyzbar library
yeah i've been working on the minimal one all this time
38 replies
RRailway
Created by xeny on 3/17/2024 in #✋|help
pyzbar library
thats a fair point 😭
38 replies
RRailway
Created by xeny on 3/17/2024 in #✋|help
pyzbar library
thanks for this, unfortunately it still does not work but i very much appreciate your help
38 replies
RRailway
Created by xeny on 3/17/2024 in #✋|help
pyzbar library
i've removed the apt commands from the startcommand and put them in nixpacks.toml like this
[phases.setup]
aptPkgs = ['libzbar-dev', 'libzbar0', 'zbar-tools']
[phases.setup]
aptPkgs = ['libzbar-dev', 'libzbar0', 'zbar-tools']
altho it still says ImportError: Unable to find zbar shared library
38 replies
RRailway
Created by xeny on 3/17/2024 in #✋|help
pyzbar library
much appreciated, will do
38 replies
RRailway
Created by xeny on 3/17/2024 in #✋|help
pyzbar library
i see, thank you. i'll try use that
38 replies
RRailway
Created by xeny on 3/17/2024 in #✋|help
pyzbar library
oh okay, how would you suggest i do it please
38 replies
RRailway
Created by xeny on 3/17/2024 in #✋|help
pyzbar library
deploy this and it should reproduce the error
38 replies
RRailway
Created by xeny on 3/17/2024 in #✋|help
pyzbar library
38 replies
RRailway
Created by xeny on 3/17/2024 in #✋|help
pyzbar library
yep
38 replies
RRailway
Created by xeny on 3/17/2024 in #✋|help
pyzbar library
deploy logs
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
libzbar-dev is already the newest version (0.23.92-4build2).
libzbar0 is already the newest version (0.23.92-4build2).
zbar-tools is already the newest version (0.23.92-4build2).
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
Traceback (most recent call last):
File "main.py", line 5, in <module>
from moving_barcode import process_gif
File "/app/moving_barcode.py", line 2, in <module>
from pyzbar.pyzbar import decode
File "/opt/venv/lib/python3.8/site-packages/pyzbar/pyzbar.py", line 7, in <module>
from .wrapper import (
File "/opt/venv/lib/python3.8/site-packages/pyzbar/wrapper.py", line 151, in <module>
zbar_version = zbar_function(
File "/opt/venv/lib/python3.8/site-packages/pyzbar/wrapper.py", line 148, in zbar_function
return prototype((fname, load_libzbar()))
File "/opt/venv/lib/python3.8/site-packages/pyzbar/wrapper.py", line 127, in load_libzbar
libzbar, dependencies = zbar_library.load()
File "/opt/venv/lib/python3.8/site-packages/pyzbar/zbar_library.py", line 65, in load
raise ImportError('Unable to find zbar shared library')
ImportError: Unable to find zbar shared library
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
libzbar-dev is already the newest version (0.23.92-4build2).
libzbar0 is already the newest version (0.23.92-4build2).
zbar-tools is already the newest version (0.23.92-4build2).
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
Traceback (most recent call last):
File "main.py", line 5, in <module>
from moving_barcode import process_gif
File "/app/moving_barcode.py", line 2, in <module>
from pyzbar.pyzbar import decode
File "/opt/venv/lib/python3.8/site-packages/pyzbar/pyzbar.py", line 7, in <module>
from .wrapper import (
File "/opt/venv/lib/python3.8/site-packages/pyzbar/wrapper.py", line 151, in <module>
zbar_version = zbar_function(
File "/opt/venv/lib/python3.8/site-packages/pyzbar/wrapper.py", line 148, in zbar_function
return prototype((fname, load_libzbar()))
File "/opt/venv/lib/python3.8/site-packages/pyzbar/wrapper.py", line 127, in load_libzbar
libzbar, dependencies = zbar_library.load()
File "/opt/venv/lib/python3.8/site-packages/pyzbar/zbar_library.py", line 65, in load
raise ImportError('Unable to find zbar shared library')
ImportError: Unable to find zbar shared library
38 replies
RRailway
Created by xeny on 3/17/2024 in #✋|help
pyzbar library
startCommand in railway.json "startCommand": "sudo apt-get update && sudo apt-get install libzbar-dev libzbar0 zbar-tools -y && python3 main.py",
38 replies
RRailway
Created by xeny on 3/17/2024 in #✋|help
pyzbar library
52094dae-9587-400c-9449-0c0ac30d2014
38 replies