-
Notifications
You must be signed in to change notification settings - Fork 1
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
Downloading Pandoc #5
Comments
The way pandoc is downloaded is through
could it be that bin-wrapper doesn't recognize void linux as linux? |
That seems like the case, I definitely have pandoc installed. I'm not too familiar with binwrapper, but do you have any suggestions on how I could go about debugging this? |
The reason why I set caou to use bin-wrapper to install caou is because I found that that the last versions of pandoc produce a latex output that is incorrect (compiler errors on it). With bin-wrapper I could pin a specific version of pandoc that worked properly. With that said, I think it should be quite easy to sidestep that by removing bin-wrapper from the source and trying to use the pandoc installed locally directly. |
I removed the bin-wrapper stuff and in spawn_child I used "pandoc" directly. The following was the output on file.md (contains the working example from .io site)
I suppose these are the compiler errors you mentioned. |
Yep that looks like it, back when I debugged it I ended up fixing several errors manually but that just uncovered other errors. That may no longer be true for newer versions of pandoc tho. |
I've started looking at the source code of bin-wrapper and it seems that the problem you encountered wasn't because bin-wrapper couldn't correctly detect your OS but because of some other problem. With that said I'm not sure what could it be, could you try to check if the files are being installed in some directory for which your user doesn't have permission? |
I recently changed to ubuntu. I tried installing caou, and I got the same error msg ( x pandoc installation failed)... Not sure if this helps with what you just mentioned though. Lmk if you want me to try something else out. Also I appreciate you answering my questions on the other repo! And I think I understand how the index.js file works now. Though do you have any recommendation on how I can start testing stuff out? Right now I've been editing directly in the global node_modules repo which requires sudo to edit. Could you run me through your workflow for debugging/trying stuff out with caou? |
That's strange, as I've been using travis, which uses ubuntu, to produce all my cautchouc documents and so far it's been working fine. I'll investigate this issue more and come back to you.
No problem 👍
What I do is simulate a package installation using
|
After following your workflow above, I can now generate PDF files! and it works! So maybe something fishy is going on when you try to do a global installation... Also now that I have something I can work with, what should focus on next? Should I try to make it work with the newest version of pandoc? In addition, I have found by removing the extension |
Yeah that seems to be the case. I've tried again to reproduce the issue on Ubuntu 16.04 LTS doing the following:
And it worked fine (well I didn't get a pdf because I missed the latex installation but the caoutex file was generated properly), so I think I'm missing something there.
That would be perfect! |
Alright, I suppose at this point, we can say that caou is working on the newest version of pandoc. So I was thinking ahead a little bit and being able to modify the margins, and having markdown images (online ones) working seem like good features. Having the website back up and going would be awesome as well! I'm just trying to think of what my next step would be here. Also let me know if there is a better way to communicate with you rather than on this issue. |
Great! I personally think that just working on what you find the most interesting and useful is the best way forward, as I've found that usually other people tend to require the same features that one finds important.
Yeah that would be great, I think setting it up on a server is going to be easy, but I'm afraid we will soon hit the problems I encountered the last time I used it:
I use telegram (@corollari) and whatsapp as my go-to chat apps but if you'd rather use twitter (@corolari) I'm available there too. |
I am running void linux, I have pandoc installed. On a fresh install of caou, I get the following after running
caou file.md
- Downloading Pandoc ( ... X pandoc installation failed.
The text was updated successfully, but these errors were encountered: