unity-mail IMAP sub-folders with non-ascii names

Bug #1043786 reported by Misha Bazanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity Mail
Fix Released
Low
Unassigned
unity-mail (Ubuntu)
Undecided
Unassigned

Bug Description

Looks like unity-mail does not support non-ascii names of IMAP sub-folders to scan.

try:
ExtraFolders = user@server:/тест
get:
UnicodeEncodeError: 'ascii' codec can't encode characters in position 1-4: ordinal not in range(128)

try python-like unicode string(also try with ' '):
ExtraFolders = u"user@server:/тест"
Unity-mail works well, but does not check this sub-folder in fact.

Great thanks for this tiny and nice program.

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Can you please provide a full traceback (in what line the UnicodeEncodeError happens)?

Changed in unity-mail:
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Ignore that, I can reproduce this.

Changed in unity-mail:
status: Incomplete → Triaged
Changed in unity-mail:
status: Triaged → Fix Committed
milestone: none → 1.2
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Can you please test the updated package in my PPA (ppa:mitya57)?

Revision history for this message
Misha Bazanov (bmw-) wrote :

Hello, Dmitry.

Thanks for fast reaction. With lastest ppa version all ok.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-mail - 1.2

---------------
unity-mail (1.2) quantal; urgency=low

  * New release (LP: #1045325)
    - Port to libmessaging-menu (LP: #1040259)
      + Add new Message class as a replacement for old message tuples
      + Move "Mark all as read" action to the launcher quicklist
      + Move some code from um-url to config.py
      + Call subprocess.Popen with shell=True
    - Properly convert non-ascii folder names to UTF-7 bytestrings
      (LP: #1043786)
  * Recommend gir1.2-messagingmenu-1.0
 -- Dmitry Shachnev <email address hidden> Mon, 03 Sep 2012 17:05:48 +0400

Changed in unity-mail (Ubuntu):
status: New → Fix Released
Changed in unity-mail:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers