Bug 254870 - devel/git-cola: ImportError: cannot import name 'display' from 'cola' (/usr/local/share/git-cola/lib/cola/__init__.py)
Summary: devel/git-cola: ImportError: cannot import name 'display' from 'cola' (/usr/l...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dave Cottlehuber
Depends on:
Reported: 2021-04-08 07:11 UTC by Yuri Victorovich
Modified: 2021-04-08 07:29 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (dch)


Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer 2021-04-08 07:11:20 UTC
Version 3.9 breaks:

$ cola
Traceback (most recent call last):
  File "/usr/local/bin/cola", line 40, in <module>
    from cola.main import main
  File "/usr/local/share/git-cola/lib/cola/main.py", line 6, in <module>
    from . import app
  File "/usr/local/share/git-cola/lib/cola/app.py", line 45, in <module>
    from .widgets import cfgactions
  File "/usr/local/share/git-cola/lib/cola/widgets/cfgactions.py", line 16, in <module>
    from . import standard
  File "/usr/local/share/git-cola/lib/cola/widgets/standard.py", line 14, in <module>
    from ..settings import Settings, mklist
  File "/usr/local/share/git-cola/lib/cola/settings.py", line 9, in <module>
    from . import display
ImportError: cannot import name 'display' from 'cola' (/usr/local/share/git-cola/lib/cola/__init__.py)
Comment 1 Dave Cottlehuber freebsd_committer 2021-04-08 07:18:15 UTC
apologies for the error, this is already fixed in 5ebd7c2d81fc83d602bf03fa5dca86a14d964fb2

You can just drop this:




if you don't want to rebuild port from main.
Comment 2 Yuri Victorovich freebsd_committer 2021-04-08 07:29:55 UTC
(In reply to Dave Cottlehuber from comment #1)

Thank you!