From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.68.212.8 with SMTP id ng8cs324628pbc; Wed, 30 Nov 2011 19:04:44 -0800 (PST) Received: by 10.52.91.162 with SMTP id cf2mr4581552vdb.124.1322708682599; Wed, 30 Nov 2011 19:04:42 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org. [205.234.109.19]) by mx.google.com with ESMTP id no15si1093430vcb.56.2011.11.30.19.04.42; Wed, 30 Nov 2011 19:04:42 -0800 (PST) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id F0AE3185837E; Wed, 30 Nov 2011 22:04:41 -0500 (EST) Received: from mail.copilotco.com (mail.copilotco.com [216.105.40.123]) by rubyforge.org (Postfix) with ESMTP id EF680185837C for ; Wed, 30 Nov 2011 21:50:46 -0500 (EST) Received: by mail.copilotco.com (Postfix, from userid 500) id 932C264C55; Wed, 30 Nov 2011 16:48:56 -0800 (PST) Date: Wed, 30 Nov 2011 16:48:56 -0800 From: Tracy Reed To: sup-talk@rubyforge.org Message-ID: <20111201004855.GQ899@tracyreed.org> References: <20111130221624.GM899@tracyreed.org> MIME-Version: 1.0 In-Reply-To: <20111130221624.GM899@tracyreed.org> User-Agent: Mutt/1.5.20 (2009-06-14) Subject: [sup-talk] maildir with spaces X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0378120956==" Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org --===============0378120956== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="u/L2/WlOHZg+YGU4" Content-Disposition: inline --u/L2/WlOHZg+YGU4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I have an IMAP folder and therefore a Maildir (thanks to offlineimap) with a space in the name. sup-add chokes on this as does sup-sync when it tries to read the sources.yaml file. $ sup-sync maildir:///home/treed/Maildir/mydomain/sent-mail/ /usr/lib/ruby/1.8/uri/common.rb:436:in `split': bad URI(is not URI?): maild= ir:///home/treed/Maildir/mydomain/Sent Mail (URI::InvalidURIError) =66rom /usr/lib/ruby/1.8/uri/common.rb:485:in `parse' =66rom /usr/lib/ruby/1.8/uri/common.rb:608:in `URI' =66rom /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/maildir.rb:14:in `ini= tialize' =66rom /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup.rb:35:in `new' =66rom /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup.rb:35:in `yaml_proper= ties' =66rom /usr/lib/ruby/1.8/yaml.rb:133:in `call' =66rom /usr/lib/ruby/1.8/yaml.rb:133:in `transfer' =66rom /usr/lib/ruby/1.8/yaml.rb:133:in `node_import' =66rom /usr/lib/ruby/1.8/yaml.rb:133:in `load' =66rom /usr/lib/ruby/1.8/yaml.rb:133:in `load' =66rom /usr/lib/ruby/1.8/yaml.rb:144:in `load_file' =66rom /usr/lib/ruby/1.8/yaml.rb:143:in `open' =66rom /usr/lib/ruby/1.8/yaml.rb:143:in `load_file' =66rom /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup.rb:136:in `load_yaml_= obj' =66rom /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/source.rb:205:in `loa= d_sources' =66rom /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:609:in `send' =66rom /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:609:in `metho= d_missing' =66rom /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/index.rb:92:in `load' =66rom /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/bin/sup-sync:100 =66rom /usr/bin/sup-sync:19:in `load' =66rom /usr/bin/sup-sync:19 I found this thread: http://rubyforge.org/pipermail/sup-talk/2011-October/004770.html but I also get parse errors when I try to escape with a \ Any hints? Thanks --=20 Tracy Reed --u/L2/WlOHZg+YGU4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFO1s73BhSTPg0d/nQRAiP3AJ4k8RzOTnlpqGF5MX1beBbmibIDFQCgw2I+ XrmzCi9nzPxZCLWpKvEDFqw= =FCL6 -----END PGP SIGNATURE----- --u/L2/WlOHZg+YGU4-- --===============0378120956== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk --===============0378120956==--