purple-facebook icon indicating copy to clipboard operation
purple-facebook copied to clipboard

Parse error: unexpected identifier `taNewMessage', expected value

Open solbu opened this issue 3 years ago • 25 comments

The last day I have been unable to chat on Facebook. It connects just fine, the contact list populates fine, but whenever I receive a message on Facebook, it instantly disconnect, waits a few seconds and then reconnects. But I don't receive any messages.

I am not prepared to publicly disclose the entire debug log, due to sensitive content in the log, but here is the debug excerpt. This 4 lines happens instantly when I receive a message. (The email address is obviously not correct. ;-) )

(13:05:32) connection: Connection error on 0x16a0400 (reason: 0 description: :1:12: Parse error: unexpected identifier `taNewMessage', expected value) (13:05:32) account: Disconnecting account [email protected] (0xff2290) (13:05:32) connection: Disconnecting connection 0x16a0400 (13:05:32) connection: Destroying connection 0x16a0400

solbu avatar Apr 30 '21 11:04 solbu

I'm getting "Parse error: unexpected identifier `taNewMessage', expected value #514" as well, which disconnects the plugin and I have to reconnect it manually. Unfortunately it makes the conversations impossible in the long process.

Mavoy avatar Apr 30 '21 12:04 Mavoy

I'm having the same problem

elfrocampeador avatar Apr 30 '21 22:04 elfrocampeador

I had the same issue. However, compiling from the latest master commit and installing it seems to have fixed the issue for now.

meikasahara avatar May 01 '21 18:05 meikasahara

Could someone post latest master compiled here?

salmaricc avatar May 01 '21 19:05 salmaricc

I had the same issue. However, compiling from the latest master commit and installing it seems to have fixed the issue for now.

@dequis need to create a new release, then.

solbu avatar May 01 '21 19:05 solbu

Maybe @EionRobb can post a Windows DLL?

alexolog avatar May 01 '21 22:05 alexolog

In the mean time I have fixed the Mageia package (for mga7, mga8 and cauldron) by lifting and applying patches 18 and 19 from the patches folder. I just assigned the fixed packages to our Q&A team which will test it and hopefully approve them withing a few days, and then updated packages should reach the mirrors shortly after that.

solbu avatar May 02 '21 03:05 solbu

+1 having this problem, would love a windows DLL if @EionRobb would be exceptionally kind

ae-bogdan avatar May 04 '21 17:05 ae-bogdan

Same issue. Any progress getting this fixed? On rare occasions, it holds the connection with FB, but otherwise it disconnects and then reconnects a short while later.

flowomo avatar May 06 '21 21:05 flowomo

Right now Pidgin with Facebook is essentially unusable because of this. It disconnects on every message.

BrenBarn avatar May 08 '21 18:05 BrenBarn

Right now Pidgin with Facebook is essentially unusable because of this. It disconnects on every message.

Same here. Strange thing is that with some contacts it works fine, however with others I get disconnected on every message.

ae-bogdan avatar May 09 '21 06:05 ae-bogdan

Can you try to change the "Buddy list sync interval" from 5 Seconds to 30 Seconds?

ychromosome avatar May 13 '21 17:05 ychromosome

I was having this issue on Arch, then I installed pidgin-gnutls and that seems to have fixed it. Haven't had any trouble for a few days now.

(Unfortunately I was mucking about with a few things on my system at the time as well so it's not a highly controlled experiment, but worth a shot.)

raywhiteside avatar May 13 '21 17:05 raywhiteside

Hey guys. So what better to do on a Saturday than work my ass off and compile the plugin myself based on the latest commits.

https://github.com/ae-bogdan/libfacebook_pidgin

I decided to make the build because a comment above said some of the newer commits fix this.

I tested it with a couple of people it wasn't working with before and it worked.

~Update - tested with some more and had the problem happen once. Seems like the latest commits do not fix this entirely.~ Works now.

ae-bogdan avatar May 15 '21 19:05 ae-bogdan

I tried ae-bogdan's .dll swap for Windows and it worked, though I haven't given it much time yet. Hope it sticks. Thanks!

flowomo avatar May 15 '21 22:05 flowomo

It works for me as well, though I've only started using and haven't really messaged with anyone yet. Thanks Bogdan! Will let know if it happens again.

Mavoy avatar May 16 '21 08:05 Mavoy

Even with the latest code (and I compiled it on linux months ago) I still get this error a few times per day.

greatquux avatar May 16 '21 13:05 greatquux

@ae-bogdan Tested for an hour. It solved disconnection for me. Thanks!

b2cbd avatar May 16 '21 14:05 b2cbd

Hey guys. So what better to do on a Saturday than work my ass off and compile the plugin myself based on the latest commits.

https://github.com/ae-bogdan/libfacebook_pidgin

I decided to make the build because a comment above said some of the newer commits fix this.

I tested it with a couple of people it wasn't working with before and it worked.

~Update - tested with some more and had the problem happen once. Seems like the latest commits do not fix this entirely.~ Works now.

Hello. Is this not supposed to work on Windows 7? I know it's an old system, but it's the one I have on this laptop and my Pidgin doesn't recognize the new dll as a plugin.

Thank you.

MikeMilligan avatar May 17 '21 16:05 MikeMilligan

Hey guys. So what better to do on a Saturday than work my ass off and compile the plugin myself based on the latest commits. https://github.com/ae-bogdan/libfacebook_pidgin I decided to make the build because a comment above said some of the newer commits fix this. I tested it with a couple of people it wasn't working with before and it worked. ~Update - tested with some more and had the problem happen once. Seems like the latest commits do not fix this entirely.~ Works now.

Hello. Is this not supposed to work on Windows 7? I know it's an old system, but it's the one I have on this laptop and my Pidgin doesn't recognize the new dll as a plugin.

Thank you.

@MikeMilligan I booted up a win 7 machine and tried compiling it there. Check out if it works.

https://github.com/ae-bogdan/libfacebook_pidgin/blob/master/libfacebook_win7.dll

Btw: I used 2.13.0 source files for this. Take that into account as well.

ae-bogdan avatar May 17 '21 20:05 ae-bogdan

Hey guys. So what better to do on a Saturday than work my ass off and compile the plugin myself based on the latest commits. https://github.com/ae-bogdan/libfacebook_pidgin I decided to make the build because a comment above said some of the newer commits fix this. I tested it with a couple of people it wasn't working with before and it worked. ~Update - tested with some more and had the problem happen once. Seems like the latest commits do not fix this entirely.~ Works now.

Hello. Is this not supposed to work on Windows 7? I know it's an old system, but it's the one I have on this laptop and my Pidgin doesn't recognize the new dll as a plugin. Thank you.

@MikeMilligan I booted up a win 7 machine and tried compiling it there. Check out if it works.

https://github.com/ae-bogdan/libfacebook_pidgin/blob/master/libfacebook_win7.dll

Btw: I used 2.13.0 source files for this. Take that into account as well.

This seems to be working! Thank you!

TheBense avatar May 17 '21 23:05 TheBense

@MikeMilligan I booted up a win 7 machine and tried compiling it there. Check out if it works.

https://github.com/ae-bogdan/libfacebook_pidgin/blob/master/libfacebook_win7.dll

Btw: I used 2.13.0 source files for this. Take that into account as well.

Thanks a lot for taking the time of compiling another dll.

The good news is that it worked for me. The bad news is that I have to use the past tense because since a couple of hours ago I'm being affected by #515 . I reverted to the old dll to see if that was the cause, but Facebook it's blocking me just the same. So it seems this is a completely different issue.

MikeMilligan avatar May 18 '21 20:05 MikeMilligan

Thanks for compiling these. The new DLL seems to partially work for me but not completely. I still sometimes get the taNewMessage error and a disconnection. It seems not to happen as much as before but it still happens.

BrenBarn avatar May 21 '21 17:05 BrenBarn

How do I use the new DLL for Windows 7? Do I just place it inside the Pidgin plugins folder? Em sexta-feira, 21 de maio de 2021 14:59:55 GMT-3, BrenBarn @.***> escreveu:

The new DLL seems to partially work but not completely. I still sometimes get the taNewMessage error and a disconnection. It seems not to happen as much as before but it still happens.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

lmfardin avatar May 22 '21 02:05 lmfardin

I had this last night when I started using Facebook's plugin in Pidgin 2.14.9 in my updated 64-bit W10 Pro. PC. I don't know how I made it stop. I think I deleted my Facebook account and readded it?

antdude avatar May 19 '22 01:05 antdude