chrissamuel / pidgin-knotifications

Automatically exported from code.google.com/p/pidgin-knotifications
0 stars 1 forks source link

Display user account name instead of the message #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What is the expected output? What do you see instead?
Notification show something like: my_user_accout:my_user_accout instead of
sender_user_accout: the_message

What version of the product are you using? On what operating system?
Pidgin 2.6.6, libpurple 2.6.6, openSuSE 11.2 KDE 4.4.1

Original issue reported on code.google.com by misbachu...@gmail.com on 5 Mar 2010 at 5:53

GoogleCodeExporter commented 9 years ago
The same problem here. my_user_accout:my_user_accout instead of message.
Pidgin 2.6.6, libpurple 2.6.6, Mandriva 2010, KDE 4.3.2 and 4.4.0

Original comment by igor.pad...@gmail.com on 5 Mar 2010 at 4:09

GoogleCodeExporter commented 9 years ago
I was use pidgin 2.6.3 libpurple 2.6.3 before, and everything just work fine. 
The
problem star when i upgrade to 2.6.6

Original comment by misbachu...@gmail.com on 6 Mar 2010 at 2:01

GoogleCodeExporter commented 9 years ago
I'm using Pidgin 2.6.6 but I can't reproduce the problem, at least with Yahoo. 
What 
protocol are you using?

Original comment by mrovi%in...@gtempaccount.com on 14 Mar 2010 at 12:41

GoogleCodeExporter commented 9 years ago
I'm using yahoo

Original comment by misbachu...@gmail.com on 14 Mar 2010 at 12:55

GoogleCodeExporter commented 9 years ago
ICQ

Original comment by igor.pad...@gmail.com on 15 Mar 2010 at 6:21

GoogleCodeExporter commented 9 years ago
I can't figure out what's wrong, because it works fine for me for both yahoo 
and icq.

Could you test a debug version of the plugin? These are the steps:

1. If you don't want to post here your public IDs, create a pair of dummy 
accounts 
and you will send messages from one to another.
2. Replace your knotifications.pl with the one attached here. Restart Pidgin.
3. Open a debug window (buddy list -> help -> debug window)
4. In the filter field write knotifications and press enter (see attached 
screenshot)
5. Now when you receive a message from someone you should see a new line in the 
debug 
log. I need to know what is shown for you. Ideally the second word is the 
sender 
name, followed the message plus other things.

Original comment by mrovi%in...@gtempaccount.com on 15 Mar 2010 at 8:05

Attachments:

GoogleCodeExporter commented 9 years ago
(08:54:02) knotifications: 
receiving_im_msg_handler(Purple::Account=HASH(0x9cec4f8) 
210495979 210495979 Purple::Conversation=HASH(0x9dffd18) 162508816 0)
(08:54:03) knotifications: 
receiving_im_msg_handler(Purple::Account=HASH(0x9ceb718) 
210495979 210495979 Purple::Conversation=HASH(0x9dffd28) 162508816 0)
(08:54:05) knotifications: 
receiving_im_msg_handler(Purple::Account=HASH(0x9cec4c8) 
210495979 210495979 Purple::Conversation=HASH(0x9dffda8) 162508816 0)
(08:54:11) knotifications: 
receiving_im_msg_handler(Purple::Account=HASH(0x9cec4f8) 
210495979 210495979 Purple::Conversation=HASH(0x9dffdd8) 162508816 0)
(08:54:20) knotifications: 
receiving_im_msg_handler(Purple::Account=HASH(0x9ceb718) 
210495979 210495979 Purple::Conversation=HASH(0x9dffde8) 162508816 0)

Original comment by igor.pad...@gmail.com on 16 Mar 2010 at 6:57

GoogleCodeExporter commented 9 years ago
It looks like a pidgin bug. But I have Mandriva 2010 too and I don't see it.

What's the output of:

rpm -qa | grep purple
rpm -qa | grep pidgin

Thanks

Original comment by mrovi%in...@gtempaccount.com on 16 Mar 2010 at 8:00

GoogleCodeExporter commented 9 years ago
libpurple0-2.6.6-0.1mdv2010.0
pidgin-2.6.6-0.1mdv2010.0
pidgin-plugin-pack-2.5.1-2mdv2010.0
pidgin-plugins-2.6.6-0.1mdv2010.0
pidgin-i18n-2.6.6-0.1mdv2010.0
pidgin-perl-2.6.6-0.1mdv2010.0

Original comment by igor.pad...@gmail.com on 16 Mar 2010 at 8:14

GoogleCodeExporter commented 9 years ago
I test with yahoo

Debug:
(08:19:31) knotifications: 
receiving_im_msg_handler(Purple::Account=HASH(0xb7a0af54)
misbcl_munir misbcl_munir Purple::Conversation=HASH(0xb7b03e84) 3079228304 0)
(08:19:31) perl: ret_val = (nil)

(08:20:21) knotifications: 
receiving_im_msg_handler(Purple::Account=HASH(0xb7a0af84)
misbcl_munir misbcl_munir Purple::Conversation=HASH(0xb7b03e94) 3079228304 0)
(08:20:21) perl: ret_val = (nil)

(08:21:05) knotifications: 
receiving_im_msg_handler(Purple::Account=HASH(0xb7a0a244)
misbcl_munir misbcl_munir Purple::Conversation=HASH(0xb7b03f04) 3079228304 0)
(08:21:05) perl: ret_val = (nil)
(08:21:24) prefs: /pidgin/filelocations/last_save_folder changed, scheduling 
save.

Package installed:
libpurple-2.6.6-0.1.1.i586
libpurple-lang-2.6.6-0.1.1.noarch
libpurple-tcl-2.6.6-0.1.1.i586
pidgin-2.6.6-0.1.1.i586
pidgin-branding-openSUSE-11.1-9.1.noarch

Original comment by misbachu...@gmail.com on 17 Mar 2010 at 1:25

GoogleCodeExporter commented 9 years ago
Same issue here:

(16:04:10) knotifications: 
receiving_im_msg_handler(Purple::Account=HASH(0x89833a8)
liisalman liisalman Purple::Conversation=HASH(0x8852088) 136631136 0)
(16:04:10) knotifications: 
receiving_im_msg_handler(Purple::Account=HASH(0x89e4b78)
vvimpyre vvimpyre Purple::Conversation=HASH(0x8852098) 136626880 0)
(16:04:10) knotifications: 
receiving_im_msg_handler(Purple::Account=HASH(0x88697f0)
liisalman liisalman Purple::Conversation=HASH(0x8852118) 136631136 0)
(16:04:10) knotifications: 
receiving_im_msg_handler(Purple::Account=HASH(0x89833a8)
vvimpyre vvimpyre Purple::Conversation=HASH(0x8852148) 136626880 0)
(16:04:11) knotifications: 
receiving_im_msg_handler(Purple::Account=HASH(0x89e4b78)
liisalman liisalman Purple::Conversation=HASH(0x8852158) 136631136 0)
(16:04:45) knotifications: 
receiving_im_msg_handler(Purple::Account=HASH(0x88697f0)
vvimpyre vvimpyre Purple::Conversation=HASH(0x8852168) 136626880 0)

root@atlas:~/.purple/plugins# dpkg -l |grep -i -e purple -e pidgin
ii  libpurple-bin                         2.6.6-2                      
multi-protocol
instant messaging library - e
ii  libpurple0                            2.6.6-2                      
multi-protocol
instant messaging library
ii  pidgin                                2.6.6-2                      graphical
multi-protocol instant messaging c
ii  pidgin-data                           2.6.6-2                      
multi-protocol
instant messaging client - da
ii  pidgin-otr                            3.2.0-5                      
Off-the-Record
Messaging plugin for pidgin
ii  pidgin-plugin-pack                    2.2.0-1                      30 useful
plugins for pidgin

Original comment by nam...@gmail.com on 17 Mar 2010 at 8:06

GoogleCodeExporter commented 9 years ago
In a couple of days I'm going to install another Linux to solve this properly, 
but 
until then, can anyone check the attached file?

Original comment by mrovi%in...@gtempaccount.com on 18 Mar 2010 at 9:21

Attachments:

GoogleCodeExporter commented 9 years ago
I've tried it. I had screenshot of the result attached.

Debug result:
(07:07:49) knotifications:
received_im_msg_handler(Purple::Account=HASH(0xb7a599a4) š^Ž· š^Ž·
Purple::Conversation=HASH(0xb7b54b74) 3079518360 0)
(07:07:49) perl: ret_val = (nil)

(07:08:04) knotifications:
received_im_msg_handler(Purple::Account=HASH(0xb7a58c64) š^Ž· š^Ž·
Purple::Conversation=HASH(0xb7b54b84) 3079518360 0)
(07:08:04) perl: ret_val = (nil)

(07:09:13) knotifications:
received_im_msg_handler(Purple::Account=HASH(0xb7a59974) š^Ž· š^Ž·
Purple::Conversation=HASH(0xb7b54bf4) 3079518360 0)
(07:09:13) perl: ret_val = (nil)

(07:09:19) knotifications:
received_im_msg_handler(Purple::Account=HASH(0xb7a599a4) š^Ž· š^Ž·
Purple::Conversation=HASH(0xb7b54c24) 3079518360 0)
(07:09:19) perl: ret_val = (nil)

(07:09:26) knotifications:
received_im_msg_handler(Purple::Account=HASH(0xb7a58c64) š^Ž· š^Ž·
Purple::Conversation=HASH(0xb7b54c54) 3079518360 0)
(07:09:26) perl: ret_val = (nil)

Original comment by misbachu...@gmail.com on 19 Mar 2010 at 12:16

Attachments:

GoogleCodeExporter commented 9 years ago
(08:07:48) knotifications: 
received_im_msg_handler(Purple::Account=HASH(0x8c64118) 
à0Å`wÅpwÅ à0Å`wÅpwÅ Purple::Conversation=HASH(0x8f62ce8) 
147136656 0)
(08:08:10) knotifications: 
received_im_msg_handler(Purple::Account=HASH(0x8c64ec8) 
à0Å`wÅpwÅ à0Å`wÅpwÅ Purple::Conversation=HASH(0x8f62cf8) 
147136656 0)

Original comment by igor.pad...@gmail.com on 19 Mar 2010 at 6:12

Attachments:

GoogleCodeExporter commented 9 years ago
I had tried to fix this on my own with a received-im-msg binding, but got the 
same
results as the two who posted above. Thought maybe I was doing something wrong.

Here's the log from the script:

(15:45:40) knotifications:
received_im_msg_handler(Purple::Account=HASH(0xa4d9fb0) È‘ç   ȑç 
Purple::Conversation=HASH(0xa5c91b8) 166171184 0)
(15:46:35) knotifications:
received_im_msg_handler(Purple::Account=HASH(0xa4d91f0) È‘ç   ȑç 
Purple::Conversation=HASH(0xa5c91c8) 166171184 0)

Original comment by nam...@gmail.com on 19 Mar 2010 at 7:48

GoogleCodeExporter commented 9 years ago
As I suspected, it was a Pidgin problem that appeared in 2.6.6 . It's already 
fixed 
upstream, so it should go away at your next update.

See http://developer.pidgin.im/ticket/11431

For now all you can do is to downgrade to anything before 2.6.6 or compile 
yourself 
the latest sources.

I'm closing the bug since it's not related with the plugin, but feel free to 
ask for 
help if you have problems again.

Original comment by mrovi%in...@gtempaccount.com on 21 Mar 2010 at 6:20

GoogleCodeExporter commented 9 years ago
The problem is still here :(

#rpm -qa | grep purple
libpurple0-2.6.6-0.2mdv2010.0
#rpm -qa | grep pidgin
pidgin-perl-2.6.6-0.2mdv2010.0
pidgin-2.6.6-0.2mdv2010.0
pidgin-plugin-pack-2.6.2-1mdv2010.0
pidgin-plugins-2.6.6-0.2mdv2010.0
pidgin-i18n-2.6.6-0.2mdv2010.0

Original comment by igor.pad...@gmail.com on 27 Mar 2010 at 11:25

GoogleCodeExporter commented 9 years ago
By looking in the source package ( 
http://ftp.free.fr/mirrors/ftp.mandriva.com/MandrivaLinux/official/2010.0/SRPMS/
main/
backports/pidgin-2.6.6-0.2mdv2010.0.src.rpm ) apparently they just use the base 
version and some patches, but not the one that fixes the Perl plugins problem.

So I submitted a bug report:
https://qa.mandriva.com/show_bug.cgi?id=58439

You can vote for it ;)

Original comment by mrovi%in...@gtempaccount.com on 27 Mar 2010 at 2:50

GoogleCodeExporter commented 9 years ago

Original comment by mrovi%in...@gtempaccount.com on 17 Aug 2010 at 5:35