From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by sourceware.org (Postfix) with ESMTPS id 7D0AE3857C4D for ; Wed, 19 Aug 2020 05:53:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 7D0AE3857C4D Received: by mail-ej1-x633.google.com with SMTP id m22so24781034eje.10 for ; Tue, 18 Aug 2020 22:53:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=TQT2G9yfDGj/je4pd9YL+XZ/Tu8dxJfMBaMx/XOEEhA=; b=f8NxfkyNsDLqAUoiErinMAhFmeGgUDnosxJvR6+hWcE2I4HHvJj6kL0xX1SkbNESr7 tuzcopVIssnuieicZ2nwZj1SnCrHnOjnDv7XjUPbfwII7Xyl6ilEllHcPl/a3No3NZqf GAsb6hpEO7ox5t/HHHo+mZbKbDXCef8U2X1C8BLjogpNsJwwrx18z6l8V0Z1GP+sOdSm h1/v6ONbkUUxFrekOGqsBI3keFkLCEaBEGb99qhO+0+rZ+yfvfV+S+VVcw+75D11PpLH IiRocdmSGiujjFDUd12XhomsG6HnkyoHXvJvL6PrQ579RzQbdRW0DKyV6U6sI6VtgQX6 FCxw== X-Gm-Message-State: AOAM530WCztX04RgxVjaEJuaAmNK7cPmukdV3IlZwIJruRzhrJdMm9Fa raTUIr7HrQANLXq3KGPSD/TWJHkzAD0= X-Google-Smtp-Source: ABdhPJwHkD4+lUfk+2/j1/3T6Fx8Uy25r0lLHtEjjehsRxhdYi1U2HNHAUsZAkW3sHilU+UDAl0SPg== X-Received: by 2002:a17:906:af51:: with SMTP id ly17mr22953241ejb.81.1597816413323; Tue, 18 Aug 2020 22:53:33 -0700 (PDT) Received: from [192.168.43.124] (tmo-097-29.customers.d1-online.com. [80.187.97.29]) by smtp.gmail.com with ESMTPSA id 32sm17210657edf.83.2020.08.18.22.53.32 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 18 Aug 2020 22:53:32 -0700 (PDT) Subject: Re: [ITP] python-getdevinfo To: cygwin-apps@cygwin.com References: From: Marco Atzeri Message-ID: <22af1c94-9283-328f-43ab-2742db8c926c@gmail.com> Date: Wed, 19 Aug 2020 07:53:30 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: it Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_ASCII_DIVIDERS, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin-apps@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin package maintainer discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Aug 2020 05:53:35 -0000 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)