Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

TypeError: invalid arguments to setopt #53

Closed
Readdeo opened this issue Jul 28, 2016 · 3 comments
Closed

TypeError: invalid arguments to setopt #53

Readdeo opened this issue Jul 28, 2016 · 3 comments

Comments

@Readdeo
Copy link

Readdeo commented Jul 28, 2016

After installing the dependencies, i still get this error on Fedora. http://pastebin.com/bYEKjXs9

@nborrmann
Copy link
Collaborator

nborrmann commented Jul 28, 2016

Dunno if you know python, but you can try opening the file pogom/pogom/pgoapi/rpc_api.py and removing options from the dict pycurl_options in line 55 until it works.

Unfortunately I can't diagnose which one is causing the error from here.

Make sure you're on the newest version of libcurl.

@Readdeo
Copy link
Author

Readdeo commented Jul 28, 2016

7.29.0 is my libcurl, is it okay? Which specific libcurl file is needed for this?
I tried deleting the options, nothing has changed.

@nborrmann
Copy link
Collaborator

nborrmann commented Jul 28, 2016

We actually resolved such an issue yesterday. Did you check out the newest version from the repo?

You can also try commenting this line:

            pycurl_options[pycurl.DNS_SERVERS] = "8.8.8.8"

You need

sudo apt-get install libssl-dev libcurl4-openssl-dev python-dev

@favll favll closed this as completed Aug 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants