typora / typora-issues

Bugs, suggestions or free discussions about the minimal markdown editor — Typora
https://typora.io
1.53k stars 58 forks source link

Cannot Export PDF #5037

Open Z-pf opened 2 years ago

Z-pf commented 2 years ago

Describe the bug Unable to export PDF, prompting exporting in progress...

To Reproduce Steps to reproduce the behavior:

  1. Choose a file
  2. Click on 'File->Export->PDF->save'
  3. Unable to export PDF, prompting exporting in progress...

Expected behavior Exporting PDF successfully

Screenshots / Screencasts image

Sample Markdown File N/A

Desktop (please complete the following information):

Typora Version e.g: 1.0.4

Additional context I have reinstalled Pandoc and set the 'Pandoc Path'. It used to export normally. This is the log image

abnerlee commented 2 years ago

Does an empty for smaller md file works for PDF export?

Z-pf commented 2 years ago

Small or empty md files cannot be exported either

abnerlee commented 2 years ago

It used to export normally.

You mean it worked before?

And does https://support.typora.io/Export/#export-pdf-not-working-on-windows work?

Z-pf commented 2 years ago

It worked many times before,and I also tried restart the 'Print Spooler',it doesn't work.

abnerlee commented 2 years ago

Do you have special setting in Preferences Panel -> Export -> PDF ?

It worked many times before

What kind of changes did you made before you find out PDF cannot be exported?

Z-pf commented 2 years ago

Do you have special setting in Preferences Panel -> Export -> PDF ?

I used the default Settings,I set up the 'Pandoc Path' in Preferences Panel -> Export -> General image

image

What kind of changes did you made before you find out PDF cannot be exported?

I didn't make any changes.

reedloden commented 2 years ago

I'm having this same problem on macOS. Just seeing "Exporting in progress..." endlessly.

reedloden commented 2 years ago

I upgraded to Typora 1.1.3, and I can export to PDF now.

Z-pf commented 2 years ago

I tried upgrade to Typora 1.1.3 and 1.1.5, and I still unable to export to PDF.

abnerlee commented 2 years ago

Could you try Print -> save as PDF, then check if now export to PDF works or not?

Z-pf commented 2 years ago

Could you try Print -> save as PDF, then check if now export to PDF works or not?

It works, but Export -> PDF is still unable. I have updated the version to 1.2.4.

abnerlee commented 2 years ago

Will it work if you add a "Microsoft Print to PDF" printer (https://answers.microsoft.com/en-us/windows/forum/all/how-to-add-or-reinstall-the-microsoft-pdf-printer/70377c34-e50a-42be-b9f3-92345d6e25df?auth=1) ?