#322 sysinfo.max_ramdrive_size() not supported in N85

open
Jukka Laurila
sysinfo (5)
5
2009-04-22
2009-04-22
aaaaapo
No

When I try to get ram-drive size I get this error:

>>> import sysinfo
>>> sysinfo.max_ramdrive_size()
Traceback (most recent call last):
File "<input>", line 1, in ?
File "c:\resource\sysinfo.py", line 45, in max_ramdrive_size
return _sysinfo.max_ramdrive_size()
SymbianError: [Errno -5] KErrNotSupported

My D: runs out of drive space sometimes and I'd like to know how much ram-disk I can use.

Tested phone is N85 (3rd Ed FP2) with latest firmware.

>>> sysinfo.os_version()
(2, 0, 1540)
>>> sysinfo.sw_version()
u'11.047 19-11-2008 RM-333 (C)Nokia'

Discussion

  • aaaaapo
    aaaaapo
    2009-04-22

    And PyS60 is the latest 1.4.5.
    ScriptShell is signed with all available capabilities.