[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sup-talk] maildir with spaces



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?): maildir:///home/treed/Maildir/mydomain/Sent Mail (URI::InvalidURIError)
from /usr/lib/ruby/1.8/uri/common.rb:485:in `parse'
from /usr/lib/ruby/1.8/uri/common.rb:608:in `URI'
from /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/maildir.rb:14:in `initialize'
from /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup.rb:35:in `new'
from /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup.rb:35:in `yaml_properties'
from /usr/lib/ruby/1.8/yaml.rb:133:in `call'
from /usr/lib/ruby/1.8/yaml.rb:133:in `transfer'
from /usr/lib/ruby/1.8/yaml.rb:133:in `node_import'
from /usr/lib/ruby/1.8/yaml.rb:133:in `load'
from /usr/lib/ruby/1.8/yaml.rb:133:in `load'
from /usr/lib/ruby/1.8/yaml.rb:144:in `load_file'
from /usr/lib/ruby/1.8/yaml.rb:143:in `open'
from /usr/lib/ruby/1.8/yaml.rb:143:in `load_file'
from /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup.rb:136:in `load_yaml_obj'
from /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/source.rb:205:in `load_sources'
from /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:609:in `send'
from /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:609:in `method_missing'
from /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/index.rb:92:in `load'
from /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/bin/sup-sync:100
from /usr/bin/sup-sync:19:in `load'
from /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

-- 
Tracy Reed

Attachment: pgpb7WUlC_MhC.pgp
Description: PGP signature

_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk