← Back to team overview

commonsense team mailing list archive

[Bug 528376] Re: Results not invalidated when study data changes

 

This behavior is due to cached analysis results data that refers to a
canonical document that has been removed. In general, analysis results
should be invalidated when any part of the study changes.


** Summary changed:

- File list not updated when study is edited : fatal
+ Results not invalidated when study data changes

** Changed in: luminoso
   Importance: Undecided => High

** Changed in: luminoso
       Status: New => Confirmed

** Changed in: luminoso
    Milestone: None => 1.1

-- 
Results not invalidated when study data changes
https://bugs.launchpad.net/bugs/528376
You received this bug notification because you are a member of
Commonsense Computing, which is the registrant for Luminoso.

Status in Luminoso: Confirmed

Bug description:
I removed documents from my canonical directory and then attempted to reanalyse.

Warning:
Sorry, an internal error occurred. Could you please send the authors the text below and a brief note about what you were doing? Thanks!
Traceback (most recent call last):
File "luminoso/window.pyc", line 258, in analyze
File "luminoso/study.pyc", line 367, in analyze
File "luminoso/study.pyc", line 299, in calculate_stats
File "luminoso/study.pyc", line 309, in report_stats
File "luminoso/study.pyc", line 306, in make_info_page
File "luminoso/report.pyc", line 31, in render_info_page
File "jinja2/environment.pyc", line 705, in render
File "<template>", line 17, in top-level template code
File "jinja2/filters.pyc", line 552, in do_round
UndefinedError: 'dict' object has no attribute u'best-solutions-for-me.txt'

(boom head shot!) 

best-solutions-for-me.txt was one of the files that I trashed.





References