Why do I receive a PDF error after installing the roboticsSupportPackage?

I attempt to install the roboticsSupportPackages (<http://www.mathworks.com/help/robotics/ref/roboticssupportpackages.html?refresh=true>) and after the installation is complete, I receive the following error:
 
Error with post-install command for package custommsg: Error executing
command "robotics.ros.custommsg.internal.setup.postinstallCmd;"
Output argument "reader" (and maybe others) not assigned during call to
"robotics.ros.custommsg.internal.help.openDoc>getPDFReader"
Warning: Could not find a PDF reader for file
/home/dmitri/extra_bins/MATLAB/SP/R2015a/roscustommsg/toolbox/robotics/supportpackages/roscustommsg/help/ROSCustomMessagesDocumentation.pdf.
Try opening it manually to see the documentation.
> In robotics.ros.custommsg.internal.help.openDoc>getPDFReader (line 68)
In robotics.ros.custommsg.internal.help.openDoc (line 28)
In robotics.ros.custommsg.internal.setup.postInstallCmd (line 12)
In hwconnectinstaller.util.evaluateCmd (line 58)
In hwconnectinstaller.PackageInstaller/postInstallCmd (line 1663)
In hwconnectinstaller.PackageInstaller/install (line 1088)
In hwconnectinstaller.PackageInstaller/installRecursiveImp (line 608)
In hwconnectinstaller.PackageInstaller/installRecursive (line 421)
In hwconnectinstaller.internal.executeConfirm>installFromFolder (line 282)
In hwconnectinstaller.internal.executeConfirm>installWorkflow (line 208)
In hwconnectinstaller.internal.executeConfirm (line 72)
In hwconnectinstaller.Step/next (line 169)
In
hwconnectinstaller.internal.executeConfirm>@(varargin)hStep.next(varargin{:})
(line 36)
In hwconnectinstaller.util.download.MWDownloadManager/fireMethod (line
412)
In
hwconnectinstaller.util.download.MWDownloadManager/initCallback/serviceCallback
(line 388)
In hgfeval (line 62)
In javaaddlistener>cbBridge (line 52)
In javaaddlistener>@(o,e)cbBridge(o,e,response) (line 47)

 Accepted Answer

This is an known issue in R2015a when installing the robotics support package.  If no PDF reader is found on your machine, this error will be thrown.  Once the support package is installed, the documentation for the support package will open and if no PDF reader is detected, you will see the error message.  
To resolve this error, install a program which can read PDFs on your machine. 
 

More Answers (0)

Products

Release

R2015a

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!