Author Topic: How to fix corrupt schematic library?  (Read 1598 times)

0 Members and 1 Guest are viewing this topic.

Offline JesterTopic starter

  • Frequent Contributor
  • **
  • Posts: 887
  • Country: ca
How to fix corrupt schematic library?
« on: October 07, 2020, 12:19:15 pm »
I have been using Altium forever, and have a lot of libraries. From time to time one of the schematic libraries will start acting up with the following symptoms:

After creating a new component (I almost always start by copying an existing similar component), when trying to save the new component the green progress bar, stops before reaching the end. Then some time later the new component simply gets deleted from the list or just can't be saved. So you have to close Altium, restart and then start again.

To fix the library it seems you need to find the bad component and delete it, however you don't know which of the countless components is the bad one. I have resorted to making a copy of the library and then deleting 1/2 the components and then doing a save to see if the remainder of the library is okay. Sort of binary search, this is time consuming, there must be a better way.

One other observation. For whatever reason if I'm trying to save one of these newly created components and having problems if I place the yet to be saved component into a schematic and then save the schematic, it seems that I can then save the library successfully without the progress bar stopping part way.

Am I the only one?

Is there a easier way to fix the library?
 

Offline TSR

  • Newbie
  • Posts: 7
  • Country: it
Re: How to fix corrupt schematic library?
« Reply #1 on: November 20, 2020, 05:37:27 pm »
For the past week I've spent more time fixing Altium bugs than actually doing layout. This package is just crap. The only reason I use it is because it's free - and it's worth EXACTLY how much I paid for it.
 

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 7117
  • Country: ca
  • Non-expert
Re: How to fix corrupt schematic library?
« Reply #2 on: November 20, 2020, 09:36:23 pm »
What version of altium.
Have you tried opening the lib with an earlier version of AD.
Is the lib on a network drive.
Does compiling the library work? Are there any errors with the "bad" component? Or anything unique about it.
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf