Hi Philippe, On 17-01-07 17:33:23, schleu...@nadir.org wrote: > From: Philippe Le Brouster <p...@nebkha.net> > > Package: schleuder > Version: 3.0.0~beta14-1 > > When creating a list through schleuder-cli, the log folder of the list > is no created. > > sudo -u schleuder schleuder-cli lists new test@my.domain plb@my.domain > /tmp/plb.asc > > This produce an error when sending the first mail: > > No such file or directory @ rb_sysopen - > /var/log/schleuder/my.domain/test/list.log > /usr/lib/ruby/2.1.0/open-uri.rb:36:in `initialize' > /usr/lib/ruby/2.1.0/open-uri.rb:36:in `open' > /usr/lib/ruby/2.1.0/open-uri.rb:36:in `open' > /usr/lib/ruby/2.1.0/logger.rb:600:in `create_logfile' > /usr/lib/ruby/2.1.0/logger.rb:594:in `rescue in open_logfile' > /usr/lib/ruby/2.1.0/logger.rb:591:in `open_logfile' > /usr/lib/ruby/2.1.0/logger.rb:549:in `initialize' > /usr/lib/ruby/2.1.0/logger.rb:318:in `new' > /usr/lib/ruby/2.1.0/logger.rb:318:in `initialize' > /usr/lib/ruby/vendor_ruby/schleuder/listlogger.rb:5:in `initialize' > /usr/lib/ruby/vendor_ruby/schleuder/list.rb:81:in `new' > /usr/lib/ruby/vendor_ruby/schleuder/list.rb:81:in `logger' > /usr/lib/ruby/vendor_ruby/schleuder/runner.rb:81:in `logger' > /usr/lib/ruby/vendor_ruby/schleuder/runner.rb:126:in `setup_list' > /usr/lib/ruby/vendor_ruby/schleuder/runner.rb:4:in `run' > /usr/lib/ruby/vendor_ruby/schleuder/cli.rb:35:in `work' > /usr/lib/ruby/vendor_ruby/thor/command.rb:27:in `run' > /usr/lib/ruby/vendor_ruby/thor/invocation.rb:126:in `invoke_command' > /usr/lib/ruby/vendor_ruby/thor.rb:359:in `dispatch' > /usr/lib/ruby/vendor_ruby/thor/base.rb:440:in `start' > /usr/bin/schleuder:8:in `<main>' > > The problem is fixed if I create the folder manually: > > sudo -u schleuder mkdir -p /var/log/schleuder/my.domain/test > > Tested on Debian/Jessie.
Thanks for testing and your bug report -- highly appreciated! I'll have a look into this, expect a fixed version soon. If you run into further problems, please let me know. Have a nice evening, Georg -- To receive the public gpg key for this address send a mail to schleuder2-send...@nadir.org.
pgp9xgTugc5EX.pgp
Description: PGP signature