Re: sqlite[s11]: database disk image malformed

2019-08-12 Thread Jens Restemeier
Option one would be to offer this from svn cleanup: https://forums.meteor.com/t/how-to-fix-sqlite-corrupt-so-meteor-cli-is-broken/6863/6 cd ~/.meteor/package-metadata/v2.0.1 sqlite3 packages.data.db .dump > backup mv packages.data.db packages.data.db.bustedX sqlite3 packages.data.db < backup rm ba

Re: sqlite[s11]: database disk image malformed

2019-08-12 Thread Daniel Shahaf
Jens Restemeier wrote on Mon, 12 Aug 2019 14:14 +00:00: > That is a good point, though I was hoping that implementation details > like the database library can be handled internally, What would you have us do when an SQLite API call returns SQLITE_CORRUPT (that's the error code you got)? > and a

Re: sqlite[s11]: database disk image malformed

2019-08-12 Thread Mark Phippard
On Mon, Aug 12, 2019 at 12:44 PM Jens Restemeier wrote: > I just tried this in a workspace I don’t need to work in. It looks like > the –force option in checkout does exactly that, though it still downloads > everything from the server. Copying the .svn workspace from another > workspace seems to

RE: sqlite[s11]: database disk image malformed

2019-08-12 Thread Jens Restemeier
-uses the workspace and the existing pristine copies in the .svn folder, so only properties and metadata needs to be downloaded from the server. From: Nathan Hartman Sent: 12 August 2019 13:17 To: Jens Restemeier Cc: users@subversion.apache.org Subject: Re: sqlite[s11]: database disk image

RE: sqlite[s11]: database disk image malformed

2019-08-12 Thread Jens Restemeier
@subversion.apache.org Subject: Re: sqlite[s11]: database disk image malformed Jens Restemeier wrote on Mon, 12 Aug 2019 11:19 +00:00: > Thanks to a power cut last week while updating I’ve got a few > corrupted > workspaces: > > Error: sqlite[S11]: database disk image is malformed >

Re: sqlite[s11]: database disk image malformed

2019-08-12 Thread Daniel Shahaf
Jens Restemeier wrote on Mon, 12 Aug 2019 11:19 +00:00: > Thanks to a power cut last week while updating I’ve got a few corrupted > workspaces: > > Error: sqlite[S11]: database disk image is malformed > Error: Additional errors: > Error: sqlite[S11]: database disk image is malformed > > I'm

Re: sqlite[s11]: database disk image malformed

2019-08-12 Thread Nathan Hartman
On Mon, Aug 12, 2019 at 7:19 AM Jens Restemeier wrote: > - would it be possible for "svn checkout" to only download the metadata > from > the server, and keep the workspace files unchanged? "svn checkout" can actually check out into a directory that already exists and contains files. When a fil

sqlite[s11]: database disk image malformed

2019-08-12 Thread Jens Restemeier
Thanks to a power cut last week while updating I’ve got a few corrupted workspaces: Error: sqlite[S11]: database disk image is malformed Error: Additional errors: Error: sqlite[S11]: database disk image is malformed I'm currently trying to repair them from a fresh checkout, but I was wonder