Bug #1434
openMac OS and Linux do not share certain commands for finding device information
0%
Description
For example,
Could not start manualpicker.py because neither lspci nor /sbin/lspci could be found
Traceback (most recent call last):
File "/Users/acheng/myami/appion/bin/manualpicker.py", line 647, in <module>
imgLoop = ManualPicker()
File "/Users/acheng/myami/appion/appionlib/particleLoop2.py", line 95, in init
appionLoop2.AppionLoop.__init__(self)
File "/Users/acheng/myami/appion/appionlib/appionLoop2.py", line 30, in init
appionScript.AppionScript.__init__(self, True)
File "/Users/acheng/myami/appion/appionlib/appionScript.py", line 102, in init
self.uploadScriptData()
File "/Users/acheng/myami/appion/appionlib/appionScript.py", line 242, in uploadScriptData
hostq['gpu_vendor'] = apParam.getGPUVendor()
File "/Users/acheng/myami/appion/appionlib/apParam.py", line 154, in getGPUVendor
proc = subprocess.Popen(pciexe, shell=True, stdout=subprocess.PIPE)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 595, in init
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 1007, in _execute_child
args = list(args)
TypeError: 'NoneType' object is not iterable