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.

PDF Export RuntimeException

See original GitHub issue

System:

 

processing.py-3017-windows64\examples.py\Library\PDF Export\OneFrame.py

java.lang.RuntimeException: The processing.pdf.PGraphicsPDF renderer is not in the class path.
	at processing.core.PApplet.makeGraphics(PApplet.java:2259)
	at processing.core.PApplet.createGraphics(PApplet.java:2170)
	at processing.core.PApplet.beginRecord(PApplet.java:10503)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:186)
	at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:204)
	at org.python.core.PyObject.__call__(PyObject.java:496)
	at org.python.core.PyObject.__call__(PyObject.java:500)
	at org.python.core.PyMethod.__call__(PyMethod.java:156)
	at org.python.pycode._pyx4.f$0(OneFrame.py:20)
	at org.python.pycode._pyx4.call_function(OneFrame.py)
	at org.python.core.PyTableCode.call(PyTableCode.java:167)
	at org.python.core.PyCode.call(PyCode.java:18)
	at org.python.core.Py.runCode(Py.java:1386)
	at org.python.core.Py.exec(Py.java:1430)
	at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:276)
	at jycessing.PAppletJythonDriver.setup(PAppletJythonDriver.java:1038)
	at processing.core.PApplet.handleDraw(PApplet.java:2378)
	at processing.awt.PSurfaceAWT$12.callDraw(PSurfaceAWT.java:1527)
	at processing.core.PSurfaceNone$AnimationThread.run(PSurfaceNone.java:316)

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Enteleformcommented, Aug 29, 2017

@jdf

Just tried it & it throws the same exception.

Does that work for you?

1reaction
Enteleformcommented, Aug 29, 2017

@villares I’m familiar with the process to install 3rd party libraries, however; the pdf library appears to be a core Processing library, and is included with the Processing.py distribution @ processing.py-3017-windows64\libraries\processing\pdf

Edit:

The original error message in my issue detail, Exception: This sketch requires the "pdf" library. at 7:0 in OneFrame.py, was not the first I encountered (posted mistakenly after failing to fully revert the file after some troubleshooting), but rather a result of attempted troubleshooting with add_library('pdf').

I’ve updated the original issue post with the error message that is shown when the unmodified OneFrame.py file is run.

Read more comments on GitHub >

github_iconTop Results From Across the Web

I am unable to export a space as a PDF - Atlassian Community
I am trying to export a space as a PDF. ... server 2003: RuntimeException error occurred while performing an XHTML storage transformation.
Read more >
PDF export errors - Processing Forum
I'm using Processing 1.2.1 on OSX 10.6.4 with Java 5 set as the default. ... processing.app.debug.RunnerException: RuntimeException: processing.
Read more >
Converting PDF forms- Runtime Exception - SAP Community
Converting PDF forms- Runtime Exception. 161 Views ... lo_pdfobj->set_document(EXPORTING pdfdata = lv_buffer ). ... Data cannot be exported from it. u201C.
Read more >
Reporting Engine Cannot able to export pie chart in PDF Format
Hi Team, I cannot able to export colorful charts like pie,bar into pdf format ... RuntimeException: cannot find js file : env.rhino-1.2.js".
Read more >
"The exit status code '127' says something went wrong:" while ...
""message": "Uncaught PHP Exception RuntimeException: \"The exit ... a PDF report for a Glossary or a Change Request Facet, the Export ...
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