-
Notifications
You must be signed in to change notification settings - Fork 86
Description
Alpha2 OoB Testing on OSX
Here are my results from Alpha2 OoB testing round 1 for the mbed test suite, putting these here because the biggest error i ran into was for OSX10.9.2 with mbed-ls
problem : instructions
there are no instructions on how to install anything. The readme needs to have instructions on installing green tea, host tests, and ls. Right now it just says they are needed and how to check for them but provides no instructions on how or where to install from.
solution : instructions
add instructions, or a link to the website where the instructions are available.
tell the instructions to install ls, then host test, then green tea
problem : sudo
all the installers require sudo privileges (this only happened on 10.9, 10.10 did not require sudo privileges to install)
solution : sudo
put install files somewhere that don’t require sudo, or print out a thing telling the user they need to install as admin/sudo
problem: mbedls
it doesn’t work, see below terminal errors, tried with both Python 2.7.5 and then updated to 2.7.9, tried in both sudo and user modes, result was the same.
Python V2.7.5
arms-Mac:~ arm$ mbedls
Traceback (most recent call last):
File "/usr/local/bin/mbedls", line 8, in <module>
load_entry_point('mbed-ls==0.1.6', 'console_scripts', 'mbedls')()
File "build/bdist.macosx-10.9-intel/egg/mbed_lstools/main.py", line 90, in mbedls_main
File "build/bdist.macosx-10.9-intel/egg/mbed_lstools/lstools_base.py", line 109, in get_string
File "build/bdist.macosx-10.9-intel/egg/mbed_lstools/lstools_darwin.py", line 37, in list_mbeds
File "build/bdist.macosx-10.9-intel/egg/mbed_lstools/lstools_darwin.py", line 97, in get_mbed_volumes
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py", line 78, in readPlist
rootObject = p.parse(pathOrFile)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py", line 406, in parse
parser.ParseFile(fileobj)
xml.parsers.expat.ExpatError: no element found: line 1, column 0
Python V2.7.9
arms-Mac:~ arm$ python -V
Python 2.7.9
arms-Mac:~ arm$ mbedls
Traceback (most recent call last):
File "/usr/local/bin/mbedls", line 8, in <module>
load_entry_point('mbed-ls==0.1.6', 'console_scripts', 'mbedls')()
File "build/bdist.macosx-10.9-intel/egg/mbed_lstools/main.py", line 90, in mbedls_main
File "build/bdist.macosx-10.9-intel/egg/mbed_lstools/lstools_base.py", line 109, in get_string
File "build/bdist.macosx-10.9-intel/egg/mbed_lstools/lstools_darwin.py", line 37, in list_mbeds
File "build/bdist.macosx-10.9-intel/egg/mbed_lstools/lstools_darwin.py", line 97, in get_mbed_volumes
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py", line 78, in readPlist
rootObject = p.parse(pathOrFile)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py", line 406, in parse
parser.ParseFile(fileobj)
xml.parsers.expat.ExpatError: no element found: line 1, column 0
Solution: mbedls
unknown solution, halted testing. running python 2.7.5 and 2.7.9