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

Bug #1307691 reported by Alvin Penner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
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

Revision history for this message
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
Revision history for this message
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
Revision history for this message
Alvin Penner (apenner) wrote :

fix committed to rev 13288

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.