AttributeError: 'NoneType' object has no attribute 'id'
sduensin opened this issue · 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
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.
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.
I purged whatever I had installed with apt and used pip to install 1.1.0. Same issue. :-(