Another library update failure

Step 1:
In IDE 2.3.6 I responded to an 'Updates Available...' notification, chose 'Install Manually', selected 'ArxTypeTraits', and then clicked UPDATE.

Step 2
Opened my \libraries folder, and its entry for ArxTypeTraits.

Step 3
Unusually it had a subfolder of the same name.

Step 4
That proved to be empty.

Full text of last line of the error in step 1:
C:\Users\terry\Dropbox\Electronics\Arduino\SKETCHES\libraries\ArxTypeTraits\ArxTypeTraits: The process cannot access the file because it is being used by another process.

Only one (unrelated) sketch was open and I had not started any work on it or on anything remotely connected with ArxTypeTraits (which BTW I don't recall knowingly ever used).

Q1: Is there some known explanation for the 2.3.6 failure above? Of course, it now occurs to me that it's possible there was some damage (e.g a folder deletion), before I tried the update. If I ever use IDE 2.3.6 in future to repond to its 'Updatable; notification (I'll probably do that with 1.8.19 until I'm confident), then I will check the \libraries entry FIRST.


I'll report below my further exploration which might be helpful for the developers.

Step 5
Made another attempt to update but this time got message it was already installed, which presumably it isn't. The message closed and so did that 'updatable' entry.

Step 6
Closed IDE 2.3.6 and opened 1.8.19. No message re Updatable library entries.
Opened a random sketch (Blink) to see if that might somehow get 1.8.19 to notify me about the other updatable libraries. It still has not done so after 10-15 mins.
Q2: Why? Does 1.8.19 still deliver notifications?

Step 7
Still in 1.8.19, Tools > Manage Libraries > Updatable showed those two and I then successfully updated them.

Step 8.
Switched to the Installed filter, selected ArxTypeTraits and (apparently) updated it.

Step 9
But \libraries has not changed.

Step 10
In case it was installed elsewhere, tried an #include in a bare minimum sketch and as expected got "ArxTypeTraits.h: No such file or directory"
Q3: Why no error message from 1.8.19?

It's your PC :wink: Or maybe dropbox locking for synchronisation (no idea about how that works).

I installed ArxTypeTraits version 0.3.1 without a problem. Next I restarted the IDE and got the prompt that an update of that library was available.

Choose to "Install manually" and it updated without problems.

Downloading ArxTypeTraits@0.3.2
ArxTypeTraits@0.3.2
Installing ArxTypeTraits@0.3.2
Replacing ArxTypeTraits@0.3.1 with ArxTypeTraits@0.3.2
Installed ArxTypeTraits@0.3.2

===
Request: Please do not combine screenshots; I suspect that that was the reason why your previous topic did confuse people.

1 Like

Thanks a bunch, it sure looks as if Dropbox was indeed the culprit.

I was sure it couldn't be, given that all my 'user Arduino files' are in Dropbox and this and the recent similar problem are the only such issues I can recall. And as I understand it, Dropbox should not try to sync an offline file or folder unless it changes; I had not been anywhere near that or any of my \libraries folders until trying to update it. However, some aspects of Dropbox remain obscure to me, so...

I closed the Dropbox destop app and tried again. That failed, but by now I was sure that a side effect was that it had deleted the contents and left the strange shell I described. So I deleted the entire folder, installed 0.3.1, then updated it to 0.3.2 as you had done, this time successfully.
:slightly_smiling_face: