Same pb on my Linux Mint (Lisa):
$ python
Python 2.7.2+ (default, Oct 4 2011, 20:03:08)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import statgrab
>>> stats=statgrab.sg_get_fs_stats()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/pymodules/python2.7/statgrab.py", line 62, in sg_get_fs_stats
return _statgrab.py_sg_get_fs_stats()
File "_statgrab.pyx", line 459, in _statgrab.py_sg_get_fs_stats
_statgrab.StatgrabException: 'sg_get_fs_stats() returned NULL'
>>> statgrab.sg_get_host_info()
{'uptime': 117252, 'os_name': 'Linux', 'platform': 'i686', 'hostname':
'nicolargo-boulot', 'os_version': '#20-Ubuntu SMP Fri Oct 7 14:50:42 UTC 2011',
'os_release': '3.0.0-12-generic'}
>>>
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/886783
Title:
statgrab.sg_get_fs_stats() returns NULL
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libstatgrab/+bug/886783/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs