Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSONDecodeError when reading file #26

Open
kthr opened this issue Sep 29, 2016 · 1 comment
Open

JSONDecodeError when reading file #26

kthr opened this issue Sep 29, 2016 · 1 comment

Comments

@kthr
Copy link

kthr commented Sep 29, 2016

When I try to read a simple file (via sbcl kernel) such as this one, using the following code:

(with-open-file (stream "~/test.txt" :direction :input)
    (do ((line (read-line stream nil) 
                    (read-line stream nil)))
           ((null line))
         (print line)))

I get a JSONDecodeError. Here is a full stack trace:
stacktrace.txt

Any help is very much appreciated :)

@fredokun
Copy link
Owner

this ones looks suspiscious... For various reasons I am for the
moment using ipython 2.x but as soon as I can switch to jupyter
I will try to see what is the issue here.
(I may switch to a more bulletproofed json encoder).
Sorry about the inconvenience

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants