From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: nyc4bos@aol.com Newsgroups: gmane.emacs.bugs Subject: bug#13299: 24.3.50; Tramp adb and device not found Date: Sat, 16 Mar 2013 16:00:54 -0400 Message-ID: References: <87han5s0dv.fsf@gmx.de> <87r4m6p79h.fsf@gmx.de> <874nitco03.fsf@gmx.de> <84a9pqep2t.fsf@aol.com> <87mwvkrvod.fsf@gmx.de> <87wqtuhzws.fsf@gmx.de> <87d2v62pui.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1363464106 21428 80.91.229.3 (16 Mar 2013 20:01:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Mar 2013 20:01:46 +0000 (UTC) Cc: 13299@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 16 21:02:11 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UGxIx-0000mu-74 for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Mar 2013 21:02:11 +0100 Original-Received: from localhost ([::1]:35045 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGxIa-0002Zc-Dw for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Mar 2013 16:01:48 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36535) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGxIT-0002Yy-As for bug-gnu-emacs@gnu.org; Sat, 16 Mar 2013 16:01:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UGxIQ-000670-GX for bug-gnu-emacs@gnu.org; Sat, 16 Mar 2013 16:01:41 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54036) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGxIQ-00066w-CZ for bug-gnu-emacs@gnu.org; Sat, 16 Mar 2013 16:01:38 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UGxJl-0007az-PN for bug-gnu-emacs@gnu.org; Sat, 16 Mar 2013 16:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: nyc4bos@aol.com Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Mar 2013 20:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13299 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13299-submit@debbugs.gnu.org id=B13299.136346415629158 (code B ref 13299); Sat, 16 Mar 2013 20:03:01 +0000 Original-Received: (at 13299) by debbugs.gnu.org; 16 Mar 2013 20:02:36 +0000 Original-Received: from localhost ([127.0.0.1]:58145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UGxJJ-0007aC-9J for submit@debbugs.gnu.org; Sat, 16 Mar 2013 16:02:35 -0400 Original-Received: from imr-ma03.mx.aol.com ([64.12.206.41]:60236) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UGxJG-0007a4-Cl for 13299@debbugs.gnu.org; Sat, 16 Mar 2013 16:02:32 -0400 Original-Received: from mtaout-mb03.r1000.mx.aol.com (mtaout-mb03.r1000.mx.aol.com [172.29.41.67]) by imr-ma03.mx.aol.com (Outbound Mail Relay) with ESMTP id E73261C000070; Sat, 16 Mar 2013 16:01:05 -0400 (EDT) Original-Received: from RPLSBCAPC03 (unknown [63.117.244.126]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mtaout-mb03.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id 39AF1E0000D7; Sat, 16 Mar 2013 16:01:05 -0400 (EDT) In-Reply-To: <87d2v62pui.fsf@gmx.de> (Michael Albinus's message of "Mon, 11 Mar 2013 11:27:49 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20121107; t=1363464065; bh=gr7forrMI0zI1UpvchtLDL1l8Sx2wx6HsrPafJa2Grs=; h=From:To:Subject:Message-ID:Date:MIME-Version:Content-Type; b=EE5oAUCQb9htJLNHDjRjYk1LVVEf+GqQgSqMeqrv8ZVMJE9rrJ79S0JNPRTbA0DEd 5QmlQiINjW4MGuUWmqhYWW6fhtyHVVAgOyj+DhC8GgBMdOk7//xmKiiDAtp6dnHm3D 2c5/TJ+Q3qjj5ijcfXy6tJyfJ4sHvkFY75mce9gA= X-AOL-SCOLL-SCORE: 0:2:454201440:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d29435144cf810e9a X-AOL-IP: 63.117.244.126 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:72601 Archived-At: Michael Albinus writes: > nyc4bos@aol.com writes: > >> Hi Michael, > > Hi, > >> Looks like I spoke to fast. >> >> It still hangs. >> >> I suspect it occurs when `adb devices' returns the following: >> >> * daemon not running. starting it now on port 5037 * >> * daemon started successfully * >> List of devices attached >> >> Notice that it is blank and a device is not listed. > > I can reproduce this message from a shell, if adb does not run on my > local machine, and no device is connected. But it doesn't harm Tramp, > and Emacs does not hang. > > In order to reproduce your problem, I have killed adb on my local > machine prior to the following test runs. Here are the results of my similiar tests. All test are with runemacs.exe -Q: > > 1st test > ======== > > C-x C-f /adb: > => "[Sole completion]" I get => "[No match]" When I type C-x C-d /adb:? I then get (with ?, that is a question mark) => "[Sole completion]" > > 2nd test > ======== > > C-x C-f /adb:: > => "[No match]" This creates the `adb' process and hangs for me. Hangs until externally kill `adb' process. Then the *debug tramp/adb * buffer contains: 15:33:18.141000 tramp-adb-get-ls-command (5) # Finding a suitable `ls' command 15:33:59.580000 tramp-adb-maybe-open-connection (1) # File error: No device connected 15:33:59.590000 tramp-adb-get-ls-command (5) # Finding a suitable `ls' command 15:34:12.370000 tramp-file-name-handler (1) # Interrupt received in operation (file-name-all-completions /adb::/) I have to kill the `adb' process a few times because it forks a new `adb' process until I can see the *debug tramp/adb * buffer. If I type `?' instead: C-x C-f /adb::? I get: Making completion list... and it hangs until I kill the `adb' process 15:53:15.449000 tramp-adb-maybe-open-connection (1) # File error: No device connected 15:53:15.449000 tramp-adb-get-ls-command (5) # Finding a suitable `ls' command 15:53:25.279000 tramp-file-name-handler (1) # Interrupt received in operation (file-name-all-completions /adb::/) > > 3rd test > ======== > > C-x C-f /adb:: > => "No device connected" This also hangs until I externally kill the `adb' process 15:55:40.919000 tramp-adb-get-ls-command (5) # Finding a suitable `ls' command 15:56:01.929000 tramp-file-name-handler (1) # Interrupt received in operation (file-attributes /adb::/) 15:56:01.929000 tramp-file-name-handler (1) # Interrupt received in operation (file-exists-p /adb::/) Please keep in mind that I have to press ^G prior to killing the `adb' process, of course, in order to "unhang" the Emacs process and to view the *debug tramp/aadb * buffer > > So I cannot reproduce the problem. As usual, my local machine does not > run MS Windows but Ubuntu; maybe this is the difference. > > Could you, please, tell exactly which key sequence you have used? And > please use "emacs -Q" for your test. > > I have used the following Emacs version for test: > > GNU Emacs 24.3.50.20 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.13) > of 2013-03-09 on detlef > > Best regards, Michael.