Comments (5)
6c5055c works for me.
b58ac76 not.
from afew.
i'm using python2.7 and it worked again after removing the changes in b58ac76
from afew.
@bjoernb: thanks for bisecting the issue. Could you try the patch I pushed to branch fix-issue-34
?
from afew.
@teythoon: The fix does work for me. Thanks
from afew.
Hm. It worked once, but then I still get the error. I am using 45d69d2.
DEBUG:root:executing [u'dbacl', u'-c', u'/home/bb/.local/share/afew/categories/reference_category', u'-c', u'/home/bb/.local/share/afew/categories/spam', u'-n']
Traceback (most recent call last):
File "/home/bb/.local/bin/afew", line 189, in
main(options, query_string)
File "/home/bb/.local/lib/python2.7/site-packages/afew/main.py", line 33, in main
filter_.run(query_string)
File "/home/bb/.local/lib/python2.7/site-packages/afew/Filter.py", line 61, in run
self.handle_message(message)
File "/home/bb/.local/lib/python2.7/site-packages/afew/filters/ClassifyingFilter.py", line 36, in handle_message
scores = self.classifier.classify(extract_mail_body(message))
File "/home/bb/.local/lib/python2.7/site-packages/afew/utils.py", line 101, in extract_mail_body
raw_payload = raw_payload.decode(encoding, 'replace')
UnicodeEncodeError: 'ascii' codec can't encode character u'\ufffd' in position 169: ordinal not in range(128)
from afew.
Related Issues (20)
- 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
- CI pipeline only tests Python version 3.8 HOT 5
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.