element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Autodesk EAGLE
  • Products
  • More
Autodesk EAGLE
EAGLE User Support (English) Bugs in Library Duplicate function
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Autodesk EAGLE to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 1 reply
  • Subscribers 178 subscribers
  • Views 216 views
  • Users 0 members are here
  • duplicate
  • bugs
  • library
Related

Bugs in Library Duplicate function

gwideman
gwideman over 10 years ago

Hi all (mostly Jorge),

 

The Library Duplicate function, new in 7.3, has a number of issues.

 

First, one incidental note: Duplicate doesn't appear to be in the manual, nor in the in-app Help.

 

Second, it seems to have some bugs.

 

Bug 1: Eagle uses the wrong file path for the target file (which should be the same as the source file!)

 

Eagle should use the path to the existing library file, not go searching for a same-named file elsewhere in the file system. Not only will Eagle often not find the current library file, instead sometimes it might well find a library file of the same name in the path, and perhaps stick the copied component into that other existing file. This is an accident waiting to happen.

 

Repro:

 

  • I created a new library CopyTemp.lbr, and copied into that library the *741 device (which brought its two Packages and one Symbol). I saved the new library.
  • In this new library, TOC view, I right-clicked on the device
  • From the pop-up menu, I selected Duplicate
  • Dialog Duplicate device set > Enter new name: I entered "MyOpAmp", hit OK
  • Error message: "Can't open "CopyTemp.lbr" No such file or directory

 

Using Sysinternals ProcMon I can see that the reason for the error is that Eagle is attempting to open the wrong path. Eagle searches within the first directory in the Libraries path, and apparently if the new library is not there, Eagle gives up.

 

Bug 2: Bad error message (or possibly more serious bad code):

On one trial, I accidentally didn't change the name of the device (leaving it as "*741"). In that case I got an error message that there was already a "Package" named that. OK, it was good that I got an error message, but the message is wrong -- there's already a Device by that name, not a Package.

 

Bug (or at least problem) 3: In order to test the Duplicate feature at all, I moved my CopyTemp.lbr file to the (incorrect) directory where Eagle actually looks for it. This allowed Eagle to complete the Duplicate process.

 

Now, when Duplicating a Device, Eagle does not duplicate the Packages and Symbols. It only creates a (renamed) copy of the Device per se, and leaves it referring to the existing Symbol(s) and Package(s). So actually this does not achieve the effect desired, and potentially lures users into editing the supposed duplicated Symbols or Packages, only to find that they've messed up the existing Device.

 

Yes, it would be possible to Duplicate the individual Packages and Symbols, then create a new component that references them, and then make all the pin-pad connections.

 

But that's more tedious and error prone than my hillbilly method of copying the device (in one step) to a new library, just renaming each item, and then copying the new device back.

 

-- Graham

  • Sign in to reply
  • Cancel
  • gwideman
    gwideman over 10 years ago

    Just to note that Jorge said:

     

    > These were addressed in the latest beta, try 7.3.2 the duplicate

    > function should work much better.

     

    > You are correct that it isn't documented anywhere, so I'll put that as a

    > request for the devs.

     

    ... in thread Library copy and rename device procedure?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube