Comments (5)
Build was success, but got an keypair related error as below when tried to run it.
What did I miss something ?
Generating new ed25519 keypair for b'aa5cb8df-7f14-4249-901a-5e748ce57a93'
Traceback (most recent call last):
File "ap2-receiver.py", line 213, in
LTPK = LTPK()
File "ap2-receiver.py", line 178, in init
announce_id, self.ltpk = Hap(PI).configure()
File "/airplay2/ap2/pairing/hap.py", line 335, in init
encryption_algorithm=serialization.NoEncryption()
File "/airplay2/ap2/pairing/hap.py", line 273, in set_ltsk
self.set_bytes(_id, 'LTSK', _value)
File "/airplay2/ap2/pairing/hap.py", line 199, in set_bytes
_val
File "/airplay2/ap2/pairing/hap.py", line 176, in create_entry
self.json_handler.put_store(self.store)
File "/airplay2/ap2/pairing/hap.py", line 155, in put_store
self.save_store()
File "/airplay2/ap2/pairing/hap.py", line 158, in save_store
self.save_json(self.store, self.path)
File "/airplay2/ap2/pairing/hap.py", line 142, in save_json
with open(path, mode="w", encoding="utf-8") as f:
FileNotFoundError: [Errno 2] No such file or directory: './pairings/ltsk.txt'
Same error for me.
from airplay2-receiver.
@najihun @Hanfrey VM/docker? In which case, try the 'fix' in #43 (comment)
from airplay2-receiver.
@najihun @Hanfrey VM/docker? In which case, try the 'fix' in #43 (comment)
Hi,
had now a deeper look in the fix then monday. The Volume Path in the docker-compose is wrong.
sudo docker run -it --rm --device /dev/snd --env AP2IFACE=eth0 --volume /home/pi/Downloads/airplay2-receiver/pairings/:/airplay2/pairings/ --net host invano/ap2-receiver
does start the container now. I can connect, and he does plays music, but the song is distorted.
Im on a Rasp 4
from airplay2-receiver.
Updated README with instructions which resolve this issue.
from airplay2-receiver.
see 2aa2613
from airplay2-receiver.
Related Issues (20)
- Error streaming from iPhone HOT 2
- Distorted Audio iPhone to macOS HOT 3
- Pair Setup fails - 'Hap' object has no attribute 'getDevicePassword' HOT 5
- Cannot run docker image: ModuleNotFoundError: No module named 'av' HOT 4
- much noisy or broken voice when playing songs. HOT 2
- Not listed "AirPlay Display" HOT 2
- RPI4 - Bullseye 64bit Issue or Container Issue (ver: Master) HOT 7
- [Windows] Worked a couple times, now repeats error HOT 5
- I can't receive a stream from Mojave – RTP ChaCha20_Poly1305 decrypt: ValueError('MAC check failed') HOT 8
- Receiver visible on iPhone's list but cannot connect HOT 1
- Unable to install within a python environment HOT 1
- The len() of class av.audio.frame.AudioFrame HOT 6
- [Windows 11 Home] Airplay receiver not visible to other devices HOT 1
- iPhone can't see device, iTunes says it's not supported HOT 1
- Building on W11 with VSBT2022 errors HOT 5
- Can't stream Apple Music to AP2R HOT 14
- Windows Network interface not found HOT 10
- Install of pinned av fails on Big Sur 11.7.10 HOT 6
- No module named 'Crypto' HOT 7
- ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from airplay2-receiver.