izuzak / atom-pdf-view

Support for viewing PDF files in Atom.
https://atom.io/packages/pdf-view
MIT License
106 stars 30 forks source link

Blank PDF view pane #238

Closed WeilinDeng closed 3 years ago

WeilinDeng commented 3 years ago

I was able to succssfully compile the latex file and generate the pdf file. However, in the pdf-view pane, there is no pdf shown.

image

wdrz commented 3 years ago

It happened to me as well

Samisanerd commented 3 years ago

I'm also having this issue

jankogler commented 3 years ago

yup same here

linusjanek commented 3 years ago

same here

oliviamcgleish commented 3 years ago

Same here

adahuabe commented 3 years ago

same

mkornejew commented 3 years ago

Same here -- it worked perfectly fine yesterday 10 pm CET. Presumably, problems roots in latest Atom update (to version 1.56.0). Eagerly awaiting the fix of this great package!

linusjanek commented 3 years ago

Does anyone here know of a short term solution, meaning a pdf-Viewer that can update the given pdf upon saving? Currently I'm reopening the given files in Acrobat over and over again but I feel like there has to be a more elegant way...

ThisFungus commented 3 years ago

Does anyone here know of a short term solution, meaning a pdf-Viewer that can update the given pdf upon saving? Currently I'm reopening the given files in Acrobat over and over again but I feel like there has to be a more elegant way...

I can confirm that downgrade from Atom 1.56 to 1.55 hotfixed this issue.

WeilinDeng commented 3 years ago

Does anyone here know of a short term solution, meaning a pdf-Viewer that can update the given pdf upon saving? Currently I'm reopening the given files in Acrobat over and over again but I feel like there has to be a more elegant way...

I can confirm that downgrade from Atom 1.56 to 1.55 hotfixed this issue.

I tried to downgrade atom as you said and the issue disappeared. It seems to be an issue of pdf-view package with latest version of atom.

linusjanek commented 3 years ago

Does anyone here know of a short term solution, meaning a pdf-Viewer that can update the given pdf upon saving? Currently I'm reopening the given files in Acrobat over and over again but I feel like there has to be a more elegant way...

I can confirm that downgrade from Atom 1.56 to 1.55 hotfixed this issue.

Thanks!

Homoe-hs commented 3 years ago

same,waiting for fixing

KosalaHerath commented 3 years ago

Same with Version 1.56.0

vBuresh commented 3 years ago

Same (Atom v1.56.0, Debian 11)

lvschenck commented 3 years ago

Same for me after auto update to 1.56

adahuabe commented 3 years ago

Does anyone here know of a short term solution, meaning a pdf-Viewer that can update the given pdf upon saving? Currently I'm reopening the given files in Acrobat over and over again but I feel like there has to be a more elegant way...

I can confirm that downgrade from Atom 1.56 to 1.55 hotfixed this issue.

I tried to downgrade atom as you said and the issue disappeared. It seems to be an issue of pdf-view package with latest version of atom.

Does anyone know how to downgrade Atom in Windows?

pilotag commented 3 years ago

Same issue :(

Homoe-hs commented 3 years ago

Does anyone here know of a short term solution, meaning a pdf-Viewer that can update the given pdf upon saving? Currently I'm reopening the given files in Acrobat over and over again but I feel like there has to be a more elegant way...

I can confirm that downgrade from Atom 1.56 to 1.55 hotfixed this issue.

I tried to downgrade atom as you said and the issue disappeared. It seems to be an issue of pdf-view package with latest version of atom.

Does anyone know how to downgrade Atom in Windows?

go to the atom.io, in the "release note" you can find it

rolshoven commented 3 years ago

If you don't want to downgrade atom, you could do the same as me and temporarily open PDFs with the open-unsupported-files package.

debanikray commented 3 years ago

Any idea when a fix will be available. It's already 3 days since the bug was reported.

MeindertHH commented 3 years ago

Downgraded Atom to 1.55.0 (https://github.com/atom/atom/releases/tag/v1.55.0) and will wait updating until fixed.

chrisv42 commented 3 years ago

same issue here

maxgonzalezb commented 3 years ago

same issue (Atom 1.56, Windows x64)

kawano-takahiro commented 3 years ago

For the time being, it seems that we need to downgrade it to fix this issue, but does anyone know when they can totally fix this kind of issue?

stayn1ght commented 3 years ago

I was able to succssfully compile the latex file and generate the pdf file. However, in the pdf-view pane, there is no pdf shown.

image

i have the same issue but my teammate dosen't

moritzpoll commented 3 years ago

Same here. Anything we can do in terms of debugging we can help with? My console stays blank. Even external PDFs cannot be opened anymore for me.

ghost commented 3 years ago

Same issue here.

atom --version

Atom    : 1.56.0
Electron: 9.4.4
Chrome  : 83.0.4103.122
Node    : 12.14.1

apm --version

apm  2.5.2
npm  6.14.8
node 12.4.0 x64
atom 1.56.0
python 3.7.6
git 2.20.1

sw_vers

ProductName:    Mac OS X
ProductVersion: 10.14.6
BuildVersion:   18G6032
WillBartee commented 3 years ago

Same Issue

majkee15 commented 3 years ago

I am experiencing the same issue.

thomas40510 commented 3 years ago

Same for me! Atom version 1.56.0

izuzak commented 3 years ago

Hello, everyone! Sorry for not responding to this sooner

This package hasn't been changed in a while, so something changed in Atom recently which broke this package. I'm not really sure what that is and probably won't have time to look into it anytime soon due to personal reasons. With that in mind, downgrading Atom seems like a quick fix for folks who just want to continue working. A longer term solution would be for someone else to figure out what exactly changed in Atom that broke this package and then fix things (I'd be happy to review a pull request with a fix). An alternative is that you switch to some other Atom package for viewing PDFs, e.g. https://atom.io/packages/pdfjs-viewer or https://atom.io/packages/pdf-view-plus.

Wish I had better news for you all, but I don't.

romain-kerdigital commented 3 years ago

Thanks for your answer @izuzak

For information pdf-view-plus has the same issue.

romain-kerdigital commented 3 years ago

And same issue with pdfjs-viewer...

This is the error message I see : "Missing PDF file."

2021-04-21_22-39-19

dsosa114 commented 3 years ago

Same issue. All packages based on PDFjs seem to have this problem.

lionelmalletpro commented 3 years ago

Hello every one, unfortunately, pdf-view-plus( https://atom.io/packages/pdf-view-plus ) doesn't work either, since Atom's last update to version 1.56.0

MeindertHH commented 3 years ago

Thanks @izuzak.

toadfarmer commented 3 years ago

The solution I found was add this

PDFJS.disableWorker = true;

at around line 16 of ~/.atom/packages/pdf-view/lib/pdf-editor-view.js

linusjanek commented 3 years ago

The solution I found was add this

PDFJS.disableWorker = true;

at around line 16 of ~/.atom/packages/pdf-view/lib/pdf-editor-view.js

Worked for me also, thanks!

KosalaHerath commented 3 years ago

The solution I found was add this

PDFJS.disableWorker = true;

at around line 16 of ~/.atom/packages/pdf-view/lib/pdf-editor-view.js

Worked for Windows 10 and macOS 11. Thank you!

WeilinDeng commented 3 years ago

Thanks to @toadfarmer for the fix!

Tarun-Mahajan commented 3 years ago

@toadfarmer Thanks a lot for the fix!

mfhepp commented 3 years ago

It also worked for me; please merge the pull request from https://github.com/izuzak/atom-pdf-view/pull/241

mjrodgers commented 3 years ago

Still having this issue with v 0.73, it displays properly if I generate a latex file and it automatically opens, but gives me a blank pane still if I double click on a pdf file from the tree explorer.

rithwikjc commented 2 years ago

I am also having the issue reported by @mjrodgers When I build latex file, the pdf opens in a new pane as intended. But if I open any pdf from the tree, it is blank.

EDIT: SOLUTION: I was looking through other issues trying to see if there was a solution. This worked. https://github.com/izuzak/atom-pdf-view/issues/239#issuecomment-855255598