Package Details: git-cola 4.7.1-1

Git Clone URL: https://aur.archlinux.org/git-cola.git (read-only, click to copy)
Package Base: git-cola
Description: The highly caffeinated Git GUI
Upstream URL: https://git-cola.github.io
Keywords: git
Licenses: GPL-2.0-or-later
Submitter: tdy
Maintainer: MarcinWieczorek (yochananmarqos)
Last Packager: yochananmarqos
Votes: 232
Popularity: 2.67
First Submitted: 2008-12-05 14:38 (UTC)
Last Updated: 2024-05-05 14:22 (UTC)

Dependencies (21)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 15 Next › Last »

Pastafarianist commented on 2022-02-05 18:36 (UTC) (edited on 2022-02-05 19:51 (UTC) by Pastafarianist)

During check(), I get a lot of test failures. The end of the log looks like this:

ERROR test/resources_test.py::FLAKE8 - AttributeError: 'Flake8Item' object has no attribute 'fixturenames'
ERROR test/settings_test.py::FLAKE8 - AttributeError: 'Flake8Item' object has no attribute 'fixturenames'
ERROR test/spellcheck_test.py::FLAKE8 - AttributeError: 'Flake8Item' object has no attribute 'fixturenames'
ERROR test/textwrap_test.py::FLAKE8 - AttributeError: 'Flake8Item' object has no attribute 'fixturenames'
ERROR test/utils_test.py::FLAKE8 - AttributeError: 'Flake8Item' object has no attribute 'fixturenames'
177 passed, 123 errors in 7.02s
make: *** [Makefile:226: test] Error 1
==> ERROR: A failure occurred in check().
    Aborting...
 -> error making: git-cola

This is obviously an issue with Flake8, but what exactly do I have to do to fix it?

UPD: I've found the culprit: https://github.com/miketheman/pytest-socket/issues/105. A workaround is to

pip install --user --upgrade pytest-socket

until community/python-pytest-socket is upgraded to 0.5.1.

MarcinWieczorek commented on 2022-01-27 08:58 (UTC)

I don't have pyside2 installed and git-cola works fine.

Not in an venv though. https://github.com/git-cola/git-cola/issues/850 I think the issue of virtualenv should be discussed upstream. I don't have a strong opinion of how should that be fixed, but I acknowledge the problem and will apply reasonable solutions from you guys.

Kedap commented on 2022-01-27 04:48 (UTC)

If the program works it may be because you still do not have the pyside2 package installed, I hope and consider adding this package within the dependencies

Suor commented on 2022-01-18 04:26 (UTC) (edited on 2022-01-18 04:27 (UTC) by Suor)

Doesn't work when inside a python virtualenv. Fixing it for myself by replacing

#!/usr/bin/env python

with

#!/usr/bin/python

In /usr/bin/git-cola. But that one gets overwritten on update.

buck.yeh commented on 2021-12-17 03:49 (UTC)

Rebuilding and installing the package solves the problem!

crazybit commented on 2021-12-15 19:38 (UTC)

Python was recently updated on Arch, breaking git-cola. Rebuilding git-cola makes it build against this newer python and makes git-cola work. No need to edit PKGBUILD, just rebuild the package.

SeeLook commented on 2021-08-12 18:56 (UTC)

I've just installed it manually, by editing PKGBUILD and removing check step. Works fine.

SeeLook commented on 2021-08-12 18:40 (UTC)

Any clue what may cause that?
Is it lack of some package or too much of something?
I can launch latest git-cola from its git repo clone.

yochananmarqos commented on 2021-08-12 18:03 (UTC)

@SeeLook: I can't reproduce that in a clean chroot, the tests pass.

SeeLook commented on 2021-08-12 17:47 (UTC)

I cannot build latest version (3.10.1). Test fails with:

FAILED test/i18n_test.py::ColaI18nTestCase::test_translate_push_pull_french - AssertionError: 'Tirer' != 'Pull'
FAILED test/i18n_test.py::ColaI18nTestCase::test_translates_noun - AssertionError: 'コミット' != 'Commit'
FAILED test/i18n_test.py::ColaI18nTestCase::test_translates_verb - AssertionError: 'Commit aufnehmen' != 'Commit'

BTW, French is not my system language. Please help.