bktruss / haraldscan Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/haraldscan
Automatically exported from code.google.com/p/haraldscan
While outputting XML if there is no Services it will output an extra </device>
tag.
Original issue reported on code.google.com by tstenvold
on 23 Oct 2010 at 9:42
What steps will reproduce the problem?
1. screen on Ubuntu 10.04.1 LTS
2. run the haraldscan over an hour at my workplace (a lot of phones)
What is the expected output? What do you see instead?
I get the following error and the program crasess:
Harald Scan
################################################################################
Press Ctrl-C to Quit 6.00 MAC(s) / 15 mins 6 device(s) found
################################################################################
MAC Name Class Vendor
00:24:03:C9:8A:F8 Greg Phone|Smart Phone Nokia Danmark A/S
A8:7B:39:7A:C0:4D ΕΛΑ!! Phone|Smart Phone Unknown
00:24:04:A0:F6:F9 Nokia 2760 Phone|Cellular Nokia Danmark A/S
14:24:03:C9:8A:F8 Greg Phone|Smart Phone Unknown
80:50:1B:35:07:52 Nokia 5230 Phone|Smart Phone Unknown
34:C3:AC:95:EE:26 GT-S5620 Phone|Cellular Unknown
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/cx_Freeze/initscripts/Console.py", line 27, in <module>
File "haraldscan.py", line 111, in <module>
File "/usr/local/lib/python2.6/dist-packages/bluetooth/bluez.py", line 385, in process_event
File "/usr/local/lib/python2.6/dist-packages/bluetooth/bluez.py", line 458, in _process_hci_event
File "haraldmodules/discovery.py", line 46, in device_discovered
File "haraldmodules/deviceclass.py", line 49, in majordev_class
File "haraldmodules/deviceclass.py", line 91, in minordev_phone
IndexError: tuple index out of range
root@gaia:~/haraldscan-dist-32-0.42#
What version of the product are you using? On what operating system?
I have:
Distributor ID: Ubuntu
Description: Ubuntu 10.04.1 LTS
Release: 10.04
Codename: lucid
Linux gaia 2.6.32-27-generic-pae #49-Ubuntu SMP Thu Dec 2 00:07:52 UTC 2010
i686 GNU/Linux
with usb bluetooth:
Bus 007 Device 002: ID 1131:1001 Integrated System Solution Corp. KY-BT100
Bluetooth Adapter
Please provide any additional information below.
Thank you for your program, keep it alive!
George from Greece
Original issue reported on code.google.com by [email protected]
on 30 Dec 2010 at 10:33
What steps will reproduce the problem?
1. Download, extract, read README, start ./haraldscan -b
What is the output?
$:~/Downloads/haraldscan-src-0.401 $ ./haraldscan.py -b
Traceback (most recent call last):
File "./haraldscan.py", line 25, in <module>
import discovery
File "/Users/wolf/Downloads/haraldscan-src-0.401/discovery.py", line 24, in <module>
import bluetooth
ImportError: No module named bluetooth
What version of the product are you using? On what operating system?
Version 0.401 on OS X Leopard 10.5.8
Please provide any additional information below.
The bluetooth daemon on OS X is "blued". But then, it cannot be used from
userspace. From the
man blued-page:
The Bluetooth daemon handles SDP transactions, link key management, and incoming con-
nection acceptance. It cannot be used directly by the user.
Should this really work on OS X?
Original issue reported on code.google.com by [email protected]
on 3 Dec 2009 at 9:58
Have haraldscan output in XML format instead of plain text.
Original issue reported on code.google.com by tstenvold
on 16 Jul 2010 at 11:57
Expected output:
My cellphone recognized... ;-)
What do you see instead?
./haraldscan.py
Harald Scan
################################################################################
Press Ctrl-C to Quit
################################################################################
MAC Name Class Vendor
Traceback (most recent call last):
File "./haraldscan.py", line 65, in <module>
d.find_devices(lookup_names=True)
File "/usr/lib/python2.6/dist-packages/bluetooth/bluez.py", line 320, in
find_devices
self.sock = _gethcisock ()
File "/usr/lib/python2.6/dist-packages/bluetooth/bluez.py", line 226, in
_gethcisock
raise BluetoothError ("error accessing bluetooth device")
bluetooth.btcommon.BluetoothError: error accessing bluetooth device
Version of the product I'm using:
0.1
Operating system:
Linux malibox 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 22:12:12 UTC
2009 x86_64 GNU/Linux
Best regards.
Marco <marcosolari at gmail dot com>
Original issue reported on code.google.com by [email protected]
on 7 Jul 2009 at 5:49
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.