espes / Slave-in-the-Magic-Mirror

Open source implementation of AirPlay Mirroring. WIP.
610 stars 122 forks source link

Key Error _crc_start #26

Open 591361884 opened 6 years ago

591361884 commented 6 years ago

Hi , While run pypy airplay.py ,it have some error:

Exception happened during processing of request from ('10.3.15.153', 50561) Traceback (most recent call last): File "/usr/lib/pypy/lib-python/2.7/SocketServer.py", line 596, in process_request_thread self.finish_request(request, client_address) File "/usr/lib/pypy/lib-python/2.7/SocketServer.py", line 331, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/pypy/lib-python/2.7/SocketServer.py", line 652, in init self.handle() File "/usr/lib/pypy/lib-python/2.7/BaseHTTPServer.py", line 342, in handle self.handle_one_request() File "/usr/lib/pypy/lib-python/2.7/BaseHTTPServer.py", line 328, in handle_one_request method() File "airplay.py", line 548, in do_ANNOUNCE con = self.server.parent.connections[device_id] File "airplay.py", line 765, in self.connections = defaultdict(lambda: AirplayConnection(self)) File "airplay.py", line 723, in init self.viewer = AirplayViewer(self) File "airplay.py", line 677, in init self.muxer.write_tables() File "/home/Documents/mnt/Slave-in-the-Magic-Mirror/Slave-in-the-Magic-Mirror/mpegts.py", line 381, in write_tables pat_data = program_association_section.build(pat) File "/usr/local/lib/pypy2.7/dist-packages/construct/core.py", line 212, in build self.build_stream(obj, stream) File "/usr/local/lib/pypy2.7/dist-packages/construct/core.py", line 219, in build_stream self._build(obj, stream, Container()) File "/usr/local/lib/pypy2.7/dist-packages/construct/core.py", line 689, in _build subobj = obj[sc.name] KeyError: '_crc_start'

have anybody konw the reason?THX!