Comments (9)
Hi @Samurai1201 this should be fixed in 394a982
can you please do a docker-compose pull, retry and let me know?
from email-archiver.
Thanks for the quick response :)
I tried the docker compose pull as you suggested and even built the image from source, but the container doesnt even start now.
It exits with code 0, without even writing anything to log.
from email-archiver.
Forgot to actually run the application in Dockerfile. This is fixed now!
from email-archiver.
It starts now as before, but I still get the same error message
web-1 | Traceback (most recent call last):
web-1 | File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1488, in __call__
web-1 | return self.wsgi_app(environ, start_response)
web-1 | File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1466, in wsgi_app
web-1 | response = self.handle_exception(e)
web-1 | File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1463, in wsgi_app
web-1 | response = self.full_dispatch_request()
web-1 | File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 872, in full_dispatch_request
web-1 | rv = self.handle_user_exception(e)
web-1 | File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 870, in full_dispatch_request
web-1 | rv = self.dispatch_request()
web-1 | File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 855, in dispatch_request
web-1 | return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
web-1 | File "/app/app.py", line 58, in create_account
web-1 | email_archiver.create_account(conn, email, password, protocol, server, port)
web-1 | File "/app/email_archiver.py", line 260, in create_account
web-1 | client.login(email, password_bytes.decode('utf-8')) # Decode the bytes back to a string
web-1 | File "/usr/local/lib/python3.9/imaplib.py", line 610, in login
web-1 | typ, dat = self._simple_command('LOGIN', user, self._quote(password))
web-1 | File "/usr/local/lib/python3.9/imaplib.py", line 1230, in _simple_command
web-1 | return self._command_complete(name, self._command(name, *args))
web-1 | File "/usr/local/lib/python3.9/imaplib.py", line 987, in _command
web-1 | arg = bytes(arg, self._encoding)
web-1 | UnicodeEncodeError: 'ascii' codec can't encode character '\xdc' in position 8: ordinal not in range(128)
from email-archiver.
Hi @Samurai1201 I could successfully test login in with umlauts now after 689f54e
Please tryhopefully one last time and let me know!
from email-archiver.
I was successful at adding the account :)
Unfortunately briefbox was unable to archive any emails with error:
web-1 | 2024-03-12 09:40:57,291 - INFO - Started email archiving for account 2.
web-1 | 2024-03-12 09:40:57,368 - ERROR - An error occurred during email archiving for account 2: 'ascii' codec can't encode character '\xdc' in position 8: ordinal not in range(128)
web-1 | 2024-03-12 09:40:57,368 - ERROR - Exception details: Traceback (most recent call last):
web-1 | File "/app/email_archiver.py", line 104, in fetch_and_archive_emails
web-1 | client.login(username, password)
web-1 | File "/usr/local/lib/python3.9/imaplib.py", line 610, in login
web-1 | typ, dat = self._simple_command('LOGIN', user, self._quote(password))
web-1 | File "/usr/local/lib/python3.9/imaplib.py", line 1230, in _simple_command
web-1 | return self._command_complete(name, self._command(name, *args))
web-1 | File "/usr/local/lib/python3.9/imaplib.py", line 987, in _command
web-1 | arg = bytes(arg, self._encoding)
web-1 | UnicodeEncodeError: 'ascii' codec can't encode character '\xdc' in position 8: ordinal not in range(128)
Danke für deine Arbeit, ist eher nischig das Problem....
aber halt leider für Deutsche noch eher ein Problem :)
from email-archiver.
Wow. My bad I have limited possibility to test. What mail providers allows for Umlauts in passwords?
Should now again be hopefully fixed in d164620
Please bear with me, I am ;)
Das bekommen wir schon hin!
from email-archiver.
It now works as expected
Thanks a lot :)
P.S.: Would it be possible to archive whole email accounts? That would be really useful.
And when Im at it asking for features, an import function for EML generated according to rfc 2822 would be a godsend
from email-archiver.
@Samurai1201 everything is possible ;). Please create seperate issues for each where you detail out what you need and i will take a look. Glad it works now
from email-archiver.
Related Issues (20)
- Implement OAuth for Email Providers
- Improve Email Parsing Capabilities HOT 1
- Introduce Email Tagging and Labeling HOT 1
- Provide UI Screenshots in README
- Integrate all dependencies in docker image HOT 2
- read only IMAP HOT 5
- SSL wrong version number HOT 5
- Archive cleaning functionality
- LookupError for Unknown Encoding During Email Decoding HOT 1
- Handle TypeError for NoneType Object in fetch_and_archive_emails HOT 1
- Enable users to select inboxes to archive within account setup
- Future Proof Frontend
- ERROR - An error occurred during email archiving for account 1: expected string or bytes-like object HOT 1
- Idea: offer option to periodically fetch new emails HOT 4
- App Feedback and Ideas HOT 1
- ModuleNotFoundError: No module named 'flask_cors' HOT 2
- json to eml? HOT 5
- BUG: attachments that are retrieved after initial fetch get assigned wrong email_id
- requirements.txt missing in backend HOT 1
- `Failed to register layer` on docker pull 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 email-archiver.