FMCorz / mdk

Moodle Development Kit. A collection of tools meant to make developers' lives easier.
GNU General Public License v3.0
84 stars 47 forks source link

error on ubuntu 18.04 when running init #204

Closed firecentaur closed 3 years ago

firecentaur commented 3 years ago

Hi there, I am getting this error when running python mdk.py init

What user are you initialising MDK for? [fire]

SyntaxError: unexpected EOF while parsing (, line 0)

FMCorz commented 3 years ago

Hi @firecentaur,

Thanks for the report. Would you happen to have an existing and maybe corrupted config file at ~/.moodle-sdk/config.json?

FMCorz commented 3 years ago

Hi @firecentaur,

I came across this error myself. This is likely due to using the wrong version of Python. Please make sure that MDK is installed and invoked using Python 3.