[Pidgin] #3521: purple-url-handler doesn't handle irc:// links correctly

Pidgin trac at pidgin.im
Fri Oct 12 04:22:39 EDT 2007


#3521: purple-url-handler doesn't handle irc:// links correctly
-----------------------------+----------------------------------------------
 Reporter:  dwayne           |       Type:  defect
   Status:  new              |   Priority:  minor 
Component:  libpurple        |    Version:  2.2.1 
 Keywords:  irc url-handler  |    Pending:  0     
-----------------------------+----------------------------------------------
 I've tried various formats for URL handling in purple-url-handler all seem
 to fail for IRC type URLs.

 On my system this works:
 purple-url-handler "xmpp:friedel at jabber.obsidian.co.za"

 While none of these work:
 purple-url-handler "irc:irc.freenode.net"
 purple-url-handler "irc://irc.freenode.net"
 purple-url-handler "irc://irc.freenode.net#pootle"

 In all cases the following error is produced:
 [dwayne at localhost filters]$ purple-url-handler
 "irc://irc.freenode.net#pootle"
 /usr/lib/python2.5/site-packages/dbus/_dbus.py:248: DeprecationWarning:
 The dbus_bindings module is not public API and will go away soon.

 Most uses of dbus_bindings are applications catching the exception
 dbus.dbus_bindings.DBusException. You should use dbus.DBusException
 instead (this is compatible with all dbus-python versions since 0.40.2).

 If you need additional public API, please contact the maintainers via
 <dbus at lists.freedesktop.org>.

   import dbus.dbus_bindings as m
 Traceback (most recent call last):
   File "/usr/bin/purple-url-handler", line 332, in <module>
     main()
   File "/usr/bin/purple-url-handler", line 314, in main
     irc(uri)
   File "/usr/bin/purple-url-handler", line 163, in irc
     server = urllib.unquote_plus(match.group(2)) or ""
   File "/usr/lib/python2.5/urllib.py", line 1158, in unquote_plus
     s = s.replace('+', ' ')
 AttributeError: 'NoneType' object has no attribute 'replace'

-- 
Ticket URL: <http://developer.pidgin.im/ticket/3521>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list