N3X15 / ByondTools

A set of tools for BYOND-based games
12 stars 8 forks source link

Filedir is blank, causing an exception. #9

Closed Boggart closed 10 years ago

Boggart commented 10 years ago

At least on windows, current git revision, it attempts to create a folder with a filedir of "".

Checking z-level 0...
Traceback (most recent call last):
  File "C:\Python27\Scripts\dmmrender.py", line 90, in <module>
    renderMap(args)
  File "C:\Python27\Scripts\dmmrender.py", line 48, in renderMap
    dmm.generateImage(outfile, os.path.dirname(args.project), renderflags, **kwargs)
  File "C:\Python27\lib\site-packages\byond\map\__init__.py", line 869, in generateImage
    self.generateImage(filename_tpl, basedir, renderflags, z, **kwargs)
  File "C:\Python27\lib\site-packages\byond\map\__init__.py", line 986, in generateImage
    os.makedirs(filedir)
  File "C:\Python27\lib\os.py", line 157, in makedirs
    mkdir(name, mode)
WindowsError: [Error 3] The system cannot find the path specified: ''