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

Tribler 7.1.5 not starting on MacOS #4158

hovancik opened this Issue Jan 17, 2019 · 2 comments


None yet
2 participants
Copy link

hovancik commented Jan 17, 2019

Please, fill all relevant items:

  • I have read CONTRIBUTING.rst

  • I have tried with the latest pre-release version and I still can reproduce the issue.

Tribler version/branch+revision:
Operating system and version:

MacOS 10.14.2

Steps to reproduce the behavior:
Expected behavior:
Actual behavior:
Relevant log file output:
Traceback (most recent call last):
  File "TriblerGUI/", line 114, in on_received_state
RuntimeError: Unhandled Error
Traceback (most recent call last):
  File "twisted/internet/", line 420, in fireEvent
  File "twisted/internet/", line 319, in addCallback
  File "twisted/internet/", line 308, in addCallbacks
  File "twisted/internet/", line 651, in _runCallbacks
--- <exception caught here> ---
  File "twisted/internet/", line 433, in _continueFiring
  File "", line 83, in start_tribler
  File "Tribler/pyipv8/ipv8/", line 49, in helper
  File "Tribler/pyipv8/ipv8/", line 61, in blockingCallFromThread
  File "Tribler/Core/", line 489, in start
  File "Tribler/Core/APIImplementation/", line 229, in register
  File "Tribler/Core/APIImplementation/", line 419, in init
  File "Tribler/Core/Modules/wallet/", line 38, in __init__
  File "/Applications/", line 92, in wallet_exists
    if wallet in [x['name'] for x in wallets_list(databasefile)]:
  File "/Applications/", line 63, in wallets_list
    wallets = session.query(DbWallet).all()
  File "sqlalchemy/orm/", line 2737, in all
  File "sqlalchemy/orm/", line 2889, in __iter__
  File "sqlalchemy/orm/", line 2912, in _execute_and_instances
  File "sqlalchemy/engine/", line 948, in execute
  File "sqlalchemy/sql/", line 269, in _execute_on_connection
  File "sqlalchemy/engine/", line 1060, in _execute_clauseelement
  File "sqlalchemy/engine/", line 1200, in _execute_context
  File "sqlalchemy/engine/", line 1413, in _handle_dbapi_exception
  File "sqlalchemy/util/", line 203, in raise_from_cause
  File "sqlalchemy/engine/", line 1193, in _execute_context
  File "sqlalchemy/engine/", line 507, in do_execute
sqlalchemy.exc.OperationalError: (pysqlite2.dbapi2.OperationalError) no such column: wallets.witness_type [SQL: u'SELECT AS wallets_id, AS wallets_name, wallets.owner AS wallets_owner, wallets.network_name AS wallets_network_name, wallets.purpose AS wallets_purpose, wallets.scheme AS wallets_scheme, wallets.witness_type AS wallets_witness_type, wallets.encoding AS wallets_encoding, wallets.main_key_id AS wallets_main_key_id, wallets.multisig_n_required AS wallets_multisig_n_required, wallets.sort_keys AS wallets_sort_keys, wallets.parent_id AS wallets_parent_id, AS wallets_1_id, AS wallets_1_name, wallets_1.owner AS wallets_1_owner, wallets_1.network_name AS wallets_1_network_name, wallets_1.purpose AS wallets_1_purpose, wallets_1.scheme AS wallets_1_scheme, wallets_1.witness_type AS wallets_1_witness_type, wallets_1.encoding AS wallets_1_encoding, wallets_1.main_key_id AS wallets_1_main_key_id, wallets_1.multisig_n_required AS wallets_1_multisig_n_required, wallets_1.sort_keys AS wallets_1_sort_keys, wallets_1.parent_id AS wallets_1_parent_id, AS wallets_2_id, AS wallets_2_name, wallets_2.owner AS wallets_2_owner, wallets_2.network_name AS wallets_2_network_name, wallets_2.purpose AS wallets_2_purpose, wallets_2.scheme AS wallets_2_scheme, wallets_2.witness_type AS wallets_2_witness_type, wallets_2.encoding AS wallets_2_encoding, wallets_2.main_key_id AS wallets_2_main_key_id, wallets_2.multisig_n_required AS wallets_2_multisig_n_required, wallets_2.sort_keys AS wallets_2_sort_keys, wallets_2.parent_id AS wallets_2_parent_id \nFROM wallets LEFT OUTER JOIN wallets AS wallets_2 ON = wallets_2.parent_id LEFT OUTER JOIN wallets AS wallets_1 ON = wallets_1.parent_id'] (Background on this error at:


This comment has been minimized.

Copy link

xoriole commented Jan 17, 2019

Thank you for reporting the error. It is related to upgrading issue of the wallet library.
Removing the wallet directory inside of .Tribler directory should 'fix' it but you'll lose your balance if any. Make sure to keep a backup of it first.

See related issues: #4154 #4074


This comment has been minimized.

Copy link
Contributor Author

hovancik commented Jan 17, 2019


@hovancik hovancik closed this Jan 17, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment