tosher / StGitlab

Sublime text Gitlab manager
Other
12 stars 0 forks source link

bug(windows): Sublime Text hangs, when I try to create new issue #3

Open Kristinita opened 5 years ago

Kristinita commented 5 years ago

1. Summary

I can't create any issue via StGitlab. Sublime Text hangs.

2. Expected behavior

Successful issues creating for any GitLab repository. For example, I want to create real issue for https://gitlab.com/gitlab-org/gitlab-ce repository.

It would be nice, if StGitlab will have similar behavior as GIssues Sublime Text package for creating GitHub issues, see my screencasts.

Example for issue creating via GIssues:

Issue creating

3. Steps to reproduce

I reproduce the problem in a version of Sublime Text without another plugins and user settings.

  1. pip install transliterate dimensions terminaltables python-gitlab

  2. I log in in GitLab → https://gitlab.com/profile/personal_access_tokens → I create new personal token:

    StGitlab token

  3. I install StGitlab via Package Control → PreferencesPackage SettingsStGitlab → I create User/StGitlab.sublime-settings file:

    {
        "api_token": "<My Real Token Here>",
        "gitlab_url": "https://gitlab.com"
    }
  4. I restart Sublime Text

  5. Ctrl+Shift+PGitlab issue: Create

  6. Sublime Text hangs; I need restart Sublime Text to continue to work.

4. Environment

Thanks.

tosher commented 5 years ago

Try to add your gitlab project into the settings:

    "projects_filter": [],  // IDs or Namespace/Names
    "users_group_filter": [],  // group names
tosher commented 5 years ago

P.S. No needs to install (ST uses own python inside):

pip install transliterate dimensions terminaltables python-gitlab
Kristinita commented 5 years ago

Type: Question ❓

Try to add your gitlab project into the settings:

Can you specify, what is your GitLab project? I need to create issues for repositories of other GitLab users, not for my repositories.

For example, see list of my GitHub issues. At the time I write 1113 issues, and almost all of them for repositories of other users.

Thanks.

tosher commented 5 years ago

The project for which the issue is being created

Kristinita commented 4 years ago

@tosher , any ideas, how to fix it?

Also, Sublime Text hangs for me, if I want to create GitLab snippet.

Thanks.

tosher commented 4 years ago

https://github.com/tosher/StGitlab/releases/tag/v1.0.8

Kristinita commented 4 years ago

Status: Partially fixed

For Sublime Text 3211, StGitlab 1.0.8:

    if I create new issue or snippet:

        Sublime Text not hangs.

    else I try command st_gitlab_users (Ctrl+Shift+P (⌘⇧p for Mac) → Gitlab: Users):

        Sublime Text hangs, I need to restart ST for further work

Thanks.

tosher commented 4 years ago