Last login: Fri Jun 8 03:26:32 on ttyp1
Welcome to Darwin!
[Ordenador-de-Medialab:~] medialab% cd desktop/ix2/
[Ordenador-de-Medialab:~/desktop/ix2] medialab% python main.py
Traceback (most recent call last):
File "main.py", line 3, in ?
import spellbook
File "/Users/medialab/Desktop/ix2/spellbook.py", line 266, in ?
ORDER_CORPUS = open(main.ASCII_ART_PATH+'/ORDER_CORPUS',
'r').read()
IOError: [Errno 2] No such file or directory: 'desktop/ix2/ascii//
ORDER_CORPUS'
[Ordenador-de-Medialab:~/desktop/ix2] medialab% python main.py
Traceback (most recent call last):
File "main.py", line 3, in ?
import spellbook
File "/Users/medialab/Desktop/ix2/spellbook.py", line 266, in ?
ORDER_CORPUS = open(main.ASCII_ART_PATH+'/ORDER_CORPUS',
'r').read()
IOError: [Errno 2] No such file or directory: '/desktop/ix2/ascii//
ORDER_CORPUS'
[Ordenador-de-Medialab:~/desktop/ix2] medialab%
ASCII_ART_PATH = 'ascii'
it's a relative path.
On Fri, 2007-06-08 at 20:49 -0500, jonCates wrote:
the relative paths should have worked...what platform is this box?
tk
on osx and linux: enter the working directory of main.py before running it, i.e
cd Desktop/ix2
python main.py
that way the relative paths should work, because your current working
directory will be /Users/medialab/Desktop/ix2, and so the relative
path will just tack on ascii after that.
on windows: you should be able to just double click on main.py...
On 6/8/07, jake elliott <ja...@dai5ychain.net> wrote:
>
ix-svn-20070608-2.tar.gz
tk