question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

After installing, can't operate the scan command

See original GitHub issue

Describe the bug

when trying to run scan command I run into (seems like) dependencies issue. The lib is installed in a homebridge image on a RPI 4

Error log

pi@homebridge:~$ atvremote scan
Traceback (most recent call last):
  File "/usr/local/bin/atvremote", line 5, in <module>
    from pyatv.scripts.atvremote import main
  File "/usr/local/lib/python3.9/dist-packages/pyatv/__init__.py", line 18, in <module>
    from pyatv.core.scan import (
  File "/usr/local/lib/python3.9/dist-packages/pyatv/core/scan.py", line 32, in <module>
    from pyatv.helpers import get_unique_id
  File "/usr/local/lib/python3.9/dist-packages/pyatv/helpers.py", line 6, in <module>
    import miniaudio
  File "/home/pi/.local/lib/python3.9/site-packages/miniaudio.py", line 22, in <module>
    from _miniaudio import ffi, lib
ImportError: /home/pi/.local/lib/python3.9/site-packages/_miniaudio.abi3.so: undefined symbol: __atomic_load_8

How to reproduce the bug?

pip3 install pyatv atvremote scan

What is expected behavior?

I would expect the scan to work 😃

Operating System

Linux (Raspberry Pi 4 B+)

Python

3.9

pyatv

0.10.0

Device

Apple TV 4 tvOS 15.1

Additional context

nothing more

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
postlundcommented, Jul 10, 2022

No, this is a pyminiaudio bug affecting certain configurations. There’s an issue for it here: https://github.com/irmen/pyminiaudio/issues/52 A new version of the library must be released with a fix.

0reactions
NebzHBcommented, Aug 14, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Scanner Not Working in Windows 10 - Driver Easy
1) Hold Down Windows logo and press R key at the same time to invoke the run box. 2) Type cmd and click...
Read more >
SFC Scannow Not Working on Windows (Solved) - STechies
Run SFC Scan in Safe Mode; Run CHKDSK (Check Disk); Alter the Security Descriptions; Enable Windows Module Service; Scan Windows Installation for Error ......
Read more >
Use the System File Checker tool to repair missing or ...
The sfc /scannow command will scan all protected system files, and replace corrupted files with a cached copy that is located in a...
Read more >
SCANNER WON'T SCAN SINCE INSTALLING WINDOWS 10 ...
Open up the "Run" window again by pressing Win-key+R, in the command line type in "spool" in here open the "drivers" folder, in...
Read more >
Quickly Fix – SFC Scannow Not Working (Focus on 2 Cases)
Solution 1. Run SFC Scannow Command in Safe Mode · Solution 2. Run Check Disk · Solution3. Change Security Descriptors · Solution 4....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found