LuaxY / PyDofus

Python 3 scripts to pack/unpack Dofus files
6 stars 2 forks source link

Error EleUnpack #4

Closed wilfriedp closed 8 years ago

wilfriedp commented 8 years ago

Bonjour, j'ai actuellement un problème avec le ele_unpacker, il m'affiche ceci : Traceback (most recent call last): File "C:\Users\wilfried\Desktop\PyDofus-master\ele_unpack.py", line 7, in file = sys.argv[1] IndexError: list index out of range

J'ai bien le fichier ele dans le input.

LuaxY commented 8 years ago
$ python ele_unpack.py elements.ele
# file output: elements.json
balciseri commented 8 years ago

http://puu.sh/o3clC/657ce8bea7.png I also get an error

LuaxY commented 8 years ago

Dofus client version ? Is elements.ele in the same folder as ele_unpack.py ? Are you using Python 3 ?

balciseri commented 8 years ago

That error was from 25days ago on commit day. I just updated to last version now, still same error. Yes elements.ele is in the same folder as ele_unpack.py. I'm using Python 2.7.3. I bet this is the cause right?

LuaxY commented 8 years ago

"Python 3 scripts to pack/unpack Dofus files" The second line of README.

balciseri commented 8 years ago

I missed it ;) I think because everything else worked fine. You can close the issue!

wilfriedp commented 8 years ago

Woups ! My bad, i use python 3.5, but my command is ele_unpack.py elements.ele because "python" dosent exist, and the real command is py ele_unpack.py elements.ele

Now it's worked, sorry.