Bug 1386355 - [abrt] gnome-gmail: generator.py:410:write:UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-11: ordinal not in range(128)
Summary: [abrt] gnome-gmail: generator.py:410:write:UnicodeEncodeError: 'ascii' codec ...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-gmail
Version: 24
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Guillaume Kulakowski
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:d0d87981bc219a1d82c4d699565...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-18 18:03 UTC by webdesigner
Modified: 2017-08-08 19:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-08 19:28:45 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (1.60 KB, text/plain)
2016-10-18 18:03 UTC, webdesigner
no flags Details
File: environ (2.38 KB, text/plain)
2016-10-18 18:03 UTC, webdesigner
no flags Details

Description webdesigner 2016-10-18 18:03:03 UTC
Version-Release number of selected component:
gnome-gmail-2.2-1.fc24

Additional info:
reporter:       libreport-2.7.2
cmdline:        /usr/bin/python3 -tt /usr/share/gnome-gmail/gnomegmail.py k_natali28
executable:     /usr/share/gnome-gmail/gnomegmail.py
kernel:         4.6.7-300.fc24.x86_64+debug
pkg_fingerprint: 73BD E983 81B4 6521
pkg_vendor:     Fedora Project
runlevel:       N 5
type:           Python3
uid:            1001

Truncated backtrace:
generator.py:410:write:UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-11: ordinal not in range(128)

Traceback (most recent call last):
  File "/usr/share/gnome-gmail/gnomegmail.py", line 852, in <module>
    main()
  File "/usr/share/gnome-gmail/gnomegmail.py", line 837, in main
    gmailurl = gm_url.gmail_url()
  File "/usr/share/gnome-gmail/gnomegmail.py", line 563, in gmail_url
    gmailurl = self.api_gmail_url()
  File "/usr/share/gnome-gmail/gnomegmail.py", line 530, in api_gmail_url
    gm_api.form_message()
  File "/usr/share/gnome-gmail/gnomegmail.py", line 341, in form_message
    self.message_text = msg.as_bytes()
  File "/usr/lib64/python3.5/email/message.py", line 179, in as_bytes
    g.flatten(self, unixfrom=unixfrom)
  File "/usr/lib64/python3.5/email/generator.py", line 115, in flatten
    self._write(msg)
  File "/usr/lib64/python3.5/email/generator.py", line 181, in _write
    self._dispatch(msg)
  File "/usr/lib64/python3.5/email/generator.py", line 214, in _dispatch
    meth(msg)
  File "/usr/lib64/python3.5/email/generator.py", line 288, in _handle_multipart
    self._write_lines(preamble)
  File "/usr/lib64/python3.5/email/generator.py", line 161, in _write_lines
    self.write(laststripped)
  File "/usr/lib64/python3.5/email/generator.py", line 410, in write
    self._fp.write(s.encode('ascii', 'surrogateescape'))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-11: ordinal not in range(128)

Local variables in innermost frame:
s: 'Повідомлення mime приєднано'
self: <email.generator.BytesGenerator object at 0x7fc85ffb4978>

Comment 1 webdesigner 2016-10-18 18:03:08 UTC
Created attachment 1211809 [details]
File: backtrace

Comment 2 webdesigner 2016-10-18 18:03:09 UTC
Created attachment 1211810 [details]
File: environ

Comment 3 Fedora End Of Life 2017-07-25 23:31:58 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '24'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 4 Fedora End Of Life 2017-08-08 19:28:45 UTC
Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.