I'm trying to remove a library from my arduino IDE. I've read the discussion about why there is no delete button in the GUI. So I have to remove it as files (on my windows machine). But I find libraries in many different folders, and still removing them does not seem to actually remove them from the IDE. How do I do this?
My sketch folder has a libraries folder, and there is one in program files:
C:\Users\MyUsername\Documents\Arduino\libraries
C:\Program Files (x86)\Arduino\libraries
It's not in any of those.
Then I found this:
C:\Users\MyUsername\AppData\Local\Arduino15\staging\libraries
There I found the library as a zipfile, and removed it. I also removed it from the package_index.json that is located two folders up. Started Arduino IDE, and it is still there, and it automatically comes back in the package_index.json file.
How do I get rid of it?
All your third party libraries are stored into your Arduino folder within your home user directory. So you must to delete them from there. They're always decompressed folders, non zipped ones.
Arduino IDE loads automatically them and restore the descriptor file of necessary every time that starts.
Original libraries cannot be deleted from other locations (ok, you'd won't to delete them...).
Related
I have a fairly large application (~750k LOC) that I distribute using the Package and Deployment Wizard. I fully understand that it would be nice to migrate to .NET (that ain't happening - see the code size above), and that the PDW is deeply flawed. However, for the most part I've made it work well for my end users, by customizing the Setup1 application, writing a menu-driven wrapper for the Setup application, and by running it in silent mode. (Note that the problem I'm about to describe occurred even before I started using silent mode.)
The issue I'm having is that my application requires quite a few auxiliary files, which I've added to the PDW project in the "Included files" section. When a user does a clean installation (either from scratch, or after un-installing a previous installation), everything works fine. However, if they simply run the installer to update the existing installation, the executable file and any OCXs I've updated get copied over the previous versions just fine, but my auxiliary files don't - I have to have the user manually delete them, and then the Setup1 program will re-install them as it should.
I've checked in the Setup.lst file, and all of the files are listed there, with their current date stamps. In fact, in my "BuildAll.bat" file, I do the Windows equivalent of a "touch" (copy /b "TheFile.dat" +,,) to force the date stamp to be current. However, if the file exists on the target machine, it won't be over-written even though it's older. There are no errors reported, either visibly or in the .LOG file (which is required if using the silent option).
A couple of additional points: Some of the auxiliary files are themselves VB6 applications - just the .exe files. Those do get copied correctly if they're newer than the existing files. Other than being files with internal versioning information, there's no difference between them and the other auxiliary files (which are things like media files, or text-based .txt or .dat files).
So, what's going on, and how do I fix it (besides moving to Inno or some other solution that won't work for me...)? Thanks in advance for any help!
~~
Mark Moulding
So the images below were originally a vb files. I have just opened it and it looks like this and the compiler won't run it. I am unsure whether this is a compiler error or whether it may have become corrupt because the project is stored on an external drive. It is just these two forms that have broken like this; I have one other form and a module in the same project that are okay but the project can't run because of the two that are broke.
Broken Login Form
Broken Diary Form
If it changes anything, the designer files for the forms are intact it is just the scripting for the forms elements that is broken.
Also, if I can't identify the cause, is there a way to revert it back to the last working version in visual studio to get my code back? Just because I put a lot of time into it.
The data in those files is most likely gone.
IMPORTANT: Do not write anything to that disk drive unless you find that you cannot recover those files.
If you are using a version control system then you can revert to an earlier version.
If you are using Windows 10 and you happen to have stored those files in a location included in what File History saves, you can recover them from that.
If you use some other form of backup, retrieve the files from that.
If you have a separate disk drive with at least as much free space as the one with the corrupted files, you could try running file recovery software as it might be that the zeroed-out file was written to a different place on the HDD.
TinTnMn pointed out in a comment that if you previously compiled the code, you should have executable files in the "obj" and "bin" folders that can be decompiled to recover most of your work
It could be quicker to re-write the code while it is still fresh in your mind.
I have a setup file for a particular application. When I run this file it automatically creates a folder in my C/: drive without consulting me and installs some stuff in there. Then it installs the rest of the stuff in Programfilesx86 folder in C/: drive. It is really frustrating that I have no control in deciding these parameters.
I managed to open the setup file using Winrar and there were six folders in there numbered from 'disk 1' to 'disk 6'. In 'disk 1' there are a couple of setup files which when run skip the first part of the setup (in which a folder is created in the C/: drive) and starts installing stuff in Programfilesx86.
There are also some other stuff in that folder which I tried to open with Notepad such as setup.lid, setup.ins and dll and bin files. Some of them looked sensible when opened, but some contained a lot of funny looking and meaningless characters (at least to me).
If you want something for testing (i.e. the software of interest), try downloading the Motec ECU manager from their website for free.
Any help or hints are appreciated.
Rubymine is taking over an hour to index a new project because it is including every Ruby file found on my computer as external libraries.
I do not want any of these files included in my project, but I cannot figure out how to exclude them. If I right click on them, I have the option to delete them, but it actually deletes the file instead of just removing it from the library and I don't want that. I have looked all through the settings and seen nothing about setting the external libraries. Anyone have any ideas?
I code on 2 different computers with different username. Xcode makes a .pbxuser file for each one, making necesary replicate the config from each one.
This is error prone, and the files are not diff-friendly so everything must be carefully checked. Any way to avoid this?
The info in the .pbxuser file is not particularly important - it's just personal settings like window locations, breakpoints, etc. All the important stuff is in project.pbxproj and this is the only file you need to sync/back up/check into source control/etc. You can ignore or even delete the other files in the .xcodeproj directory - they will get re-created with default settings.
the .pbxuser file does contain custom executables in there. So if you use a custom executable as a unit test runner, (or some other executable) you might have to share that file
When I have Xcode projects I might have to work on on multiple computers, I just have my project live on Dropbox. Then it's in the same folder on any computer I might use to work on it, and the changes get synced every time files are modified. That way I'm literally working on the exact same project on each computer.