mix86/SublimeJira

Error on loading the plugin

Closed this issue · 9 comments

I'm getting a error after installing and configuring the plugin:

Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 73, in reload_plugin
    m = importlib.import_module(modulename)
  File "X/importlib/__init__.py", line 88, in import_module
  File "<frozen importlib._bootstrap>", line 1577, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1558, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1525, in _find_and_load_unlocked
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 671, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "sublime_jira in /Users/bernhard/Library/Application Support/Sublime Text 3/Installed Packages/Jira.sublime-package", line 7, in <module>
ImportError: No module named 'api_calls'

Is there an easy way getting the missing package to fix - ImportError: No module named 'api_calls'

Same error here on windows :-(

I found a fix for that. I changed the name of the folder inside the plugin from "api_calls" to "apicalls".
Now the plugin is loaded and the commands are showing but when I try to get an issue I get this error:

SublimeJira error: [Errno 2] No such file or directory.

i had the same problem, but after unpacking the Jira.sublime-package and moving it into Packages it works but then i try to get an issue i also get this error:

SublimeJira error: [Errno 2] No such file or directory

And If i use Update Issue i instantly get the following error:

SublimeJira error: 'NoneType' object has no attribute 'groups'

wow...
Hallo guys, sorry for silence.
I has fixed ImportError. It was because package control by default packs all code to .sublime-package binary (zip) file and some python import magic stops work.

So, and what about SublimeJira error: 'NoneType' object has no attribute 'groups', this means you trying to update issue with wrong-formatted text. Can you share example text of issue?

hmm strange the error sill exists. After updating jira is installed unziped in Packages

reloading plugin Jira.sublime_jira
Traceback (most recent call last):
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 71, in reload_plugin
    m = imp.reload(m)
  File "X/imp.py", line 252, in reload
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 671, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "C:\...\Sublime Text 3\Packages\Jira\sublime_jira.py", line 7, in <module>
    from api_calls.get_issue import GetIssueApiCall
ImportError: No module named 'api_calls'

I think, I found a problem. A minute please...

Please try to update 0.1.3 version. I hope I fix your problem.

Last version is working for me. Good job! Thanks. 👍