#1 2013-03-27 11:38:46

colbert
Member
Registered: 2013-03-02
Posts: 38
Website

Error on Restore SQLite Database

Hi,

When trying to restore a db using TSQLRestServerDB.Restore, I got this error: "DBOpen called twice".

What is the cause of this error? Seems like it happens in this line o code:

function TSQLDataBase.DBOpen: integer;
  (....)
  if fDB<>0 then
    raise ESQLite3Exception.Create('DBOpen called twice'); //happens here
  if (sqlite3=nil) or not Assigned(sqlite3.open) then

Last edited by colbert (2013-03-27 11:55:13)

Offline

#2 2013-03-27 14:11:18

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,660
Website

Re: Error on Restore SQLite Database

Are you using the latest 1.18 unstable version?

See http://synopse.info/fossil/wiki?name=Get+the+source

Offline

#3 2013-03-27 14:48:27

colbert
Member
Registered: 2013-03-02
Posts: 38
Website

Re: Error on Restore SQLite Database

Yup... What could be the cause o this error?

Offline

#4 2013-03-27 15:14:32

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,660
Website

Re: Error on Restore SQLite Database

A lot of fixes have been included in 1.18.

You may face a known and already fixed issue.

First step is always to check the latest version of the code.

Offline

#5 2013-03-27 16:59:37

colbert
Member
Registered: 2013-03-02
Posts: 38
Website

Re: Error on Restore SQLite Database

I think I expressed myself badly.

I'm already using the lastest version of the source.

Offline

#6 2013-03-28 10:19:48

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,660
Website

Re: Error on Restore SQLite Database

Could you please create a ticket about this, so that we may be able to track the problem?

Thanks!

Offline

#7 2013-03-28 13:05:23

colbert
Member
Registered: 2013-03-02
Posts: 38
Website

Re: Error on Restore SQLite Database

Offline

Board footer

Powered by FluxBB