Skip to content

Instantly share code, notes, and snippets.

@nknskn
Created November 7, 2015 12:00
Show Gist options
  • Select an option

  • Save nknskn/67ffa316cb5a8ab79ae7 to your computer and use it in GitHub Desktop.

Select an option

Save nknskn/67ffa316cb5a8ab79ae7 to your computer and use it in GitHub Desktop.

Revisions

  1. nknskn created this gist Nov 7, 2015.
    15 changes: 15 additions & 0 deletions btproxy_traceback_address_in_use
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    Traceback (most recent call last):
    File "/usr/local/bin/btproxy", line 5, in <module>
    pkg_resources.run_script('btproxy==0.1', 'btproxy')
    File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 528, in run_script
    self.require(requires)[0].run_script(script_name, ns)
    File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1394, in run_script
    execfile(script_filename, namespace, namespace)
    File "/usr/local/lib/python2.7/dist-packages/btproxy-0.1-py2.7-linux-x86_64.egg/EGG-INFO/scripts/btproxy", line 39, in <module>
    btproxy.mitm()
    File "/usr/local/lib/python2.7/dist-packages/btproxy-0.1-py2.7-linux-x86_64.egg/libbtproxy/mitm.py", line 535, in mitm
    server_sock = self.start_service(service)
    File "/usr/local/lib/python2.7/dist-packages/btproxy-0.1-py2.7-linux-x86_64.egg/libbtproxy/mitm.py", line 267, in start_service
    server_sock.bind(addrport)
    File "build/bdist.linux-x86_64/egg/bluetooth/bluez.py", line 178, in bind
    _bluetooth.error: (98, 'Address already in use')