Author Topic: SVNDbLib : Cache seems not working  (Read 687 times)

0 Members and 1 Guest are viewing this topic.

Offline dgotfroi

  • Newbie
  • Posts: 4
  • Country: be
SVNDbLib : Cache seems not working
« on: June 18, 2019, 01:14:36 pm »
Hello,
We worked a long time with integrated Library. But today we are 3 hardware devs and we need to migrate to a svnDBLib.
I've created a MySQL database and split all footprints/symbols of my Integrated libraries and commit them to SVN.

Everything work fine. We (the 3 hw devs) can now work in libraries without problem.

But when one of us commit a symbol/footprint change in our SVN repository, the change doesn't appear in the library of the 2 others devs.

In the SVN repo, we can see the change, but on devs computer, in the altium cache folder, the change is never updated.

I tried all these actions to automatically update the cache :

  • Placing a component from an installed SVNDbLib file (from the Libraries panel).
  • Performing a design transfer (i.e. updating the PCB).
  • Using the Update From Libraries command in the Schematic Editor.
  • Using the Update From PCB Libraries command in the PCB Editor.

I also tried the following to manually force update :

  • Using one of the Refresh commands available from a right-click menu in the Libraries panel.
  • Uninstalling and re-installing the SVNDbLib file to the Available Libraries list.

Nothing works, except the last one : "Uninstalling and re-installing the SVNDbLib file to the Available Libraries list."
But it's not really convenient to always uninstall and reinstall library.

In my Preferences/Data Management/SVN Libraries. My cache folder max refresh time is set to 1 minutes.

Do you have any idea ?

Thanks
 

Offline Giaime

  • Regular Contributor
  • *
  • Posts: 61
  • Country: it
Re: SVNDbLib : Cache seems not working
« Reply #1 on: June 20, 2019, 06:33:27 am »
Yep, it doesn't work and we don't know why.

We update the cache outside of Altium with Tortoise SVN. In fact, all operations we do (adding a new footprint, commit it, etc...) are done outside of Altium.
 

Offline dgotfroi

  • Newbie
  • Posts: 4
  • Country: be
Re: SVNDbLib : Cache seems not working
« Reply #2 on: June 20, 2019, 10:04:12 am »
Hello,

Many thanks for your answer. I can stop investigate :).

We will update the cache manually (and move it from %appdata% ...)

Thanks
 

Offline NANDBlog

  • Super Contributor
  • ***
  • Posts: 4480
  • Country: nl
Re: SVNDbLib : Cache seems not working
« Reply #3 on: June 20, 2019, 10:14:42 am »
Hello,

Many thanks for your answer. I can stop investigate :).

We will update the cache manually (and move it from %appdata% ...)

Thanks
Have you tried Altium support yet?
One of the projects we have is to move from DBLIB to SVNDBLIB, but we havent started working on it.
 

Offline dgotfroi

  • Newbie
  • Posts: 4
  • Country: be
Re: SVNDbLib : Cache seems not working
« Reply #4 on: June 20, 2019, 01:37:02 pm »
Have you tried Altium support yet?
One of the projects we have is to move from DBLIB to SVNDBLIB, but we havent started working on it.

Yes, I've 2 tickets open since one week, with absolutely no answer from Altium Support... And we pay for it...
 

Offline ajb

  • Super Contributor
  • ***
  • Posts: 1688
  • Country: us
Re: SVNDbLib : Cache seems not working
« Reply #5 on: June 20, 2019, 07:42:33 pm »
Does closing and re-opening Altium get the changes to show up?  I've seen that happen with my DBLib since AD19, but restarting Altium gets the change to appear in the component browser.

There's a bugcrunch here: https://bugcrunch.live.altium.com/#Bug/124

Side note: wow, that's a 3-digit issue number, from 2011.  Current numbers are >11000.  Yay Altium!
 

Offline dgotfroi

  • Newbie
  • Posts: 4
  • Country: be
Re: SVNDbLib : Cache seems not working
« Reply #6 on: June 21, 2019, 07:16:16 am »
Does closing and re-opening Altium get the changes to show up?  I've seen that happen with my DBLib since AD19, but restarting Altium gets the change to appear in the component browser.

There's a bugcrunch here: https://bugcrunch.live.altium.com/#Bug/124

Side note: wow, that's a 3-digit issue number, from 2011.  Current numbers are >11000.  Yay Altium!


Nope, the only solution that I found for updating the cache is to uninstall and install again the SVNDbLib... Not really convenient
 

Offline Philfreeze

  • Regular Contributor
  • *
  • Posts: 123
  • Country: ch
Re: SVNDbLib : Cache seems not working
« Reply #7 on: July 02, 2019, 11:51:16 am »
You can update the cache externally! :o
We always just killed the cache file and then Altium redid the cache itself which took some serious time!
 

Offline Pseudobyte

  • Regular Contributor
  • *
  • Posts: 107
  • Country: us
Re: SVNDbLib : Cache seems not working
« Reply #8 on: July 08, 2019, 06:19:01 pm »
Yeah we use a batch script to force it to rebuild.

Edit: looks like they changed where that cache hides

cd "%appdata%"
cd ..
rmdir "Local/Altium/SVNDBlib Cache" /s /q
cmd /k
« Last Edit: July 08, 2019, 06:31:12 pm by Pseudobyte »
“They Don’t Think It Be Like It Is, But It Do”
 
The following users thanked this post: aandrew


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf