Skip to content

Shows 'No edge' error with 'RP2040 Minimal board' example #13

@tonyho

Description

@tonyho

Using the example board zip: RP2040 Minimal board

When click the 'Begin Autorouting' , it shows:

Image

The full log is:

python main.py                                                                                                                                                            (base) 
2026-01-23 11:57:03,586 - root - WARNING - [LOGGING] Console: WARNING only (full logs in logs/ directory)
2026-01-23 11:57:03,668 - orthoroute.infrastructure.kicad.rich_kicad_interface - WARNING - Error extracting track: 'Track' object has no attribute 'get'
2026-01-23 11:57:03,668 - orthoroute.infrastructure.kicad.rich_kicad_interface - WARNING - Error extracting track: 'Track' object has no attribute 'get'
2026-01-23 11:57:03,668 - orthoroute.infrastructure.kicad.rich_kicad_interface - WARNING - Error extracting track: 'Track' object has no attribute 'get'
2026-01-23 11:57:03,668 - orthoroute.infrastructure.kicad.rich_kicad_interface - WARNING - Error extracting track: 'Track' object has no attribute 'get'
2026-01-23 11:57:03,668 - orthoroute.infrastructure.kicad.rich_kicad_interface - WARNING - Error extracting track: 'Track' object has no attribute 'get'
2026-01-23 11:57:03,668 - orthoroute.infrastructure.kicad.rich_kicad_interface - WARNING - Error extracting track: 'Track' object has no attribute 'get'
2026-01-23 11:57:03,668 - orthoroute.infrastructure.kicad.rich_kicad_interface - WARNING - Error extracting track: 'Track' object has no attribute 'get'
2026-01-23 11:57:03,668 - orthoroute.infrastructure.kicad.rich_kicad_interface - WARNING - Error extracting track: 'Track' object has no attribute 'get'
2026-01-23 11:57:03,668 - orthoroute.infrastructure.kicad.rich_kicad_interface - WARNING - Error extracting track: 'Track' object has no attribute 'get'
2026-01-23 11:57:03,668 - orthoroute.infrastructure.kicad.rich_kicad_interface - WARNING - Error extracting track: 'Track' object has no attribute 'get'
2026-01-23 11:57:03,669 - orthoroute.infrastructure.kicad.rich_kicad_interface - WARNING - IPC-based DRC extraction failed: No module named 'kicad'
DEBUG: Screenshot saved to debug_output/run_20260123_115706/01_board_with_airwires_20260123_115706_939.png (scale=8x)
DEBUG: Screenshot saved to debug_output/run_20260123_115706/02_board_no_airwires_20260123_115707_970.png (scale=8x)
2026-01-23 11:57:08,893 - orthoroute.presentation.gui.main_window - WARNING - DEBUG: Orphaned pad '1' with component_id '' - not found in components_dict
2026-01-23 11:57:08,893 - orthoroute.presentation.gui.main_window - WARNING - DEBUG: Orphaned pad '2' with component_id '' - not found in components_dict
2026-01-23 11:57:08,893 - orthoroute.presentation.gui.main_window - WARNING - DEBUG: Orphaned pad '1' with component_id '' - not found in components_dict
2026-01-23 11:57:08,893 - orthoroute.presentation.gui.main_window - WARNING - DEBUG: Orphaned pad '1' with component_id '' - not found in components_dict
2026-01-23 11:57:08,893 - orthoroute.presentation.gui.main_window - WARNING - DEBUG: Orphaned pad '1' with component_id '' - not found in components_dict
2026-01-23 11:57:08,893 - orthoroute.presentation.gui.main_window - ERROR - Autoroute failed
Traceback (most recent call last):
  File "/ExtDisk/github/OrthoRoute/orthoroute/presentation/gui/main_window.py", line 1863, in _continue_autorouting
    pf.initialize_graph(board)
  File "/ExtDisk/github/OrthoRoute/orthoroute/algorithms/manhattan/unified_pathfinder.py", line 2110, in initialize_graph
    self.graph = self.lattice.build_graph(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/ExtDisk/github/OrthoRoute/orthoroute/algorithms/manhattan/unified_pathfinder.py", line 1270, in build_graph
    graph.finalize(self.num_nodes, num_layers=self.layers)
  File "/ExtDisk/github/OrthoRoute/orthoroute/algorithms/manhattan/unified_pathfinder.py", line 686, in finalize
    raise ValueError("No edges")
ValueError: No edges

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions