ninja-ide/ninja-ide — Issue #97: v2.0-beta ubuntu (deb) doesn't work after install
Author: adcomp
Created: 2011-11-30 23:25:33+00:00
State: open

david@P5KPL:~$ ninja-ide
Traceback (most recent call last):
File "/usr/bin/ninja-ide", line 37, in
ninja_ide.setup_and_run()
File "/usr/share/ninja-ide/ninja_ide/__init__.py", line 36, in setup_and_run
from ninja_ide import core, resources
File "/usr/share/ninja-ide/ninja_ide/core/__init__.py", line 13, in
from ninja_ide.core.core import run_ninja
File "/usr/share/ninja-ide/ninja_ide/core/core.py", line 5, in
from ninja_ide.gui import ide
File "/usr/share/ninja-ide/ninja_ide/gui/ide.py", line 57, in
handler = logging.FileHandler(resources.LOG_FILE_PATH, mode='w')
File "/usr/lib/python2.7/logging/__init__.py", line 893, in __init__
StreamHandler.__init__(self, self._open())
File "/usr/lib/python2.7/logging/__init__.py", line 912, in _open
stream = open(self.baseFilename, self.mode)
IOError: [Errno 2] No such file or directory: '/home/david/.ninja_ide/ninja_ide.log'

I do this to fix it :
mkdir -p /home/david/.ninja_ide
touch /home/david/.ninja_ide/ninja_ide.log

now works fine.