tags 688817 + pending
Tested using sup-mail 0.19.0 (from pkg-ruby-extras repo), Ruby 2.1.2-4
on a newly installed jessie system.
No errors found with pre-existing sources.yaml.
- Caitlin
On Tue, 25 Sep 2012 22:41:35 +0000 avtob...@foo.nu wrote:
Package: sup-mail
Version: 0.12.1+git20120407.aaa852f-1
Severity: important
If a .sup/sources.yaml already exists sup-config crashes
avtobiff@goomba:~/mail$ sup-config
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be
deprecated in the future, use String#encode instead.
/usr/lib/ruby/vendor_ruby/sup.rb:20:in `id': wrong id called on {"uri"=>"maildir:/home/avtobiff/mail/fripost",
"usual"=>true, "archived"=>false, "id"=>1, "labels"=>[]} (RuntimeError)
from /usr/lib/ruby/vendor_ruby/sup/source.rb:207:in `block (2 levels)
in load_sources'
from /usr/lib/ruby/vendor_ruby/sup/source.rb:207:in `map'
from /usr/lib/ruby/vendor_ruby/sup/source.rb:207:in `block in
load_sources'
from /usr/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
from /usr/lib/ruby/vendor_ruby/sup/source.rb:206:in `load_sources'
from /usr/lib/ruby/vendor_ruby/sup/util.rb:572:in `method_missing'
from /usr/bin/sup-config:117:in `<main>'
If there is no .sup/sources.yaml sup-config performs a few steps but crashes
when loading sources
(...)
What's the full path to the maildir directory? (enter for "/var/mail/avtobiff"):
I'm going to add this source: maildir:/var/mail/avtobiff
Does that look right? (enter for "y"):
Does this source ever receive new messages? (enter for "y"):
Should new messages be automatically archived? (I.e. not appear in your inbox,
though
still be accessible via search.) (enter for "n"):
Enter any labels to be automatically added to all messages from this source,
separated
by spaces (or 'none'):
Ok, trying to run "/usr/bin/sup-add maildir:/var/mail/avtobiff"...
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be
deprecated in the future, use String#encode instead.
Adding maildir:/var/mail/avtobiff...
[2012-09-25 22:38:29 +0000] Flushing Xapian updates to disk. This may take a
while...
Great! Added!
Now, we'll tell Sup where to find all your email.
/usr/lib/ruby/vendor_ruby/sup.rb:20:in `id': wrong id called on {"uri"=>"maildir:/var/mail/avtobiff", "usual"=>true,
"archived"=>false, "id"=>1, "labels"=>[]} (RuntimeError)
from /usr/lib/ruby/vendor_ruby/sup/source.rb:207:in `block (2 levels)
in load_sources'
from /usr/lib/ruby/vendor_ruby/sup/source.rb:207:in `map'
from /usr/lib/ruby/vendor_ruby/sup/source.rb:207:in `block in
load_sources'
from /usr/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
from /usr/lib/ruby/vendor_ruby/sup/source.rb:206:in `load_sources'
from (eval):1:in `load_sources'
from /usr/bin/sup-config:154:in `<main>'
It works as expected if executed as
ruby1.8 /usr/bin/sup-config
--
Per
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org