horizon-eda / horizon

Horizon is a free EDA package
https://horizon-eda.org/
GNU General Public License v3.0
1.1k stars 82 forks source link

Pool manager crashes when part from included pool is selected (and the other pool is disabled) #568

Open MarSik opened 3 years ago

MarSik commented 3 years ago

Reproducer using the Pool manager screen (the default screen after starting horizon-eda):

1) Add the horizon pool as usual 2) Add custom empty pool 3) Configure the custom pool and include the horizon pool into it 4) Disable horizon pool (or remove it completely) 5) Select custom pool 6) Click any unit, part or other entity.. 7) Exception dialog appears..

After step 4 the pool link from custom pool to horizon pool still exists, but horizon-eda has no idea how to resolve the horizon pool UUID.

MarSik commented 3 years ago

Btw, if I ignore the exception I can click the Edit button and I get reasonably good error message. Nothing that would point me to the fact that the issue is caused by a broken pool link though.

carrotIndustries commented 3 years ago

The right way to fix this would be to force a pool update in that case.