-
Notifications
You must be signed in to change notification settings - Fork 451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CorruptedDatabaseError: Failed to load database version: SQLError: no such table: MyInfo #2608
Comments
Thanks for your report! |
@slrslr can you try to backup your |
@devos50 here are commands i did and its results. Please let me know if anything else i should try. COMMAND: Traceback from the reactor's thread: Traceback (most recent call last): |
@slrslr thanks! It appears that an error occurred during the creation of the database, in particular, you don't have FTS4 support in your sqlite version. Can you post your sqlite version by running the following command?
|
dpkg-query -l | grep sqlite Can i enable/install FTS4 anyhow? |
Hmm it appears that the |
I would like to do it, but i do not know how. I followed tutorial how to compile sqlite3, but i do not know how to pass that flag, mind giving me command/s please? thx
|
@slrslr try to following command when building:
|
@devos50
The result:
|
@slrslr please remove the Tribler state dir ( |
@devos50
now the error is:
dpkg-query -l | grep sqlite |
I ran in the same issue some time ago. python setup.py build --enable-all-extensions More info @ https://rogerbinns.github.io/apsw/build.html |
@loadletter thank you for the info! @slrslr please let me know whether this works for you 👍 |
Im a newbie in this so i am unsure how to install properly.
but returns:
|
@slrslr you're not installing the newly built apsw. Please also run the following command after building apsw:
so the library gets copied to the site-packages directory. |
i did:
error is the same (no such module fts4) |
Try running this:
The --sqlite flag should tell apsw to build it's own copy of sqlite |
loadletter: that did not work. "error: option --sqlite not recognized" |
Try
If it still gives an error then it's caused by sqlite, otherwise there's something wrong with the python environment |
Thx, seems something is wrong with python environment then. |
@slrslr did you manage to fix this? Since it's not an issue in Tribler itself, I will close this. |
Tribler version/branch+revision:
One that was available 1st November 2016 at https://github.com/Tribler/tribler.git
Operating system and version:
Linux kali 4.6.0-kali1-686-pae #1 SMP Debian 4.6.4-1kali1 (2016-07-21) i686 GNU/Linux
Steps to reproduce the behavior:
I tried to install Tribler via command line inside Virtualbox VM.
sudo apt-get install libav-tools libjs-excanvas libjs-mootools libsodium* libx11-6 python-apsw python-cherrypy3 python-crypto python-cryptography python-feedparser python-leveldb python-libtorrent python-m2crypto python-netifaces python-pil python-pyasn1 python-twisted python-wxgtk3.0 python2.7 vlc-data* python-pip python-chardet python-configobj
sudo pip install decorator libnacl
git clone --recursive https://github.com/Tribler/tribler.git
cd tribler
./tribler.sh
ImportError: No module named cherrypy.lib.httputil
pip install cherrypy
./tribler.sh
/root/tribler/Tribler/Core/TorrentDef.py:9: RuntimeWarning: to-Python converter for boost::shared_ptrlibtorrent::alert already registered; second conversion method ignored.
from libtorrent import bencode, bdecode
ERROR 1478037226.50 util:239 Exception raised on the reactor's thread CorruptedDatabaseError: "Failed to load database version: SQLError: no such table: MyInfo".
Traceback from this thread:
File "Tribler/Main/tribler.py", line 95, in
main()
File "Tribler/Main/tribler.py", line 85, in main
run()
File "Tribler/Main/tribler.py", line 68, in run
run_main()
File "/root/tribler/Tribler/Main/tribler_main.py", line 930, in run
use_torrent_search=use_torrent_search, use_channel_search=use_channel_search)
File "/root/tribler/Tribler/Main/tribler_main.py", line 111, in init
use_torrent_search=use_torrent_search, use_channel_search=use_channel_search)
File "/root/tribler/Tribler/Main/tribler_main.py", line 330, in InitStage1
self.upgrader = session.prestart()
File "/root/tribler/Tribler/dispersy/util.py", line 46, in helper
return blockingCallFromThread(reactor, func, *args, **kargs)
File "/root/tribler/Tribler/dispersy/util.py", line 236, in blockingCallFromThread
this_thread_tb = traceback.extract_stack()
Traceback from the reactor's thread:
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 150, in maybeDeferred
result = f(*args, **kw)
File "/root/tribler/Tribler/Core/Session.py", line 192, in prestart
self.sqlite_db.initialize()
File "/root/tribler/Tribler/dispersy/util.py", line 46, in helper
return blockingCallFromThread(reactor, func, *args, **kargs)
File "/root/tribler/Tribler/dispersy/util.py", line 225, in blockingCallFromThread
return f(*args, **kwargs)
File "/root/tribler/Tribler/Core/CacheDB/sqlitecachedb.py", line 87, in initialize
self._open_connection()
File "/root/tribler/Tribler/Core/CacheDB/sqlitecachedb.py", line 187, in _open_connection
raise CorruptedDatabaseError(msg)
Traceback (most recent call last):
File "/root/tribler/Tribler/Main/tribler_main.py", line 930, in run
use_torrent_search=use_torrent_search, use_channel_search=use_channel_search)
File "/root/tribler/Tribler/Main/tribler_main.py", line 111, in init
use_torrent_search=use_torrent_search, use_channel_search=use_channel_search)
File "/root/tribler/Tribler/Main/tribler_main.py", line 330, in InitStage1
self.upgrader = session.prestart()
File "/root/tribler/Tribler/dispersy/util.py", line 46, in helper
return blockingCallFromThread(reactor, func, *args, **kargs)
File "/root/tribler/Tribler/dispersy/util.py", line 240, in blockingCallFromThread
result.raiseException()
File "", line 2, in raiseException
CorruptedDatabaseError: Failed to load database version: SQLError: no such table: MyInfo
The text was updated successfully, but these errors were encountered: