question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

create PDF / HTML from current file results in "unable to render AsciiDoc document"

See original GitHub issue

Hi,

first of all: thanks for the awesome plugin, helps me every day!

The PDF as well as the HTML button top of the editor view of asciidoc files don’t work on my machine. Then I try to use these functionalities i get the following error in the idea log:

2020-03-25 11:18:32,433 [4325840]   WARN - org.asciidoc.intellij.AsciiDoc - unable to render AsciiDoc document 
org.jruby.exceptions.NameError: (NameError) uninitialized constant Extensions
	at org.jruby.RubyModule.const_missing(org/jruby/RubyModule.java:3749)
	at RUBY.<main>(<script>:158)

I remember it worked once and produced proper PDF files. Also the preview produces proper results.

I tried it with several asciidoc files. Everytime same result, even with minimal examples.

Here my system:

  • AsciiDoc plugin in version 0.30.41.1
  • Idea version:
IntelliJ IDEA 2019.3.4 (Community Edition)
Build #IC-193.6911.18, built on March 17, 2020
Runtime version: 11.0.6+8-b520.43 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 1981M
Cores: 8
Registry: 
Non-Bundled Plugins: Batch Scripts Support, CMD Support, Docker, GrepConsole, Key Promoter X, Lombook Plugin, PlantUML integration, YAML/Ansible support, amailp.intellij.robot, com.jetbrains.plugins.ini4idea, com.jivesoftware.robot.intellij.plugin, com.millennialmedia.intellibot, com.oliverlockwood.plugins.jenkinsfile, ideanginx9, mobi.hsz.idea.gitignore, org.asciidoctor.intellij.asciidoc, org.intellij.plugins.hcl, org.intellij.scala, org.mayevskiy.intellij.sonar, org.sonarlint.idea, org.sylfra.idea.plugins.linessorter

  #325 

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ahus1commented, Mar 25, 2020

Hi @hilbert-ralf - thanks for providing all these details. Unfortunately I wasn’t able to reproduce it locally yet. I’ve installed IntelliJ IDEA 2019.3.4 + AsciiDoc plugin 0.30.41.1 on Windows 10 and a minimal conversion to PDF worked with a freshly created project.

Still, something seems to be different. To analyze:

  • could you please supply the example document you ran your tests with?
  • I haven’t yet installed all the plugin you’ve installed; could you please deactivate the plugins and see if the problem persists?
  • do you know if any of the plugins you installed uses Ruby - maybe that plugin is a candidate for a conflict?

I look forward to your analysis results!

0reactions
ahus1commented, Dec 12, 2022

Hi @hibahasan998 - this issue is old, closed and therefore most likely unrelated. Please open a bug issue and provide information about the IDE and plugin versions you’re using.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix created PDF with Asciidoctor-pdf doesn't show ...
1 Answer 1 ... Last issue first: HTML entities should have no spaces within them; if you need to use one to show...
Read more >
Creating a PDF from an AsciiDoc file
The user can choose Create PDF from current file from the editor's action toolbar to convert the file shown in the current AsciiDoc...
Read more >
AsciiDoc Writer's Guide
This guide provides a gentle introduction to AsciiDoc, a plain text documentation syntax and processor. This introduction is intended for anyone who wants ......
Read more >
AsciiDoc User Guide
AsciiDoc files can be translated to many formats including HTML, PDF, EPUB, man page. AsciiDoc is highly configurable: both the AsciiDoc source ...
Read more >
Generate multi-HTML page documentation for website and ...
asciidoc #section>> syntax, where .asciidoc is replaced by .html . However, that won't work for PDF, can't also generate single HTML page output...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found