Skip to content
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 Preview and PDF Export not generating PDF, opening blank tabs #112

Open
lagrangian-one opened this issue Dec 31, 2020 · 13 comments
Open

Comments

@lagrangian-one
Copy link

I'm unsure if there is a log or anything else I can provide for information - description below:

  • Atom 1.53.0
  • fountain 0.8.3
  • pdf-view 0.72.0

PDF Export

  • Opens a blank tab and the PDF never loads.
  • Appears to be trying to load the PDF from the source directory of the script.fountain file, but there is no PDF present in the directory.

PDF Preview

  • Opens a blank tab and the PDF never loads.
  • It appears to be trying to open the PDF from a temporary location.
  • When going to the temporary location, there is no PDF there: C:\Users\UserName\.atom\packages\fountain\temp\(preview) script.pdf
@superlou
Copy link
Owner

Can you try uninstalling the package, then installing from the terminal using apm install https://github.com/superlou/fountain-atom.git? This might be related to an existing bug and solved in the master.

@lagrangian-one
Copy link
Author

Can you try uninstalling the package, then installing from the terminal using apm install https://github.com/superlou/fountain-atom.git? This might be related to an existing bug and solved in the master.

Thanks for the quick response superlou, really appreciated - I'm now getting:

Cloning https://github.com/superlou/fountain-atom.git failed
Installing modules done
Cannot read property 'getReferenceTarget' of null

Some Googling shows it occurs on some other attempted installations, but yet to find a solution. I'll head down this rabbit hole now.

@superlou
Copy link
Owner

superlou commented Jan 1, 2021

Weird. You can also try installing it for development just to see if it's working using apm develop fountain, then navigate to where it clones the repo, and running atom -d .

@wallace-heller
Copy link

Greetings. Recently installed Atom and the fountain package on Windows 10. Having the same problem. Export to PDF does not export anything. Nothing appears in the viewer either. Suggestions?

@superlou
Copy link
Owner

I think this might be fixed in the master. Can you try uninstalling from inside Atom, then reinstalling from the command line using apm install https://github.com/superlou/fountain-atom.git?

@wallace-heller
Copy link

wallace-heller commented Jan 22, 2021 via email

@ianspray
Copy link

ianspray commented Feb 6, 2021

I was seeing the blank preview/no PDF file as reported above, so followed the advice to uninstall from within Atom and install from master via apm, and now both preview and PDF files work.

Thanks for the fix !

@jenmyers
Copy link

I also had this problem and this fix also worked for me. Thank you!

@lecram7
Copy link

lecram7 commented Mar 30, 2021

Can you try uninstalling the package, then installing from the terminal using apm install https://github.com/superlou/fountain-atom.git? This might be related to an existing bug and solved in the master.

Thanks for the quick response superlou, really appreciated - I'm now getting:

Cloning https://github.com/superlou/fountain-atom.git failed
Installing modules done
Cannot read property 'getReferenceTarget' of null

Some Googling shows it occurs on some other attempted installations, but yet to find a solution. I'll head down this rabbit hole now.

Hey! I'm having this same issue trying to install the package from the terminal but with no luck.
Did you manage to find a solution?

@Toast-b
Copy link

Toast-b commented Apr 2, 2021

Can you try uninstalling the package, then installing from the terminal using apm install https://github.com/superlou/fountain-atom.git? This might be related to an existing bug and solved in the master.

Thanks for the quick response superlou, really appreciated - I'm now getting:

Cloning https://github.com/superlou/fountain-atom.git failed
Installing modules done
Cannot read property 'getReferenceTarget' of null

Some Googling shows it occurs on some other attempted installations, but yet to find a solution. I'll head down this rabbit hole now.

Hey! I'm having this same issue trying to install the package from the terminal but with no luck.
Did you manage to find a solution?

I'm also having the same issue. Just installed Atom 1.55.0 and fountain 0.8.3, on Windows 10.

Removing it and using the command line (as an administrator) gives me that exact error.

Formatting and side panel work perfectly inside Atom. Trying to generate a PDF gives a message "new file has been created", but there is no file in the folder, and an empty tab opens. I'll convert with something else for now, but hopefully I can eventually find some solution.

@tfayemi
Copy link

tfayemi commented Apr 3, 2021

Can you try uninstalling the package, then installing from the terminal using apm install https://github.com/superlou/fountain-atom.git? This might be related to an existing bug and solved in the master.

Thanks for the quick response superlou, really appreciated - I'm now getting:

Cloning https://github.com/superlou/fountain-atom.git failed
Installing modules done
Cannot read property 'getReferenceTarget' of null

Some Googling shows it occurs on some other attempted installations, but yet to find a solution. I'll head down this rabbit hole now.

Hey! I'm having this same issue trying to install the package from the terminal but with no luck.
Did you manage to find a solution?

I'm also having the same issue. Just installed Atom 1.55.0 and fountain 0.8.3, on Windows 10.

Removing it and using the command line (as an administrator) gives me that exact error.

Formatting and side panel work perfectly inside Atom. Trying to generate a PDF gives a message "new file has been created", but there is no file in the folder, and an empty tab opens. I'll convert with something else for now, but hopefully I can eventually find some solution.

Hey! Was having this exact issue and figured it might have something to do with my version of git. Installed the latest version of git and lo and behold;

Cloning https://github.com/superlou/fountain-atom.git done
Installing modules done
Moving fountain to C:\Users\me\.atom\packages\fountain done

What's more, now the PDF preview works! I hope this helps!

@Toast-b
Copy link

Toast-b commented Apr 3, 2021

Can you try uninstalling the package, then installing from the terminal using apm install https://github.com/superlou/fountain-atom.git? This might be related to an existing bug and solved in the master.

Thanks for the quick response superlou, really appreciated - I'm now getting:

Cloning https://github.com/superlou/fountain-atom.git failed
Installing modules done
Cannot read property 'getReferenceTarget' of null

Some Googling shows it occurs on some other attempted installations, but yet to find a solution. I'll head down this rabbit hole now.

Hey! I'm having this same issue trying to install the package from the terminal but with no luck.
Did you manage to find a solution?

I'm also having the same issue. Just installed Atom 1.55.0 and fountain 0.8.3, on Windows 10.
Removing it and using the command line (as an administrator) gives me that exact error.
Formatting and side panel work perfectly inside Atom. Trying to generate a PDF gives a message "new file has been created", but there is no file in the folder, and an empty tab opens. I'll convert with something else for now, but hopefully I can eventually find some solution.

Hey! Was having this exact issue and figured it might have something to do with my version of git. Installed the latest version of git and lo and behold;

Cloning https://github.com/superlou/fountain-atom.git done
Installing modules done
Moving fountain to C:\Users\me\.atom\packages\fountain done

What's more, now the PDF preview works! I hope this helps!

Holy cow, that really did it! Installed latest GIT, and everything went smooth. Might have even worked inside Atom, I just went straight to command line. Thank you!

@superlou
Copy link
Owner

superlou commented Apr 3, 2021

I did not expect the problem to be the GIT version, but thanks for figuring that out! If nobody's running into issues with the master, I can cut a release.

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

No branches or pull requests

8 participants