Hello Ralph,
Is there a particular reason why you need the production database to test? Where I work, our production services contain confidential data, so we generate dummy data from a script (similar to this:
http://www.generatedata.com/#about ). Also it's much faster than using the Remote API.
If you need your production database, we can try something else: perhaps your db is getting corrupted because of its location. You can move the location of local_db.bin by specifying a system property:
https://groups.google.com/forum/?fromgroups=#!topic/maven-gae-plugin/V3MrpRYu6oE . Try moving it entirely outside of your dev folders, see if that helps you. If not, you can always try backing up the .bin file and restoring it whenever it gets corrupted.
-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL
On Friday, April 12, 2013 3:07:15 AM UTC-5, Ralph Brecheisen wrote:
Hi,
I already use the approach suggested by Simon. I download the production database and upload it into the local development environment using Remote API. Right after I do this everything works fine. However, after restarting the local server a few times, for some reason, the local_db.bin gets corrupted or something and it fails to load with the above-described EOFException. If I re-import the database again with Remote API all is well again.
I know this error occurs when I upgrade the App Engine version (I'm now at 1.7.6). This annoying but ok... However, the error also occurs without switching versions and that is a bit more than annoying because it really slows down my development cycles.
Any solutions or comments on how why this happens and what's the best way to deal with it?
Grtz,
Ralph
On Friday, December 14, 2012 1:24:41 PM UTC+1, Nico Verwer wrote:I am having the same problem since I switched to the HRD datastore in my development environment.
Every time the local appengine starts up, this happens, even when there has not been an update of the appengine jar-files.
I am using version 1.7.2.1 of the appengine SDK.
If anyone has a solution, it would be great if they could post it here.