xpra icon
Bug tracker and wiki

Ticket #1232: zero.log

File zero.log, 3.6 KB (added by Antoine Martin, 3 years ago)

ZeroDivisionError? in calculate_scaling

Line 
1Traceback (most recent call last):
2  File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_video_source.py", line 823, in encode_from_queue
3    self.make_data_packet_cb(*item)
4  File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_source.py", line 1448, in make_data_packet_cb
5    packet = self.make_data_packet(damage_time, process_damage_time, image, coding, sequence, options, flush)
6  File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_source.py", line 1794, in make_data_packet
7    ret = encoder(coding, image, options)
8  File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_video_source.py", line 1461, in video_encode
9    return self.do_video_encode(encoding, image, options)
10  File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_video_source.py", line 1523, in do_video_encode
11    if not self.check_pipeline(encoding, w, h, src_format):
12  File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_video_source.py", line 1184, in check_pipeline
13    scores = self.get_video_pipeline_options(encodings, w, h, src_format)
14  File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_video_source.py", line 1047, in get_video_pipeline_options
15    add_scores("direct (no csc)", None, src_format)
16  File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_video_source.py", line 1040, in add_scores
17    scaling = self.calculate_scaling(width, height, encoder_spec.max_w, encoder_spec.max_h)
18  File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_video_source.py", line 1120, in calculate_scaling
19    ffps = int(pixels/(width*height)/(time.time() - otime))
20ZeroDivisionError: integer division or modulo by zero
212016-10-07 15:32:27,981 error processing encode queue at index 0
222016-10-07 15:32:27,981 item=(1291, 1, 1475879547.964618, 1475879547.979094, XShmImageWrapper(BGRX: 0, 65, 1291, 1), 'auto', 213, {}, 0)
23Traceback (most recent call last):
24  File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_video_source.py", line 823, in encode_from_queue
25    self.make_data_packet_cb(*item)
26  File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_source.py", line 1448, in make_data_packet_cb
27    packet = self.make_data_packet(damage_time, process_damage_time, image, coding, sequence, options, flush)
28  File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_source.py", line 1794, in make_data_packet
29    ret = encoder(coding, image, options)
30  File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_video_source.py", line 1461, in video_encode
31    return self.do_video_encode(encoding, image, options)
32  File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_video_source.py", line 1523, in do_video_encode
33    if not self.check_pipeline(encoding, w, h, src_format):
34  File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_video_source.py", line 1184, in check_pipeline
35    scores = self.get_video_pipeline_options(encodings, w, h, src_format)
36  File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_video_source.py", line 1047, in get_video_pipeline_options
37    add_scores("direct (no csc)", None, src_format)
38  File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_video_source.py", line 1040, in add_scores
39    scaling = self.calculate_scaling(width, height, encoder_spec.max_w, encoder_spec.max_h)
40  File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_video_source.py", line 1120, in calculate_scaling
41    ffps = int(pixels/(width*height)/(time.time() - otime))
42ZeroDivisionError: integer division or modulo by zero