Skip to content
New issue

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

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

Already on GitHub? # to your account

Report'[WinError 5]' #229

Closed
lp20010415 opened this issue Aug 16, 2021 · 9 comments
Closed

Report'[WinError 5]' #229

lp20010415 opened this issue Aug 16, 2021 · 9 comments

Comments

@lp20010415
Copy link

前天还是好好的,结果今天一用就这样了,不知道是不是因为cmder的原因QWQ。但是我把cmder卸载了,可能卸载的不彻底。希望能告知一个解决方法,感恩!
Translate:
It was good the day before yesterday. As a result, it's like this as soon as it's used today. I don't know if it's because of the cmder, qwq. But I uninstalled the cmder, which may not be completely uninstalled. I hope you can tell me a solution. Thank you!

Here is the error code:
image

@lp20010415
Copy link
Author

image

@JessicaTegner
Copy link
Owner

It looks like it finds pandoc, but for some reason it can't use it because of an error.
I would suggest checking if the pandoc found is indeed set as being executable, as this is the only other time I've seen this issue.

Please let me know if that work :)

@lp20010415
Copy link
Author

this?
image

@lp20010415
Copy link
Author

lp20010415 commented Aug 16, 2021

According to my research on the code, I think the problem lies in "subprocess. Popen()"
look this
image
image

@lp20010415
Copy link
Author

lp20010415 commented Aug 16, 2021

然后,新建一个py文件,且模仿一个"subprocess.Popen()",结果如下( 和上面一模一样),所以我觉得问题出在"subprocess"
Translate:
As like as two peas, then create a new py file and imitate a "subprocess.Popen ()". The result is as follows (so the same as above), so I think the problem is "subprocess".
image

So what do you think?

@JessicaTegner
Copy link
Owner

Hi
[WinError 5] indicates a permissions error.
So either:

  • You do not have permission to execute pandoc in that folder.
  • Pandoc itself is not executable

@lp20010415
Copy link
Author

Hi
[WinError 5] indicates a permissions error.
So either:

  • You do not have permission to execute pandoc in that folder.
  • Pandoc itself is not executable

那我应该怎么给予权限呢?或者说怎么判断它是否是可执行文件呢?
Translate:
How should I give permission? Or how to judge whether it is an executable file?

@JessicaTegner
Copy link
Owner

Hi. This is beyond the scope of pypandoc and specific to your setup.
If you find a reproducible bug, feel free to reopen.

@lp20010415
Copy link
Author

Hi. This is beyond the scope of pypandoc and specific to your setup. If you find a reproducible bug, feel free to reopen.

Sorry, I remeber I say solved it, but i don't my reply is gone

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

No branches or pull requests

2 participants