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

Postscript previewer showing a white square in windows 10 #3

Open
santanuchakrabarti opened this issue Sep 15, 2022 · 6 comments
Open

Comments

@santanuchakrabarti
Copy link

Thanks for helping to remove the error with Ghostscript executable. Now the error is gone but the postscript previewer is not showing any content, only a white square and there is no error message also.

It seems the package is not at all stable/working in windows platform. :-(

@santanuchakrabarti santanuchakrabarti changed the title Postscript perviewer showing a white square in windows 10 Postscript previewer showing a white square in windows 10 Sep 15, 2022
@Alhadis
Copy link
Owner

Alhadis commented Sep 15, 2022

When you checked out this repository, did you remember to install dependencies via npm install --production .…?

Check that ~/.atom/packages/postscript contains:

node_modules/atom-live-view
node_modules/mapped-disposable
node_modules/pan-and-zoom

@Alhadis
Copy link
Owner

Alhadis commented Sep 15, 2022

@santanuchakrabarti Try updating your checkout again.

@santanuchakrabarti
Copy link
Author

santanuchakrabarti commented Sep 16, 2022

Hi I have the node modules available in my package and I have updated postscript to the latest version, but still I am getting just a white square in preview on Windows 10 machine.

[Edit]
I am extremely sorry!!! After a bit long wait time I am able to read the .ps file in the preview window. But the problem is I can't scroll down or go to the next page.

@Alhadis
Copy link
Owner

Alhadis commented Sep 16, 2022

But the problem is I can't scroll down or go to the next page.

Yup, and that's precisely where I left the previewer because I was getting frustrated by Atom's APIs. 😁 I neglected to mention that this part of the package was never finished (hence why I never published it to Atom's package registry). I saw the amount of work involved and realised I'd be committing myself to a non-trivial project that I would need to develop and maintain instead of other projects I'd prefer to be working on instead… 😕

@santanuchakrabarti
Copy link
Author

But the problem is I can't scroll down or go to the next page.

Yup, and that's precisely where I left the previewer because I was getting frustrated by Atom's APIs. 😁 I neglected to mention that this part of the package was never finished (hence why I never published it to Atom's package registry). I saw the amount of work involved and realised I'd be committing myself to a non-trivial project that I would need to develop and maintain instead of other projects I'd prefer to be working on instead… 😕

I see. Anyway at least it gives an idea of the content of .ps file without leaving the editor. :-) Thanks for it!!

@Alhadis
Copy link
Owner

Alhadis commented Sep 16, 2022

My pleasure! Happy that my half-arsed efforts have at least managed to help someone. 😀

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

2 participants