fmash16 / ssg5

My custom script for a posix compliable static site generator built by Roman Zolotarev
67 stars 8 forks source link

Can't use pandoc to convert markdown document #2

Open DrakeWhu opened 3 years ago

DrakeWhu commented 3 years ago

Hi, I installed ssg5 on WSL, using Ubuntu as my distro. I'm using the command pandoc <name.md> and I'm getting

bash: syntax error near unexpected token `newline'

A friend suggested to take out the <>, I did it and got a different error pandoc name.md

pandoc: name.md: openBinaryFile: permission denied (Permission denied)

fmash16 commented 3 years ago

Hi, as you are getting a permission denied error, which directory are you in? Does your user have read/write permissions in that directory?

I have not used WSL much and so don't know much about it. The openBinaryFile error, as I read in some other threads, might arouse from some sort of sandboxing WSL might or might not use. I will try to reproduce your error and get back asap. I might need to know which directory you are running the commands from.

DrakeWhu commented 3 years ago

I'm on the directory C:\Users\WINDOWS_USER\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs\home\UBUNTU_USER\code\ssg5

I don't know if I have read/write permission but I can check it and try to give myself permission to see if it works

I have yet to learn how to use WSL