Project

General

Profile

Actions

Bug #1434

open

Mac OS and Linux do not share certain commands for finding device information

Added by Anchi Cheng about 13 years ago. Updated about 13 years ago.

Status:
In Test
Priority:
Low
Assignee:
Category:
-
Start date:
09/26/2011
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 2.1.0
Show in known bugs:
No
Workaround:

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

Actions

Also available in: Atom PDF