Menu

#39 Make test fails.

v1.0 (example)
open
nobody
compilation (1)
5
2020-03-31
2020-03-31
Giorgos
No

The compilation on a Debian oldstable based distribution, seems to fail.
After installing the requirements, the command "make test" didn't completed successfully.
I'm attaching console's output.

1 Attachments

Discussion

  • Shlomi Fish

    Shlomi Fish - 2020-03-31

    Hi Giorgos!

    Your log reads:

     File "tests/individually-importing/import_v3_pysollib.tk.progressbar.py", line 5, in <
    module>
        import pysollib.tk.progressbar
      File "./pysollib/tk/progressbar.py", line 24, in <module>
        from pysollib.ui.tktile.tkconst import EVENT_HANDLED
      File "./pysollib/ui/tktile/tkconst.py", line 26, in <module>
        from six.moves import tkinter
      File "/usr/lib/python3/dist-packages/six.py", line 92, in __get__
        result = self._resolve()
      File "/usr/lib/python3/dist-packages/six.py", line 115, in _resolve
        return _import_module(self.mod)
      File "/usr/lib/python3/dist-packages/six.py", line 82, in _import_module
        __import__(name)
      File "/usr/lib/python3.5/tkinter/__init__.py", line 38, in <module>
        raise ImportError(str(msg) + ', please install the python3-tk package')
    ImportError: No module named '_tkinter', please install the python3-tk package
    tests/individually-importing/import_v3_pysollib.tk.progressbar.py ................ 
    Dubious, test returned 1 (wstat 256, 0x100)
    F
    

    Did you try installing python3-tk: https://packages.debian.org/stretch/python3-tk ? Please try installing it and other missing deps and give a new log. Thanks in

     
  • Giorgos

    Giorgos - 2020-03-31

    Oh...I see!

    What I did (being at Debian), is giving the exact command, as it exists at README.md.
    (At section Step 1 - install the dependencies -> On Debian).
    With a second look, I already installed python-tk, so maybe it should pass the test.

    Anyway! I'll look again, but meanwhile when you can find the time, please take a look at this specific section of Readme. Maybe needs an update?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.