Baruwa-admin queuestats error

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Baruwa-admin queuestats error

ManicD
Suddenly getting the following error from baruwa-admin, this has been working happily for a good while.


===

[root@mx1 ~]# baruwa-admin queuestats
== Delete flaged queue items from the inbound queue ==
== Deleted 0 items from the inbound queue ==
== Delete flaged queue items from the outbound queue ==
== Deleted 0 items from the outbound queue ==
Traceback (most recent call last):
  File "/usr/bin/baruwa-admin", line 11, in <module>
    execute_manager(settings)
  File "/usr/lib/python2.6/site-packages/django/core/management/__init__.py", line 438, in execute_manager
    utility.execute()
  File "/usr/lib/python2.6/site-packages/django/core/management/__init__.py", line 379, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.6/site-packages/django/core/management/base.py", line 191, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/usr/lib/python2.6/site-packages/django/core/management/base.py", line 220, in execute
    output = self.handle(*args, **options)
  File "/usr/lib/python2.6/site-packages/baruwa/status/management/commands/queuestats.py", line 101, in handle
    outqueue.process()
  File "/usr/lib/python2.6/site-packages/baruwa/utils/mail/mailq.py", line 42, in process
    self.extend(self.module.process())
  File "/usr/lib/python2.6/site-packages/baruwa/utils/mail/mta/exim.py", line 149, in process
    results = [extractinfo(path) for path in queuefiles]
  File "/usr/lib/python2.6/site-packages/baruwa/utils/mail/mta/exim.py", line 106, in extractinfo
    index = lines.index('\n')
ValueError: list.index(x): x not in list


===

Thanks in advanced for your help
Reply | Threaded
Open this post in threaded view
|

Re: Baruwa-admin queuestats error

ManicD
Problem corrected itself after 24 hours - odd