-
Notifications
You must be signed in to change notification settings - Fork 15
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
PDF generation failed. Cannot find module 'C:\Users\Username\.atom\packages\fountain\configs\afterwritingFonts.json.js' #110
Comments
Anyone? |
@trochitv I don't think you should've needed to install Afterwriting manually, though I don't think that should've hurt anything. If you aren't using the Afterwriting CLI, can you try uninstalling that, uninstalling the Fountain-Atom package, then reinstalling the Fountain-Atom package? On Linux Mint, I'm not getting the error you are, but it is saying "An error occurred while loading the PDF," and I don't see a PDF file being created. Do you get that message? |
It's extremely odd that it would be looking for a file with the extension ".json.js". The json file is legit part of rendering with afterwriting... But what is requesting that file with js extension, I have no idea. It's definitely wrong though. |
Thank you so much for the answers! It says "pdf file generated" but apparently it never is. I do not get an explicit error concerning the pdf. Is there anything else I can try or more info I can give you? |
For sanity, can you check if Fountain outline view is working? That will at
least confirm if the package thinks it's mostly installed.
…On Sat, Dec 5, 2020 at 1:58 PM trochitv ***@***.***> wrote:
Thank you so much for the answers!
It didn't show me a pdf when I had not installed afterwriting yet, so I
went ahead and did. Pretty sure it was the very same issue, but I will try
with it uninstalled later.
It says "pdf file generated" but apparently it never is. I do not get an
explicit error concerning the pdf.
Is there anything else I can try or more info I can give you?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#110 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFNIP72QPSBOCENJI47VLDSTJ7EXANCNFSM4UF4Z2KA>
.
|
If you click one more time in the editing pane, e.g. on EDWARD, does the outline finish populating? Something looks very weird. |
Nope. "INT. WILL'S BEDROOM -NIGHT (1973)" is all I ever get. :/ |
I might have something. If I update to the latest Afterwriting release, the PDF generation tests start to fail and I receive a similar error: @trochitv, can you go into the Fountain installation and look in |
Pretty sure that's the problem: https://github.com/ifrost/afterwriting-labs/blob/master/docs/clients.md#custom-fonts. |
@superlou It wouldn't surprise me... But the Afterwriting dependency version in package.json shouldn't have that particular change yet, based on what I saw in the merge comments for that change. |
Agreed. I'm wondering if something happened when @trochitv installed the Afterwriting CLI. That said, I'm not sure why it would affect the Afterwriting version the atom package is using. |
@jrbostic I pushed an update to trunk that uses the latest Afterwriting, with some hacks to use the new font loading scheme. The test suite passes, but it doesn't really test that functionality. I'm not sure if overwriting existing PDFs is working, though the tests pass. Can you take a look when you get a chance and see if it works for you? |
@superlou it says version 1.12.7 |
Just recreated it on my Ubuntu machine. Didn't install afterwriting there. |
@trochitv Can you try running the development version on the trunk? |
I'm sorry, where may I find the development version? >.< |
@trochitv, you should be able to get it by uninstalling the Fountain you have installed, then doing |
Sorry, I typo'd in my earlier comment. Please uninstall the package again, then try |
Hi, Thanks, this kind of worked, with |
@johnygum That's probably not a great way, but I think that successfully got the latest source installed as a plugin. 😄 I think In theory, if everything is working, we can publish this source as a release so it's easier to install. However, it's a pretty hacky change to some of @jrbostic 's code, so I was hoping he would weigh in. |
Hi, i uninstalled the package and installed it with |
@johnygum I can confirm the same problem with PDFs not being overwritten. The weird thing is we have a test case that is supposed to check for that which is still passing. I don't think anything about the latest Afterwriting should affect overwriting PDFs, but that does seem like the most likely culprit. |
@johnygum PDF overwriting is tentatively fixed in the latest master. Can you try uninstalling and reinstalling from github? |
@superlou Sorry, I only saw part of this thread last weekend. I'm trying to figure out where/how to set this project up on one of my newer machines. Re-establish some kind of workflow. Took me a lot of dedicated time a few years ago... Can't remember any of it now... Lol |
@jrbostic No worries. Every time I come back to this I have to relearn the toolchain, and it doesn't help that all of the docs have switched back to Javascript. |
Hi, I installed the new version and now everything is working! Thanks very much! |
Working for me as well. Thank you very much :) |
Hi,
after I resolved my problems of not being able to install fountain by installing git, I now face the issue of not being able to generate pdfs from my .fountain files.
I installed the afterwriting cli via npm, but when I try to render the preview I am faced with this error:
and no pdf.
Thank you for your time.
P.S. I am on Windows 10
The text was updated successfully, but these errors were encountered: