public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Marco Atzeri <marco.atzeri@gmail.com>
To: cygwin-apps@cygwin.com
Subject: Re: [ITP] python-getdevinfo
Date: Wed, 19 Aug 2020 07:53:30 +0200	[thread overview]
Message-ID: <22af1c94-9283-328f-43ab-2742db8c926c@gmail.com> (raw)
In-Reply-To: <DB7PR02MB39964D08070C119845F34276E75F0@DB7PR02MB3996.eurprd02.prod.outlook.com>



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)

  reply	other threads:[~2020-08-19  5:53 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-17 13:33 Hamish McIntyre-Bhatty
2020-08-17 13:34 ` Hamish McIntyre-Bhatty
2020-08-19  5:53   ` Marco Atzeri [this message]
2020-08-19 11:22     ` Hamish McIntyre-Bhatty
2020-08-20  6:01       ` Marco Atzeri
2020-08-21 15:33         ` Hamish McIntyre-Bhatty
2020-08-26  9:35           ` Hamish McIntyre-Bhatty
2020-09-02 15:29             ` Hamish McIntyre-Bhatty
2020-09-02 18:05               ` Marco Atzeri
2020-09-02 20:58                 ` Hamish McIntyre-Bhatty
2020-09-03 13:44                   ` marco atzeri
2020-09-03 14:10                     ` Hamish McIntyre-Bhatty
2020-09-03 16:34                       ` Ken Brown
2020-09-03 17:13                         ` Hamish McIntyre-Bhatty
2020-09-03 17:27                           ` Hamish McIntyre-Bhatty
2020-09-03 18:50                             ` Ken Brown
2020-09-04 13:38                               ` Hamish McIntyre-Bhatty
2020-09-09 10:36                                 ` Hamish McIntyre-Bhatty
2020-09-12 22:19                                   ` Hamish McIntyre-Bhatty
2020-09-13  6:13                                     ` Achim Gratz
2020-09-13  7:39                                       ` Hamish McIntyre-Bhatty
2020-09-13 15:02                                         ` Brian Inglis
2020-09-13 16:08                                           ` Hamish McIntyre-Bhatty
2020-09-14 18:29                                             ` Hamish McIntyre-Bhatty
2020-09-13 14:57                     ` Jon Turney
2020-09-13 16:07                       ` Hamish McIntyre-Bhatty
2020-09-22 13:32                         ` Hamish McIntyre-Bhatty

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=22af1c94-9283-328f-43ab-2742db8c926c@gmail.com \
    --to=marco.atzeri@gmail.com \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).