#973 Code Analysis only done once

closed-fixed
Editor (491)
5
2009-12-21
2009-09-23
No

I only get a new code anlysis on opening a file. On every change later I get something like this in the logs:
eclipse was started at 14:30 local time (UTC+2), first save one minute later, second save another minute later;
note the "The document time from an existing is higher than a new one, so, leave it be..."

The files are on my local hard drive and ls -la shows a correct timestamp for them...

Pydev log:

AnalysisBuilderRunnable: Created new builder: com.python.pydev.analysis.builder.AnalysisBuilderRunnable@1df07586 for:site.server -- Parser -- Factory: changed
AnalysisBuilderRunnable: doAnalysis() - site.server Parser
AdditionalProjectInterpreterInfo: Removing ast info from: site.server
AdditionalProjectInterpreterInfo: Adding ast info to: site.server
AnalysisBuilderRunnable: makeAnalysis:true analysisCause: Parser -- site.server
AnalysisBuilderRunnable: Adding markers for module: site.server

=== first save (14:31)===

PyTodoVisitor: Adding todo markers
PySyntaxChecker: PyDevBuilderPrefPage.getAnalyzeOnlyActiveEditor()
AnalysisBuilderRunnable: Created new builder: com.python.pydev.analysis.builder.AnalysisBuilderRunnable@33411fe1 for:site.server -- Builder -- Factory: changed
AnalysisBuilderRunnable: doAnalysis() - site.server Builder
AdditionalProjectInterpreterInfo: Removing ast info from: site.server
AnalysisBuilderVisitor$1: PyDevBuilderPrefPage.getAnalyzeOnlyActiveEditor()
AdditionalProjectInterpreterInfo: Adding ast info to: site.server
AnalysisBuilderRunnable: The document time from an existing is higher than a new one, so, leave it be... 1253709066642 > 1253709008862
AnalysisBuilderRunnable: Skipping: !forceAnalysis && analysisCause == ANALYSIS_CAUSE_BUILDER && PyDevBuilderPrefPage.getAnalyzeOnlyActiveEditor() -- site.server

=== second save (14:32)===

PyTodoVisitor: Adding todo markers
PySyntaxChecker: PyDevBuilderPrefPage.getAnalyzeOnlyActiveEditor()
AnalysisBuilderRunnable: Created new builder: com.python.pydev.analysis.builder.AnalysisBuilderRunnable@22d330da for:site.server -- Builder -- Factory: changed
AnalysisBuilderRunnable: doAnalysis() - site.server Builder
AdditionalProjectInterpreterInfo: Removing ast info from: site.server
AnalysisBuilderVisitor$1: PyDevBuilderPrefPage.getAnalyzeOnlyActiveEditor()
AdditionalProjectInterpreterInfo: Adding ast info to: site.server
AnalysisBuilderRunnable: The document time from an existing is higher than a new one, so, leave it be... 1253709124389 > 1253709008862
AnalysisBuilderRunnable: Skipping: !forceAnalysis && analysisCause == ANALYSIS_CAUSE_BUILDER && PyDevBuilderPrefPage.getAnalyzeOnlyActiveEditor() -- site.server

Discussion

  • Nikolas Tautenhahn

    some more data: opensuse 11.1, eclipse 3.4, any edit and mercurial eclipse installed besides pydev ... 1.5.0.1251989166

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2009-12-21

    Fixed for 1.5.4

    Git
    %h 8ebdb8c
    %ct 1261392905

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2009-12-21
    • status: open --> closed-fixed
     

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks