1 Dec 2011 01:48
maildir with spaces
Tracy Reed <treed <at> ultraviolet.org>
2011-12-01 00:48:56 GMT
2011-12-01 00:48:56 GMT
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:(Continue reading)
----------------------------------------------------------------
--- Encoding::CompatibilityError from thread: load messages for thread-view-mode
incompatible character encodings: UTF-8 and ASCII-8BIT
/usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/modes/thread-view-mode.rb:789:in `message_patina_lines'
/usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/modes/thread-view-mode.rb:863:in `chunk_to_lines'
/usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/modes/thread-view-mode.rb:721:in `block in regen_text'
/usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/thread.rb:68:in `block in each'
/usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/thread.rb:176:in `block (2 levels) in each_with_stuff'
/usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/thread.rb:176:in `block (2 levels) in each_with_stuff'
/usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/thread.rb:174:in `each_with_stuff'
/usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/thread.rb:176:in `block in each_with_stuff'
/usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/thread.rb:175:in `each'
/usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/thread.rb:175:in `each_with_stuff'
/usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/thread.rb:176:in `block in each_with_stuff'
/usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/thread.rb:175:in `each'
/usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/thread.rb:175:in `each_with_stuff'
/usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/thread.rb:67:in `each'
/usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/modes/thread-view-mode.rb:710:in `regen_text'
/usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/modes/thread-view-mode.rb:172:in `buffer='
/usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/buffer.rb:388:in `spawn'
(eval):1:in `spawn'
/usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:120:in `block in select'
/usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup.rb:79:in `block in reporting_thread'
RSS Feed