Bug 674758

Summary: [abrt] gpodder-2.8-2.fc14: minidb.py:141:remove: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 a
Product: [Fedora] Fedora Reporter: Bengt Sjögren <bengt.sjogren>
Component: gpodderAssignee: Jef Spaleta <jspaleta>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: jspaleta, vpvainio
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:ab0a857f
Fixed In Version: gpodder-2.12-2.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-13 08:52:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace none

Description Bengt Sjögren 2011-02-03 08:01:03 UTC
abrt version: 1.1.14
architecture: i686
cmdline: /usr/bin/python /usr/bin/gpodder
component: gpodder
executable: /usr/bin/gpodder
kernel: 2.6.35.10-74.fc14.i686
package: gpodder-2.8-2.fc14
reason: minidb.py:141:remove: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.
release: Fedora release 14 (Laughlin)
time: 1296719987
uid: 500

backtrace
-----
minidb.py:141:remove: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.

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/gpodder/gtkui/desktop/preferences.py", line 211, in on_dialog_destroy
    self.mygpo_client.create_device()
  File "/usr/lib/python2.7/site-packages/gpodder/my.py", line 193, in create_device
    self._store.remove(self._store.load(UpdateDeviceAction))
  File "/usr/lib/python2.7/site-packages/gpodder/minidb.py", line 129, in remove
    self.remove(child)
  File "/usr/lib/python2.7/site-packages/gpodder/minidb.py", line 141, in remove
    ' AND '.join('%s=?'%s for s in slots)), values)
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.

Local variables in innermost frame:
slot: 'device_type'
self: <gpodder.minidb.Store object at 0xa8b888c>
o: <gpodder.my.UpdateDeviceAction object at 0xb0a6aecc>
s: 'device_type'
values: ['gPodder p\xc3\xa5 Elite8540', 'Elite8540', 'laptop']
table: 'UpdateDeviceAction'
slots: ['caption', 'device_id', 'device_type']

How to reproduce
-----
1. I tried to find a Rss when it crashed
2.
3.

Comment 1 Bengt Sjögren 2011-02-03 08:01:07 UTC
Created attachment 476718 [details]
File: backtrace

Comment 2 Ville-Pekka Vainio 2011-02-03 10:22:13 UTC
I thought I'd fixed this already, but apparently not. Reopened the upstream bug: https://bugs.gpodder.org/show_bug.cgi?id=1088

Comment 3 Fedora Update System 2011-02-03 16:54:45 UTC
gpodder-2.12-2.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/gpodder-2.12-2.fc13

Comment 4 Fedora Update System 2011-02-03 16:56:20 UTC
gpodder-2.12-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/gpodder-2.12-2.fc14

Comment 5 Fedora Update System 2011-02-03 20:19:44 UTC
gpodder-2.12-2.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update gpodder'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/gpodder-2.12-2.fc13

Comment 6 Fedora Update System 2011-02-13 08:52:20 UTC
gpodder-2.12-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2011-02-13 08:58:53 UTC
gpodder-2.12-2.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.