Bug 1226468 - libpurple purple-remote syntax error
Summary: libpurple purple-remote syntax error
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pidgin
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Synacek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-29 22:08 UTC by April
Modified: 2015-06-09 15:14 UTC (History)
5 users (show)

Fixed In Version: pidgin-2.10.11-12.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-09 15:14:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description April 2015-05-29 22:08:52 UTC
Description of problem:
purple-remote does not work; outputs the following ...

File "/usr/bin/purple-remote", line 75
    """ % sys.argv[0]
      ^
SyntaxError: invalid syntax


Version-Release number of selected component (if applicable):
libpurple 2.10.11-10

How reproducible:
100%

Steps to Reproduce:
1. even just running "purple-remote" from command line

Comment 1 April 2015-05-30 15:04:33 UTC
I compared the current /usr/bin/purple-remote with the version from Fedora 20 ... the only difference is that the current version starts with "#!/usr/bin/python3" whereas the version from Fedora 20 starts with "#!/usr/bin/python" ... removing the "3" from the current version addresses the problem.

Comment 3 Fedora Update System 2015-06-01 13:13:58 UTC
pidgin-2.10.11-11.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/pidgin-2.10.11-11.fc22

Comment 4 Jan Synacek 2015-06-01 13:44:05 UTC
Please, verify that purple-remote works for you, thanks!

Comment 5 April 2015-06-02 13:00:03 UTC
Does not work:
purple-remote 'setstatus?status=away&message=test message';

Works:
purple-remote getstatus;
purple-remote getstatusmessage;
purple-remote quit;

Appears not to work:
purple-remote 'PurpleAccountsFindConnected?name=test@localhost/&protocol=prpl-jabber';

Appears to work:
purple-remote 'PurpleAccountsFindConnected(test@localhost/,prpl-jabber)';

Other untested.

Improvement over current package, but not a complete fix.

Comment 6 Fedora Update System 2015-06-02 15:13:39 UTC
Package pidgin-2.10.11-11.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing pidgin-2.10.11-11.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-9320/pidgin-2.10.11-11.fc22
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2015-06-03 09:28:49 UTC
pidgin-2.10.11-12.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/pidgin-2.10.11-12.fc22

Comment 8 April 2015-06-07 12:50:00 UTC
2.10.11-12 works correctly in my testing.

Comment 9 Jan Synacek 2015-06-08 06:14:43 UTC
Thank you for verifying.

Comment 10 Fedora Update System 2015-06-09 15:14:29 UTC
pidgin-2.10.11-12.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.