Comments (9)
From @50Wliu on February 4, 2015 15:2
/cc @benogle
from markdown-pdf.
I assume this is a issue with markdown-pdf
.
from markdown-pdf.
Maybe some dir on the c:\devel\tools\cpdfer\
path doesnt exist?
from markdown-pdf.
Do you still get this issue?
I am not quite sure what's going on here
from markdown-pdf.
Hey there, I'm still trying to reproduce this issue and cannot. Is the .md file saved before you attempt to convert it?
Also, it is informative that this occurs on different operating systems. Is there any more information you thin may be pertinent to resolving this?
Thanks for the reports! 🐛
from markdown-pdf.
I've done some tests (in linux) and here are the outputs:
Open atom from terminal with normal rights (no sudo):
- Create a new document, write some markdown and save it as Document1.md
- Output: ENOENT...
- Create a new document, write some markdown and save it as Document2.markdown
- Output: It generates the file correctly
I have renamed my files ending with .md to .markdown and all the problems with the pdf conversion disappeared.
from markdown-pdf.
Sorry I haven't been contributing to this, haven't really been using Atom in the day-to-day workplace (yet ;). I can't remember exactly what I was attempting to do, but I can confirm that the path c:\devel\tools\cpdfer\
does not exist on my machine.
from markdown-pdf.
I've gotten this issue and I think I know the problem. The directory is probably supposed to be c:\devel\tools\cmder\
, but it's replacing "md" at the wrong spot, leading to "cpdfer".
I have the same problem. My username is "adamdrago" and I get this error:
Uncaught Error: ENOENT: no such file or directory, open '/Users/adapdfrago/Desktop/Notes/geo-pd/GEO-PD.md'
Notice how "adamdrago" betcomes "adapdfrago"?
Hopefully this helps solve the problem!!
from markdown-pdf.
Thanks @atdrago for your help, now I realize where the problem comes from.
As you said, the package was replacing in the path a substring composed by 'md' to 'pdf'.
I have modified the function which returns the path of the new pdf file, and it seems to work perfectly.
You can see the modifications in the commit d0c1faf
from markdown-pdf.
Related Issues (20)
- the images path over length HOT 2
- Conversion fails with `Error: ENOENT: ...` HOT 2
- Unmaintained repository ? HOT 4
- Rewrite the project HOT 2
- Misleading error when trying to convert from a non-editor pane
- Custom user styles doesn't work HOT 3
- Lists with sub-lists do not export to pdf correctly HOT 1
- NBSP Shows Instead of Spaces HOT 2
- Not able to export to other formats than pdf
- Failed to activate the markdown-pdf package HOT 2
- Does not render footnotes (e.g. gitlab flavored markdown)
- Can't disable syntax highlighting in code blocks
- Cannot read property 'pre' of undefined
- How can i use markdown-pdf from the external command line?
- Uncaught Error: Cannot find module 'less'Require stack:- $ATOM_HOME/packages\markdown-pdf\lib\a...
- List numbering is not as expected
- Links to sections of the document do not work in the PDF
- Each line in markdown is written as a new line and not as a paragraph in the PDF
- Missing table element in convert precess
- Base 64 images in markdown are not displayed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from markdown-pdf.