[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-bug: [Bug 787637] [NEW] auto-uref is broken



Public bug reported:

The auto-uref.scm script does not work as expected. It uses even numbers
only and produces duplicate refdeses.

To reproduce:

0) add these lines in gschemrc to activate auto-uref:
ÂÂÂ(load-from-path "auto-uref.scm")
ÂÂÂ(add-hook! add-component-hook auto-uref)
ÂÂÂ(add-hook! copy-component-hook auto-uref)

1) open gschem.

2) Open the symbol chooser dialog and add three symbols resistor-2.sym
from the Basic_devices library.

Refdeses should be R1, R2, R3, but will be R2, R4, R6.

3) save the sheet with save-as.

4) close gschem.

5) open  gschem with the saved sheet.

6) Add some more resistor-1.sym via the chooser dialog.

Refdeses will again be R2, R4, R6, etc. That is, duplicates to the
symbols already present on the sheet.

---<)kaimartin(>---

** Affects: geda
     Importance: Undecided
         Status: New


** Tags: gschem scheme

** Description changed:

  The auto-uref.scm script does not work as expected. It uses even numbers
  only and produces duplicate refdeses.
  
  To reproduce:
  
  0) add these lines in gschemrc to activate auto-uref:
-    (load-from-path "auto-uref.scm")
-    (add-hook! add-component-hook auto-uref)
-    (add-hook! copy-component-hook auto-uref)
+ ÂÂÂ(load-from-path "auto-uref.scm")
+ ÂÂÂ(add-hook! add-component-hook auto-uref)
+ ÂÂÂ(add-hook! copy-component-hook auto-uref)
  
  1) open gschem.
  
  2) Open the symbol chooser dialog and add three symbols resistor-2.sym
  from the Basic_devices library.
  
  Refdeses should be R1, R2, R3, but will be R2, R4, R6.
  
  3) save the sheet with save-as.
  
  4) close gschem.
  
  5) open  gschem with the saved sheet.
  
  6) Add some more resistor-1.sym via the chooser dialog.
  
- Refdeses will again be R2, R4, R6, etc. That is duplicates to the
+ Refdeses will again be R2, R4, R6, etc. That is, duplicates to the
  symbols already present on the sheet.
  
  ---<)kaimartin(>---

** Tags added: gschem scheme

-- 
You received this bug notification because you are a member of gEDA Bug
Team, which is subscribed to gEDA.
https://bugs.launchpad.net/bugs/787637

Title:
  auto-uref is broken

Status in GPL Electronic Design Automation tools:
  New

Bug description:
  The auto-uref.scm script does not work as expected. It uses even
  numbers only and produces duplicate refdeses.

  To reproduce:

  0) add these lines in gschemrc to activate auto-uref:
  ÂÂÂ(load-from-path "auto-uref.scm")
  ÂÂÂ(add-hook! add-component-hook auto-uref)
  ÂÂÂ(add-hook! copy-component-hook auto-uref)

  1) open gschem.

  2) Open the symbol chooser dialog and add three symbols resistor-2.sym
  from the Basic_devices library.

  Refdeses should be R1, R2, R3, but will be R2, R4, R6.

  3) save the sheet with save-as.

  4) close gschem.

  5) open  gschem with the saved sheet.

  6) Add some more resistor-1.sym via the chooser dialog.

  Refdeses will again be R2, R4, R6, etc. That is, duplicates to the
  symbols already present on the sheet.

  ---<)kaimartin(>---


_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug