Bug #1150

TBX: X.X, Impossible to export a concordance of a single occurrence

Added by Alexey Lavrentev almost 7 years ago. Updated 6 months ago.

Status:Closed Start date:11/26/2014
Priority:Normal Due date:
Assignee:- % Done:


Category:Commands / Export Spent time: -
Target version:TXM 0.7.7


To reproduce the bug on any corpus, make an index of e.g. ab.* and then a concordance of a word with frequency=1. When trying to export the concordance, you get "java.lang.ArithmeticException: / by zero" :

Concordance de <"abaisser"> dans le corpus DISCOURS
Terminé : un résultat
right: 2113 len: 13

Effectué en 15 msec. (15 msec)
** Echec de l'exportation de la concordance : java.lang.ArithmeticException: / by zero
Export sauvegardé : /media/alavrent/data/Mes documents/bfm - local/Stagiaires et vacataires/Valeria Raiskina/test4.csv
Effectué en 13 sec. (13475 msec)

Tested on TXM 0.7.6 (Linux) and on Portal 0.6.1


Bug due to a progression bar amount computation error (divide by 0)

Validation test

  • call concordance on DISCOURS with the following query:
  • export the concordance

MD : OK Linux64


#1 Updated by Matthieu Decorde almost 7 years ago

  • Category set to Commands / Export
  • Target version set to TXM 0.7.7

#2 Updated by Matthieu Decorde almost 7 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 80

#3 Updated by Matthieu Decorde almost 7 years ago

  • Description updated (diff)

#4 Updated by Sebastien Jacquot almost 7 years ago

Successfully tested on Seven.

#5 Updated by Matthieu Decorde over 6 years ago

  • Description updated (diff)
  • % Done changed from 80 to 100

#6 Updated by Matthieu Decorde 6 months ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF