delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/08/09/09:03:58

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=AWL,BAYES_00,FAKE_REPLY_C,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,TW_CG,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Date: Thu, 9 Aug 2012 07:03:32 -0600
From: Tom Schutter <t DOT schutter AT comcast DOT net>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin: how to mount linux FS from cygwin
Message-ID: <20120809130332.GA4688@shadow.schutter.home>
MIME-Version: 1.0
User-Agent: Mutt/1.5.21 (2010-09-15)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Wed, 11 Jul 2012 10:30:28 -0400, cgf wrote:
>On Wed, Jul 11, 2012 at 10:23:29AM -0400, ping wrote:
>>so I'm now using dokan sshfs GUI tool to mount remote linux server FS
>>via ssh, everything (mostly) works, except:
>>
>>1) it's a GUI based tool, I don't see any command line options
>>2) somehow I can't save the previous data, after pressing "save" button,
>>it pop up a warning dialog below.
>>
>>please share some thought if anyone experienced the same.
>
>No, please go somewhere else to get thoughts on the "dokan sshfs GUI tool".
>Presumably, they have a forum for dealing with users.  You should use it.
>
>This is off-topic here.

Actually it is not off-topic.  From the error message that cgf clipped:

  System.ArgumentException: Item has already been added. Key in dictionary: 'tmp' Key being added: 'tmp'
  <cut>
  at System.Xml.Serialization.XmlSerializer..ctor(Type type)

If you read the thread at
http://cygwin.com/ml/cygwin/2012-03/msg00375.html , you will see that
the dokan sshfs tool is crashing while apparently attempting to
process the environment variables setup by Cygwin.  The environment
contains both 'tmp' and 'Tmp' environment variables which is OK in a
*nix context but not expected by Windows applications.

Any .NET application running on a stock Cygwin installation that uses
XmlSerializer will get bit by this bear trap.

One solution is to upgrade to base-files-4.1-2.  The other is to write
a wrapper program that cleans up the environment before calling the
dokan sshfs GUI tool.

-- 
Tom Schutter

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019