casatir/accolite — Issue #1: Creation of a new project
Author: tlepoint
Created: 2012-01-30 14:40:01+00:00
State: open

Hi,

When trying to create an accolite project, I get the following error:

crximac05:Misc Documents tlepoint$ ./accolite/scripts/accolite init accolite-test/
Traceback (most recent call last):
File "./accolite/scripts/accolite-init", line 87, in
sys.exit(main())
File "./accolite/scripts/accolite-init", line 68, in main
filecurr.write(accolite.stringFile(filename))
File "/Users/tlepoint/Documents/Misc Documents/accolite/scripts/accolite.py", line 107, in stringFile
fileToRead = open(filePath, "r")
IOError: [Errno 2] No such file or directory: '/Users/tlepoint/Documents/Misc Documents/accolite-test/accolite/scripts/AccoliteFiles/TestRunner.h'

The problem occurs when one tries to populate test directory (it tries to open the file but in the wrong directory, i.e. the directory of the project rather than the directory with accolite scripts).