tK + jake -> error log!

0 views
Skip to first unread message

jonCates

unread,
Jun 8, 2007, 9:49:33 PM6/8/07
to ix_...@googlegroups.com
tK + jake -> error log from last test of main.py!

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%


jake elliott

unread,
Jun 8, 2007, 3:04:30 PM6/8/07
to ix_...@googlegroups.com
i just committed something that i hope should fix this. svn update!

jake elliott

unread,
Jun 8, 2007, 3:07:46 PM6/8/07
to ix_...@googlegroups.com
actually i think i can see where the error is. you should just leave
your ASCII_ART_PATH setting in main.py the way it is by default:

ASCII_ART_PATH = 'ascii'

it's a relative path.

On Fri, 2007-06-08 at 20:49 -0500, jonCates wrote:

tamas

unread,
Jun 8, 2007, 3:08:57 PM6/8/07
to ix_...@googlegroups.com
did you change the ASCII_ART_PATH from './ascii' to 'desktop/ix2/ascii'??

the relative paths should have worked...what platform is this box?

tk

tamas

unread,
Jun 8, 2007, 3:13:10 PM6/8/07
to ix_...@googlegroups.com
also, when you run main.py:

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:
>

tamas

unread,
Jun 8, 2007, 3:27:19 PM6/8/07
to ix_...@googlegroups.com
ok.. so the latest src is available on google groups

ix-svn-20070608-2.tar.gz

tk

Reply all
Reply to author
Forward
0 new messages