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

Blank PDF view pane #238

Closed
WeilinDeng opened this issue Apr 14, 2021 · 44 comments
Closed

Blank PDF view pane #238

WeilinDeng opened this issue Apr 14, 2021 · 44 comments

Comments

@WeilinDeng
Copy link

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
Copy link

wdrz commented Apr 14, 2021

It happened to me as well

@Samisanerd
Copy link

I'm also having this issue

@jankogler
Copy link

yup same here

@linusjanek
Copy link

same here

@oliviamcgleish
Copy link

Same here

@adahuabe
Copy link

same

@mkornejew
Copy link

mkornejew commented Apr 14, 2021

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
Copy link

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
Copy link

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
Copy link
Author

WeilinDeng commented Apr 14, 2021

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
Copy link

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
Copy link

same,waiting for fixing

@KosalaHerath
Copy link

Same with Version 1.56.0

@vBuresh
Copy link

vBuresh commented Apr 16, 2021

Same (Atom v1.56.0, Debian 11)

@lvschenck
Copy link

Same for me after auto update to 1.56

@adahuabe
Copy link

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
Copy link

pilotag commented Apr 16, 2021

Same issue :(

@Homoe-hs
Copy link

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
Copy link

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
Copy link

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

@MeindertHH
Copy link

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

@chrisv42
Copy link

same issue here

@maxgonzalezb
Copy link

same issue (Atom 1.56, Windows x64)

@kawano-takahiro
Copy link

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
Copy link

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
Copy link

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
Copy link

ghost commented Apr 20, 2021

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
Copy link

Same Issue

@majkee15
Copy link

I am experiencing the same issue.

@thomas40510
Copy link

Same for me! Atom version 1.56.0

@izuzak
Copy link
Owner

izuzak commented Apr 21, 2021

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
Copy link

Thanks for your answer @izuzak

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

@romain-kerdigital
Copy link

And same issue with pdfjs-viewer...

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

2021-04-21_22-39-19

@dsosa114
Copy link

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

@lionelmalletpro
Copy link

lionelmalletpro commented Apr 23, 2021

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
Copy link

Thanks @izuzak.

@toadfarmer
Copy link

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
Copy link

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
Copy link

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
Copy link
Author

Thanks to @toadfarmer for the fix!

@Tarun-Mahajan
Copy link

@toadfarmer Thanks a lot for the fix!

mfhepp added a commit to mfhepp/atom-pdf-view that referenced this issue May 11, 2021
@mfhepp mfhepp mentioned this issue May 11, 2021
@mfhepp
Copy link
Contributor

mfhepp commented May 11, 2021

It also worked for me; please merge the pull request from #241

@mjrodgers
Copy link

mjrodgers commented May 24, 2021

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
Copy link

rithwikjc commented Jul 30, 2021

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.
#239 (comment)

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