X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Thu, 11 Feb 2010 09:33:05 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: regtool gives different results than reg
Message-ID: <20100211083305.GF28659@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <Pine.OSF.4.63.1002101650200.1860155@guanine.cgl.ucsf.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <Pine.OSF.4.63.1002101650200.1860155@guanine.cgl.ucsf.edu>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Feb 10 16:50, Greg Couch wrote:
> My system is a 64-bit Windows 7 system with the latest cygwin installed
> and Corinna's unsupported cyglsa64.dll from 29 Jan 2010.  And for this bug
> I have the 64-bit version of Python 2.6.4 installed (not cygwin's) and I'm
> doing these tests on the console, not ssh (but the same bug appears when
> ssh'd in).
> 
> So in the cygwin shell:
> 
>         $ regtool get /machine/SOFTWARE/Python/PythonCore/2.6/InstallPath
>         Error (2): The system cannot find the file specified.
> 
>         $ regtool list /machine/SOFTWARE/Python/PythonCore/2.6
>         Modules
> 
>         $ reg query
> "HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.6"
> 
>         HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.6\Modules
> 
> But if I run a cmd.exe shell directly (not from a cygwin shell), I get
> everything I expect:
> 
>         >reg query HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.6
> 
>         HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.6\Help
>         HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.6\InstallPath
>         HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.6\Modules
>         HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.6\PythonPath
> 
> Any ideas as to how I could workaround this bug?

Did you try the regtool -w option?
http://cygwin.com/cygwin-ug-net/using-utils.html#regtool


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

