← Back to team overview

zim-wiki team mailing list archive

Bug?

 

Ich habe folgendes mit F5 berechnet:
1,17*1023/3,3=3,627

Das Resultat:

This is zim 0.65
Platform: posix
Locale: de_DE UTF-8
FS encoding: UTF-8
Python: (2, 7, 12, 'final', 0)
Gtk: (2, 24, 31)
Pygtk: (2, 24, 0)
Zim revision is:
  branch: zim-trunk
  revision: 805
jaap.karssenberg@xxxxxxxxx-20151101144245-0g7s8a7qjt5xu1d0 date:
2015-11-01 15:42:45 +0100

======= Traceback =======
  File "/usr/lib/python2.7/dist-packages/zim/actions.py", line 109, in
func self.func(instance, *arg, **kwarg)
  File "/usr/lib/python2.7/dist-packages/zim/plugins/arithmetic.py",
line 53, in calculate parser.parse( buf )
  File "/usr/lib/python2.7/dist-packages/zim/inc/arithmetic.py", line
469, in parse self.parseLine( i, textBuffer, variables=self.variables,
functions=self.functions ) File
"/usr/lib/python2.7/dist-packages/zim/inc/arithmetic.py", line 392, in
parseLine variables=variables, functions=functions ) ) File
"/usr/lib/python2.7/dist-packages/zim/inc/arithmetic.py", line 243, in
evaluate return AddCommas( safe_eval( ''.join( expressionD ) ) ) File
"/usr/lib/python2.7/dist-packages/zim/inc/arithmetic.py", line 139, in
safe_eval re = eval(expression, GLOBALS, {'Decimal': Decimal}) File
"<string>", line 1, in <module> File "/usr/lib/python2.7/decimal.py",
line 547, in __new__ "Invalid literal for Decimal: %r" % value)
  File "/usr/lib/python2.7/decimal.py", line 3872, in _raise_error
    raise error(explanation)
InvalidOperation: Invalid literal for Decimal: 'Dig undefined'


Follow ups