We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
============================================================================ test session starts ============================================================================= platform linux -- Python 3.10.5, pytest-7.1.2, pluggy-1.0.0 rootdir: /home/lauren/aports/testing/gnomecast/src/gnomecast-d42d8915838b01c5cadacb322909e08ffa455d4f collected 2 items test_gnomecast.py FF [100%] ================================================================================== FAILURES ================================================================================== ____________________________________________________________________________ TestGnomecast.test_1 ____________________________________________________________________________ self = <test_gnomecast.TestGnomecast testMethod=test_1> def test_1(self): fmd = gnomecast.FileMetadata( 'pCU2GE07KW4.mkv', _ffmpeg_output = ''' ffprobe version 4.1.4 Copyright (c) 2007-2019 the FFmpeg developers built with gcc 9 (GCC) configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --extra-ldflags='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' --extra-cflags=' ' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libcdio --enable-libdrm --enable-libjack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzvbi --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-libmfx --enable-runtime-cpudetect libavutil 56. 22.100 / 56. 22.100 libavcodec 58. 35.100 / 58. 35.100 libavformat 58. 20.100 / 58. 20.100 libavdevice 58. 5.100 / 58. 5.100 libavfilter 7. 40.101 / 7. 40.101 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 3.100 / 5. 3.100 libswresample 3. 3.100 / 3. 3.100 libpostproc 55. 3.100 / 55. 3.100 Input #0, matroska,webm, from 'pCU2GE07KW4.mkv': Metadata: COMPATIBLE_BRANDS: iso6avc1mp41 MAJOR_BRAND : dash MINOR_VERSION : 0 ENCODER : Lavf58.20.100 Duration: 00:41:45.28, start: -0.007000, bitrate: 1303 kb/s Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc (default) Metadata: HANDLER_NAME : ISO Media file produced by Google Inc. DURATION : 00:41:45.269000000 Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp (default) Metadata: DURATION : 00:41:45.281000000 ''') fmd.wait() self.assertEqual(fmd.container, 'mkv') self.assertEqual(len(fmd.video_streams), 1) self.assertEqual(fmd.video_streams[0].index, '0:0') self.assertEqual(fmd.video_streams[0].codec, 'h264') self.assertEqual(len(fmd.audio_streams), 1) self.assertEqual(fmd.audio_streams[0].index, '0:1') self.assertEqual(fmd.audio_streams[0].codec, 'opus') self.assertEqual(fmd.audio_streams[0].title, 'eng') self.assertEqual(fmd.audio_streams[0].channels, 2) self.assertEqual(len(fmd.subtitles), 0) cast = FakeCast(cast_type='video', manufacturer='Unknown manufacturer', model_name='Chromecast') > transcoder = gnomecast.Transcoder(cast, fmd, fmd.video_streams[0], fmd.audio_streams[0], None, fake=True) E TypeError: Transcoder.__init__() missing 1 required positional argument: 'error_callback' test_gnomecast.py:62: TypeError ____________________________________________________________________________ TestGnomecast.test_2 ____________________________________________________________________________ self = <test_gnomecast.TestGnomecast testMethod=test_2> def test_2(self): fmd = gnomecast.FileMetadata( 'Godzilla - King of the Monsters (2019) (2160p BluRay x265 10bit HDR Tigole).mkv', _ffmpeg_output = ''' Input #0, matroska,webm, from 'Godzilla - King of the Monsters (2019) (2160p BluRay x265 10bit HDR Tigole).mkv': Metadata: title : Godzilla: King of the Monsters encoder : libebml v1.3.7 + libmatroska v1.5.0 creation_time : 2019-08-23T10:49:27.000000Z Duration: 02:11:43.19, start: 0.000000, bitrate: 18112 kb/s Chapter #0:0: start 0.000000, end 653.694708 Metadata: title : Chapter 01 Chapter #0:1: start 653.694708, end 1086.585500 Metadata: title : Chapter 02 Chapter #0:2: start 1086.585500, end 1827.325500 Metadata: title : Chapter 03 Chapter #0:3: start 1827.325500, end 2718.632583 Metadata: title : Chapter 04 Chapter #0:4: start 2718.632583, end 3250.830917 Metadata: title : Chapter 05 Chapter #0:5: start 3250.830917, end 3941.646042 Metadata: title : Chapter 06 Chapter #0:6: start 3941.646042, end 4171.292125 Metadata: title : Chapter 07 Chapter #0:7: start 4171.292125, end 4771.308208 Metadata: title : Chapter 08 Chapter #0:8: start 4771.308208, end 5406.067333 Metadata: title : Chapter 09 Chapter #0:9: start 5406.067333, end 5916.785875 Metadata: title : Chapter 10 Chapter #0:10: start 5916.785875, end 6598.508583 Metadata: title : Chapter 11 Chapter #0:11: start 6598.508583, end 7168.536375 Metadata: title : Chapter 12 Chapter #0:12: start 7168.536375, end 7903.104000 Metadata: title : Chapter 13 Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x1600, SAR 1:1 DAR 12:5, 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default) Metadata: BPS-eng : 17115721 DURATION-eng : 02:11:43.104000000 NUMBER_OF_FRAMES-eng: 189485 NUMBER_OF_BYTES-eng: 16908415995 _STATISTICS_WRITING_APP-eng: mkvmerge v32.0.0 ('Astral Progressions') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2019-08-23 10:49:27 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(eng): Audio: aac (LC), 48000 Hz, 7.1, fltp (default) Metadata: BPS-eng : 901426 DURATION-eng : 02:11:43.104000000 NUMBER_OF_FRAMES-eng: 370458 NUMBER_OF_BYTES-eng: 890507991 _STATISTICS_WRITING_APP-eng: mkvmerge v32.0.0 ('Astral Progressions') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2019-08-23 10:49:27 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng): Audio: aac (HE-AAC), 48000 Hz, stereo, fltp Metadata: title : Commentary BPS-eng : 65862 DURATION-eng : 02:11:43.147000000 NUMBER_OF_FRAMES-eng: 185230 NUMBER_OF_BYTES-eng: 65064850 _STATISTICS_WRITING_APP-eng: mkvmerge v32.0.0 ('Astral Progressions') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2019-08-23 10:49:27 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:3(eng): Subtitle: dvd_subtitle, 1920x1080 Metadata: BPS-eng : 8966 DURATION-eng : 02:11:18.819000000 NUMBER_OF_FRAMES-eng: 1661 NUMBER_OF_BYTES-eng: 8830829 _STATISTICS_WRITING_APP-eng: mkvmerge v32.0.0 ('Astral Progressions') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2019-08-23 10:49:27 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:4(ara): Subtitle: dvd_subtitle, 1920x1080 Metadata: BPS-eng : 4132 DURATION-eng : 02:10:49.414000000 NUMBER_OF_FRAMES-eng: 1373 NUMBER_OF_BYTES-eng: 4055035 _STATISTICS_WRITING_APP-eng: mkvmerge v32.0.0 ('Astral Progressions') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2019-08-23 10:49:27 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:5(chi): Subtitle: dvd_subtitle, 1920x1080 Metadata: BPS-eng : 6291 DURATION-eng : 02:10:44.329000000 NUMBER_OF_FRAMES-eng: 1246 NUMBER_OF_BYTES-eng: 6169396 _STATISTICS_WRITING_APP-eng: mkvmerge v32.0.0 ('Astral Progressions') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2019-08-23 10:49:27 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:6(fre): Subtitle: dvd_subtitle, 1920x1080 Metadata: BPS-eng : 6451 DURATION-eng : 02:10:49.539000000 NUMBER_OF_FRAMES-eng: 1276 NUMBER_OF_BYTES-eng: 6330309 _STATISTICS_WRITING_APP-eng: mkvmerge v32.0.0 ('Astral Progressions') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2019-08-23 10:49:27 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:7(kor): Subtitle: dvd_subtitle, 1920x1080 Metadata: BPS-eng : 4593 DURATION-eng : 02:10:44.333000000 NUMBER_OF_FRAMES-eng: 1359 NUMBER_OF_BYTES-eng: 4504269 _STATISTICS_WRITING_APP-eng: mkvmerge v32.0.0 ('Astral Progressions') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2019-08-23 10:49:27 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:8(spa): Subtitle: dvd_subtitle, 1920x1080 Metadata: BPS-eng : 7522 DURATION-eng : 02:10:44.409000000 NUMBER_OF_FRAMES-eng: 1392 NUMBER_OF_BYTES-eng: 7376389 _STATISTICS_WRITING_APP-eng: mkvmerge v32.0.0 ('Astral Progressions') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2019-08-23 10:49:27 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES ''') fmd.wait() self.assertEqual(fmd.container, 'mkv') self.assertEqual(len(fmd.video_streams), 1) self.assertEqual(fmd.video_streams[0].index, '0:0') self.assertEqual(fmd.video_streams[0].codec, 'hevc') self.assertEqual(len(fmd.audio_streams), 2) self.assertEqual(fmd.audio_streams[0].index, '0:1') self.assertEqual(fmd.audio_streams[0].codec, 'aac') self.assertEqual(fmd.audio_streams[0].title, 'eng') self.assertEqual(fmd.audio_streams[0].channels, 8) self.assertEqual(fmd.audio_streams[1].index, '0:2') self.assertEqual(fmd.audio_streams[1].codec, 'aac') self.assertEqual(fmd.audio_streams[1].title, 'Commentary') self.assertEqual(fmd.audio_streams[1].channels, 2) self.assertEqual(len(fmd.subtitles), 6) self.assertEqual([s.title for s in fmd.subtitles], ['eng', 'ara', 'chi', 'fre', 'kor', 'spa']) print(fmd) cast = FakeCast(cast_type='video', manufacturer='Unknown manufacturer', model_name='Chromecast Ultra') > transcoder = gnomecast.Transcoder(cast, fmd, fmd.video_streams[0], fmd.audio_streams[0], None, fake=True) E TypeError: Transcoder.__init__() missing 1 required positional argument: 'error_callback' test_gnomecast.py:219: TypeError ---------------------------------------------------------------------------- Captured stdout call ---------------------------------------------------------------------------- Stream #0:3(eng): Subtitle: dvd_subtitle, 1920x1080 0:3(eng) Stream #0:4(ara): Subtitle: dvd_subtitle, 1920x1080 0:4(ara) Stream #0:5(chi): Subtitle: dvd_subtitle, 1920x1080 0:5(chi) Stream #0:6(fre): Subtitle: dvd_subtitle, 1920x1080 0:6(fre) Stream #0:7(kor): Subtitle: dvd_subtitle, 1920x1080 0:7(kor) Stream #0:8(spa): Subtitle: dvd_subtitle, 1920x1080 0:8(spa) FileMetadata(fn:Godzilla - King of the Monsters (2019) (2160p BluRay x265 10bit HDR Tigole).mkv, ready:True, thumbnail_fn:None, container:mkv, video_streams:[StreamMetadata(index:0:0, codec:hevc, title:Video #1)], audio_streams:[AudioMetadata(index:0:1, codec:aac, title:eng, channels:8), AudioMetadata(index:0:2, codec:aac, title:Commentary, channels:2)], subtitles:[StreamMetadata(index:0:3, title:eng), StreamMetadata(index:0:4, title:ara), StreamMetadata(index:0:5, title:chi), StreamMetadata(index:0:6, title:fre), StreamMetadata(index:0:7, title:kor), StreamMetadata(index:0:8, title:spa)]) ============================================================================== warnings summary ============================================================================== ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:19 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:19: DeprecationWarning: Call to deprecated create function FileDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. DESCRIPTOR = _descriptor.FileDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:33 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:33: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.EnumValueDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:37 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:37: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.EnumValueDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:41 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:41: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.EnumValueDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:27 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:27: DeprecationWarning: Call to deprecated create function EnumDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _SIGNATUREALGORITHM = _descriptor.EnumDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:60 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:60: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.EnumValueDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:64 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:64: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.EnumValueDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:54 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:54: DeprecationWarning: Call to deprecated create function EnumDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _HASHALGORITHM = _descriptor.EnumDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:90 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:90: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.EnumValueDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:84 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:84: DeprecationWarning: Call to deprecated create function EnumDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _CASTMESSAGE_PROTOCOLVERSION = _descriptor.EnumDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:108 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:108: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.EnumValueDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:112 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:112: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.EnumValueDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:102 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:102: DeprecationWarning: Call to deprecated create function EnumDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _CASTMESSAGE_PAYLOADTYPE = _descriptor.EnumDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:130 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:130: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.EnumValueDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:134 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:134: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.EnumValueDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:138 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:138: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.EnumValueDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:124 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:124: DeprecationWarning: Call to deprecated create function EnumDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _AUTHERROR_ERRORTYPE = _descriptor.EnumDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:158 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:158: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.FieldDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:165 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:165: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.FieldDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:172 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:172: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.FieldDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:179 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:179: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.FieldDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:186 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:186: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.FieldDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:193 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:193: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.FieldDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:200 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:200: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.FieldDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:151 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:151: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _CASTMESSAGE = _descriptor.Descriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:233 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:233: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.FieldDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:240 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:240: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.FieldDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:247 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:247: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.FieldDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:226 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:226: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _AUTHCHALLENGE = _descriptor.Descriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:278 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:278: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.FieldDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:285 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:285: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.FieldDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:292 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:292: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.FieldDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:299 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:299: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.FieldDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:306 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:306: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.FieldDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:313 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:313: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.FieldDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:320 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:320: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.FieldDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:271 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:271: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _AUTHRESPONSE = _descriptor.Descriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:351 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:351: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.FieldDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:344 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:344: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _AUTHERROR = _descriptor.Descriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:383 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:383: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.FieldDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:390 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:390: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.FieldDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:397 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:397: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _descriptor.FieldDescriptor( ../../../../../.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:376 /home/lauren/.local/lib/python3.10/site-packages/pychromecast/cast_channel_pb2.py:376: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. _DEVICEAUTHMESSAGE = _descriptor.Descriptor( test_gnomecast.py::TestGnomecast::test_1 test_gnomecast.py::TestGnomecast::test_2 /usr/lib/python3.10/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored in: <function Transcoder.__del__ at 0x7f925da87010> Traceback (most recent call last): File "/home/lauren/aports/testing/gnomecast/src/gnomecast-d42d8915838b01c5cadacb322909e08ffa455d4f/gnomecast.py", line 394, in __del__ self.destroy() File "/home/lauren/aports/testing/gnomecast/src/gnomecast-d42d8915838b01c5cadacb322909e08ffa455d4f/gnomecast.py", line 388, in destroy if self.p and self.p.poll() is None: AttributeError: 'Transcoder' object has no attribute 'p' warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ========================================================================== short test summary info =========================================================================== FAILED test_gnomecast.py::TestGnomecast::test_1 - TypeError: Transcoder.__init__() missing 1 required positional argument: 'error_callback' FAILED test_gnomecast.py::TestGnomecast::test_2 - TypeError: Transcoder.__init__() missing 1 required positional argument: 'error_callback' ======================================================================= 2 failed, 45 warnings in 2.63s =======================================================================
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The text was updated successfully, but these errors were encountered: