Hi, I have no idea what the zbar error means. However, it seems to be harmless.
The division by zero error is already fixed in GIT, I have not done a new release yet. See https://github.com/sdaps/sdaps/issues/57 Benjamin On Sa, 2014-12-06 at 18:44 +0000, Uxio Perez wrote: > Hi, I have created a sdaps project with LibreOffice. I have used --print- > questoinnaire-id option. The survey is 4 pages long. > > When using recognize --identify this error appears multiple times: > > > > WARNING: /build/buildd/zbar-0.10+doc/zbar/decoder/code128.c:335: > postprocess: Assertion "dcode->buf[dcode128->character - 1] == STOP_REV" > failed. > dir=1 buf[0007]=68 12 63 40 2f 52 35 > > > > However, identify process finishes. Then I use the reorder option, and only > this happens: > > > > --------------------------------------------------------------------------- > --- > - SDAPS -- reorder > --------------------------------------------------------------------------- > --- > > > > After this, I use recognize option, but this happens: > > > > Traceback (most recent call last): > > File "/usr/local/bin/sdaps", line 23, in <module> > sys.exit(sdaps.main()) > File "/usr/local/lib/python2.7/dist-packages/sdaps/__init__.py", line 64, > in main > return cmdline['_func'](cmdline) > File "/usr/local/lib/python2.7/dist-packages/sdaps/script.py", line 105, > in decorated_function > result = function(cmdline) > File "/usr/local/lib/python2.7/dist-packages/sdaps/cmdline/recognize.py", > line 57, in recognize > return recognize.recognize(survey, filter) > File "/usr/local/lib/python2.7/dist- > packages/sdaps/recognize/__init__.py", line 32, in recognize > survey.iterate_progressbar(survey.questionnaire.recognize.recognize, > filter) > File "/usr/local/lib/python2.7/dist-packages/sdaps/model/survey.py", line > 261, in iterate_progressbar > function() > File "/usr/local/lib/python2.7/dist-packages/sdaps/recognize/buddies.py", > line 479, in recognize > qobject.recognize.recognize() > File "/usr/local/lib/python2.7/dist-packages/sdaps/recognize/buddies.py", > line 519, in recognize > box.recognize.recognize() > File "/usr/local/lib/python2.7/dist-packages/sdaps/recognize/buddies.py", > line 697, in recognize > metric_quality = lower[2] + (upper[2] - lower[2]) * (value - lower[0]) > / (upper[0] - lower[0]) > ZeroDivisionError: float division by zero > > > Then the recognize process stops without sucess. > > Any help would be appreciated, I have 305 surveys full of checked boxes! :) > > Thanks and sorry for my english > > Uxio > > > >
signature.asc
Description: This is a digitally signed message part
