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

[bug] Fail to generate output on current Pandoc in Windows #16

Closed
edwardchanjw opened this issue Jun 23, 2013 · 5 comments
Closed

[bug] Fail to generate output on current Pandoc in Windows #16

edwardchanjw opened this issue Jun 23, 2013 · 5 comments
Labels

Comments

@edwardchanjw
Copy link

I wonder it is the problem on pandoc side or arguments passing? Both selection of html (pandoc)', 'html (rst2html)' are the same error.

The file is located at C:\Users{Username}\AppData\Local\Temp but the file is 0 bytes.

image

I manually tested this command below and the HTML successful generated.

C:\Users\User>pandoc C:\Users\User\Desktop\rstTest.rst -o C:\Users\User\Desktop\rstTest.html

The Pandoc Path was

C:\Users\User\AppData\Local\Pandoc
@mgaitan
Copy link
Owner

mgaitan commented Jun 23, 2013

thanks for the report. Really, I'm not checking anything in windows and mac (I'm one of those linux only guys) , but I'll try to figure it out with a virtual machine.

@ishitcno1
Copy link

I use docutils and get the same problem in windows. The command below works fine.
rst2html.py infile outfile

Actually I don't install pandoc, but if I select html(pandoc), the problem is as the same as edwardchanjw described.

If I select html(rst2html), nothing happen, no error box pop up, no new tab the browser open. I check the temp directory, a new 0 bytes html file is there.

@mgaitan
Copy link
Owner

mgaitan commented Jun 25, 2013

I'll check this issue this week. Thanks for the report.

On Tue, Jun 25, 2013 at 4:24 AM, ishitcno1 [email protected] wrote:

I use docutils and get the same problem in windows. The command below
works fine.
rst2html.py infile outfile

Actually I don't install pandoc, but if I select html(pandoc), the problem
is as the same as edwardchanjw described.

If I select html(rst2html), nothing happen, no error box pop up, no new
tab the browser open. I check the temp directory, a new 0 bytes html file
is there.


Reply to this email directly or view it on GitHubhttps://github.com//issues/16#issuecomment-19957700
.

mgaitan.github.io
textosyprextextos.com.ar

mgaitan pushed a commit that referenced this issue Jun 26, 2013
@mgaitan
Copy link
Owner

mgaitan commented Jun 26, 2013

@edwardchanjw @ishitcno1 please let me know if that patch fix the issue. It worked for me, but I only acceded to a very limited virtualized Win Xp.

Also, ensure you have pandoc in the enviroment PATH variable, visible to all programs. You can check inside sublime opening the cosole and running

import os
os.environ['PATH']

If you see the Pandoc (or python bin) path in the list, it's ok.

@mgaitan
Copy link
Owner

mgaitan commented Jul 6, 2013

I guess It's fixed. We'll reopen it if something say the opposite ;-)

@mgaitan mgaitan closed this as completed Jul 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants