Package: atheist Version: 0.20110402-2 Severity: important Tags: upstream Dear Maintainer, *** Please consider answering these questions, where appropriate ***
* What led up to the situation? atheist --notify-smtp='nicho...@periapt.co.uk' *.test Traceback (most recent call last): File "/usr/lib/atheist/athcmd.py", line 32, in <module> sys.exit(main(sys.argv)) File "/usr/lib/atheist/athcmd.py", line 28, in main mng = DefaultManager(argv[1:]) File "/usr/lib/python2.7/dist-packages/atheist/manager.py", line 359, in __init__ plugin.config(self.cfg, self.parser) File "/usr/lib/python2.7/dist-packages/atheist/plugins/smtp-reporter.py", line 66, in config config.reporters.append(SMTP_Reporter(config, account)) File "/usr/lib/python2.7/dist-packages/atheist/plugins/smtp-reporter.py", line 50, in __init__ atheist.FailReporter.__init__(self, config, 'smtp://'+toaddrs, handler) TypeError: __init__() takes at most 3 arguments (4 given) * What exactly did you do (or not do) that was effective (or ineffective)? I upgraded to the latest upstream code which seemed to move things on a bit: nicholas@chilcott:~$ atheist --notify-smtp='nicho...@periapt.co.uk' *.test [EE] Load error for plugin 'MockFS': No module named fs.memoryfs Traceback (most recent call last): File "/usr/lib/atheist/athcmd.py", line 27, in <module> app = Atheist() File "/usr/lib/python2.7/dist-packages/atheist/manager.py", line 339, in __init__ configurator.add_plugin_options(self.api.plugins) File "/usr/lib/python2.7/dist-packages/atheist/manager.py", line 124, in add_plugin_options plugin.config(self.parser) File "/usr/lib/python2.7/dist-packages/atheist/plugins/SMTP_Reporter.py", line 71, in config settings.reporters.append(SMTP_Reporter(account)) File "/usr/lib/python2.7/dist-packages/atheist/plugins/SMTP_Reporter.py", line 29, in __init__ raise atheist.ConfigureError("Your config requires a 'smtp.default' section.") atheist.ConfigureError: Your config requires a 'smtp.default' section. Then I installed "python-fs" and changed my config from [smtp] ..... to [smtp] [[default]] ...... and then I got nicholas@chilcott:~$ atheist --notify-smtp='nicho...@periapt.co.uk' *.test [FAIL] TaskCase: false.test [FAIL] 1 └─ Test -( 1: 0) false | trivially false [ -- ] TaskCase: mysql.test [ -- ] TaskCase: true.test [ FAIL ] - 0.36s - 0/3 tests And I received the email as expected. However when I just ran the working tests I hit an issue: nicholas@chilcott:~$ atheist --notify-smtp='nicho...@periapt.co.uk' true.test mysql.test [ OK ] TaskCase: mysql.test [ OK ] TaskCase: true.test [ ALL OK! ] - 0.59s - 2 tests - 2 tasks Traceback (most recent call last): File "/usr/lib/atheist/athcmd.py", line 28, in <module> sys.exit(app.run()) File "/usr/lib/python2.7/dist-packages/atheist/manager.py", line 471, in run retval = runner.run() File "/usr/lib/python2.7/dist-packages/atheist/__init__.py", line 1305, in run return Runner.run(self) File "/usr/lib/python2.7/dist-packages/atheist/__init__.py", line 1206, in run self.report() File "/usr/lib/python2.7/dist-packages/atheist/__init__.py", line 1227, in report r.do_render(suite) File "/usr/lib/python2.7/dist-packages/atheist/reporter.py", line 229, in do_render if not suite.all_ok() or settings.notify_ok: File "/usr/lib/python2.7/dist-packages/pyarco/Type.py", line 562, in __getattr__ return getattr(self.dct, key) AttributeError: 'Settings' object has no attribute 'notify_ok' nicholas@chilcott:~$ * What was the outcome of this action? * What outcome did you expect instead? *** End of the template - remove these lines *** -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 3.2.0-1-686-pae (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages atheist depends on: ii curl 7.27.0-1 ii libjs-sphinxdoc 1.1.3+dfsg-4 ii nmap 5.51.6-0.3 ii python 2.7.3-2 ii python-loggingx 0.1.3-1.1 ii python-mock 0.8.0-2 ii python-notify 0.1.1-3 ii python2.6 2.6.8-0.2 ii python2.7 2.7.3-5 atheist recommends no packages. atheist suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org