yowsup icon indicating copy to clipboard operation
yowsup copied to clipboard

install yowsup on synology DS215j

Open NCS80 opened this issue 11 years ago • 11 comments

Hi,

I've been experementing with yowsup and I think it's really cool, so thumbs up for you guys!

Now I want to run it from my NAS since it can handle python and it's always up. Only think is I got some problems installing it on there and I was wonderinng if someone could give me some advice.

The main problem is that, in the setup script, it fails to setup Pillow. This because of the fact that ccache isn't available. I've tried to install it but compiling it fails due to, since the DS215j uses the Marvell Armada 375 chip, gcc doesn't compile on that platform.

Is there a way to get yowsup working by cross compiling or something? Or does it work without using pillow since I don't want to send images anyway?

Hope someone can help, thanks in advance!

gr

N

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

NCS80 avatar Jul 03 '15 12:07 NCS80

you can download the repo, change setup.py to remove pillow from dependencies at line 7, the install using python setup.py install

tgalal avatar Jul 03 '15 12:07 tgalal

Yeah tried that, but then I discovered I get the same error for python-axolotl-curve25519-0.1

maybe if I cross compile all that on a linux distro and put in all the files manually, would that work?

NCS80 avatar Jul 03 '15 12:07 NCS80

I guess if compiled on same arch then might work. You can however omit also 'python-axolotl' from dependencies in setup.py and then just don't use axolotl layer nor '--moxie' switch in yowsup cli

tgalal avatar Jul 03 '15 13:07 tgalal

ok interesting! Don't you need it to communicate with whatsapp? What is it exactly used for?

NCS80 avatar Jul 03 '15 13:07 NCS80

it activates end to end encryption. It's not yet available in whatsapp on all platforms which allows us to disable it in yowsup for now.

tgalal avatar Jul 03 '15 13:07 tgalal

Aha but this can give problems in the future?

Thanks a lot for your help man, really appriciate it!

NCS80 avatar Jul 03 '15 13:07 NCS80

For sure when whatsapp makes e2e encryption mandatory on all platforms it would be problem. I have no idea when this would happen though.

tgalal avatar Jul 03 '15 13:07 tgalal

Hmm we'll see then, not a problem to worry about right now. Hopefully a compiler will be available when that time comes!

I'll continue experimenting, again, thanks for the help!

NCS80 avatar Jul 03 '15 13:07 NCS80

One more question.

I get errors on axolotl when using yowsup-cli demos --yowsup --login and also in the sample code. I guess it has to do with the YowAuthenticationProtocolLayer. How can I configure not to use axolotl?

thx

NCS80 avatar Jul 03 '15 14:07 NCS80

I've just updated the demos in commit 4dbb47069115500af996b68cdd9899615cb1d719 to not crash when no axolotl is installed. So try using yowsup's develop branch now.

tgalal avatar Jul 03 '15 14:07 tgalal

Thx!

NCS80 avatar Jul 03 '15 14:07 NCS80