Opened 4 years ago

Last modified 4 years ago

#61389 closed defect

missing dependency for port 'thefuck' — at Initial Version

Reported by: psylum (Perry Rajnovic) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc:
Port: thefuck

Description

fresh install of port thefuck @3.30_0, on macOS 10.15.8.

Added alias to tcsh, and tested with a known 'fix' it supplies. Expected Output:

$ cat code                                                 
cat: code: Is a directory
$ fuck
ls code [enter/↑/↓/ctrl+c]
<contents of code directory>

Actual Output:

$ cat code                                                 
cat: code: Is a directory
$ fuck
Traceback (most recent call last):
  File "/opt/local/bin/thefuck", line 9, in <module>
    from thefuck.entrypoints.main import main
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/thefuck/entrypoints/main.py", line 8, in <module>
    from .. import logs  # noqa: E402
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/thefuck/logs.py", line 8, in <module>
    from .conf import settings
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/thefuck/conf.py", line 5, in <module>
    from six import text_type
ModuleNotFoundError: No module named 'six'

After manually installing py38-six, the application works as expected. I believe the port deps just need to include py{version}-six.

Change History (0)

Note: See TracTickets for help on using tickets.