Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version outdated Error #9

Open
ashrafZolkopli opened this issue May 13, 2024 · 3 comments · May be fixed by #13
Open

Version outdated Error #9

ashrafZolkopli opened this issue May 13, 2024 · 3 comments · May be fixed by #13

Comments

@ashrafZolkopli
Copy link

hi @cloned-doy,

Thanks for the incredible library. I been using it to do some what app automation.
Suddenly last week my setup have a (V 0.0.22) version outdated error. I assume its due to Whats_app changing their UI. anyway i try updating it to the latest 0.0.231, when testing, nothing in the Shell.

I hope someone can point me to right direction to keep my app functional.

@Labfox
Copy link

Labfox commented Jun 30, 2024

the library now works fine (using the source)

@ashrafZolkopli
Copy link
Author

@Labfox ,

How?

@Labfox
Copy link

Labfox commented Jul 5, 2024

First solution: pip install --upgrade whatsfly
Second solution: (the commands were tested on Ubuntu 24.04)
First clone this repo on your project root directory (git clone https://github.com/cloned-doy/whatsfly.git) and uninstall whatsfly via pip (pip uninstall whatsfly)
Now, you have a directory name whatsfly, containing some files and another directory named whatsfly.
Rename whatsfly/ into something else like whatsfly1 (mv whatsfly whatsfly1).
Then move whatsfly1/whatsfly into your project's root (mv whatsfly1/whatsfly .)
Now you can retry your code.
If it throws an error containing free(): invalid pointer, you can try the fix in #10 (remove the lines 526-528 in whatsfly/dependencies/main.go and run the build.sh script in whatsfly/dependencies, you will need some dependencies: gcc-aarch64-linux-gnu gcc-mingw-w64-x86-64 libc6-dev sudo apt-get install gcc-aarch64-linux-gnu sudo apt-get install gcc-multilib)

@Labfox Labfox linked a pull request Jul 7, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants