[clpython-devel] import gives UnexpectedEofError

Breanndán Ó Nualláin bon at science.uva.nl
Wed Jun 22 12:27:38 UTC 2011


I'm running into an error while trying to get CLPython up and running. 

The test suite fails on the first Python import test with an
UnexpectedEofError. Any other attempt at importing gives the same error.
For example these three lines of code give the error as below:

    (ql:quickload "clpython")
    (push #p"clpython-20110219-git/test/data" *CLPYTHON-MODULE-SEARCH-PATHS*)
    (clpython:run "import bar")
    
    ;; Parsing #P"clpython-20110219-git/test/data/bar.py" into #P"clpython-20110219-git/test/data/bar.py.lisp"
    
    ;; Error occured while reading input with the Python readtable:
    ;;   UnexpectedEofError: Unexpected end of file.
    ;; Standard IO syntax (*readtable* etc) has been activated to enable debugging.
    
    debugger invoked on a CLPYTHON.USER.BUILTIN.TYPE.EXCEPTION:|UnexpectedEofError| in thread #<THREAD "initial thread" RUNNING {10029994E1}>: UnexpectedEofError: Unexpected end of file.


It's the most recent quicklisp version of CLPython on Linux.

SBCL 1.0.49
quicklisp version 2011051901
clpython-20110219-git
Python 2.7.2
Linux 2.6.39




More information about the Clpython-devel mailing list