liblouis / liblouisutdml

An open-source library providing complete braille transcription services for xml, html and text documents
http://liblouis.io
GNU General Public License v3.0
24 stars 16 forks source link

warning: class is deprecated, use attribute instead #100

Closed sthibaul closed 1 year ago

sthibaul commented 1 year ago

Hello,

Since version 3.27.0 of liblouis, the liblouisutdml testsuite doesn't pass any more:

FAIL: test_mathml_woluwe/test_001
=================================

warning: lou_getDataPath is deprecated.
../../lbu_files/wiskunde.ctb:43: warning: class is deprecated, use attribute instead
../../lbu_files/wiskunde.ctb:44: warning: class is deprecated, use attribute instead
../../lbu_files/wiskunde.ctb:45: warning: class is deprecated, use attribute instead
../../lbu_files/wiskunde.ctb:46: warning: class is deprecated, use attribute instead
../../lbu_files/wiskunde.ctb:47: warning: class is deprecated, use attribute instead
../../lbu_files/wiskunde.ctb:49: warning: class is deprecated, use attribute instead
6 warnings issued
warning: lou_getDataPath is deprecated.
FAIL test_mathml_woluwe/test_001.test (exit status: 1)

And similarly for various other tests

sthibaul commented 1 year ago

(This is preventing that version of liblouis from entering Debian)

egli commented 1 year ago

I believe this bug has been fixed when merging #99

sthibaul commented 1 year ago

Apparently it's precisely 4edc39b1008510790e3d5369c69f348d1b75d864 that fixed the issues I was having