PDF Export RuntimeException
See original GitHub issueSystem:
- Windows 10 x64
- Processing.py 3017 from http://py.processing.org/tutorials/command-line
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:
- Created 6 years ago
- Comments:12 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jdf
Just tried it & it throws the same exception.
Does that work for you?
@villares I’m familiar with the process to install 3rd party libraries, however; the
pdf
library appears to be a coreProcessing
library, and is included with theProcessing.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 withadd_library('pdf')
.I’ve updated the original issue post with the error message that is shown when the unmodified
OneFrame.py
file is run.