Package Details: journalwatch 1.1.0-4

Git Clone URL: https://aur.archlinux.org/journalwatch.git (read-only, click to copy)
Package Base: journalwatch
Description: Filter error messages from systemd journal, similar to logcheck/logwatch.
Upstream URL: https://pypi.python.org/pypi/journalwatch/
Licenses: GPL
Submitter: The-Compiler
Maintainer: The-Compiler
Last Packager: The-Compiler
Votes: 11
Popularity: 0.000211
First Submitted: 2014-07-11 11:59
Last Updated: 2021-01-22 12:50

Latest Comments

marcool04 commented on 2021-01-24 13:16

@The-Compiler haha, no problem :) Still use the program every day and love it. Great to know you're keeping it up to date! All the best, Mark.

Arvedui commented on 2021-01-23 20:10

Better late than never :) Thank you!

The-Compiler commented on 2021-01-22 12:51

@Arvedui I'm, like, 3 years late - but I finally included python-setuptools there.

@marcool04 Whoops, I split building/packaging but didn't actually include the building part... Fixed now.

Thanks and sorry for the delays!

marcool04 commented on 2020-12-18 09:46

Hi, Just tried to installing this, and it appears the last pkgrel bump commit messed something up; the installed script fails to run with:

# /usr/bin/journalwatch
Traceback (most recent call last):
  File "/usr/bin/journalwatch", line 33, in <module>
    sys.exit(load_entry_point('journalwatch==1.1.0', 'console_scripts', 'journalwatch')())
  File "/usr/bin/journalwatch", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'journalwatch'

It seems the extra --skip-build is not such a good idea :) Maybe it only works for upgrades? Reverting it works fine anyhow. All the best, Mark.

Arvedui commented on 2018-04-08 13:28

Please add python-setuptools to makedepends it fails to build in an clean chroot without it.

louie23 commented on 2014-09-07 00:00

> the AUR comments aren't really the right place to talk about non-package issues
Got it, sorry for this, I try https://pypi.python.org/pypi/journalwatch/, and http://git.the-compiler.org/journalwatch/, and can't find place to report bug XD

After set mail_args = "-t", it works like a charm, thanks for your help.

The-Compiler commented on 2014-09-06 20:29

I just released 0.2, you can now do "--loglevel debug" to see the command.

I can't really help you with your exim config I'm afraid. You probably have to keep -t as option so the To:-header gets parsed.

If you still need help I suggest posting to https://bbs.archlinux.org/viewtopic.php?id=184105 - the AUR comments aren't really the right place to talk about non-package issues ;)

louie23 commented on 2014-09-06 04:30

Sorry, forget to set notify on comments.

I set
mail_args = ""
and now nothing output on command line, but still can't receive mail.
When I check the exim log, I see:
2014-09-06 11:23:08 1XQ6ai-000161-Ux => blackhole (RCPT ACL discarded recipients)

I can mail from command line with 'mail' commad, so how do I know journalwatch is running what command actually, so I can test by hand.

Maybe journalwatch can have a debug option :)

The-Compiler commented on 2014-08-28 05:40

You can set
mail_args = -foo
in your ~/.config/journalwatch/config.

Not sure what'd be appropriate for exim4 sendmail... Oh the joy of incompatible sendmail versions.

If you still run into problems, feel free to mail me at archlinux.org@the-compiler.org - probably a better way to sort it out than here ;)

louie23 commented on 2014-08-28 02:49

When I run journalwatch, it is error like the following:
$ journalwatch --since new mail
exim abandoned: unknown, malformed, or incomplete option -toi
Traceback (most recent call last):
File "/usr/bin/journalwatch", line 22, in <module>
sys.exit(journalwatch.main())
File "/usr/lib/python3.4/site-packages/journalwatch.py", line 427, in main
run()
File "/usr/lib/python3.4/site-packages/journalwatch.py", line 419, in run
send_mail(output, since)
File "/usr/lib/python3.4/site-packages/journalwatch.py", line 375, in send_mail
p.communicate(mail.as_bytes())
File "/usr/lib/python3.4/subprocess.py", line 944, in communicate
self.stdin.close()
BrokenPipeError: [Errno 32] Broken pipe

I found exim have no "-toi" option. How can I use exim with journalwatch?