cglatot / PokeManager

Uses Python API for Pokemon Go to mass transfer Pokemon
Other
146 stars 31 forks source link

Error when choose to transfer pokemon #44

Closed mahesoo closed 8 years ago

mahesoo commented 8 years ago

Hello I'm using pokemanager on mac osx, the version berfore work flawlessly, but now it's always giving me an error when i'm going to transfer pokemon. i access this with terminal on os x with command cd ~/Downloads/PokeManager-master/pogo then run python demo.py but when i choose 3 (transfer pokemon) it giving me error messages like this :

Enter choice: 3 Traceback (most recent call last): File "demo.py", line 464, in mainMenu(session) File "demo.py", line 415, in mainMenu elif menuChoice == 3: massRemove(session) File "demo.py", line 35, in massRemove rf = open(os.path.dirname(file) + '/../exceptions.config') IOError: [Errno 2] No such file or directory: '/../exceptions.config'

Can you help me ? Thanks before :)

bartonp commented 8 years ago

Have a look in ~/Downloads/PokeManager-master to see if there is a file called exceptions.config. If there isn't, create one using touch exceptions.config.

mahesoo commented 8 years ago

yes the file does exist in the root folder (~/Downloads/PokeManager-master) it seems like the command in demo.py didnt recognize the file, maybe because demo.py and exceptions.config not in same folder?, demo.py on ~/Downloads/PokeManager-master/pogo and the exceptions.config on the root folder (~/Downloads/PokeManager-master) i already tried to move the exceptions.config file to pogo folder but it still didnt work.

mahesoo commented 8 years ago

Hi bartonp i tried to insert your code to my demo.py the code works but it give message like this

No Exceptions file found - '/exceptions.config'

So where i must place the file exceptions.config?

Thanks for your help :)

bartonp commented 8 years ago

I've added some more debugging code for finding why your exceptions file is being pointed there. It will print three lines before saying that no exceptions file has been found.