down schematic should issue a warning if the schematic is not available

Bug #804904 reported by KaiMartin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gEDA
Fix Released
Medium
Peter TB Brett

Bug Description

to reproduce:

1) open gschem with the file down_schematic_test.sch which is attached to this report.

2) select the sub sheet symbol

3) do Down_Schematic from the Hierarchy menu.
gschem will not find the sub sheet and silently returns to pointer mode.

Suggestion: Pop up a dialog that explains the situation. For bonus points, refer to a hierarchy help page.

---<)kaimartin(>---

Tags: gschem
Revision history for this message
KaiMartin (kmk-familieknaak) wrote :
Revision history for this message
Gareth Edwards (gareth-uk) wrote :

Failure isn't silent - log window says:

Searching for source [subsheet-foo-bar.sch]
Could not find [subsheet-foo-bar.sch] in any SourceLibrary
Cannot find source [subsheet-foo-bar.sch]

A dialog would be more explicit though.

However, in latest git HEAD, selecting the symbol gives (in the log window):

Backtrace:
In unknown file:
   ?: 0* [run-hook #<hook 1 7f630fa5c070 ? ?> ...
   ?: 1* [#<geda-object 0x2296a10>]

<unnamed port>: In expression (#<geda-object 0x2296a10>):
<unnamed port>: Wrong type to apply: #<geda-object 0x2296a10>

Backtrace:
In unknown file:
   ?: 0* [run-hook #<hook 1 7f630fa5c070 ? ?> #<geda-object 0x22a2e40> ...]

<unnamed port>: In procedure run-hook in expression (run-hook #<hook 1 7f630fa5c070 ? ?> #<geda-object 0x22a2e40> ...):
<unnamed port>: Hook #<hook 1 7f630fa5c070 ? ?> requires 1 arguments

Changed in geda:
status: New → Triaged
Revision history for this message
Peter TB Brett (peter-b) wrote :

Gareth: The "Wrong type to apply" errors should now be fixed in git.

tags: added: gschem
Peter TB Brett (peter-b)
Changed in geda:
importance: Undecided → Medium
status: Triaged → In Progress
assignee: nobody → Peter TB Brett (peter-b)
Revision history for this message
Peter TB Brett (peter-b) wrote :

Okay, pretty much fixed. Note to self: fix up gschem/src/o_misc.c:397.

Peter TB Brett (peter-b)
Changed in geda:
status: In Progress → Fix Committed
Peter TB Brett (peter-b)
Changed in geda:
milestone: none → 1.9.0
Peter TB Brett (peter-b)
Changed in geda:
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.