-
Notifications
You must be signed in to change notification settings - Fork 567
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
error when converting to pdf/reST #621
Comments
That is likely part of the problem. If you try to convert on the command line does it work? |
Yeah, tried once the same issue. When it says " position 127", where does it refer to? If i could locate this position maybe i could fix it. The fact is that I don't even know how to start. |
If you're not already, we recommend using python 3 if you have non ASCII
file names, especially on Windows.
…On 7 Jul 2017 11:22 p.m., "Κωνσταντῖνος Ἀτζαράκης" ***@***.***> wrote:
Yeah, tried once the same issue.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#621 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAUA9aH_5970pJVkBmzAyExmpQdKOTW0ks5sLq-3gaJpZM4ORP3c>
.
|
That won't work either, I use Anaconda with python 3.6. |
Initially it raised an error because I hadn't installed pandoc, but since I installed it it raises the error I mentioned. |
Does it work on any of the exporters? E.g., html, markdown, asciidoc, notebook, python… or is it broken on every one of them? |
Basically, if it works on at least one of them, we can say confidently that it's an issue with the particular exporters, and if it works on none of them, it's likely to be an issue with nbconvertapp & how it reads file names. |
It works for all the exporters except for the .pdf and .rst |
The home directory of jupyter is : C\users\Kωνσταντίνος . Should I try to change the home directory or the user's name? Which is better? I wouldn't like to try the latter, unless you guys are more or less sure that the folder's name causes the issue. |
@mpacer |
Can you show the whole of the traceback you get when you do it on the command line with the greek text? That should show us where in the code the error comes from. |
|
That's weird - that bit of code is only supposed to read the pandoc version number, which shouldn't depend on the notebook contents at all. Can you do Hopefully the fix will be quite simple, but I'd like to understand the problem better first. |
mm that chinese... |
Ah, it's trying to print your home directory. Luckily we can safely ignore that. PR coming up. |
Allowing for non-ascii home directory on Windows. We only need to decode the first line, not the whole output. Closes jupytergh-621
Hopefully #638 should fix that. Can you give it a try? It's possible that there's another problem lurking behind this one. |
I will make a try. |
Excuse my ignorance, I am not a professional programmer, is there a fast way to do this? or should I do it manually? |
Yeah, it worked! Thank you guys! You are the best! |
Cool, thanks for testing it! BTW, we normally close the issue when the pull request is merged. It's not really important here, though. |
Do you want to reopen it? |
We do get tired ;-). But it's still super satisfying when we can fix something that's clearly broken and make someone happy! No need to reopen the issue, it was just a note for future issues you might report. |
When trying to download the file as .pdf or .rst the following error is raised:
I am running Windows and have folders with Greek Alphabet, could this cause the problem?
The text was updated successfully, but these errors were encountered: