T Thraka Member Licensed User Longtime User Jul 22, 2015 #1 I want to try and find out why my project no longer loads after doing a git sync. I just get a generic error that a given key was not in a dictionary.
I want to try and find out why my project no longer loads after doing a git sync. I just get a generic error that a given key was not in a dictionary.
giga Well-Known Member Licensed User Longtime User Jul 23, 2015 #2 Can you give us the exact error? That will help determine the issue. Upvote 0
T Thraka Member Licensed User Longtime User Jul 23, 2015 #3 Error loading file. The given key was not present in the dictionary. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jul 23, 2015 #4 Open the B4A file with a text editor and check its content. Upvote 0
T Thraka Member Licensed User Longtime User Jul 23, 2015 #5 It looks fine and when I clone the repo into another directory, it works. When I diff the files on the good file and the bad one, they are the same. I figured it out The project.b4a.meta file has VisibleModules=6,98,99,100,101,102,16,44 And I'm guessing that some of these modules were removed from the project and the IDE has a problem with that. If I change this line to VisibleModules=6 It loads correctly. Upvote 0
It looks fine and when I clone the repo into another directory, it works. When I diff the files on the good file and the bad one, they are the same. I figured it out The project.b4a.meta file has VisibleModules=6,98,99,100,101,102,16,44 And I'm guessing that some of these modules were removed from the project and the IDE has a problem with that. If I change this line to VisibleModules=6 It loads correctly.
Erel B4X founder Staff member Licensed User Longtime User Jul 24, 2015 #6 Note that you can always delete the meta file. It doesn't hold any "important" data. Upvote 0