Closed
Bug 1080973
Opened 11 years ago
Closed 11 years ago
'module' object has no attribute 'get_sysinfo'
Categories
(Firefox Build System :: Android Studio and Gradle Integration, defect)
Firefox Build System
Android Studio and Gradle Integration
x86_64
Linux
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 930808
People
(Reporter: krishna2642, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0
Build ID: 20140924084640
Steps to reproduce:
Downloaded source andn tried to build Firefox for Android following instructions in https://wiki.mozilla.org/Mobile/Fennec/Android#Linux
Actual results:
Got below error message:
vijay@vijay-Inspiron-7537:~/Documents/src$ ./mach build
/home/vijay/Documents/src/python/psutil/psutil/_pslinux.py:108: RuntimeWarning: couldn't determine platform's TOTAL_PHYMEM
warnings.warn("couldn't determine platform's TOTAL_PHYMEM", RuntimeWarning)
Error running mach:
['build']
The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You should consider filing a bug for this issue.
If filing a bug, please include the full output of mach, including this error
message.
The details of the failure are as follows:
AttributeError: 'module' object has no attribute 'get_sysinfo'
File "/home/vijay/Documents/src/python/mozbuild/mozbuild/mach_commands.py", line 288, in build
monitor.init(warnings_path)
File "/home/vijay/Documents/src/python/mozbuild/mozbuild/controller/building.py", line 164, in init
self.resources = SystemResourceMonitor(poll_interval=1.0)
File "/home/vijay/Documents/src/testing/mozbase/mozsystemmonitor/mozsystemmonitor/resourcemonitor.py", line 188, in __init__
virt = psutil.virtual_memory()
File "/home/vijay/Documents/src/python/psutil/psutil/__init__.py", line 1170, in virtual_memory
return _psplatform.virtual_memory()
File "/home/vijay/Documents/src/python/psutil/psutil/_pslinux.py", line 143, in virtual_memory
total, free, buffers, shared, _, _ = _psutil_linux.get_sysinfo()
Expected results:
Build should complete successfully.
Comment 1•11 years ago
|
||
http://dxr.mozilla.org/mozilla-central/source/testing/mozbase/mozsystemmonitor/mozsystemmonitor/resourcemonitor.py
Run "sudo pip install psutil"
Comment 2•11 years ago
|
||
If that doesn't work, there are some other mentioned workarounds in bug 930808 you can try.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Firefox for Android → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•