Sublime Forum

Package manager not working

#1

Hi.
I have Sublime Text 3, but recently cannot get the package manger to install any thing. During the process it simply writes “Loading repositories”, but then nothing happens.

Here is what is printed out in the console:

Exception in thread Thread-17:
Traceback (most recent call last):
File “X/json/decoder.py”, line 368, in raw_decode
File “X/json/scanner.py”, line 63, in _scan_once
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “package_control.providers.repository_provider in /Users/vayu/Library/Application Support/Sublime Text 3/Installed Packages/Package Control.sublime-package”, line 168, in fetch_location
File “X/json/init.py”, line 309, in loads
File “X/json/decoder.py”, line 352, in decode
File “X/json/decoder.py”, line 370, in raw_decode
ValueError: No JSON object could be decoded

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “X/threading.py”, line 639, in _bootstrap_inner
File “package_control.downloaders.background_downloader in /Users/vayu/Library/Application Support/Sublime Text 3/Installed Packages/Package Control.sublime-package”, line 61, in run
File “package_control.providers.repository_provider in /Users/vayu/Library/Application Support/Sublime Text 3/Installed Packages/Package Control.sublime-package”, line 77, in prefetch
File “package_control.providers.repository_provider in /Users/vayu/Library/Application Support/Sublime Text 3/Installed Packages/Package Control.sublime-package”, line 77, in
File “package_control.providers.repository_provider in /Users/vayu/Library/Application Support/Sublime Text 3/Installed Packages/Package Control.sublime-package”, line 219, in get_packages
File “package_control.providers.repository_provider in /Users/vayu/Library/Application Support/Sublime Text 3/Installed Packages/Package Control.sublime-package”, line 111, in fetch
File “package_control.providers.repository_provider in /Users/vayu/Library/Application Support/Sublime Text 3/Installed Packages/Package Control.sublime-package”, line 170, in fetch_location
Package Control.package_control.providers.provider_exception.ProviderException: Error parsing JSON from repository bitbucket.org/theblacklion/subl … e_views.py.

Exception in thread Thread-15:
Traceback (most recent call last):
File “X/threading.py”, line 639, in _bootstrap_inner
File “package_control.commands.install_package_command in /Users/vayu/Library/Application Support/Sublime Text 3/Installed Packages/Package Control.sublime-package”, line 43, in run
File “package_control.package_installer in /Users/vayu/Library/Application Support/Sublime Text 3/Installed Packages/Package Control.sublime-package”, line 54, in make_package_list
File “package_control.package_manager in /Users/vayu/Library/Application Support/Sublime Text 3/Installed Packages/Package Control.sublime-package”, line 260, in list_available_packages
File “package_control.downloaders.background_downloader in /Users/vayu/Library/Application Support/Sublime Text 3/Installed Packages/Package Control.sublime-package”, line 52, in get_provider
KeyError: ‘https://bitbucket.org/theblacklion/sublime_plugins/src/tip/glue_views.py

0 Likes

#2

Is that a repository you added yourself? If so, you may have put in an incorrect link. If not, it may be a bug with package control. If it’s the latter, you can create an issue (see sublime.wbond.net/docs/issues). If it’s the earlier, can you post your Package Control.sublime-settings file.

0 Likes

#3

It was not manual installation.
I have now removed all files from Packages/User and added them again. I cannot see what the difference is, but Package manager install now works.
Thanks for helping. :smile:

0 Likes