-
Notifications
You must be signed in to change notification settings - Fork 188
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
Better error printing #843
Comments
I looked a bit into it, and did see this function: Line 180 in 8e3abed
It's probably not too hard to change this. Still, not sure, it seems you send many lines to Python to evaluate (that's supported), maybe they should be broken up by you (or PyCall.jl) to many evaluations? Maybe as part of some debug mode? |
Not sure, what you mean by sending many lines to python, but I just call a single method of a python object. |
The above error is from |
It seems I misread the cause (i.e. you're not using multi-line py""" vs py "), and rereading this looks like some stack-trace. It should be simple to take it from Python (Keras?) and change \n to an actual newline. There might be a side-effect that some replacements are not wanted... so I'm not sure what's best to do. |
I often get errors that look like this:

There are a couple of things that make this pretty hard to read. The most important one is probably that instead of an actual line break there appears a literal
\n
.Could this be improved? And is it hard to do so?
The text was updated successfully, but these errors were encountered: