New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'open recent' crash #628

Closed
gcsideal opened this Issue Nov 23, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@gcsideal

gcsideal commented Nov 23, 2016

I've updated git-cola from 2.8 to 2.9 and everything looked normal. Opened my Git repository and just pointed on 'File' -> 'Open Recent' and get the following stack trace:
$ git-cola
Traceback (most recent call last):
File "/usr/share/git-cola/lib/cola/widgets/main.py", line 540, in build_recent_menu
name = os.path.basename(r)
File "/usr/lib/python3.5/posixpath.py", line 139, in basename
i = p.rfind(sep) + 1
AttributeError: 'dict' object has no attribute 'rfind'
Aborted

My git-cola/settings contain this relevant part:
"recent": [
{
"path": "[normal Git repository path]",
"name": "[Git repository name]"
}
],

@davvid davvid closed this in 5e24f39 Nov 24, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment