/usr/share/imapfilter/regex.lua:10: bad argument #1 to 'compile' (string expected, got nil)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
imapfilter (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Started getting this error after upgrading from 1:2.6.16-1 to 1:2.7.2-1. Gives the following stacktrace:
$ /usr/bin/imapfilter -c ~/.imapfilter/
imapfilter: /usr/share/
stack traceback:
[C]: in ?
[C]: in function 'compile'
ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: imapfilter 1:2.7.2-1
ProcVersionSign
Uname: Linux 5.8.0-25-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu51
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: GNOME
Date: Tue Nov 17 14:00:44 2020
InstallationDate: Installed on 2020-02-07 (284 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20200124)
ProcEnviron:
TERM=screen-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: imapfilter
UpgradeStatus: No upgrade log present (probably fresh install)
I filed a bug upstream, the issue is fixed in v2.7.4.
https:/ /github. com/lefcha/ imapfilter/ issues/ 218
Here's the fix:
https:/ /github. com/lefcha/ imapfilter/ commit/ 987ea442fa0aa3d c5f5d59ec89c9a3 d818cd48d3