tdlib / td

Cross-platform library for building Telegram clients
https://core.telegram.org/tdlib
Boost Software License 1.0
7.11k stars 1.44k forks source link

TDLib fatal error #2386

Closed goodboy-XXX closed 1 year ago

goodboy-XXX commented 1 year ago

TDLib fatal error: [SqliteDb.cpp:79][#1][!Td] Database was deleted during execution and can't be recreated: [WindowsError : 系统找不到指定的文件。 :"db.sqlite" can't be opened for reading for stat]

levlam commented 1 year ago

Someone deleted the db.sqlite file, required by TDLib. You should be able to start TDLib without issues after that, but some data is lost.

goodboy-XXX commented 1 year ago

How to solve it and what needs to be done

levlam commented 1 year ago

You need to check, what's happened with db.sqlite file in the TDLib's database directory, specified in setTdlibParameters.

goodboy-XXX commented 1 year ago

Yeah,i got it,thanks!