Go Down

Topic: Cannot Load Keywords.txt re-install processing (Read 1 time) previous topic - next topic

Hokahonay

Hi All
I am sure this post must have com up before but i cannot find it anywhere.
Arduino was....... working perfectly happily and doing everything it should with no problems then i started getting the odd message 'Cannot Load Keywords.txt re-install processing' when i try to open an arduino file (*.ino) this happens on all projects. At first Arduino carried on opening, then later it came up with the message then closed again
First step uninstall and re install Arduino to the lates version....... same effect
Next i know Arduino uses Java so uninstall Jave and re install to latest version.... same effect
I found a post in a forum saying that there was a Keywords.txt bug with a copy of what it should look like so replace Keywords.txt ........ same effect, Arduino starts to open, the killer message then closes
I'm starting to run out of hair to pull out, as i said before i'm sure it must have been seen before, is there a guru out there that can help PLEEEEEEEESE
oh one other thing there is no problem with the project files, they open fine on a different pc
My system XP SE3

thanks for any replies
Dave

spatula

Hi, I've never seen that problem but files named keywords.txt are associated to libraries -- both the Arduino core libraries and the user-installed ones. Since you reinstalled the Arduino software I would look into the libraries directory in your sketchbook directory (the default location for your sketches and libraries, usually somewhere under your home directory). You may try to rename it and create an empty "libraries" directory, see if the sketch opens, then move the existing libraries into the new directory until you find the bad one.

Hokahonay

Hi, Thanks for your input. the weird thing is that all of the files work ok on a different computer. The clue (i'm starting to think) might be in the bit that says 're install processing', i took it to mean base programmes i.e. Ardruino but after chasing down the processing bit the Arduino front end looks remarkably like the graphics programme called processing front end i'm wondering if the error message i'm seeing is a left over from the conversion from processing to Arduino.
i did try what you suggested, deleting and re creating the base folders but still get the same problem
weirder and weirder...... got to be something simple, looks too complicated not to be

spatula

Hi, I just got the same error (intentionally) by deleting the file libraries.txt under the Arduino program directory (on a Mac is <arduino-root>/Contents/Resources/Java/lib, on Windows I believe that 'lib' is just under the arduino root directory). So I would reinstall the Arduino IDE one more time (and check that any arduino-related paths, such as those used by the "Open/Open with" commands, point to the new installation).

shanester

I have the same issue.
I was using 1.0.5 and installed the LEDControl library - copied it into the library folder in usr/share/arduino/libraries. I'm running Ubuntu 12.04 LTS
Suddenly I get this error.
So I unistalled and reinstalled- no change.
I've installed processing 1.5.1 successfully and unistalled and reinstalled the IDE (arduino and arduino-core) both from the terminal and tried using synaptic. No different.
Interestingly I can (and have) installed and run the IDE using the "Complete Numpties Guide" but this runs it from a desktop folder- so I can't pin it to the startbar annoyingly. But it does prove that I can run it on this computer.
Any help would be appreciated. I have also tried reinstalling without this desktop version to ensure they don't clash- again no help

Thanks

Shane

rjones1

I am also having the same issue with a new Windows 7 Install. Was working fine. It seems it started getting this message after I installed the debounce library. I tried re-installing same issue, deleted all of the regedit entries related to Arduino.  My work around was to install under Windows Virtual PC running Windows XP. Seems to be working fine even after installing the debounce library. I have tried from versions 1.0,1.0.5 and 1.5.2, same problem.

I have this working on another Windows 7 install. I recreated this issue on that install by renaming the keyboard.txt file in the /lib folder. I think someone else on this tread did the same thing.

I am at a loss on what else to try.

Anyone have any new ideas?

Rick Jones

Rizza

I had changed the formatting of a keywords doc in libraries. Then i started getting this message. I just went back to the doc and changed the formatting back and now it works again. Mine was an AF motor library, changed the formatting of the text back to how it came(one line) and it works. Let me know if this helps. seems too simple......

rjones1

Thanks for the reply.

I deleted the ...\Documents\Arduino\libraries\Bounce folder and re installed the Bounce library and that seemed to fix the issue. Maybe somehow the keyword.txt file got changed in the old install.

Rick Jones

spankymonkey

I use windows based OS but this simple solution will work on most platforms.
If this case happens it is usually because you messed with the Arduino libraries at some point.

Option 1
Simply move all the suspected libraries (folders) to another location outside of the "libraries" folder.
Usually located at: C:\Program Files (x86)\Arduino\libraries\ ...
Run the Arduino program and see if this error returns.
Then move back one folder at a time and run Arduino each time to see if the error return.

Option 2
If you know the latest libraries installed then simply delete the keywords.txt file in each folder you suspect the problem in.

Der_Rudy

I got this message also.
Tried everything even manualy deleted all the folders (i think) after de-installing the software.
but the problem is still there after i install the software again.

I tried all versions i could find but none solved my problem.

Can anyone please help me ??

I use Windows 7 64bits.

Ruud

_Yvan_

Hi, everybody !

Just had the precise same problem just now, found the unresolved topic and found my own solution, thought I would share.

I must say as a foreword that I'm running wheezy, you windoz folks will have to adapt.
My problem arose from a change of home directory.

Here is the fix that worked for me:
Edit the file preferences.txt
Under Debian it was found in /home/yyy/.arduino/
Some links were left in absolute adressing and I had to manually change them to reflect the new state of affairs ...

Example:
last.sketch5.path=/home/xxxx/sketchbook/autoScroll2/autoScroll2.ino
became
last.sketch5.path=/home/yyy/sketchbook/autoScroll2/autoScroll2.ino

Ciao a tutti
;)





Go Up