Skip to content
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.2.2 Runtime error #4395

xoriole opened this issue Mar 19, 2019 · 1 comment


None yet
3 participants
Copy link

commented Mar 19, 2019

Traceback (most recent call last):
  File "TriblerGUI\", line 114, in on_received_state
RuntimeError: Unhandled Error
Traceback (most recent call last):
  File "lib\site-packages\twisted\internet\", line 428, in fireEvent
  File "lib\site-packages\twisted\internet\", line 321, in addCallback
  File "lib\site-packages\twisted\internet\", line 310, in addCallbacks
  File "lib\site-packages\twisted\internet\", line 653, in _runCallbacks
--- <exception caught here> ---
  File "lib\site-packages\twisted\internet\", line 441, in _continueFiring
  File "", line 83, in start_tribler
  File "Tribler\pyipv8\ipv8\", line 35, in helper
  File "Tribler\pyipv8\ipv8\", line 47, in blockingCallFromThread
  File "Tribler\Core\", line 495, in start
  File "Tribler\Core\APIImplementation\", line 242, in register
  File "Tribler\Core\APIImplementation\", line 422, in init
  File "Tribler\Core\Modules\wallet\", line 26, in __init__
  File "Tribler\Core\Modules\", line 77, in initialize_lib
  File "C:\PROGRA~1\Tribler\bitcoinlib\", line 22, in <module>
    import bitcoinlib.keys
  File "C:\PROGRA~1\Tribler\bitcoinlib\", line 30, in <module>
    import scrypt
  File "c:\python27\Lib\site-packages\PyInstaller\loader\", line 389, in load_module
  File "lib\site-packages\scrypt\", line 1, in <module>
  File "c:\python27\Lib\site-packages\PyInstaller\loader\", line 389, in load_module
  File "lib\site-packages\scrypt\", line 15, in <module>
  File "lib\ctypes\", line 440, in LoadLibrary
  File "lib\site-packages\PyInstaller\loader\", line 136, in __init__
  File "lib\ctypes\", line 362, in __init__
exceptions.WindowsError: [Error 1114] A dynamic link library (DLL) initialization routine failed
os.getcwd          :     C:\Program Files\Tribler
sys.executable     :     C:\Program Files\Tribler\tribler.exe
os                 :     nt
platform           :     win32
platform.details   :     Windows-10-10.0.17763
platform.machine   :     AMD64
python.version     :     2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)
tribler_uptime     :     95.2960000038
sys.argv           :     C:\Program Files\Tribler\tribler.exe
sys.path           :     C:\PROGRA~1\Tribler

Reported in the forum; message from the user:

I’m getting a runtime error (A program attempted to access the c library incorrectly) while Tribler loads. I have uninstalled and deleted all file (AppData and registry entries) and reinstalled and I’m getting the same error.

@xoriole xoriole added the broken label Mar 19, 2019

@xoriole xoriole added this to the V7.3: Gigachannels milestone Mar 19, 2019


This comment has been minimized.

Copy link

commented Mar 19, 2019

Quick translation of the traceback: for some reason import scrypt causes the dll load failure. Specifically here:

_scrypt = cdll.LoadLibrary(imp.find_module('_scrypt')[1])

This suggests that the scrypt dll shipped with Tribler is corrupt (or built for the wrong architecture).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.