[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Straw-devel] [Fwd: Bug#254466: straw: 0.23 fails to show article's cont
From: |
Ross Burton |
Subject: |
[Straw-devel] [Fwd: Bug#254466: straw: 0.23 fails to show article's content!] |
Date: |
Wed, 16 Jun 2004 08:21:21 +0100 |
Hi all,
I'm getting various bugs relating to unknown encodings (attached),
specifically
Traceback (most recent call last):
File "/usr/lib/straw/straw/MainWindow.py", line 336, in item_selection_changed
self.display_item(item)
File "/usr/lib/straw/straw/MainWindow.py", line 363, in display_item
straw.main.display_item(item)
File "/usr/lib/straw/straw/Main.py", line 188, in display_item
straw.main_window.display_item(item)
File "/usr/lib/straw/straw/MainWindow.py", line 1416, in display_item
self._item_view.display_item(item)
File "/usr/lib/straw/straw/MainWindow.py", line 101, in display_item
html = (
File "/usr/lib/straw/straw/MainWindow.py", line 145, in htmlify_item
self._date_format, self._encoding)
File "/usr/lib/straw/straw/utils.py", line 144, in format_date
return unicode(timestr, encoding)
LookupError: unknown encoding: en_US.ISO8859-15
Johan saw this too when he tried it and mentioned that unicode() behaves
differently on different versions of Python, throwing different
exceptions. Hopefully this is the case and this is a simple fix.
Also see the second report in the mail, DB corruption when running Straw
over remote X on a 386 host. Are the bsddb files host-endian based on
the machine which created them, so (say for example) a Straw database
created on PPC won't then be read on a x86?
Thanks,
Ross
--
Ross Burton mail: address@hidden
jabber: address@hidden
www: http://www.burtonini.com./
PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF
--- Begin Message ---
Subject: |
Bug#254466: straw: 0.23 fails to show article's content! |
Date: |
Tue, 15 Jun 2004 00:36:15 +0300 |
Package: straw
Version: 0.23-1
Severity: important
Tags: sid
The 0.23-1 that entered unstable today completely fails to show the article's
content! This is reproducible on
articles from any source, including old articles that previously displayed fine
using 0.22.1 this morning.
Running from commandline gives me this:
X8------
<address@hidden:/home/q-funk>$ straw
Traceback (most recent call last):
File "/usr/lib/straw/straw/MainWindow.py", line 336, in item_selection_changed
self.display_item(item)
File "/usr/lib/straw/straw/MainWindow.py", line 363, in display_item
straw.main.display_item(item)
File "/usr/lib/straw/straw/Main.py", line 188, in display_item
straw.main_window.display_item(item)
File "/usr/lib/straw/straw/MainWindow.py", line 1416, in display_item
self._item_view.display_item(item)
File "/usr/lib/straw/straw/MainWindow.py", line 101, in display_item
html = (
File "/usr/lib/straw/straw/MainWindow.py", line 145, in htmlify_item
self._date_format, self._encoding)
File "/usr/lib/straw/straw/utils.py", line 144, in format_date
return unicode(timestr, encoding)
LookupError: unknown encoding: en_US.ISO8859-15
(straw:5282): Gtk-WARNING **: Failed to set label from markup due to error
parsing markup: Virhe rivillä 1, kohdassa
9: Virheellinen UTF-8-merkistöinen teksti
<address@hidden:/home/q-funk>$
X8------
Attempting to run Straw from an i386 host via X session forwarding gives me
this instead:
X8------
<address@hidden:/home/q-funk>$ straw
ItemStore.py:47:__init__: DB_RUNRECOVERY: Fatal error, run database recovery --
PANIC: DB_RUNRECOVERY: Fatal error,
run database recovery
Recovery Error: See README for details on how to recover data.
<address@hidden:/home/q-funk>$
X8------
Nice, except which package's README has the answer? *argh*
In other words, 0.23-1 is seriously broken! Any chances this might be due to
non-updated dependencies? If not, any
test I could do?
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (101, 'testing'), (99, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.6-imac
Locale: address@hidden, address@hidden
Versions of packages straw depends on:
ii gconf2 2.6.1-2 GNOME configuration database syste
ii python 2.3.4-1 An interactive high-level object-o
ii python2.3 2.3.4-1 An interactive high-level object-o
ii python2.3-egenix-mxdatetime 2.0.5-1 Date and time handling routines fo
ii python2.3-glade2 2.2.0-1 GTK+ bindings: Glade support
ii python2.3-gnome2 2.0.2-1 Python bindings for GNOME 2
ii python2.3-gtk2 2.2.0-1 Python bindings for the GTK+ widge
-- no debconf information
--- End Message ---
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Straw-devel] [Fwd: Bug#254466: straw: 0.23 fails to show article's content!],
Ross Burton <=