gitlab-mirrors icon indicating copy to clipboard operation
gitlab-mirrors copied to clipboard

AttributeError: 'NoneType' object has no attribute 'id'

Open sduensin opened this issue 1 year ago • 4 comments

gitmirror@stuff:~/gitlab-mirrors$ ./add_mirror.sh --git --project-name osxcross --mirror https://github.com/tpoechtrager/osxcross Resolving gitlab remote. Traceback (most recent call last): File "lib/manage_gitlab_project.py", line 149, in found_project=createproject(project_name) File "lib/manage_gitlab_project.py", line 110, in createproject 'namespace_id': find_group(name=gitlab_namespace).id, AttributeError: 'NoneType' object has no attribute 'id' There was an unknown issue with manage_gitlab_project.py

sduensin avatar Sep 19 '22 22:09 sduensin

This relies on a really old version of python-gitlab v1.1.0. Are you using the old version or attempting to use the latest version?

The code needs a bit of an overhaul in general as its age is showing.

samrocketman avatar Sep 21 '22 04:09 samrocketman

Thanks for the quick reply. I have no idea. I'm using whatever my package manager supplied. I'll see if I can downgrade to the recommended version.

sduensin avatar Sep 22 '22 01:09 sduensin

I purged whatever I had installed with apt and used pip to install 1.1.0. Same issue. :-(

sduensin avatar Sep 22 '22 01:09 sduensin