#2772: GtkWarning: Failed to set text from markup due to error parsing markup
--------------------+--------------------
Reporter: Cas | Owner:
Type: bug | Status: new
Priority: minor | Milestone: 1.3.13
Component: GTK-UI | Version: 1.3.12
Keywords: |
--------------------+--------------------
Another annoying error that needs eliminating, looks like a torrent has
`<br>` in it's comments.
{{{
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "/home/ubuntu/deluge-1.3-stable-
git/deluge/ui/gtkui/torrentdetails.py", line 380, in update
self.tabs[name].update()
File "/home/ubuntu/deluge-1.3-stable-
git/deluge/ui/gtkui/details_tab.py", line 85, in update
session.get_torrent_status(selected,
status_keys).addCallback(self._on_get_torrent_status)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line
298, in addCallback
callbackKeywords=kw)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line
287, in addCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line
545, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/home/ubuntu/deluge-1.3-stable-
git/deluge/ui/gtkui/details_tab.py", line 111, in _on_get_torrent_status
widget[0].set_markup(txt.replace('&', '&'))
}}}
{{{
/home/ubuntu/deluge-1.3-git/deluge/ui/gtkui/details_tab.py:111:
GtkWarning: Failed to set text from markup due to error parsing markup:
Error on line 1 char 26: Element 'markup' was closed, but the currently
open element is 'br'
widget[0].set_markup(txt.replace('&', '&'))
}}}
{{{
/home/ubuntu/deluge-1.3-git/deluge/ui/gtkui/details_tab.py:109:
GtkWarning: Failed to set text from markup due to error parsing markup:
Error on line 1 char 65: Element 'a' was closed, but the currently open
element is 'br'
widget[0].set_markup('<a href="%s">%s</a>' % (txt, txt.replace('&',
'&')))
}}}
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2772>
Deluge <http://deluge-torrent.org/>
Deluge Project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/deluge-dev.
For more options, visit https://groups.google.com/d/optout.