Atkrye / IEEE-CIG-Text-Adventurer-Competition

Public repository for the IEEE CIG text adventurer competition.
http://atkrye.github.io/IEEE-CIG-Text-Adventurer-Competition/
29 stars 5 forks source link

Can't execute python example. #1

Open rex8312 opened 8 years ago

rex8312 commented 8 years ago

I have try execute python example. but it's not working.

default

Probably, this error message is "no main manifest attribute, in "xxx.jar"" in English. How can I execute this example?

ps. Java example is working.

rex8312 commented 8 years ago

I have change jar file name and path in python code. '../Example Project/lib3rd/ieee-cig-advent-1.2.jar' -> 'lib3rd/ieee-cig-advent-1.3.jar' Because there are no 1.2 file.

Atkrye commented 8 years ago

Hi rex,

Sorry you're having issues with this. I've added a version of the jar, 1.4, which (fingers crossed) should resolve this, and I have updated the python example accordingly. Please note that the Python example was written for Python 3.4.2 so if you have any further issues please try using that version!

Let me know if it works!

rex8312 commented 8 years ago

It's work! Thank you.

I have try it using python 3.5 in windows. But I think, it will work in python 2.7 also with small modification. So, I have try it and I think it works.

https://gist.github.com/rex8312/8e1d01f7ddbd98438d6005c6bd8e8519

Is there are particular reason supporting 3.4~3.5 only?

Atkrye commented 8 years ago

Hi Rex,

We're only supporting those python versions as its only supposed to be a demonstration of the Java IOAgent instead of an explicit project itself! I hope that makes sense.

Kind regards,

Tim