J JATAIDE Member Licensed User Longtime User Nov 18, 2012 #1 I was working on a project for a long time. Today, as every day I open the project and could not. message: Error loading File The given Key is not present in the dictionary Someone can help me in some idea so you can retrieve the source code of my working weeks. thank you Jorge Ataide
I was working on a project for a long time. Today, as every day I open the project and could not. message: Error loading File The given Key is not present in the dictionary Someone can help me in some idea so you can retrieve the source code of my working weeks. thank you Jorge Ataide
barx Well-Known Member Licensed User Longtime User Nov 18, 2012 #2 See this thread http://www.b4x.com/forum/basic4android-updates-questions/21976-key-dictionary.html#post127455 and this one http://www.b4x.com/forum/basic4android-updates-questions/10424-error-message-given-key-not-dictionary.html#post58006 Looks like it could be a License issue, have re-installed b4a or similar lately? Upvote 0
See this thread http://www.b4x.com/forum/basic4android-updates-questions/21976-key-dictionary.html#post127455 and this one http://www.b4x.com/forum/basic4android-updates-questions/10424-error-message-given-key-not-dictionary.html#post58006 Looks like it could be a License issue, have re-installed b4a or similar lately?
J JATAIDE Member Licensed User Longtime User Nov 18, 2012 #3 Error thank you I've read the contents of the links. My version is licensed and the problem only happens when I open that project. I can not solve the problem Upvote 0
Error thank you I've read the contents of the links. My version is licensed and the problem only happens when I open that project. I can not solve the problem
warwound Expert Licensed User Longtime User Nov 18, 2012 #4 If you don't find a solution then you can always open the .b4a and .bas files in a text editor to salvage your code. It'd take a little bit of copy/pasting to a new project but at least you'd have your code working again. Thinking though - is the error caused by a library that's used by this project? Has the library been changed since you last opened the project? Open the .b4a file in a text editor and you'll see the referenced libraries as well as your source code. Martin. Upvote 0
If you don't find a solution then you can always open the .b4a and .bas files in a text editor to salvage your code. It'd take a little bit of copy/pasting to a new project but at least you'd have your code working again. Thinking though - is the error caused by a library that's used by this project? Has the library been changed since you last opened the project? Open the .b4a file in a text editor and you'll see the referenced libraries as well as your source code. Martin.
J JATAIDE Member Licensed User Longtime User Nov 18, 2012 #5 thank you Thanks for the solution. Anyway there is nothing else to do. I opened the file, but B4a is empty. Something serious has happened. I have to make all the work. But thanks again. Upvote 0
thank you Thanks for the solution. Anyway there is nothing else to do. I opened the file, but B4a is empty. Something serious has happened. I have to make all the work. But thanks again.
Beja Expert Licensed User Longtime User Nov 18, 2012 #6 just a last hope.. before opening the b4a file in notpad, hover the mouse over it and see if the file size is more than zero.. if it is in the kilobytes, then something is hiding it from being read or displayed by any editor and you may need to proceed accordingly.. another try: change the suffix to com (abc.b4a becomes abc.com) and use the command line debug utility: Windows: Start-Run-CMD "Enter" debug abc.com "Enter" and then examine the contents. Upvote 0
just a last hope.. before opening the b4a file in notpad, hover the mouse over it and see if the file size is more than zero.. if it is in the kilobytes, then something is hiding it from being read or displayed by any editor and you may need to proceed accordingly.. another try: change the suffix to com (abc.b4a becomes abc.com) and use the command line debug utility: Windows: Start-Run-CMD "Enter" debug abc.com "Enter" and then examine the contents.
J JATAIDE Member Licensed User Longtime User Nov 18, 2012 #7 file Thank you The file have 95 kb i go to see if exist onother program to show the container of him. Thanks Upvote 0
file Thank you The file have 95 kb i go to see if exist onother program to show the container of him. Thanks
Erel B4X founder Staff member Licensed User Longtime User Nov 18, 2012 #8 I tested the file you sent me. It only includes zero bytes. It is unrecoverable. Did you get any error message when saving it? Upvote 0
I tested the file you sent me. It only includes zero bytes. It is unrecoverable. Did you get any error message when saving it?
barx Well-Known Member Licensed User Longtime User Nov 18, 2012 #9 Ouch! that's got to hurt. Unlucky buddy. :sign0013::signOops: Upvote 0
J JATAIDE Member Licensed User Longtime User Nov 18, 2012 #10 file Probably the computer was shut down by someone with the program open. It happens, it's my fault, I nead take more atention . Well friends, I have a long week ahead. Thank you all. Tank you Erel for your response. Upvote 0
file Probably the computer was shut down by someone with the program open. It happens, it's my fault, I nead take more atention . Well friends, I have a long week ahead. Thank you all. Tank you Erel for your response.
WAZUMBi Well-Known Member Licensed User Longtime User Nov 19, 2012 #11 After each coding session I back up my project on two exterenal USB drives and put it one a safe place and keep one with me on my keychain. I save each days work separately in a separate directory. This way should anything happen such as this (and it has) I have a full back up of everything. I only loose that days work. For a given project I may have upto 30 directories with each days work but a 32gb card is only a few bucks these days so I figure it doesn't hurt to be too carefull. Upvote 0
After each coding session I back up my project on two exterenal USB drives and put it one a safe place and keep one with me on my keychain. I save each days work separately in a separate directory. This way should anything happen such as this (and it has) I have a full back up of everything. I only loose that days work. For a given project I may have upto 30 directories with each days work but a 32gb card is only a few bucks these days so I figure it doesn't hurt to be too carefull.
A aloof Member Licensed User Longtime User Nov 19, 2012 #12 i work out of google drive, and its free Upvote 0