(wenv) [sylvain@FREED0MSHA tests-py3]$ python -m unittest tctest.py -v
08:40:07: Debug: Adding duplicate image handler for 'Windows bitmap file'
08:40:07: Debug: Adding duplicate animation handler for '1' type
08:40:07: Debug: Adding duplicate animation handler for '2' type
08:40:07: Debug: Adding duplicate image handler for 'Windows bitmap file'
08:40:07: Debug: Adding duplicate animation handler for '1' type
08:40:07: Debug: Adding duplicate animation handler for '2' type
Traceback (most recent call last):
File "<frozen runpy="">", line 198, in run_module_as_main
File "<frozen runpy="">", line 88, in _run_code
File "/usr/lib/python3.11/unittest/main.py", line 18, in <module>
main(module=None)
File "/usr/lib/python3.11/unittest/main.py", line 101, in init
self.parseArgs(argv)
File "/usr/lib/python3.11/unittest/main.py", line 150, in parseArgs
self.createTests()
File "/usr/lib/python3.11/unittest/main.py", line 161, in createTests
self.test = self.testLoader.loadTestsFromNames(self.testNames,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 232, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 232, in <listcomp>
suites = [self.loadTestsFromName(name, module) for name in names]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 162, in loadTestsFromName
module = import(module_name)
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/tctest.py", line 96, in <module>
class wxTestCase(TestCase):
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/tctest.py", line 99, in wxTestCase
from taskcoachlib import gui
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/gui/init.py", line 20, in <module>
from .mainwindow import MainWindow
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/gui/mainwindow.py", line 22, in <module>
from .. import application, meta, widgets, \
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/init.py", line 22, in <module>
from .itemctrl import Column
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/itemctrl.py", line 26, in <module>
from . import draganddrop
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/draganddrop.py", line 30, in <module>
from ..mailer import thunderbird, outlook
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/mailer/thunderbird.py", line 19, in <module>
from .. import persistence, operating_system
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/init.py", line 22, in <module>
from .xml.writer import XMLWriter, TemplateXMLWriter, ChangesXMLWriter
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/xml/init.py", line 21, in <module>
from .reader import XMLReader, TemplateXMLReader, ChangesXMLReader
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/xml/reader.py", line 29, in <module>
from ...changes import ChangeMonitor
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/changes/init.py", line 20, in <module>
from .monitor import ChangeMonitor
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/changes/monitor.py", line 20, in <module>
from taskcoachlib.domain.categorizable import CategorizableCompositeObject
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/init.py", line 21, in <module>
from . import attachment, attribute, base, categorizable, category, date, effort, note, task
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/attachment/init.py", line 19, in <module>
from taskcoachlib.domain.attachment.attachment import *
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/attachment/attachment.py", line 25, in <module>
from taskcoachlib.domain import base
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/base/init.py", line 19, in <module>
from .object import Object, CompositeObject, SynchronizedObject
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/base/object.py", line 25, in <module>
from ..date import DateTime, Now
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/date/init.py", line 27, in <module>
from .snooze import snoozeChoices
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/date/snooze.py", line 22, in <module>
snoozeChoices = [(0, ("Don't snooze")), (5, ('5 minutes')),
^^^^^^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/i18n/init.py", line 168, in translate
return Translator().translate(string)
^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/patterns/singleton.py", line 32, in call
cls.instance = super().call(args, *kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Translator.init() missing 1 required positional argument: 'language'
(wenv) [sylvain@FREED0MSHA tests-py3]$ python -m unittest tctest.py -v
09:27:06: Debug: Adding duplicate image handler for 'Windows bitmap file'
09:27:06: Debug: Adding duplicate animation handler for '1' type
09:27:06: Debug: Adding duplicate animation handler for '2' type
09:27:06: Debug: Adding duplicate image handler for 'Windows bitmap file'
09:27:06: Debug: Adding duplicate animation handler for '1' type
09:27:06: Debug: Adding duplicate animation handler for '2' type
Traceback (most recent call last):
File "<frozen runpy="">", line 198, in _run_module_as_main
File "<frozen runpy="">", line 88, in _run_code
File "/usr/lib/python3.11/unittest/main.py", line 18, in <module>
main(module=None)
File "/usr/lib/python3.11/unittest/main.py", line 101, in init
self.parseArgs(argv)
File "/usr/lib/python3.11/unittest/main.py", line 150, in parseArgs
self.createTests()
File "/usr/lib/python3.11/unittest/main.py", line 161, in createTests
self.test = self.testLoader.loadTestsFromNames(self.testNames,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 232, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 232, in <listcomp>
suites = [self.loadTestsFromName(name, module) for name in names]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 162, in loadTestsFromName
module = import(module_name)
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/tctest.py", line 96, in <module>
class wxTestCase(TestCase):
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/tctest.py", line 99, in wxTestCase
from taskcoachlib import gui
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/gui/init.py", line 20, in <module>
from .mainwindow import MainWindow
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/gui/mainwindow.py", line 22, in <module>
from .. import application, meta, widgets, \
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/init.py", line 22, in <module>
from .itemctrl import Column
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/itemctrl.py", line 26, in <module>
from . import draganddrop
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/draganddrop.py", line 30, in <module>
from ..mailer import thunderbird, outlook
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/mailer/thunderbird.py", line 19, in <module>
from .. import persistence, operating_system
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/init.py", line 22, in <module>
from .xml.writer import XMLWriter, TemplateXMLWriter, ChangesXMLWriter
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/xml/init.py", line 21, in <module>
from .reader import XMLReader, TemplateXMLReader, ChangesXMLReader
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/xml/reader.py", line 29, in <module>
from ...changes import ChangeMonitor
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/changes/init.py", line 20, in <module>
from .monitor import ChangeMonitor
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/changes/monitor.py", line 20, in <module>
from taskcoachlib.domain.categorizable import CategorizableCompositeObject
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/init.py", line 21, in <module>
from . import attachment, attribute, base, categorizable, category, date, effort, note, task
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/attachment/init.py", line 19, in <module>
from taskcoachlib.domain.attachment.attachment import *
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/attachment/attachment.py", line 25, in <module>
from taskcoachlib.domain import base
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/base/init.py", line 19, in <module>
from .object import Object, CompositeObject, SynchronizedObject
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/base/object.py", line 25, in <module>
from ..date import DateTime, Now
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/date/init.py", line 27, in <module>
from .snooze import snoozeChoices
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/date/snooze.py", line 22, in <module>
snoozeChoices = [(0, ("Don't snooze")), (5, ('5 minutes')),
^^^^^^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/i18n/init.py", line 168, in translate
return Translator().translate(string)
^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/patterns/singleton.py", line 32, in call
cls.instance = super().call(args, *kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Translator.init() missing 1 required positional argument: 'language'
(wenv) [sylvain@FREED0MSHA tests-py3]$
(wenv) [sylvain@FREED0MSHA tests-py3]$ python -m unittest tctest.py -v
10:11:06: Debug: Adding duplicate image handler for 'Windows bitmap file'
10:11:06: Debug: Adding duplicate animation handler for '1' type
10:11:06: Debug: Adding duplicate animation handler for '2' type
10:11:06: Debug: Adding duplicate image handler for 'Windows bitmap file'
10:11:06: Debug: Adding duplicate animation handler for '1' type
10:11:06: Debug: Adding duplicate animation handler for '2' type
Traceback (most recent call last):
File "<frozen runpy="">", line 198, in _run_module_as_main
File "<frozen runpy="">", line 88, in _run_code
File "/usr/lib/python3.11/unittest/main.py", line 18, in <module>
main(module=None)
File "/usr/lib/python3.11/unittest/main.py", line 101, in init
self.parseArgs(argv)
File "/usr/lib/python3.11/unittest/main.py", line 150, in parseArgs
self.createTests()
File "/usr/lib/python3.11/unittest/main.py", line 161, in createTests
self.test = self.testLoader.loadTestsFromNames(self.testNames,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 232, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 232, in <listcomp>
suites = [self.loadTestsFromName(name, module) for name in names]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 162, in loadTestsFromName
module = import(module_name)
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/tctest.py", line 96, in <module>
class wxTestCase(TestCase):
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/tctest.py", line 99, in wxTestCase
from taskcoachlib import gui
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/gui/init.py", line 20, in <module>
from .mainwindow import MainWindow
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/gui/mainwindow.py", line 22, in <module>
from .. import application, meta, widgets, \
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/init.py", line 22, in <module>
from .itemctrl import Column
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/itemctrl.py", line 26, in <module>
from . import draganddrop
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/draganddrop.py", line 30, in <module>
from ..mailer import thunderbird, outlook
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/mailer/thunderbird.py", line 19, in <module>
from .. import persistence, operating_system
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/init.py", line 22, in <module>
from .xml.writer import XMLWriter, TemplateXMLWriter, ChangesXMLWriter
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/xml/init.py", line 21, in <module>
from .reader import XMLReader, TemplateXMLReader, ChangesXMLReader
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/xml/reader.py", line 29, in <module>
from ...changes import ChangeMonitor
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/changes/init.py", line 20, in <module>
from .monitor import ChangeMonitor
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/changes/monitor.py", line 20, in <module>
from taskcoachlib.domain.categorizable import CategorizableCompositeObject
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/init.py", line 21, in <module>
from . import attachment, attribute, base, categorizable, category, date, effort, note, task
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/attachment/init.py", line 19, in <module>
from taskcoachlib.domain.attachment.attachment import *
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/attachment/attachment.py", line 25, in <module>
from taskcoachlib.domain import base
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/base/init.py", line 19, in <module>
from .object import Object, CompositeObject, SynchronizedObject
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/base/object.py", line 25, in <module>
from ..date import DateTime, Now
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/date/init.py", line 27, in <module>
from .snooze import snoozeChoices
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/date/snooze.py", line 22, in <module>
snoozeChoices = [(0, ("Don't snooze")), (5, ('5 minutes')),
^^^^^^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/i18n/init.py", line 168, in translate
return Translator().translate(string)
^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/patterns/singleton.py", line 32, in call
cls.instance = super().call(args, *kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Translator.init() missing 1 required positional argument: 'language'
(wenv) [sylvain@FREED0MSHA tests-py3]$ python -m unittest tctest.py -v
10:18:14: Debug: Adding duplicate image handler for 'Windows bitmap file'
10:18:14: Debug: Adding duplicate animation handler for '1' type
10:18:14: Debug: Adding duplicate animation handler for '2' type
10:18:14: Debug: Adding duplicate image handler for 'Windows bitmap file'
10:18:14: Debug: Adding duplicate animation handler for '1' type
10:18:14: Debug: Adding duplicate animation handler for '2' type
Traceback (most recent call last):
File "<frozen runpy="">", line 198, in _run_module_as_main
File "<frozen runpy="">", line 88, in _run_code
File "/usr/lib/python3.11/unittest/main.py", line 18, in <module>
main(module=None)
File "/usr/lib/python3.11/unittest/main.py", line 101, in init
self.parseArgs(argv)
File "/usr/lib/python3.11/unittest/main.py", line 150, in parseArgs
self.createTests()
File "/usr/lib/python3.11/unittest/main.py", line 161, in createTests
self.test = self.testLoader.loadTestsFromNames(self.testNames,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 232, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 232, in <listcomp>
suites = [self.loadTestsFromName(name, module) for name in names]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 162, in loadTestsFromName
module = import(module_name)
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/tctest.py", line 96, in <module>
class wxTestCase(TestCase):
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/tctest.py", line 99, in wxTestCase
from taskcoachlib import gui
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/gui/init.py", line 20, in <module>
from .mainwindow import MainWindow
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/gui/mainwindow.py", line 22, in <module>
from .. import application, meta, widgets, \
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/init.py", line 22, in <module>
from .itemctrl import Column
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/itemctrl.py", line 26, in <module>
from . import draganddrop
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/draganddrop.py", line 30, in <module>
from ..mailer import thunderbird, outlook
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/mailer/thunderbird.py", line 19, in <module>
from .. import persistence, operating_system
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/init.py", line 22, in <module>
from .xml.writer import XMLWriter, TemplateXMLWriter, ChangesXMLWriter
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/xml/init.py", line 21, in <module>
from .reader import XMLReader, TemplateXMLReader, ChangesXMLReader
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/xml/reader.py", line 29, in <module>
from ...changes import ChangeMonitor
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/changes/init.py", line 20, in <module>
from .monitor import ChangeMonitor
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/changes/monitor.py", line 20, in <module>
from taskcoachlib.domain.categorizable import CategorizableCompositeObject
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/init.py", line 21, in <module>
from . import attachment, attribute, base, categorizable, category, date, effort, note, task
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/attachment/init.py", line 19, in <module>
from taskcoachlib.domain.attachment.attachment import *
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/attachment/attachment.py", line 25, in <module>
from taskcoachlib.domain import base
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/base/init.py", line 19, in <module>
from .object import Object, CompositeObject, SynchronizedObject
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/base/object.py", line 25, in <module>
from ..date import DateTime, Now
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/date/init.py", line 27, in <module>
from .snooze import snoozeChoices
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/date/snooze.py", line 22, in <module>
snoozeChoices = [(0, ("Don't snooze")), (5, ('5 minutes')),
^^^^^^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/i18n/init.py", line 168, in translate
return Translator().translate(string)
^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/patterns/singleton.py", line 32, in call
cls.instance = super().call(args, *kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Translator.init() missing 1 required positional argument: 'language'
(wenv) [sylvain@FREED0MSHA tests-py3]$ python -m unittest tctest.py -v
14:44:58: Debug: Adding duplicate image handler for 'Windows bitmap file'
14:44:58: Debug: Adding duplicate animation handler for '1' type
14:44:58: Debug: Adding duplicate animation handler for '2' type
14:44:58: Debug: Adding duplicate image handler for 'Windows bitmap file'
14:44:58: Debug: Adding duplicate animation handler for '1' type
14:44:58: Debug: Adding duplicate animation handler for '2' type
Traceback (most recent call last):
File "<frozen runpy="">", line 198, in _run_module_as_main
File "<frozen runpy="">", line 88, in _run_code
File "/usr/lib/python3.11/unittest/main.py", line 18, in <module>
main(module=None)
File "/usr/lib/python3.11/unittest/main.py", line 101, in init
self.parseArgs(argv)
File "/usr/lib/python3.11/unittest/main.py", line 150, in parseArgs
self.createTests()
File "/usr/lib/python3.11/unittest/main.py", line 161, in createTests
self.test = self.testLoader.loadTestsFromNames(self.testNames,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 232, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 232, in <listcomp>
suites = [self.loadTestsFromName(name, module) for name in names]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 162, in loadTestsFromName
module = import(module_name)
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/tctest.py", line 96, in <module>
class wxTestCase(TestCase):
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/tctest.py", line 99, in wxTestCase
from taskcoachlib import gui
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/gui/init.py", line 20, in <module>
from .mainwindow import MainWindow
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/gui/mainwindow.py", line 22, in <module>
from .. import application, meta, widgets, \
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/init.py", line 22, in <module>
from .itemctrl import Column
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/itemctrl.py", line 26, in <module>
from . import draganddrop
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/draganddrop.py", line 30, in <module>
from ..mailer import thunderbird, outlook
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/mailer/thunderbird.py", line 19, in <module>
from .. import persistence, operating_system
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/init.py", line 22, in <module>
from .xml.writer import XMLWriter, TemplateXMLWriter, ChangesXMLWriter
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/xml/init.py", line 21, in <module>
from .reader import XMLReader, TemplateXMLReader, ChangesXMLReader
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/xml/reader.py", line 29, in <module>
from ...changes import ChangeMonitor
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/changes/init.py", line 20, in <module>
from .monitor import ChangeMonitor
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/changes/monitor.py", line 20, in <module>
from taskcoachlib.domain.categorizable import CategorizableCompositeObject
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/init.py", line 21, in <module>
from . import attachment, attribute, base, categorizable, category, date, effort, note, task
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/attachment/init.py", line 19, in <module>
from taskcoachlib.domain.attachment.attachment import *
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/attachment/attachment.py", line 25, in <module>
from taskcoachlib.domain import base
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/base/init.py", line 19, in <module>
from .object import Object, CompositeObject, SynchronizedObject
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/base/object.py", line 25, in <module>
from ..date import DateTime, Now
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/date/init.py", line 27, in <module>
from .snooze import snoozeChoices
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/date/snooze.py", line 22, in <module>
snoozeChoices = [(0, ("Don't snooze")), (5, ('5 minutes')),
^^^^^^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/i18n/init.py", line 170, in translate
return Translator().translate(string)
^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/patterns/singleton.py", line 32, in call
cls.instance = super().call(args, *kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Translator.init() missing 1 required positional argument: 'language'
(wenv) [sylvain@FREED0MSHA tests-py3]$ python -m unittest tctest.py -v
14:48:32: Debug: Adding duplicate image handler for 'Windows bitmap file'
14:48:32: Debug: Adding duplicate animation handler for '1' type
14:48:32: Debug: Adding duplicate animation handler for '2' type
14:48:32: Debug: Adding duplicate image handler for 'Windows bitmap file'
14:48:32: Debug: Adding duplicate animation handler for '1' type
14:48:32: Debug: Adding duplicate animation handler for '2' type
Traceback (most recent call last):
File "<frozen runpy="">", line 198, in _run_module_as_main
File "<frozen runpy="">", line 88, in _run_code
File "/usr/lib/python3.11/unittest/main.py", line 18, in <module>
main(module=None)
File "/usr/lib/python3.11/unittest/main.py", line 101, in init
self.parseArgs(argv)
File "/usr/lib/python3.11/unittest/main.py", line 150, in parseArgs
self.createTests()
File "/usr/lib/python3.11/unittest/main.py", line 161, in createTests
self.test = self.testLoader.loadTestsFromNames(self.testNames,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 232, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 232, in <listcomp>
suites = [self.loadTestsFromName(name, module) for name in names]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 162, in loadTestsFromName
module = import(module_name)
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/tctest.py", line 96, in <module>
class wxTestCase(TestCase):
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/tctest.py", line 99, in wxTestCase
from taskcoachlib import gui
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/gui/init.py", line 20, in <module>
from .mainwindow import MainWindow
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/gui/mainwindow.py", line 22, in <module>
from .. import application, meta, widgets, \
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/init.py", line 22, in <module>
from .itemctrl import Column
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/itemctrl.py", line 26, in <module>
from . import draganddrop
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/draganddrop.py", line 30, in <module>
from ..mailer import thunderbird, outlook
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/mailer/thunderbird.py", line 19, in <module>
from .. import persistence, operating_system
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/init.py", line 22, in <module>
from .xml.writer import XMLWriter, TemplateXMLWriter, ChangesXMLWriter
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/xml/init.py", line 21, in <module>
from .reader import XMLReader, TemplateXMLReader, ChangesXMLReader
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/xml/reader.py", line 29, in <module>
from ...changes import ChangeMonitor
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/changes/init.py", line 20, in <module>
from .monitor import ChangeMonitor
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/changes/monitor.py", line 20, in <module>
from taskcoachlib.domain.categorizable import CategorizableCompositeObject
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/init.py", line 21, in <module>
from . import attachment, attribute, base, categorizable, category, date, effort, note, task
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/attachment/init.py", line 19, in <module>
from taskcoachlib.domain.attachment.attachment import *
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/attachment/attachment.py", line 25, in <module>
from taskcoachlib.domain import base
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/base/init.py", line 19, in <module>
from .object import Object, CompositeObject, SynchronizedObject
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/base/object.py", line 25, in <module>
from ..date import DateTime, Now
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/date/init.py", line 27, in <module>
from .snooze import snoozeChoices
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/date/snooze.py", line 22, in <module>
snoozeChoices = [(0, ("Don't snooze")), (5, ('5 minutes')),
^^^^^^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/i18n/init.py", line 170, in translate
return Translator().translate(string)
^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/patterns/singleton.py", line 32, in call
cls.instance = super().call(args, *kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Translator.init() missing 1 required positional argument: 'language'
(wenv) [sylvain@FREED0MSHA tests-py3]$ python -m unittest tctest.py -v
15:03:43: Debug: Adding duplicate image handler for 'Windows bitmap file'
15:03:43: Debug: Adding duplicate animation handler for '1' type
15:03:43: Debug: Adding duplicate animation handler for '2' type
15:03:43: Debug: Adding duplicate image handler for 'Windows bitmap file'
15:03:43: Debug: Adding duplicate animation handler for '1' type
15:03:43: Debug: Adding duplicate animation handler for '2' type
Traceback (most recent call last):
File "<frozen runpy="">", line 198, in _run_module_as_main
File "<frozen runpy="">", line 88, in _run_code
File "/usr/lib/python3.11/unittest/main.py", line 18, in <module>
main(module=None)
File "/usr/lib/python3.11/unittest/main.py", line 101, in init
self.parseArgs(argv)
File "/usr/lib/python3.11/unittest/main.py", line 150, in parseArgs
self.createTests()
File "/usr/lib/python3.11/unittest/main.py", line 161, in createTests
self.test = self.testLoader.loadTestsFromNames(self.testNames,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 232, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 232, in <listcomp>
suites = [self.loadTestsFromName(name, module) for name in names]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 162, in loadTestsFromName
module = import(module_name)
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/tctest.py", line 96, in <module>
class wxTestCase(TestCase):
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/tctest.py", line 99, in wxTestCase
from taskcoachlib import gui
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/gui/init.py", line 20, in <module>
from .mainwindow import MainWindow
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/gui/mainwindow.py", line 22, in <module>
from .. import application, meta, widgets, \
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/init.py", line 22, in <module>
from .itemctrl import Column
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/itemctrl.py", line 26, in <module>
from . import draganddrop
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/draganddrop.py", line 30, in <module>
from ..mailer import thunderbird, outlook
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/mailer/thunderbird.py", line 19, in <module>
from .. import persistence, operating_system
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/init.py", line 22, in <module>
from .xml.writer import XMLWriter, TemplateXMLWriter, ChangesXMLWriter
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/xml/init.py", line 21, in <module>
from .reader import XMLReader, TemplateXMLReader, ChangesXMLReader
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/xml/reader.py", line 29, in <module>
from ...changes import ChangeMonitor
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/changes/init.py", line 20, in <module>
from .monitor import ChangeMonitor
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/changes/monitor.py", line 20, in <module>
from taskcoachlib.domain.categorizable import CategorizableCompositeObject
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/init.py", line 21, in <module>
from . import attachment, attribute, base, categorizable, category, date, effort, note, task
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/attachment/init.py", line 19, in <module>
from taskcoachlib.domain.attachment.attachment import *
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/attachment/attachment.py", line 25, in <module>
from taskcoachlib.domain import base
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/base/init.py", line 19, in <module>
from .object import Object, CompositeObject, SynchronizedObject
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/base/object.py", line 25, in <module>
from ..date import DateTime, Now
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/date/init.py", line 27, in <module>
from .snooze import snoozeChoices
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/date/snooze.py", line 22, in <module>
snoozeChoices = [(0, ("Don't snooze")), (5, ('5 minutes')),
^^^^^^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/i18n/init.py", line 168, in translate
return Translator().translate(string)
^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/patterns/singleton.py", line 32, in call
cls.instance = super().call(args, *kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Translator.init() missing 1 required positional argument: 'language'
(wenv) [sylvain@FREED0MSHA tests-py3]$ python -m unittest tctest.py -v
15:14:25: Debug: Adding duplicate image handler for 'Windows bitmap file'
15:14:25: Debug: Adding duplicate animation handler for '1' type
15:14:25: Debug: Adding duplicate animation handler for '2' type
15:14:25: Debug: Adding duplicate image handler for 'Windows bitmap file'
15:14:25: Debug: Adding duplicate animation handler for '1' type
15:14:25: Debug: Adding duplicate animation handler for '2' type
Traceback (most recent call last):
File "<frozen runpy="">", line 198, in _run_module_as_main
File "<frozen runpy="">", line 88, in _run_code
File "/usr/lib/python3.11/unittest/main.py", line 18, in <module>
main(module=None)
File "/usr/lib/python3.11/unittest/main.py", line 101, in init
self.parseArgs(argv)
File "/usr/lib/python3.11/unittest/main.py", line 150, in parseArgs
self.createTests()
File "/usr/lib/python3.11/unittest/main.py", line 161, in createTests
self.test = self.testLoader.loadTestsFromNames(self.testNames,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 232, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 232, in <listcomp>
suites = [self.loadTestsFromName(name, module) for name in names]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 162, in loadTestsFromName
module = import(module_name)
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/tctest.py", line 96, in <module>
class wxTestCase(TestCase):
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/tctest.py", line 99, in wxTestCase
from taskcoachlib import gui
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/gui/init.py", line 20, in <module>
from .mainwindow import MainWindow
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/gui/mainwindow.py", line 22, in <module>
from .. import application, meta, widgets, \
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/init.py", line 22, in <module>
from .itemctrl import Column
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/itemctrl.py", line 26, in <module>
from . import draganddrop
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/draganddrop.py", line 30, in <module>
from ..mailer import thunderbird, outlook
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/mailer/thunderbird.py", line 19, in <module>
from .. import persistence, operating_system
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/init.py", line 22, in <module>
from .xml.writer import XMLWriter, TemplateXMLWriter, ChangesXMLWriter
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/xml/init.py", line 21, in <module>
from .reader import XMLReader, TemplateXMLReader, ChangesXMLReader
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/xml/reader.py", line 29, in <module>
from ...changes import ChangeMonitor
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/changes/init.py", line 20, in <module>
from .monitor import ChangeMonitor
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/changes/monitor.py", line 20, in <module>
from taskcoachlib.domain.categorizable import CategorizableCompositeObject
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/init.py", line 21, in <module>
from . import attachment, attribute, base, categorizable, category, date, effort, note, task
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/attachment/init.py", line 19, in <module>
from taskcoachlib.domain.attachment.attachment import *
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/attachment/attachment.py", line 25, in <module>
from taskcoachlib.domain import base
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/base/init.py", line 19, in <module>
from .object import Object, CompositeObject, SynchronizedObject
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/base/object.py", line 25, in <module>
from ..date import DateTime, Now
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/date/init.py", line 27, in <module>
from .snooze import snoozeChoices
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/date/snooze.py", line 22, in <module>
snoozeChoices = [(0, ("Don't snooze")), (5, ('5 minutes')),
^^^^^^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/i18n/init.py", line 168, in translate
return Translator().translate(string)
^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/patterns/singleton.py", line 32, in call
cls.instance = super().call(args, *kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Translator.init() missing 1 required positional argument: 'language'
(wenv) [sylvain@FREED0MSHA tests-py3]$ python -m unittest tctest.py -v
10:10:08: Debug: Adding duplicate image handler for 'Windows bitmap file'
10:10:08: Debug: Adding duplicate animation handler for '1' type
10:10:08: Debug: Adding duplicate animation handler for '2' type
10:10:08: Debug: Adding duplicate image handler for 'Windows bitmap file'
10:10:08: Debug: Adding duplicate animation handler for '1' type
10:10:08: Debug: Adding duplicate animation handler for '2' type
Traceback (most recent call last):
File "<frozen runpy="">", line 198, in _run_module_as_main
File "<frozen runpy="">", line 88, in _run_code
File "/usr/lib/python3.11/unittest/main.py", line 18, in <module>
main(module=None)
File "/usr/lib/python3.11/unittest/main.py", line 101, in init
self.parseArgs(argv)
File "/usr/lib/python3.11/unittest/main.py", line 150, in parseArgs
self.createTests()
File "/usr/lib/python3.11/unittest/main.py", line 161, in createTests
self.test = self.testLoader.loadTestsFromNames(self.testNames,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 232, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 232, in <listcomp>
suites = [self.loadTestsFromName(name, module) for name in names]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 162, in loadTestsFromName
module = import(module_name)
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/tctest.py", line 96, in <module>
class wxTestCase(TestCase):
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/tctest.py", line 99, in wxTestCase
from taskcoachlib import gui
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/gui/init.py", line 20, in <module>
from .mainwindow import MainWindow
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/gui/mainwindow.py", line 22, in <module>
from .. import application, meta, widgets, \
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/init.py", line 22, in <module>
from .itemctrl import Column
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/itemctrl.py", line 26, in <module>
from . import draganddrop
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/draganddrop.py", line 30, in <module>
from ..mailer import thunderbird, outlook
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/mailer/thunderbird.py", line 19, in <module>
from .. import persistence, operating_system
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/init.py", line 22, in <module>
from .xml.writer import XMLWriter, TemplateXMLWriter, ChangesXMLWriter
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/xml/init.py", line 21, in <module>
from .reader import XMLReader, TemplateXMLReader, ChangesXMLReader
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/xml/reader.py", line 29, in <module>
from ...changes import ChangeMonitor
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/changes/init.py", line 20, in <module>
from .monitor import ChangeMonitor
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/changes/monitor.py", line 20, in <module>
from taskcoachlib.domain.categorizable import CategorizableCompositeObject
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/init.py", line 21, in <module>
from . import attachment, attribute, base, categorizable, category, date, effort, note, task
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/attachment/init.py", line 19, in <module>
from taskcoachlib.domain.attachment.attachment import *
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/attachment/attachment.py", line 25, in <module>
from taskcoachlib.domain import base
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/base/init.py", line 19, in <module>
from .object import Object, CompositeObject, SynchronizedObject
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/base/object.py", line 25, in <module>
from ..date import DateTime, Now
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/date/init.py", line 27, in <module>
from .snooze import snoozeChoices
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/date/snooze.py", line 22, in <module>
snoozeChoices = [(0, ("Don't snooze")), (5, ('5 minutes')),
^^^^^^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/i18n/init.py", line 168, in translate
return Translator().translate(string)
^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/patterns/singleton.py", line 32, in call
cls.instance = super().call(args, *kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Translator.init() missing 1 required positional argument: 'language'
(wenv) [sylvain@FREED0MSHA tests-py3]$ python -m unittest tctest.py -v
20:07:20: Debug: Adding duplicate image handler for 'Windows bitmap file'
20:07:20: Debug: Adding duplicate animation handler for '1' type
20:07:20: Debug: Adding duplicate animation handler for '2' type
20:07:20: Debug: Adding duplicate image handler for 'Windows bitmap file'
20:07:20: Debug: Adding duplicate animation handler for '1' type
20:07:20: Debug: Adding duplicate animation handler for '2' type
Traceback (most recent call last):
File "<frozen runpy="">", line 198, in _run_module_as_main
File "<frozen runpy="">", line 88, in _run_code
File "/usr/lib/python3.11/unittest/main.py", line 18, in <module>
main(module=None)
File "/usr/lib/python3.11/unittest/main.py", line 101, in init
self.parseArgs(argv)
File "/usr/lib/python3.11/unittest/main.py", line 150, in parseArgs
self.createTests()
File "/usr/lib/python3.11/unittest/main.py", line 161, in createTests
self.test = self.testLoader.loadTestsFromNames(self.testNames,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 232, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 232, in <listcomp>
suites = [self.loadTestsFromName(name, module) for name in names]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 162, in loadTestsFromName
module = import(module_name)
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/tctest.py", line 96, in <module>
class wxTestCase(TestCase):
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/tctest.py", line 99, in wxTestCase
from taskcoachlib import gui
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/gui/init.py", line 20, in <module>
from .mainwindow import MainWindow
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/gui/mainwindow.py", line 22, in <module>
from .. import application, meta, widgets, \
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/init.py", line 22, in <module>
from .itemctrl import Column
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/itemctrl.py", line 26, in <module>
from . import draganddrop
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/draganddrop.py", line 30, in <module>
from ..mailer import thunderbird, outlook
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/mailer/thunderbird.py", line 19, in <module>
from .. import persistence, operating_system
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/init.py", line 22, in <module>
from .xml.writer import XMLWriter, TemplateXMLWriter, ChangesXMLWriter
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/xml/init.py", line 21, in <module>
from .reader import XMLReader, TemplateXMLReader, ChangesXMLReader
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/xml/reader.py", line 29, in <module>
from ...changes import ChangeMonitor
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/changes/init.py", line 20, in <module>
from .monitor import ChangeMonitor
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/changes/monitor.py", line 20, in <module>
from taskcoachlib.domain.categorizable import CategorizableCompositeObject
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/init.py", line 21, in <module>
from . import attachment, attribute, base, categorizable, category, date, effort, note, task
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/attachment/init.py", line 19, in <module>
from taskcoachlib.domain.attachment.attachment import *
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/attachment/attachment.py", line 25, in <module>
from taskcoachlib.domain import base
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/base/init.py", line 19, in <module>
from .object import Object, CompositeObject, SynchronizedObject
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/base/object.py", line 25, in <module>
from ..date import DateTime, Now
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/date/init.py", line 27, in <module>
from .snooze import snoozeChoices
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/date/snooze.py", line 22, in <module>
snoozeChoices = [(0, ("Don't snooze")), (5, ('5 minutes')),
^^^^^^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/i18n/init.py", line 168, in translate
return Translator().translate(string)
^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/patterns/singleton.py", line 32, in call
cls.instance = super().call(args, *kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Translator.init() missing 1 required positional argument: 'language'
(wenv) [sylvain@FREED0MSHA tests-py3]$ python -m unittest tctest.py -v
20:32:27: Debug: Adding duplicate image handler for 'Windows bitmap file'
20:32:27: Debug: Adding duplicate animation handler for '1' type
20:32:27: Debug: Adding duplicate animation handler for '2' type
20:32:27: Debug: Adding duplicate image handler for 'Windows bitmap file'
20:32:27: Debug: Adding duplicate animation handler for '1' type
20:32:27: Debug: Adding duplicate animation handler for '2' type
Traceback (most recent call last):
File "<frozen runpy="">", line 198, in _run_module_as_main
File "<frozen runpy="">", line 88, in _run_code
File "/usr/lib/python3.11/unittest/main.py", line 18, in <module>
main(module=None)
File "/usr/lib/python3.11/unittest/main.py", line 101, in init
self.parseArgs(argv)
File "/usr/lib/python3.11/unittest/main.py", line 150, in parseArgs
self.createTests()
File "/usr/lib/python3.11/unittest/main.py", line 161, in createTests
self.test = self.testLoader.loadTestsFromNames(self.testNames,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 232, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 232, in <listcomp>
suites = [self.loadTestsFromName(name, module) for name in names]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 162, in loadTestsFromName
module = import(module_name)
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/tctest.py", line 96, in <module>
class wxTestCase(TestCase):
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/tctest.py", line 99, in wxTestCase
from taskcoachlib import gui
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/gui/init.py", line 20, in <module>
from .mainwindow import MainWindow
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/gui/mainwindow.py", line 22, in <module>
from .. import application, meta, widgets, \
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/init.py", line 22, in <module>
from .itemctrl import Column
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/itemctrl.py", line 26, in <module>
from . import draganddrop
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/widgets/draganddrop.py", line 30, in <module>
from ..mailer import thunderbird, outlook
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/mailer/thunderbird.py", line 19, in <module>
from .. import persistence, operating_system
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/init.py", line 22, in <module>
from .xml.writer import XMLWriter, TemplateXMLWriter, ChangesXMLWriter
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/xml/init.py", line 21, in <module>
from .reader import XMLReader, TemplateXMLReader, ChangesXMLReader
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/persistence/xml/reader.py", line 29, in <module>
from ...changes import ChangeMonitor
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/changes/init.py", line 20, in <module>
from .monitor import ChangeMonitor
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/changes/monitor.py", line 20, in <module>
from taskcoachlib.domain.categorizable import CategorizableCompositeObject
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/init.py", line 21, in <module>
from . import attachment, attribute, base, categorizable, category, date, effort, note, task
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/attachment/init.py", line 19, in <module>
from taskcoachlib.domain.attachment.attachment import *
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/attachment/attachment.py", line 25, in <module>
from taskcoachlib.domain import base
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/base/init.py", line 19, in <module>
from .object import Object, CompositeObject, SynchronizedObject
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/base/object.py", line 25, in <module>
from ..date import DateTime, Now
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/date/init.py", line 27, in <module>
from .snooze import snoozeChoices
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/domain/date/snooze.py", line 22, in <module>
snoozeChoices = [(0, </module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></listcomp></module></frozen></frozen></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></listcomp></module></frozen></frozen></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></listcomp></module></frozen></frozen></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></listcomp></module></frozen></frozen></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></listcomp></module></frozen></frozen></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></listcomp></module></frozen></frozen></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></listcomp></module></frozen></frozen></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></listcomp></module></frozen></frozen></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></listcomp></module></frozen></frozen></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></listcomp></module></frozen></frozen></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></listcomp></module></frozen>("Don't snooze")), (5, _('5 minutes')),
^^^^^^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/i18n/init.py", line 170, in translate
trans = Translator()
^^^^^^^^^^^^
File "/home/sylvain/Téléchargements/src/TaskCoach-future2/taskcoach-repo-bb769bdee43327761e5f6fa7bbb7c3231b9376ac/taskcoach/tests-py3/../taskcoachlib/patterns/singleton.py", line 32, in call
cls.instance = super().call(args, *kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Translator.init() missing 1 required positional argument: 'language'</frozen>
my code is here:
https://github.com/freedomsha/task-coach/blob/master/taskcoach/taskcoachlib/i18n/__init__.py
The very first instantiation of Translator must specify the language, and subsequent ones can just omit it (see the Singleton metaclass in taskcoachlib/patterns). In the base repo this is done at class level in wxTestCase (in tests/test.py) for unit tests.
soory for the tardive answer.
I'm surprised that a unit test can ask for a specific parameter!?
and I'm only on Python 3 so test/test.py doesn't necessarily work!
I'm looking into turning .po into .mo for use in gettext.
In the meantime you can just do what the current tests are doing, i.e. instantiate Translator at module level in your top-level test script
I found no other solution than to add this line in i18n/init.py
def translate(string):
return print('translate is avoided for testing') # line to continue testing. To be removed afterwards.
return Translator().translate(string)
in the meantime and I can continue testing.