[Bugs] #2830 Browse LOW: Browse unable to handle strange unicode characters

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Fri Apr 27 20:28:28 EDT 2012


#2830: Browse unable to handle strange unicode characters
----------------------------+-----------------------------------------------
    Reporter:  m_anish      |          Owner:  lucian     
        Type:  defect       |         Status:  new        
    Priority:  Low          |      Milestone:  0.96       
   Component:  Browse       |        Version:             
    Severity:  Minor        |       Keywords:  dx2, dx3   
Distribution:  Unspecified  |   Status_field:  Unconfirmed
----------------------------+-----------------------------------------------
Changes (by humitos):

  * milestone:  0.94 => 0.96


Comment:

 This still happens in git version of Browse but the exception is a bit
 different, it refers to SQLite:
 {{{
 Traceback (most recent call last):
   File "/home/humitos/sugar-
 jhbuild/install/share/sugar/activities/Browse.activity/webtoolbar.py",
 line 216, in __changed_cb
     if not self.props.text or not self._search_update():
   File "/home/humitos/sugar-
 jhbuild/install/share/sugar/activities/Browse.activity/webtoolbar.py",
 line 123, in _search_update
     for place in places.get_store().search(self.props.text):
   File "/home/humitos/sugar-
 jhbuild/install/share/sugar/activities/Browse.activity/places.py", line
 73, in search
     (text, text, self.MAX_SEARCH_MATCHES))
 sqlite3.ProgrammingError: You must not use 8-bit bytestrings unless you
 use a text_factory that can interpret 8-bit bytestrings (like text_factory
 = str). It is highly recommended that you instead just switch your
 application to Unicode strings.
 }}}

 I wrote something like this: {{{ðßæðđ ðßđßðæđ æßð đæßłđþ@ł€¶ đðæß^ł}}} in
 the address bar.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/2830#comment:3>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list