whatscli icon indicating copy to clipboard operation
whatscli copied to clipboard

Runtime Error / doesn't connect anymore

Open kurokirasama opened this issue 3 years ago • 49 comments

Hello,

I'm having issues connecting. I got this screen for a while:

whatcli2

Then it changes to this, and it remains there forever:

whatcli3

Also, 2 out of 5 times I run the app I got this screen:

whatcli

Regards,

kurokirasama avatar Apr 13 '22 17:04 kurokirasama

same here!

Saliba-san avatar Apr 14 '22 00:04 Saliba-san

same here, fails on different devices.

johnwuelk avatar Apr 14 '22 12:04 johnwuelk

yes, that's happening here as well

bbbart avatar Apr 15 '22 08:04 bbbart

Yeah, I guess its time to finish up the whatsmeow version, I didn't (and probably still won't for some time) find much time to complete that though.

normen avatar Apr 15 '22 11:04 normen

does anybody have a clue on where to start debugging? i can help to take a look

sozoalvin avatar Apr 21 '22 07:04 sozoalvin

For those that want to help fix this, check out the whatsmeow branch, it should work logging in and retrieving messages (when using multiclient). The main remaining thing is storing all needed info of a message (ID?) in the local DB so one can later recreate message objects in a form the whatsmeow library understands (e.g. to retrieve additional info like images, to quote etc.).

normen avatar Apr 22 '22 10:04 normen

@normen whatsmeow branch gives me this error when building with go build:

build github.com/normen/whatscli: cannot load embed: malformed module path "embed": missing dot in first path element

kurokirasama avatar Apr 22 '22 18:04 kurokirasama

Just use the makefile, something seems to be off there, I don't get this issue. Maybe run a make get before.

normen avatar Apr 22 '22 18:04 normen

like this?

make get Makefile

I got the same error, maybe I'm missing some go dependencies...

go get
build github.com/normen/whatscli: cannot load embed: malformed module path "embed": missing dot in first path element
make: *** [Makefile:16: get] Error 1

kurokirasama avatar Apr 22 '22 19:04 kurokirasama

Try pulling again, I pushed my local changes, its all WIP mind you!

normen avatar Apr 22 '22 20:04 normen

I might be doing something wrong because I got the same error, is make get Makefile correct?

kurokirasama avatar Apr 22 '22 21:04 kurokirasama

make get would be the command but the added Makefile doesn't really change anything I guess. No idea whats going wrong there for you.

normen avatar Apr 22 '22 22:04 normen

@normen it was a version problem. I had installed 1.13, it was necessary 1.18

kurokirasama avatar May 04 '22 05:05 kurokirasama

Is this issue closed or still open? I can't use the application either, I get the same message as the post lists, 1.11 is the latest release, but I see comments for 1.13 and 1.18.

TheSashmo avatar Jun 03 '22 17:06 TheSashmo

Is this issue closed or still open? I can't use the application either, I get the same message as the post lists, 1.11 is the latest release, but I see comments for 1.13 and 1.18.

In my browser its still open. kurokirasama is talking about the golang version for compiling the WIP branch.

normen avatar Jun 04 '22 20:06 normen

Right, so what you are saying is one should start debugging on the whatsmeow branch and the releases are basically broken?

b3h3m0th avatar Jul 22 '22 08:07 b3h3m0th

Seems to depend on the region and settings if its still working. The whatsmeow branch needs to be finished, not debugged.

normen avatar Jul 22 '22 09:07 normen

im having the same problem

ZobairQ avatar Aug 08 '22 07:08 ZobairQ

I'm still having this issue

No solution it seems

icrescenti avatar Aug 13 '22 07:08 icrescenti

Indeex

On Sat, Aug 13, 2022, 15:18 icrescenti @.***> wrote:

No solution it seems

— Reply to this email directly, view it on GitHub https://github.com/normen/whatscli/issues/72#issuecomment-1213897104, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVEGAZMEBJT6PZMQSEMUZPLVY5D37ANCNFSM5TLMCO4A . You are receiving this because you commented.Message ID: @.***>

I had an older install of whatscli and a ubuntu PC, even that did not work, this means it is a change on whatsapp's end that denies our connection. I doubt we can go anywhere from here unless we can see what this one thing is. I might look at similar projects and see how we can employ some of the methodologies used in said other projects. Despite all that I repeat my point that we might not go anywhere from here.

Again, the solution is the new whatsmeow library for which a branch of whatscli exists but isn't finished.

normen avatar Aug 16 '22 10:08 normen

Thanks, I'll check it out.

On Tue, Aug 16, 2022, 18:06 Normen Hansen @.***> wrote:

Again, the solution is the new whatsmeow library for which a branch of whatscli exists but isn't finished.

— Reply to this email directly, view it on GitHub https://github.com/normen/whatscli/issues/72#issuecomment-1216431430, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVEGAZKZNXU2SQ2YMPQVWA3VZNR3ZANCNFSM5TLMCO4A . You are receiving this because you commented.Message ID: @.***>

Still interested about this.

michalspano avatar Sep 26 '22 11:09 michalspano

Yes, I'm still interested.

On Mon, Sep 26, 2022, 19:39 Michal Špano @.***> wrote:

Still interested about this.

— Reply to this email directly, view it on GitHub https://github.com/normen/whatscli/issues/72#issuecomment-1257899994, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVEGAZOQD6UIJLIJ6QGJSO3WAGDOLANCNFSM5TLMCO4A . You are receiving this because you commented.Message ID: @.***>

Hopefully the whatsmeow branch picks up some pace. WhatsApp, unfortunately, is incredibly important to so many millions of people that it deserves a proper CLI/TUI client.

slarrain avatar Nov 02 '22 22:11 slarrain

I'm still swamped in other code and projects. But it's in the back of my mind.

Having looked at the whatsmeow library a bit more, by now I think boiling down the whole codebase to a simple whatsmeow frontend without any abstractions is probably the better way to go.

normen avatar Nov 03 '22 01:11 normen

Thanks @normen . I'd wish this project was done on Python, so I could help you out and you wouldn't have to be the sole developer of this project. Unfortunately, No GO for me.

By the way, if you want us to try different branches and versions, just ping us. Good luck with whatsmeow!

slarrain avatar Nov 23 '22 14:11 slarrain

@normen If my understanding is correct, the whatsmeow branch is working, but crippled. I respect that there are times where you cannot work on this, this is FOSS and anybody can pickup your work at anytime. However, I think it would be useful to have rather a limited experience than no experience, so how about making an update on Homebrew nonetheless?

martin-braun avatar Feb 13 '23 21:02 martin-braun