Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 179958

Summary: net-im/pidgin-2.0.1 purple-remote broken: SyntaxError
Product: Gentoo Linux Reporter: Dominique PRUNIER <dominique.prunier>
Component: Current packagesAssignee: Gentoo Net-im project <net-im>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: The patch to apply on source

Description Dominique PRUNIER 2007-05-27 05:14:44 UTC
The script purple-remote is broken with net-im/pidgin-2.0.1:

File "/usr/bin/purple-remote.orig", line 97
    if protocol == "xmpp"
                        ^
SyntaxError: invalid syntax

It's easy to fo fix with:

--- /usr/bin/purple-remote.orig 2007-05-27 01:11:35.000000000 -0400
+++ /usr/bin/purple-remote      2007-05-27 01:11:41.000000000 -0400
@@ -94,7 +94,7 @@
 def execute(uri):
     match = re.match(urlregexp, uri)
     protocol = match.group(2)
-    if protocol == "xmpp"
+    if protocol == "xmpp":
         protocol = "jabber"
     if protocol == "aim" or protocol == "icq":
         protocol = "oscar"
Comment 1 Dominique PRUNIER 2007-05-27 05:18:25 UTC
Created attachment 120411 [details, diff]
The patch to apply on source

Fix the purple-remote script
Comment 2 Olivier Crete (RETIRED) gentoo-dev 2007-05-27 10:12:26 UTC
I'll add this patch to the tree. Please submit it upstream at pidgin.im. (Allo dom, comment ca va... le monde est petit!)
Comment 3 Dominique PRUNIER 2007-05-27 17:39:18 UTC
The bug has already been fixed upstream (http://developer.pidgin.im/ticket/1300) and should be available for 2.0.2.

Tester, i know you were working on ICQ olddies but i didnt know for gaim ;) (et ca va super bien, merci ! tout le monde cense utilise gentoo non ? :P)
Comment 4 Olivier Crete (RETIRED) gentoo-dev 2007-05-27 19:49:05 UTC
Patch is in CVS (il faut qu'on se fasse un souper bientôt!)