{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/9457","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/9457/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/9457/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/9457/events","html_url":"https://github.com/NixOS/nixpkgs/issues/9457","id":103297941,"number":9457,"title":"Tribler fails to start","user":{"login":"gavinrogers","id":2430469,"avatar_url":"https://avatars.githubusercontent.com/u/2430469?v=3","gravatar_id":"","url":"https://api.github.com/users/gavinrogers","html_url":"https://github.com/gavinrogers","followers_url":"https://api.github.com/users/gavinrogers/followers","following_url":"https://api.github.com/users/gavinrogers/following{/other_user}","gists_url":"https://api.github.com/users/gavinrogers/gists{/gist_id}","starred_url":"https://api.github.com/users/gavinrogers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavinrogers/subscriptions","organizations_url":"https://api.github.com/users/gavinrogers/orgs","repos_url":"https://api.github.com/users/gavinrogers/repos","events_url":"https://api.github.com/users/gavinrogers/events{/privacy}","received_events_url":"https://api.github.com/users/gavinrogers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-26T15:31:51Z","updated_at":"2015-08-29T17:44:57Z","closed_at":null,"body":"The problem seems to be with the dependency \r\nmartinpaljak/M2Crypto#60\r\n\r\nError:\r\n\r\n```\r\n$ tribler\r\nNo handlers could be found for logger \"__main__\"\r\nTraceback (most recent call last):\r\n  File \"/nix/store/dw6pf1zavwyxhg07r1qnl3h0gd5gqdi8-tribler-v6.4.3/share/tribler/Tribler/Main/tribler.py\", line 34, in <module>\r\n    run()\r\n  File \"/nix/store/dw6pf1zavwyxhg07r1qnl3h0gd5gqdi8-tribler-v6.4.3/share/tribler/Tribler/Main/tribler.py\", line 25, in run\r\n    from Tribler.Main.tribler_main import run as run_main\r\n  File \"/nix/store/dw6pf1zavwyxhg07r1qnl3h0gd5gqdi8-tribler-v6.4.3/share/tribler/Tribler/Main/tribler_main.py\", line 18, in <module>\r\n    from Tribler.Main.Utility.compat import (convertSessionConfig, convertMainConfig, convertDefaultDownloadConfig,\r\n  File \"/nix/store/dw6pf1zavwyxhg07r1qnl3h0gd5gqdi8-tribler-v6.4.3/share/tribler/Tribler/Main/Utility/compat.py\", line 17, in <module>\r\n    from Tribler.Core.SessionConfig import SessionStartupConfig\r\n  File \"/nix/store/dw6pf1zavwyxhg07r1qnl3h0gd5gqdi8-tribler-v6.4.3/share/tribler/Tribler/Core/SessionConfig.py\", line 23, in <module>\r\n    from Tribler.Core.Utilities.utilities import find_prog_in_PATH\r\n  File \"/nix/store/dw6pf1zavwyxhg07r1qnl3h0gd5gqdi8-tribler-v6.4.3/share/tribler/Tribler/Core/Utilities/utilities.py\", line 5, in <module>\r\n    from Tribler.Core.Utilities.Crypto import sha\r\n  File \"/nix/store/dw6pf1zavwyxhg07r1qnl3h0gd5gqdi8-tribler-v6.4.3/share/tribler/Tribler/Core/Utilities/Crypto.py\", line 6, in <module>\r\n    from M2Crypto import BIO\r\n  File \"/nix/store/h84nvlrwv2y4nzvba65817kmjn6am7ra-python2.7-m2crypto-0.21.1/lib/python2.7/site-packages/M2Crypto/__init__.py\", line 24, in <module>\r\n    import ASN1\r\n  File \"/nix/store/h84nvlrwv2y4nzvba65817kmjn6am7ra-python2.7-m2crypto-0.21.1/lib/python2.7/site-packages/M2Crypto/ASN1.py\", line 12, in <module>\r\n    import BIO\r\n  File \"/nix/store/h84nvlrwv2y4nzvba65817kmjn6am7ra-python2.7-m2crypto-0.21.1/lib/python2.7/site-packages/M2Crypto/BIO.py\", line 221, in <module>\r\n    class CipherStream(BIO):\r\n  File \"/nix/store/h84nvlrwv2y4nzvba65817kmjn6am7ra-python2.7-m2crypto-0.21.1/lib/python2.7/site-packages/M2Crypto/BIO.py\", line 227, in CipherStream\r\n    SALT_LEN = m2.PKCS5_SALT_LEN\r\nAttributeError: 'module' object has no attribute 'PKCS5_SALT_LEN'\r\n```\r\n\r\nWhat I have installed (from channel nixos-unstable):\r\n\r\n```\r\n$ nix-store --query --references $(which tribler)\r\n/nix/store/zmd4jk4db5lgxb8l93mhkvr3x92g2sx2-bash-4.3-p39\r\n/nix/store/ss1aq46xwhnqikq5bjs02sb9xrim2bb3-python-2.7.10\r\n/nix/store/5308x1wc8dhsi9vbhxqzpcjcmlprqv6h-python2.7-setuptools-18.0.1\r\n/nix/store/hzqd9j72fwy7h5b14is6pyx5y7fm5174-python-recursive-pth-loader-1.0\r\n/nix/store/08rsi3jrarhr59zbf4v7cx913amz3jz1-python2.7-pyasn1-0.1.8\r\n/nix/store/491b4lphhxffyq7g9np76i94308ax7k9-python2.7-requests-1.2.3\r\n/nix/store/6lbaphnywqpzs3vwjfn8kcdilc6frw98-python2.7-netifaces-0.10.4\r\n/nix/store/7znkqz9r2bw7a21ss5h20gkvw0xhrg9g-python-curses-2.7.10\r\n/nix/store/93yd0zzdw7szhzjwj4nn5amx1k7wgzb6-libtorrent-rasterbar-1.0.6\r\n/nix/store/ci3zq61v8aj9vh2b4ysgil1nmzm9aanj-python2.7-zope.event-4.0.3\r\n/nix/store/f26bplmy22yv6i49hggxz66pclqplj9n-python2.7-PIL-1.1.7\r\n/nix/store/gvkf742qk3abpgdzg4mm3n7s8mkw6lnn-python2.7-apsw-3.7.6.2-r1\r\n/nix/store/h84nvlrwv2y4nzvba65817kmjn6am7ra-python2.7-m2crypto-0.21.1\r\n/nix/store/n1rbnk5ya30pca0ghrxy6dch3kygxy1b-python2.7-gmpy-1.17\r\n/nix/store/qch3pizcx1ljpbalyvfm40jbi3c7s6sv-pycrypto-2.6.1\r\n/nix/store/vbf3b4fw2f1041w2k1vw0jc6i0aznpm1-python-sqlite3-2.7.10\r\n/nix/store/xi99nb175zj73crg8pbc95mxqhf9sk9f-python2.7-zope.interface-4.1.1\r\n/nix/store/yhha4khq74grk8z53w7680p70lyxkxql-python2.7-Twisted-11.1.0\r\n/nix/store/z34kgkxajiad32vgy9fxpks00ix11p6z-wxPython-2.8.12.1\r\n/nix/store/dw6pf1zavwyxhg07r1qnl3h0gd5gqdi8-tribler-v6.4.3\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/136018275","html_url":"https://github.com/NixOS/nixpkgs/issues/9457#issuecomment-136018275","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/9457","id":136018275,"user":{"login":"cheecheeo","id":175882,"avatar_url":"https://avatars.githubusercontent.com/u/175882?v=3","gravatar_id":"","url":"https://api.github.com/users/cheecheeo","html_url":"https://github.com/cheecheeo","followers_url":"https://api.github.com/users/cheecheeo/followers","following_url":"https://api.github.com/users/cheecheeo/following{/other_user}","gists_url":"https://api.github.com/users/cheecheeo/gists{/gist_id}","starred_url":"https://api.github.com/users/cheecheeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cheecheeo/subscriptions","organizations_url":"https://api.github.com/users/cheecheeo/orgs","repos_url":"https://api.github.com/users/cheecheeo/repos","events_url":"https://api.github.com/users/cheecheeo/events{/privacy}","received_events_url":"https://api.github.com/users/cheecheeo/received_events","type":"User","site_admin":false},"created_at":"2015-08-29T17:44:57Z","updated_at":"2015-08-29T17:44:57Z","body":"https://github.com/cheecheeo/nixpkgs/tree/m2cryptoswig1 is a proof-of-concept downgrade patch and works for me. Once https://github.com/martinpaljak/M2Crypto/issues/60 is resolved an upgrade patch would seem like a better approach."}}