Apk compiler error
-
- Posts: 268
- Joined: Fri Feb 24, 2012 9:34 am
Apk compiler error
hello andreas, from yesterday i have this error when i attempt to load the apkcompiler, i tried to reinstall it, but the problem still, any idea?
could not read all characters from file!
check if ut us read protected!
file:apkcompiler.hws (current line: 1224 in function: loadprefs)
could not read all characters from file!
check if ut us read protected!
file:apkcompiler.hws (current line: 1224 in function: loadprefs)
- airsoftsoftwair
- Posts: 5476
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Apk compiler error
Hmm, can you send me the file C:\Users\<yourusername>\AppData\Roaming\AirsoftSoftwair\Hollywood\Preferences\com.airsoftsoftwair.apkcompiler? Then I'll be able to examine what's wrong there.
-
- Posts: 268
- Joined: Fri Feb 24, 2012 9:34 am
Re: Apk compiler error
the file com.airsoftsoftwair.apkcompiler have a size of 0
if i rename it, i can load again the compiler, but i lost all the prefs data
if i rename it, i can load again the compiler, but i lost all the prefs data
- airsoftsoftwair
- Posts: 5476
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Apk compiler error
That is weird. Do you have multiple users on your system? What happens if you delete the file, start APKCompiler and close the program again? Does the file have a size of 0 then too?
-
- Posts: 268
- Joined: Fri Feb 24, 2012 9:34 am
Re: Apk compiler error
i dont have more users in the system, the solution was delete the file and reconfigure it, no problem, maybe is a good idea make a .bak file of the preferences , and if the compiler read the prefs file with size 0, load the .bak
- airsoftsoftwair
- Posts: 5476
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Apk compiler error
Hmm, strange. Do you remember what you did right before this file's size became 0? Can you reproduce the problem?
-
- Posts: 268
- Joined: Fri Feb 24, 2012 9:34 am
Re: Apk compiler error
i use ccleaner, i think that is the problem, today i has the same issue after of use it, but now i have a copy of the prefs file
- airsoftsoftwair
- Posts: 5476
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Apk compiler error
Ok, if some weird external programs wipe your AppData folder then it's no wonder that APKCompiler crashes
Re: Apk compiler error
I had a similar issue here. All of a sudden apkcompiler refused to start, and just gave me this error on startup.
"Error deserializing item! File: apkcompiler.hws (current line:1586 - In function: LoadPrefs)"
I suspect this happened due to my laptop have a fan issue and sometimes just shuts down for heat protection.
My prefs file does still have some content, but its not a readable text file.
Is there some way I can decode the prefs file myself in order to read the data?
"Error deserializing item! File: apkcompiler.hws (current line:1586 - In function: LoadPrefs)"
I suspect this happened due to my laptop have a fan issue and sometimes just shuts down for heat protection.
My prefs file does still have some content, but its not a readable text file.
Is there some way I can decode the prefs file myself in order to read the data?
- airsoftsoftwair
- Posts: 5476
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Apk compiler error
I've had a look at the prefs file you sent me via e-mail and it's all zeroes. The prefs file is written once you close APK Compiler so the only explanation I have is that when shutting down Windows killed the APK Compiler process while it was writing its prefs file. I don't see how else this could happen. But the solution is simple: Just delete the prefs file and it should work again.