aitjcize / PyTox

Python binding for Project-Tox the skype replacement.
GNU General Public License v3.0
96 stars 29 forks source link

tox_bootstrap_from_address changed its signature #13

Closed tarekziade closed 10 years ago

tarekziade commented 10 years ago

I get a compilation error when compliing Pytox with the latest toxcore:

tox/core.c:1309:7: erreur: too many arguments to function ‘tox_bootstrap_from_address’

This is because it has just changed in toxcore: https://github.com/irungentoo/toxcore/commit/7557b92fc9699e0c762e627f97b4d997506ddedf

the ipv6enabled flag is gone. removing it in tox.c fixes the issue

tarekziade commented 10 years ago

notice that you need to change htons() to atoi()

tarekziade commented 10 years ago

Mmm.. I get segfaults running PyTox on Ubuntu - looks like there are deeper issues than just this change. Do you know what is the last known toxcore version to work with PyTox ?

naxuroqa commented 10 years ago

tox_new now takes a struct as argument instead of an uint8_t, if ipv6 was enabled before (passing 1 as argument) the application will crash

aitjcize commented 10 years ago

Thanks for reporting. Fixing it now.