Comments (6)
just bumped into this again, refining my filters.
How come it tries to open /home/pazz/mail//home/pazz/Maildir/...
anyway?
suspicious..
from afew.
I too am getting this using notmuch 0.19+103~g294bb6d
Traceback (most recent call last):
File "/home/frankqux/.local/bin/afew", line 9, in <module>
load_entry_point('afew==0.0.0', 'console_scripts', 'afew')()
File "/home/frankqux/.local/lib/python2.7/site-packages/afew-0.0.0-py2.7.egg/afew/commands.py", line 205, in main
inner_main(options, database, query_string)
File "/home/frankqux/.local/lib/python2.7/site-packages/afew-0.0.0-py2.7.egg/afew/main.py", line 38, in main
filter_.run(query_string)
File "/home/frankqux/.local/lib/python2.7/site-packages/afew-0.0.0-py2.7.egg/afew/filters/BaseFilter.py", line 73, in run
self.handle_message(message)
File "/home/frankqux/.local/lib/python2.7/site-packages/afew-0.0.0-py2.7.egg/afew/filters/HeaderMatchingFilter.py", line 41, in handle_message
value = message.get_header(self.header)
File "/usr/local/lib/python2.7/dist-packages/notmuch/message.py", line 233, in get_header
raise NullPointerError()
notmuch.errors.NullPointerError
Also, is this not the same as #35 ?
from afew.
I'm getting this too just now, using few 1.3.0 and notmuch 0.25.1:
ยป afew --tag --new --verbose --verbose
Traceback (most recent call last):
File "/home/varac/.local/bin/afew", line 11, in <module>
load_entry_point('afew==1.3.0', 'console_scripts', 'afew')()
File "/home/varac/.local/lib/python2.7/site-packages/afew-1.3.0-py2.7.egg/afew/commands.py", line 159, in main
inner_main(args, database, query_string)
File "/home/varac/.local/lib/python2.7/site-packages/afew-1.3.0-py2.7.egg/afew/main.py", line 23, in main
filter_.run(query_string)
File "/home/varac/.local/lib/python2.7/site-packages/afew-1.3.0-py2.7.egg/afew/filters/BaseFilter.py", line 60, in run
self.handle_message(message)
File "/home/varac/.local/lib/python2.7/site-packages/afew-1.3.0-py2.7.egg/afew/filters/HeaderMatchingFilter.py", line 28, in handle_message
value = message.get_header(self.header)
File "/usr/lib/python2.7/dist-packages/notmuch/message.py", line 233, in get_header
raise NullPointerError()
notmuch.errors.NullPointerError
Unfortunatly I can't debug further b/c afew doesn't even tell my which mail it chokes on. Adding more `--verbose`` flags doesn't increase the verbosity.
from afew.
Same after upgrading to notmuch 0.26 and also after downgrading afew to 1.2.0 :o
from afew.
@varac looks the same issue but I am not sure it is the best to dig up such an old issue (2012),
anyway as it seems to be related to your notmuch database when you run afew.
Can you reproduce the bug with older version of afew ?
from afew.
For me, the error happens only when running the [ListMailsFilter]. It seems to die when processing a specific email, but I can't tell which one and why. If I comment [ListMailsFilter] in the configuration file, the error does not occur.
:!afew --tag --all -v
INFO:afew.filters.KillThreadsFilter.KillThreadsFilter:Looking for messages in killed threads that are not yet killed
INFO:afew.filters.ArchiveSentMailsFilter.ArchiveSentMailsFilter:Archiving all mails sent by myself to others
INFO:afew.filters.ArchiveSentMailsFilter.ArchiveSentMailsFilter:Committing changes to 5289 messages
INFO:afew.filters.ListMailsFilter.ListMailsFilter:Tagging mailing list posts
Traceback (most recent call last):
File "/usr/bin/afew", line 11, in <module>
load_entry_point('afew==1.3.0', 'console_scripts', 'afew')()
File "/usr/lib/python3.7/site-packages/afew/commands.py", line 159, in main
inner_main(args, database, query_string)
File "/usr/lib/python3.7/site-packages/afew/main.py", line 23, in main
filter_.run(query_string)
File "/usr/lib/python3.7/site-packages/afew/filters/BaseFilter.py", line 60, in run
self.handle_message(message)
File "/usr/lib/python3.7/site-packages/afew/filters/HeaderMatchingFilter.py", line 28, in handle_message
value = message.get_header(self.header)
File "/usr/lib/python3.7/site-packages/notmuch/message.py", line 265, in get_header
raise NullPointerError()
notmuch.errors.NullPointerError
shell returned 1
$ afew --version
1.3.0
$ notmuch --version
notmuch 0.28
from afew.
Related Issues (20)
- What if INBOX name is empty? (as in 'folder:""') HOT 4
- Relative path in database.path of notmuch config breaks FolderNameFilter HOT 1
- --enable-filters not behaving as expected HOT 4
- make afew idempotent HOT 1
- Moving mails tagged as deleted HOT 9
- Filter mails from addresses in a list contained in a file? HOT 3
- Handling multiple matches in HeaderMatchingFilter HOT 3
- Maintaining a folder/tag parity HOT 3
- MailMover configuration accepts a regex folder, but fails silently HOT 4
- FolderTagSync, a simplified mechanism maintaining 1-1 coorespondence between maildir folders and tags. HOT 8
- kill filter could be optimized HOT 5
- Error run afew -tn HOT 1
- M$ Office365 spam filter HOT 1
- Multi-account MailMover HOT 2
- `python setup.py build_sphinx` is removed in the Sphinx 7 HOT 1
- Feature request: Remove all tags matching regex "list/.*" only when the tag "spam" is present
- Tagging by plus addressing
- error: unrecognized arguments: --learn HOT 1
- How about tagging a new release HOT 9
- Fix for installing on MacOS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from afew.