package explorer error markers not displayed

2010-12-30
2013-03-15
  • Zbigniew Kacprzak

    Hi,
    I'm using Eclipse Galileo and PyDev 1.6.3 (no Aptana).
    When I edit a Python file, I can see errors in editor, however these errors are not shown in PyDev Package Explorer.
    Cleaning project did not help.
    When I switch to Java perspective, I can see my project files marked with errors icons.
    How can I restore showing errors in PyDev perspective's package explorer?

    BTW: other markers (e.g. CVS repository) are shown properly in PyDev Package Explorer.

    Zbigniew

     
  • Zbigniew Kacprzak

    This is my log output:

    !SESSION 2010-12-30 08:57:37.283 -----------------------------------------------
    eclipse.buildId=unknown
    java.version=1.6.0_21
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Framework arguments:  -product org.eclipse.epp.package.java.product
    Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.java.product
    !ENTRY org.eclipse.jface 2 0 2010-12-30 08:58:14.955
    !MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
    !SUBENTRY 1 org.eclipse.jface 2 0 2010-12-30 08:58:14.955
    !MESSAGE A conflict occurred for CTRL+SHIFT+T:
    Binding(CTRL+SHIFT+T,
        ParameterizedCommand(Command(org.eclipse.jdt.ui.navigate.open.type,Open Type,
            Open a type in a Java editor,
            Category(org.eclipse.ui.category.navigate,Navigate,null,true),
            ,
            ,,true),null),
        org.eclipse.ui.defaultAcceleratorConfiguration,
        org.eclipse.ui.contexts.window,,,system)
    Binding(CTRL+SHIFT+T,
        ParameterizedCommand(Command(com.python.pydev.analysis.actions.pyGlobalsBrowserWorkbench,Python Show Class Browser,
            Show Class Browser,
            Category(org.python.pydev.ui.category.source,Pydev - Editor,Pydev editor category,true),
            ,
            ,,true),null),
        org.eclipse.ui.defaultAcceleratorConfiguration,
        org.eclipse.ui.contexts.window,,,system)
    !ENTRY org.python.pydev.core 4 4 2010-12-30 08:58:30.174
    !MESSAGE sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    !STACK 0
    javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
        at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1623)
        at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:198)
        at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:192)
        at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1074)
        at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:128)
        at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:529)
        at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:465)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1120)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1147)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1131)
        at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:434)
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166)
        at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:904)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230)
        at org.python.pydev.logging.ping.LogPingSender.sendPing(LogPingSender.java:56)
        at org.python.pydev.logging.ping.SynchedLogPing.send(SynchedLogPing.java:158)
        at org.python.pydev.logging.ping.AsyncLogPing.consumeAllCommands(AsyncLogPing.java:125)
        at org.python.pydev.logging.ping.AsyncLogPing.access$0(AsyncLogPing.java:94)
        at org.python.pydev.logging.ping.AsyncLogPing$1.run(AsyncLogPing.java:41)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
        at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:325)
        at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:219)
        at sun.security.validator.Validator.validate(Validator.java:218)
        at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:126)
        at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:209)
        at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249)
        at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1053)
        ... 17 more
    Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
        at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:174)
        at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:238)
        at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:320)
        ... 23 more
    !ENTRY org.python.pydev 1 1 2010-12-30 09:26:48.747
    !MESSAGE Did not expect adapter request: interface org.eclipse.ui.views.tasklist.ITaskListResourceAdapter
    !ENTRY org.python.pydev 1 1 2010-12-30 09:26:53.341
    !MESSAGE Did not expect adapter request: interface org.eclipse.debug.ui.actions.IToggleBreakpointsTarget
    
     
  • Fabio Zadrozny

    Fabio Zadrozny - 2010-12-31

    Actually, pydev doesn't really show error markers in the pydev package explorer (just for a misconfiguration in the project).

    So, this isn't actually a bug (but a feature request).

    Cheers,

    Fabio

     
  • Zbigniew Kacprzak

    Oh,
    I was so sure I saw it in previous versions (of Eclipse or PyDev).
    Anyway, coule be nice then to see files marked in package explorer (like Java's expolorer does) if errors in source code.
    For now I have to use 'Problems' view or switch to Java perspective.

    If about 'Problems' view: it came to my mind that Tasks view could display 'PyTask' name in type, so I could sort all my taks across all projects (mixed: Java, Python, C++) without changing filtering all the time.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks