Extensions->Render->Gear->Gear crash if Default document units = ft.

Bug #1307691 reported by Alvin Penner on 2014-04-14
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Medium
Alvin Penner

Bug Description

- Windows XP, Inkscape rev 13283.
- start with erased preferences file
- set Document Properties->Default Units = ft
- run Extensions->Render->Gear->Gear
- get Python crash message below:
- similar crash when running Render->Gear->Rack Gear
- similar crash when running Render->Random Tree
- similar crash when running Render->Wireframe Sphere
- not reproduced if 'm' or 'cm' are chosen
- not reproduced on Inkscape 0.48.4

...........................................

Traceback (most recent call last):

  File "render_gears.py", line 182, in <module>

    e.affect()

  File "C:\InkscapeBZR\inkscape\share\extensions\inkex.py", line 261, in affect

    self.effect()

  File "render_gears.py", line 88, in effect

    pitch_diametrial = float( teeth )/ pitch_diameter

ZeroDivisionError: float division

su_v (suv-lp) wrote :

Reproduced with r13283 on OS X 10.7.5 (Python 2.7.6)

tags: added: extensions-plugins
Changed in inkscape:
importance: Undecided → Medium
milestone: none → 0.91
status: New → Confirmed
su_v (suv-lp) wrote :

Not reproduced with 0.48.4 and 0.48.x r10025 on OS X 10.7.5 (Python 2.7.6).

tags: added: regression units
Alvin Penner (apenner) wrote :

fix committed to rev 13288

Changed in inkscape:
status: Confirmed → Fix Committed
su_v (suv-lp) on 2014-04-15
Changed in inkscape:
assignee: nobody → Alvin Penner (apenner)
Bryce Harrington (bryce) on 2015-02-23
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers