gyachdav / awoiaf

Extracts data from A wiki of Ice and Fire
http://awoiaf.westeros.org
0 stars 5 forks source link

Data dir must exist for script to work #14

Closed sacdallago closed 8 years ago

sacdallago commented 8 years ago

If you clone the repo as is and try to run one of the two scripts you get:

Traceback (most recent call last):
  File "/home/chdallago/git/awoiaf/src/lib/Application.py", line 47, in __init__
    raise RootDirException()
RootDirException
Traceback (most recent call last):
  File "mineCharDetails.py", line 31, in <module>
    app = Application()
  File "/home/chdallago/git/awoiaf/src/lib/Application.py", line 55, in __init__
    os.mkdir(_tmp_dir)
OSError: [Errno 2] No such file or directory: '/home/chdallago/git/awoiaf/Data/Charachters'

I'm working on a python-wise fix, instead of just updating the readme and build script.