jupyter-themer icon indicating copy to clipboard operation
jupyter-themer copied to clipboard

More Verbose Error Messages

Open neighthan opened this issue 7 years ago • 2 comments

Your project looks very interesting, and I was glad to test it out. Unfortunately, I got an error: "Error writing to custom.css". From this message, though, I don't know exactly what's wrong. Is it an issue with file permissions? I'm able to edit the file myself, so I wouldn't expect that. Does it not find the file? I have it in the normal location (~/.jupyter/custom/custom.css). I get the error whether or not custom.css already exists.

It would be nice to have an error message that let me know exactly what the issue was so I can troubleshoot it more effectively. Thanks!

neighthan avatar Apr 26 '17 16:04 neighthan

I'm also getting an Error writing to custom.css but I don't really understand what that means or how to go about fixing it.

dburkhardt avatar Apr 27 '17 19:04 dburkhardt

One can edit jupyter-themer.py to print out 'css_path' in the 'write_to_css' function. In my case, it was trying to write to: /usr/lib/python3.6/site-packages/notebook/static/custom/custom.css which does not have write access to a normal user.

jasonfrowe avatar Jul 11 '17 15:07 jasonfrowe