Comments (5)
I solved this issue replacing in the setup.py file the following string:
package_data = { 'bleah': os.path.abspath('./bleah/oui.dat') },
with this one:
package_data = { 'bleah': [os.path.abspath('./bleah/oui.dat')] },
from bleah.
Thanks @turbofocus
I had to also remove bleah from the array, as I was already in the bleah directory as per the instructions.
package_data = { 'bleah': [os.path.abspath('./oui.dat')] },
Now when running the bleah command I am met with a new error.
root@DESKTOP-L593AS0:~/bleah# bleah -e
. .
.n . . n.
. .dP dP 9b 9b. .
4 qXb . dX BLEAH v1.0.0 Xb . dXp t
dX. 9Xb .dXb __ __ dXb. dXP .Xb
9XXb._ _.dXXXXb dXXXXbo. .odXXXXb dXXXXb._ _.dXXP
9XXXXXXXXXXXXXXXXXXXVXXXXXXXXOo. .oOXXXXXXXXVXXXXXXXXXXXXXXXXXXXP
`9XXXXXXXXXXXXXXXXXXXXX'~ ~`OOO8b d8OOO'~ ~`XXXXXXXXXXXXXXXXXXXXXP'
`9XXXXXXXXXXXP' `9XX' * `98v8P' * `XXP' `9XXXXXXXXXXXP'
~~~~~~~ 9X. .db|db. .XP ~~~~~~~
)b. .dbo.dP'`v'`9b.odb. .dX(
,dXXXXXXXXXXXb dXXXXXXXXXXXb.
dXXXXXXXXXXXP' . `9XXXXXXXXXXXb
dXXXXXXXXXXXXb d|b dXXXXXXXXXXXXb
9XXb' `XXXXXb.dX|Xb.dXXXXX' `dXXP
`' 9XXXXXX( )XXXXXXP `'
XXXX X.`v'.X XXXX
XP^X'`b d'`X^XX
X. 9 ` ' P )X
`b ` ' d'
` '
Made with ❤ by Simone 'evilsocket' Margaritelli
@ Scanning for 5s [-128 dBm of sensitivity] ...
Traceback (most recent call last):
File "/usr/local/bin/bleah", line 5, in <module>
pkg_resources.run_script('bleah==1.0.0', 'bleah')
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/bleah-1.0.0-py2.7.egg/EGG-INFO/scripts/bleah", line 122, in <module>
main()
File "/usr/local/lib/python2.7/dist-packages/bleah-1.0.0-py2.7.egg/EGG-INFO/scripts/bleah", line 82, in main
devices = start_scan(args)
File "/usr/local/lib/python2.7/dist-packages/bleah-1.0.0-py2.7.egg/bleah/scan.py", line 162, in start_scan
return scanner.scan(args.timeout)
File "/usr/local/lib/python2.7/dist-packages/bluepy/btle.py", line 679, in scan
self.start(passive=passive)
File "/usr/local/lib/python2.7/dist-packages/bluepy/btle.py", line 617, in start
self._mgmtCmd("le on")
File "/usr/local/lib/python2.7/dist-packages/bluepy/btle.py", line 272, in _mgmtCmd
rsp = self._waitResp('mgmt')
File "/usr/local/lib/python2.7/dist-packages/bluepy/btle.py", line 330, in _waitResp
raise BTLEException(BTLEException.MGMT_ERROR, "Management not available (permissions problem?)")
bluepy.btle.BTLEException: Management not available (permissions problem?)
from bleah.
bluepy, which bleah is using, is not compatible with windows.
from bleah.
Even the Ubuntu bash within?
from bleah.
Yes, the Ubuntu sybsystem on Windows is pretty much fake, it does not support low level hardware access as required by bleah.
from bleah.
Related Issues (20)
- OSError: [Errono 8] Exec format Error
- Traceback error
- A question about write.py
- MacOS bluepy: "sudo python setup.py install" HOT 6
- Using another BLE usb adapter HOT 1
- Documentation Corrections HOT 2
- how to uninstall bleah ??? HOT 1
- Error when installing Bluepy. HOT 3
- Support for Ubertooth One HOT 1
- Ascii encoding error HOT 1
- Failed to execute mgmt cmd 'le on'
- Failed to connect to peripheral xx:xx:xx:xx:xx:xx, addr type: random/public HOT 2
- When Enumerating " 'ascii' codec can't decode" HOT 2
- Error when enumerating HOT 1
- Feature req: bluetooth stack debug when crashing
- Error:Could not access %s for reading HOT 2
- Feature: Nicknames for devices and characteristics
- local variable 'raw' referenced before assignment HOT 5
- ! global name 'do_write_ops' is not defined HOT 1
- Error '! Helper not started (did you call connect()?)' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bleah.