-
Notifications
You must be signed in to change notification settings - Fork 169
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
AttributeError: 'NoneType' object has no attribute 'id' #139
Comments
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. :-( |
@sduensin which version do you use ? Today , I have setup it with python2.7 , gitlab-mirrors (main branch) , python-gitlab 1.1.0 |
maybe your group numbers is over default number(10), try to modify "lib/manage_gitlab_project.py" add "page=1, per_page=100"
|
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
The text was updated successfully, but these errors were encountered: