Hi Andreas, It's because Python-3.11 gettext.translation doesn't have the 'codeset' parameter anymore. I'll submit a commit with a new patch to fix this problem. Thanks Andreas.
Best regards. ----- Mensagem original ----- De: "Andreas Tille" <andr...@an3as.eu> Para: "debian-med" <debian-med@lists.debian.org>, "Thiago Franco Moraes" <tfmor...@cti.gov.br> Enviadas: Quarta-feira, 8 de fevereiro de 2023 3:55:27 Assunto: Autopkgtest fails for invesalius Hi Thiago, seems that test never worked before but IMHO that should be fixed. Both debci[1] and salsa CI[2] agree about: autopkgtest [03:15:09]: test run-unit-test: [----------------------- [Errno 2] No such file or directory: '/home/debci/.config/invesalius/config.json' [Errno 2] No such file or directory: '/home/debci/.config/invesalius/config.cfg' Usage: app.py [options] Options: -h, --help show this help message and exit -d, --debug --no-gui -i DICOM_DIR, --import=DICOM_DIR --import-all=IMPORT_ALL --import-folder=IMPORT_FOLDER --remote-host=REMOTE_HOST -s SAVE, --save=SAVE Save the project after an import. -t THRESHOLD, --threshold=THRESHOLD Define the threshold for the export (e.g. 100-780). -e EXPORT, --export=EXPORT Export to STL. -a EXPORT_TO_ALL, --export-to-all=EXPORT_TO_ALL Export to STL for all mask presets. --export-project=EXPORT_PROJECT Export slices and mask to HDF5 or Nifti file. --no-masks Make InVesalius not export mask when exporting project. --use-pedal Use an external trigger pedal [Errno 2] No such file or directory: '/home/debci/.config/invesalius/config.json' [Errno 2] No such file or directory: '/home/debci/.config/invesalius/config.cfg' Traceback (most recent call last): File "/usr/share/invesalius/app.py", line 573, in <module> main() File "/usr/share/invesalius/app.py", line 566, in main non_gui_startup(options, args) File "/usr/share/invesalius/app.py", line 278, in non_gui_startup _ = i18n.InstallLanguage(lang) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/invesalius/invesalius/i18n.py", line 81, in InstallLanguage lang = gettext.translation('invesalius', language_dir, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: translation() got an unexpected keyword argument 'codeset' autopkgtest [03:15:10]: test run-unit-test: -----------------------] I admit in my local pbuilder chroot everything worked nicely (otherwise I would not have uploaded). Any idea what might be wrong here? Kind regards Andreas. [1] https://ci.debian.net/data/autopkgtest/testing/amd64/i/invesalius/31159375/log.gz [2] https://salsa.debian.org/med-team/invesalius/-/jobs/3915988 -- http://fam-tille.de -- Ressalva: Esta mensagem de correio eletrônico do Centro de Tecnologia da Informação Renato Archer - CTI é enviada exclusivamente a seu(s) destinatário(s) e pode conter informações confidenciais, protegidas por sigilo profissional. Sua utilização desautorizada é ilegal e sujeita o infrator às penas da lei. Se você a recebeu indevidamente, queira, por gentileza, reenviá-la ao remetente, esclarecendo o equívoco. Disclaimer: This e-mail message from Centro de Tecnologia da Informação Renato Archer - CTI is directed exclusively to its addressee(s) and may contain confidential data, protected under professional secrecy rules. Its unauthorized use is illegal and may subject the transgressor to the law's penalties. If you are not the addressee, please send it back, clarifying the failure.