1. Razen
  2. razencad
  3. Issues
Issue #184 resolved

Crash when trying to edit certain traces or airwires

Guan Yang
created an issue

When I try to edit certain traces and airwires, I get the attached crash:

app.py(21):unhandledExceptionDialog - Traceback (most recent call last):
  File "dist/Razen.app/Contents/Resources/lib/python2.7/rzn/ui/toolbars/tools.py", line 19, in fn
  File "dist/Razen.app/Contents/Resources/lib/python2.7/rzn/core/views.py", line 103, in on_change_tool
  File "dist/Razen.app/Contents/Resources/lib/python2.7/rzn/core/view.py", line 276, in on_change_tool
  File "dist/Razen.app/Contents/Resources/lib/python2.7/rzn/tool/tool.py", line 80, in change_tool
  File "dist/Razen.app/Contents/Resources/lib/python2.7/rzn/core/tools.py", line 42, in switchtool
  File "dist/Razen.app/Contents/Resources/lib/python2.7/rzn/tool/toolroute.py", line 130, in enter
  File "dist/Razen.app/Contents/Resources/lib/python2.7/rzn/tool/toolroute.py", line 118, in getNamedConnector
AttributeError: 'Trace' object has no attribute 'connectors'

I will email the board separately. One example is the airwire for the left pad of R6.

Comments (7)

  1. Razen repo owner

    Hm, looks like in certain situations a net/trace can share a name with a part, causing the crash. Workaround is probably to find the trace/part with the same names and remove/rename.

  2. Log in to comment