Open jonrandy opened 3 years ago
Thanks, will check with gitlab.com version.
With settings:
"gitlab_url": "https://gitlab.com",
"api_token": "my-token-value",
All works fine, I'm able to open and edit my project's issues.
Which action you trying to do?
The above error was happening for all actions. However, I just tested again... and I'm seeing a totally different error for all actions:
Traceback (most recent call last):
File "/home/jon/.config/sublime-text-3/Packages/StGitlab/base/stg_project.py", line 39, in get_project
projects = gitlab.projects(all=True)
File "/home/jon/.config/sublime-text-3/Packages/StGitlab/base/stg_gitlab.py", line 127, in projects
self.cprojects = self.conn.projects.list(**kwargs)
File "/home/jon/.config/sublime-text-3/Packages/StGitlab/base/../libs/gitlab/exceptions.py", line 267, in wrapped_f
return f(*args, **kwargs)
File "/home/jon/.config/sublime-text-3/Packages/StGitlab/base/../libs/gitlab/mixins.py", line 134, in list
obj = self.gitlab.http_list(path, **data)
File "/home/jon/.config/sublime-text-3/Packages/StGitlab/libs/gitlab/__init__.py", line 640, in http_list
return list(GitlabList(self, url, query_data, **kwargs))
File "/home/jon/.config/sublime-text-3/Packages/StGitlab/libs/gitlab/__init__.py", line 767, in __init__
self._query(url, query_data, **kwargs)
File "/home/jon/.config/sublime-text-3/Packages/StGitlab/libs/gitlab/__init__.py", line 772, in _query
result = self._gl.http_request("get", url, query_data=query_data, **kwargs)
File "/home/jon/.config/sublime-text-3/Packages/StGitlab/libs/gitlab/__init__.py", line 513, in http_request
verb, url, json=json, data=data, params=params, files=files, **opts
TypeError: __init__() got an unexpected keyword argument 'json'
When I try to perform any GitLab action, nothing happens. Looking in the console reveals the following: