[ITP] python-getdevinfo

Marco Atzeri marco.atzeri@gmail.com
Wed Aug 19 05:53:30 GMT 2020



On 17.08.2020 15:34, Hamish McIntyre-Bhatty via Cygwin-apps wrote:
> On 17/08/2020 14:33, Hamish McIntyre-Bhatty via Cygwin-apps wrote:
>> Hello,
>>
>> This email signals my intent to package getdevinfo.
>>
>> (https://www.hamishmb.com/html/downloads.php?program_name=getdevinfo)
>> for Cygwin.
>>
>> getdevinfo is module I wrote for collecting device information, and is a
>> dependency for DDRescue-GUI, which I intend to package next if this is
>> approved.
>>
>> Once I have done these things, I intend to improve Cygwin's device
>> information detection capabilities and release a further update to make
>> this more complete.
>>
>> If anyone has feedback I'd appreciate it very much.
>>
>> Hamish McIntyre-Bhatty
>>
> Forgot link to packages: https://www.hamishmb.com/files/cygwin-temp/
> 

something looks wrong on test

======================================================================
ERROR: test_get_info (tests.getdevinfo_tests_cygwin.TestGetInfo)
Test that the information can be collected on this system without error
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/pub/tmp/python-getdevinfo-1.1.0-1.src/python-getdevinfo-1.1.0-1.x86_64/src/getdevinfo-1.1.0/getdevinfo/tests/getdevinfo_tests_cygwin.py", 
line 218, in test_get_info
     cygwin.get_info()
   File 
"/pub/tmp/python-getdevinfo-1.1.0-1.src/python-getdevinfo-1.1.0-1.x86_64/build/getdevinfo/cygwin.py", 
line 101, in get_info
     get_device_info(disk)
   File 
"/pub/tmp/python-getdevinfo-1.1.0-1.src/python-getdevinfo-1.1.0-1.x86_64/build/getdevinfo/cygwin.py", 
line 135, in get_device_info
     cmd = subprocess.run([SMARTCTL, "-i", host_disk, "-j"], 
stdout=subprocess.PIPE,
   File "/usr/lib/python3.8/subprocess.py", line 489, in run
     with Popen(*popenargs, **kwargs) as process:
   File "/usr/lib/python3.8/subprocess.py", line 854, in __init__
     self._execute_child(args, executable, preexec_fn, close_fds,
   File "/usr/lib/python3.8/subprocess.py", line 1637, in _execute_child
     self.pid = _posixsubprocess.fork_exec(
BlockingIOError: [Errno 11] Resource temporarily unavailable

----------------------------------------------------------------------
Ran 23 tests in 0.679s

FAILED (errors=1)
NOTE: These tests won't work correctly without administrator privileges.

$ id
uid=197609(Marco) gid=544(Administratoren) 
groups=544(Administratoren),197121(Kein)


More information about the Cygwin-apps mailing list