View Issue Details

IDProjectCategoryView StatusLast Update
0005281Kali Linux[All Projects] General Bugpublic2019-03-05 14:55
ReporterskacpAssigned Tosbrun 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0005281: King-Phisher Client - crash when using pie chart
Descriptionif you select a PIE CHART in "View Campaign" the King-Phisher Clients crashes with the following trace:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/matplotlib/backends/backend_gtk3cairo.py", line 33, in on_draw_event
    self._render_figure(allocation.width, allocation.height)
  File "/usr/lib/python3/dist-packages/matplotlib/backends/backend_gtk3cairo.py", line 21, in _render_figure
    self.figure.draw(self._renderer)
  File "/usr/lib/python3/dist-packages/matplotlib/artist.py", line 50, in draw_wrapper
    return draw(artist, renderer, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/matplotlib/figure.py", line 1649, in draw
    renderer, self, artists, self.suppressComposite)
  File "/usr/lib/python3/dist-packages/matplotlib/image.py", line 138, in _draw_list_compositing_images
    a.draw(renderer)
  File "/usr/lib/python3/dist-packages/matplotlib/artist.py", line 50, in draw_wrapper
    return draw(artist, renderer, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/matplotlib/legend.py", line 646, in draw
    self.legendPatch.draw(renderer)
  File "/usr/lib/python3/dist-packages/matplotlib/artist.py", line 50, in draw_wrapper
    return draw(artist, renderer, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/matplotlib/patches.py", line 535, in draw
    renderer.draw_path(gc, tpath, affine, rgbFace)
  File "/usr/lib/python3/dist-packages/matplotlib/backends/backend_cairo.py", line 239, in draw_path
    _append_path(ctx, path, transform, clip)
  File "/usr/lib/python3/dist-packages/matplotlib/backends/backend_cairo.py", line 163, in _append_path
    return _append_paths(ctx, [path], [transform], clip)
  File "/usr/lib/python3/dist-packages/matplotlib/backends/backend_cairo.py", line 104, in _append_paths_slow
    *np.concatenate([cur / 3 + points[:2] * 2 / 3,
TypeError: unsupported operand type(s) for /: 'tuple' and 'int'
Steps To Reproduceedit -> preferences -> client -> top left -> select "Pie - Message results"
restart king-phisher client
open view campaign -> crash

Activities

sbrun

2019-03-05 13:49

manager   ~0010389

It seems that new maplotlib Python module is involved.
I imported upstream patches in king-phisher to be compatible with latest maplotlib

New version 1.12.0-0kali3 is now in kali-rolling.
Please let me know if it fixes your issue.

skacp

2019-03-05 14:33

reporter   ~0010392

confirmed - issue is fixed

sbrun

2019-03-05 14:55

manager   ~0010393

Thanks for your feedback

Issue History

Date Modified Username Field Change
2019-02-28 14:44 skacp New Issue
2019-03-05 13:49 sbrun Assigned To => sbrun
2019-03-05 13:49 sbrun Status new => feedback
2019-03-05 13:49 sbrun Note Added: 0010389
2019-03-05 14:33 skacp Note Added: 0010392
2019-03-05 14:33 skacp Status feedback => assigned
2019-03-05 14:55 sbrun Status assigned => resolved
2019-03-05 14:55 sbrun Resolution open => fixed
2019-03-05 14:55 sbrun Note Added: 0010393