[kepler-dev] [Bug 4990] New: Ptolemy documentation missing

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Fri May 7 18:18:18 PDT 2010


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4990

           Summary: Ptolemy documentation missing
           Product: Kepler
           Version: 1.x dev
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: installer
        AssignedTo: berkley at nceas.ucsb.edu
        ReportedBy: cxh at eecs.berkeley.edu
         QAContact: kepler-dev at kepler-project.org


The Kepler-2.0-RC2 installer does not include files like
ptII/doc/expression.pdf

To see this
1) start up Kepler, 
2) Help -> Kepler documentation
3) Click on "Background information on Ptolemy
4) Click on "Documentation"
5) Click on "The Ptolemy II Expression Language"
6) Click on " available in PDF Format"
Note that you can get this page by dragging in an Expression
actor and clicking on Help.

It looks like the expressions.pdf file is not found, the stack trace is:

ptolemy.kernel.util.InvalidStateException: Failed to handle
'jar:file:/Applications/Kepler-2.0-RC2/Kepler.app/Kepler/ptolemy-8.0.0/target/ptolemy-8.0.jar!/doc/expressions.pdf#in_browser': 
Because:
Could not find
'jar:file:/Applications/Kepler-2.0-RC2/Kepler.app/Kepler/ptolemy-8.0.0/target/ptolemy-8.0.jar!/doc/expressions.pdf#in_browser'
    at ptolemy.actor.gui.BrowserTableau.show(BrowserTableau.java:172)
    at
ptolemy.actor.gui.Configuration.createPrimaryTableau(Configuration.java:582)
    at ptolemy.actor.gui.Configuration.openModel(Configuration.java:875)
    at ptolemy.actor.gui.HTMLViewer.hyperlinkUpdate(HTMLViewer.java:281)
    at javax.swing.JEditorPane.fireHyperlinkUpdate(JEditorPane.java:320)
    at
javax.swing.text.html.HTMLEditorKit$LinkController.activateLink(HTMLEditorKit.java:827)
    at
javax.swing.text.html.HTMLEditorKit$LinkController.mouseClicked(HTMLEditorKit.java:637)
    at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:212)
    at java.awt.Component.processMouseEvent(Component.java:5605)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3129)
    at java.awt.Component.processEvent(Component.java:5367)
    at java.awt.Container.processEvent(Container.java:2010)
    at java.awt.Component.dispatchEventImpl(Component.java:4068)
    at java.awt.Container.dispatchEventImpl(Container.java:2068)
    at java.awt.Component.dispatchEvent(Component.java:3903)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3945)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
    at java.awt.Container.dispatchEventImpl(Container.java:2054)
    at java.awt.Window.dispatchEventImpl(Window.java:1801)
    at java.awt.Component.dispatchEvent(Component.java:3903)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
    at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
    at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: java.io.FileNotFoundException: Could not find
'jar:file:/Applications/Kepler-2.0-RC2/Kepler.app/Kepler/ptolemy-8.0.0/target/ptolemy-8.0.jar!/doc/expressions.pdf#in_browser'
    at ptolemy.actor.gui.JNLPUtilities._lookupJarURL(JNLPUtilities.java:257)
    at
ptolemy.actor.gui.JNLPUtilities.saveJarURLAsTempFile(JNLPUtilities.java:155)
    at ptolemy.actor.gui.BrowserTableau.show(BrowserTableau.java:136)
    ... 26 more
Caused by: java.io.FileNotFoundException: Could not find
'jar:file:/Applications/Kepler-2.0-RC2/Kepler.app/Kepler/ptolemy-8.0.0/target/ptolemy-8.0.jar!/doc/expressions.pdf#in_browser'
    at ptolemy.actor.gui.JNLPUtilities._lookupJarURL(JNLPUtilities.java:257)
    at
ptolemy.actor.gui.JNLPUtilities.saveJarURLAsTempFile(JNLPUtilities.java:155)
    at ptolemy.actor.gui.BrowserTableau.show(BrowserTableau.java:136)
    at
ptolemy.actor.gui.Configuration.createPrimaryTableau(Configuration.java:582)
    at ptolemy.actor.gui.Configuration.openModel(Configuration.java:875)
    at ptolemy.actor.gui.HTMLViewer.hyperlinkUpdate(HTMLViewer.java:281)
    at javax.swing.JEditorPane.fireHyperlinkUpdate(JEditorPane.java:320)
    at
javax.swing.text.html.HTMLEditorKit$LinkController.activateLink(HTMLEditorKit.java:827)
    at
javax.swing.text.html.HTMLEditorKit$LinkController.mouseClicked(HTMLEditorKit.java:637)
    at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:212)
    at java.awt.Component.processMouseEvent(Component.java:5605)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3129)
    at java.awt.Component.processEvent(Component.java:5367)
    at java.awt.Container.processEvent(Container.java:2010)
    at java.awt.Component.dispatchEventImpl(Component.java:4068)
    at java.awt.Container.dispatchEventImpl(Container.java:2068)
    at java.awt.Component.dispatchEvent(Component.java:3903)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3945)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
    at java.awt.Container.dispatchEventImpl(Container.java:2054)
    at java.awt.Window.dispatchEventImpl(Window.java:1801)
    at java.awt.Component.dispatchEvent(Component.java:3903)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
    at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
    at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)




It looks like there is a 
/Applications/Kepler-2.0-RC2/Kepler.app/Kepler/ptolemy-8.0.0/target/ptolemy-8.0.jar
that has a doc/expressions.pdf file in it.

bash-3.2$ jar -tvf
/Applications/Kepler-2.0-RC2/Kepler.app/Kepler/ptolemy-8.0.0/target/ptolemy-8.0.jar
| grep expressions.pdf
1704045 Fri Apr 30 13:29:40 PDT 2010 doc/expressions.pdf

It could be the #in_browser, I'll take a look.

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Kepler-dev mailing list