Bug 682616 - [abrt] bibus-1.5.1-3.fc14: urllib.py:1275:urlencode:UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 1: ordinal not in range(128)
Summary: [abrt] bibus-1.5.1-3.fc14: urllib.py:1275:urlencode:UnicodeEncodeError: 'asci...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: bibus
Version: 14
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Alex Lancaster
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:a27e660e
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-07 03:36 UTC by Gian Paolo Mureddu
Modified: 2012-08-16 12:03 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-16 12:03:08 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (1.31 KB, text/plain)
2011-03-07 03:36 UTC, Gian Paolo Mureddu
no flags Details

Description Gian Paolo Mureddu 2011-03-07 03:36:28 UTC
abrt version: 1.1.17
architecture: i686
cmdline: python /usr/share/bibus/bibus.py
comment: Performing a PubMed search with Unicode accentuated characters
component: bibus
executable: /usr/share/bibus/bibus.py
kernel: 2.6.35.11-83.fc14.i686
package: bibus-1.5.1-3.fc14
reason: urllib.py:1275:urlencode:UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 1: ordinal not in range(128)
release: Fedora release 14 (Laughlin)
time: 1299468307
uid: 500

backtrace
-----
urllib.py:1275:urlencode:UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 1: ordinal not in range(128)

Traceback (most recent call last):
  File "/usr/share/bibus/myToolBar.py", line 70, in onSearch
    self.__searchPubMed(event,self.searchtxt1.GetValue())
  File "/usr/share/bibus/myToolBar.py", line 56, in __searchPubMed
    search.onSearchClose(event)
  File "/usr/share/bibus/SearchMedline.py", line 189, in onSearchClose
    self.onSearch(event)
  File "/usr/share/bibus/SearchMedline.py", line 221, in onSearch
    f = self.__query_medline('uilist')
  File "/usr/share/bibus/SearchMedline.py", line 216, in __query_medline
    query = urllib.urlencode({'db':'pubmed','term':search,'retstart':retstart,'retmax':retmax,'usehistory':'y','rettype':rettype,'retmode':'xml','tool':tool,'email':email})
  File "/usr/lib/python2.7/urllib.py", line 1275, in urlencode
    v = quote_plus(str(v))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 1: ordinal not in range(128)

Local variables in innermost frame:
doseq: 0
query: [('term', u'R\xe9my-Jardin[ALL]'), ('retmax', 20), ('usehistory', 'y'), ('retstart', 0), ('tool', 'bibus'), ('retmode', 'xml'), ('db', 'pubmed'), ('rettype', 'uilist'), ('email', 'pmartino.net')]
k: 'term'
l: []
v: u'R\xe9my-Jardin[ALL]'

How to reproduce
-----
1. Perform a PubMed search within Bibus
2. Use accentuated characters such as (, , , , )
3. See Bibus crash.

Comment 1 Gian Paolo Mureddu 2011-03-07 03:36:31 UTC
Created attachment 482588 [details]
File: backtrace

Comment 2 Fedora End Of Life 2012-08-16 12:03:10 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

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

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached 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 to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

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.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


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