tosher / StGitlab

Sublime text Gitlab manager
Other
12 stars 0 forks source link

All items under the Tools > StGitlab menu grey #1

Closed SleepyBrett closed 5 years ago

SleepyBrett commented 6 years ago

The following is in the console log:

reloading plugin StGitlab.stgitlab
Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 109, in reload_plugin
    m = importlib.import_module(modulename)
  File "./python3.3/importlib/__init__.py", line 90, in import_module
  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 1110, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "stgitlab in /Users/u01f/Library/Application Support/Sublime Text 3/Installed Packages/StGitlab.sublime-package", line 7, in <module>
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 1110, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "base in /Users/u01f/Library/Application Support/Sublime Text 3/Installed Packages/StGitlab.sublime-package", line 4, in <module>
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 1110, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "base.stg_gitlab_reset in /Users/u01f/Library/Application Support/Sublime Text 3/Installed Packages/StGitlab.sublime-package", line 6, in <module>
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 1110, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "base.stg_utils in /Users/u01f/Library/Application Support/Sublime Text 3/Installed Packages/StGitlab.sublime-package", line 9, in <module>
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 1110, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "base.stg_gitlab in /Users/u01f/Library/Application Support/Sublime Text 3/Installed Packages/StGitlab.sublime-package", line 8, in <module>
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 1110, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "libs.gitlab in /Users/u01f/Library/Application Support/Sublime Text 3/Installed Packages/StGitlab.sublime-package", line 29, in <module>
ImportError: No module named 'six'

I'm going to go ahead and admit to python ecosystem ignorance, not a language I use much. I went ahead and tried the first thing I could think of which was:

$ pip install six
Requirement already satisfied: six in /Library/Python/2.7/site-packages
tosher commented 6 years ago

Are you install the plugin with Package control or not?

tosher commented 6 years ago

If with Package control, please, try to upgrade package. P.S. https://github.com/tosher/StGitlab/releases/tag/1.0.4

SleepyBrett commented 6 years ago

Yes to package control, it seems to have updated and now fuctions, kinda, issues board causes:

Traceback (most recent call last): File "/Users/u01f/Library/Application Support/Sublime Text 3/Packages/StGitlab/libs/gitlab/init.py", line 889, in next item = self._data[self._current] IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/u01f/Library/Application Support/Sublime Text 3/Packages/StGitlab/base/../libs/gitlab/exceptions.py", line 239, in wrapped_f return f(*args, kwargs) File "/Users/u01f/Library/Application Support/Sublime Text 3/Packages/StGitlab/base/../libs/gitlab/mixins.py", line 94, in list obj = self.gitlab.http_list(path, kwargs) File "/Users/u01f/Library/Application Support/Sublime Text 3/Packages/StGitlab/libs/gitlab/init.py", line 762, in http_list return list(GitlabList(self, url, query_data, kwargs)) File "/Users/u01f/Library/Application Support/Sublime Text 3/Packages/StGitlab/libs/gitlab/init.py", line 885, in next return self.next() File "/Users/u01f/Library/Application Support/Sublime Text 3/Packages/StGitlab/libs/gitlab/init.py", line 894, in next self._query(self._next_url) File "/Users/u01f/Library/Application Support/Sublime Text 3/Packages/StGitlab/libs/gitlab/init.py", line 859, in _query kwargs) File "/Users/u01f/Library/Application Support/Sublime Text 3/Packages/StGitlab/libs/gitlab/init.py", line 700, in http_request response_body=result.content) gitlab.exceptions.GitlabHttpError: 500: 500 Internal Server Error

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Applications/Sublime Text.app/Contents/MacOS/sublimeplugin.py", line 999, in run return self.run(edit) File "/Users/u01f/Library/Application Support/Sublime Text 3/Packages/StGitlab/base/stg_project_issues_board.py", line 14, in run panel.show_input() File "/Users/u01f/Library/Application Support/Sublime Text 3/Packages/StGitlab/base/stg_project.py", line 21, in show_input projects = gitlab.projects(all=True) File "/Users/u01f/Library/Application Support/Sublime Text 3/Packages/StGitlab/base/stg_gitlab.py", line 117, in projects self.cprojects = self.conn.projects.list(**kwargs) File "/Users/u01f/Library/Application Support/Sublime Text 3/Packages/StGitlab/base/../libs/gitlab/exceptions.py", line 241, in wrapped_f raise error(e.error_message, e.response_code, e.response_body) gitlab.exceptions.GitlabListError: 500: 500 Internal Server Error

I

tosher commented 6 years ago

Please, tell me, which Gitlab version are you using? 500 - it's an error from Gitlab server on API request, maybe we have incompatibility issue here.

https://docs.gitlab.com/ce/api/#status-codes

tosher commented 6 years ago

One moment - Project issues board is not finalized feature. Other commands like Project issues, etc. work or has the same error?