Sublime text не устанавливаются плагины
To help resolve the issue, follow these steps:
1 ответ 1
На момент написания вопроса сервера, которые используются Package Control для отдачи контента, находились под DDoS атакой. Вот тред на GitHub, в котором шла дискуссия по данной проблеме - There are no packages available for installation: Package Control of Sublime Text 3.
Временное решение проблемы — открыть конфигурационный файл Package Control:
Errno 12029
A number of users have reported success in resolving this issue by resetting the Internet Explorer advanced settings to their default values.
первый способ
Откройте консоль (сочетание клавиш ctrl + `или View> Show Console menu) и введите следующий код:
[plain] view plaincopy
Enabling the Debug Log
If purging and reinstalling did not help resolve an issue, the next step is to enable the debug log. The debug log contains extensive information about what Package Control is doing behind the scenes, and can help to diagnose why it isn’t working properly.
- Click the Preferences menu
- Select Package Settings
- Choose Package Control
- Click Settings - User
- Add the setting "debug": true
- Save the settings file
Now when performing actions with Package Control, debug information will be printed to the Sublime Text console. The console can be opened by pressing ctrl+` or using the View > Show Console menu entry.
Alternatively, If you have TortoiseGit, you can do a manual install:
Similar to above, go copy the URL (include .git this time).
In Sublime, go to Preferences > Browse Packages (This opens the Packages folder).
Right-click on an empty space of the folder > Git Clone
Because the URL is already on your clipboard, it should automatically appear in the URL of the Git Clone Window. Press OK and Voila, Installed.
При помощи command palette
5 Answers 5
This installation flow work for any Sublime-Text 2/3 plugins.
Go to folder Packages :
- Windows: %APPDATA%\Sublime Text 3\Packages
- OS X: ~/Library/Application\ Support/Sublime\ Text\ 3/Packages
- Linux: ~/.config/sublime-text-3/Packages/
Open Sublime and try to use.
does this integrate with package control? if I later want to remove the package, can I just delete the clone or will that leave null references?
Should the existing ST2 package currently available on Package Control ever be updated to support ST3, you should clone the repository Display Functions (Java) , since that's the name registered in the Package Control channel: git clone https://github.com/BoundInCode/Display-Functions.git "Display Functions (Java)"
@Siddharth Which plugin did you tried install? Did you have any error messages? Also check if this plugin compatible with your ST version.
In my case, I didnt have to restart Sublime. I just went to folder Packages, and then run git clone command. Thanks @AntonDozortsev
In Sublime Text 3, if you already have Package Control, but the package isn't showing up in Install Packages , for instance ChainOfCommand, you need to "Add the Repository" to add the package to Package Control, only then can you install it.
Here's a step-by-step process:
In a Web Browser, navigate to your plugin, copy the git url (should end with a .git ).
In Sublime, Open Package Control
Select Package Control: Add Repository
At the bottom of the Sublime window, an input box will appear. Paste the URL. AND REMOVE THE .GIT EXTENSION; hit Enter.
- Now the Repo has been added to Package Control, it's not installed though
Open Package Control again (like in step 2).
Select Package Control: Install Packages
Now you should be able to search for, and install the package that had previously been missing, ie ChainOfCommand.
Errno 12057
Some users run into issues trying to check for SSL certificate revocation. This may have to do with a proxy server not properly proxying the requests for the certificate revocation list.
This error indicates something on your machine is blocking the connection to the server. It could be any number of different things.
даже сам плагин удалить не могу
- Вопрос задан более двух лет назад
- 121 просмотр
Простой 2 комментария
startup, version: 3211 linux x64 channel: stable
executable: /snap/sublime-text/85/opt/sublime_text/sublime_text
working dir: /
packages path: /home/fapchat/.config/sublime-text-3/Packages
state path: /home/fapchat/.config/sublime-text-3/Local
zip path: /snap/sublime-text/85/opt/sublime_text/Packages
zip path: /home/fapchat/.config/sublime-text-3/Installed Packages
ignored_packages: ["0_package_control_loader", "Vintage"]
pre session restore time: 6.60415
startup time: 6.99565
first paint time: 7.10984
reloading plugin Default.arithmetic
reloading plugin Default.auto_indent_tag
reloading plugin Default.block
reloading plugin Default.colors
reloading plugin Default.comment
reloading plugin Default.convert_color_scheme
reloading plugin Default.convert_syntax
reloading plugin Default.copy_path
reloading plugin Default.detect_indentation
reloading plugin Default.echo
reloading plugin Default.exec
reloading plugin Default.fold
reloading plugin Default.font
reloading plugin Default.goto_line
reloading plugin Default.history_list
reloading plugin Default.indentation
reloading plugin Default.install_package_control
reloading plugin Default.kill_ring
reloading plugin Default.mark
reloading plugin Default.new_templates
reloading plugin Default.open_context_url
reloading plugin Default.open_in_browser
reloading plugin Default.pane
reloading plugin Default.paragraph
reloading plugin Default.paste_from_history
reloading plugin Default.profile
reloading plugin Default.quick_panel
reloading plugin Default.rename
reloading plugin Default.run_syntax_tests
reloading plugin Default.save_on_focus_lost
reloading plugin Default.scroll
reloading plugin Default.set_unsaved_view_name
reloading plugin Default.settings
reloading plugin Default.show_scope_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.ui
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
reloading plugin ShellScript.ShellScript
reloading plugin All Autocomplete.all_views_completions
reloading plugin AutoFileName.autofilename
reloading plugin AutoFileName.getimageinfo
reloading plugin Color Highlight.ColorHighlight
reloading plugin Color Highlight.colorizer
reloading plugin Color Highlight.colors
reloading plugin Color Highlight.settings
reloading plugin Emmet.emmet-plugin
reloading plugin Package Control.1_reloader
reloading plugin Package Control.2_bootstrap
reloading plugin Package Control.Package Control
reloading plugin Xdebug Client.main
reloading plugin Autoprefixer.Autoprefixer
reloading plugin Autoprefixer.node_bridge
reloading plugin ColorPicker.sublimecp
reloading plugin HTML-CSS-JS Prettify.HTMLPrettify
reloading plugin LiveReload.__init__
reloading plugin LiveReload.CoffeescriptPlugin
reloading plugin LiveReload.CommandAPI
reloading plugin LiveReload.CompassPlugin
reloading plugin LiveReload.LESSPlugin
reloading plugin LiveReload.LiveReload
reloading plugin LiveReload.SimpleReloadCallback
reloading plugin LiveReload.SimpleReloadPlugin
reloading plugin LiveReload.SimpleReloadPluginDelay
reloading plugin LiveReload.SimpleWSCallback
reloading plugin phpfmt.phpfmt
plugins loaded
LiveReload: added file /livereload.js with content-type: text/javascript
INFO:WebSocketClient:Starting server
Emmet: No need to update PyV8
reloading settings Packages/User/phpfmt.sublime-settings
Package Control: No updated packages
Traceback (most recent call last):
File "/home/fapchat/.config/sublime-text-3/Installed Packages/Package Control.sublime-package/package_control/commands/remove_package_command.py", line 58, in on_done
File "/home/fapchat/.config/sublime-text-3/Installed Packages/Package Control.sublime-package/package_control/package_disabler.py", line 76, in disable_packages
ImportError: No module named 'package_control'
Traceback (most recent call last):
File "/home/fapchat/.config/sublime-text-3/Installed Packages/Package Control.sublime-package/package_control/commands/enable_package_command.py", line 43, in on_done
File "/home/fapchat/.config/sublime-text-3/Installed Packages/Package Control.sublime-package/package_control/package_disabler.py", line 167, in reenable_package
ImportError: No module named 'package_control'
Traceback (most recent call last):
File "/home/fapchat/.config/sublime-text-3/Installed Packages/Package Control.sublime-package/package_control/commands/remove_package_command.py", line 58, in on_done
File "/home/fapchat/.config/sublime-text-3/Installed Packages/Package Control.sublime-package/package_control/package_disabler.py", line 76, in disable_packages
ImportError: No module named 'package_control'
Открой настройки (Preferences > Settings), затем в настройках пользователя (в правой части) в разделе ignored_packages нужно удалить строку 0_package_control_loader.
Установил ST3 и Package Control сразу. Пытаюсь сделать Package Control ⇒ Install Package и получаю:
Package Control
There are no packages available for installation
Да быть такого не может, чтобы не было пакетов для установки.
Вручную
Preferences ⇒ Package Settings ⇒ Package Control ⇒ Settings - User
добавим туда альтернативный источник:
Решите проблему, что sublimeText3 не может устанавливать плагины - нет пакетов, доступных для установки
Сегодня я столкнулся с ошибкой при установке плагина sublimeText3, и появилось диалоговое окно, в котором говорилось, что пакетов, доступных для установки, нет. Содержимое: Нет пакетов, доступных для установки. Диалоговое окно показано ниже:
Фактически, я использую систему win7. Когда я столкнулся с ошибкой, не было скриншота. Приведенное выше изображение было найдено в Интернете (оно должно быть перехвачено из ubuntu), но содержимое подсказки такое же.
Говорят, что причина в IPv6. Если наш Intent Service Provider (ISP) не поддерживает IPv6, будет вызвана вышеуказанная ошибка. Исходный текст выглядит следующим образом:
This error is happened with IPv6 problem. If your Internet Service Provider (ISP) does not support for IPv6 you got this error.
Windows Errors 12029 and 12057
On Windows, Package Control utilizes the WinINet C++ API for web requests. This allows Package Control to rely on your OS for auto-configuration of proxies and secure certificate validation.
Unfortunately there are a couple of common WinINet errors that users run into, including:
Since WinINet is a system API, it is configured through Internet Explorer.
Как получить альтернативный адрес
Почему решение временное. Когда в вашем конфигурационном файле содержится второй канал, даже после того, как нормальное функционирование Package Control возобновится, при попытке установить пакеты
- Вы не увидите новые пакеты, внесённые в Package Control после даты, когда на Internet Archive была сделана копия;
- Вы получите устаревшие версии пакетов — версии на тот момент, когда была сделана копия в Internet Archive;
- ни автоматическое обновление пакетов ни ручное — Ctrl+Shift+P → Package Control: Upgrade/Overwrite All Packages — не будет Вам доступно.
Поэтому через несколько дней — срок, когда нормальное функционирование Package Control обычно возобновляется — удалите дополнительный канал: Ctrl+Shift+P → Package Control: Remove Channel → выбираете внесённый Вами канал, который нужно удалить, → Enter . Если пакеты как и прежде не устанавливаются, смотрим, что там говорят в issue tracker, ссылка на который приведена выше.
Когда Package Contol не работает, а новые пакеты или обновления нужны, не забывайте, что новейшие версии всех пакетов, включая самые свежие, можно установить вручную.
How do I install plugins from github for Sublime Text 3? I am trying to install this. What I have done so far is installing displayfunctions.py into Packages/Display-Functions/displayfunctions.py (I created a new folder Display-Functions in the Packages folder to hold displayfuntions.py ). It still doesn't work. How can I fix this?
Решение (платформа Windows)
Исходный текст решения, приведенный по ссылке выше, выглядит следующим образом:
Step 1:
Step 2:
Now open hosts file from C:\Windows\system32\drivers\etc\ folder and add this line (replcae )
All is ok. Let's play with Package controller.
Если вы столкнулись со следующей ошибкой при использовании команды ping в терминале
Затем измените файл hosts, добавьте строку в файл hosts, где IP получается с помощью команды ping, как показано ниже:
[plain] view plaincopy
После вышеуказанных шагов нажмите Ctrl + Shift + P, чтобы открыть Package Control: Install Package, чтобы установить плагин.
Purging and Reinstalling
Many users run into issues with Package Control because they have an old, broken or pre-release version of Package Control that has become stuck. Since Package Control updates itself, a bug can prevent the automatic upgrade from working, leaving users orphaned on an old version.
The first step in debugging issues with Package Control is to purge any existing copies.
- Select the Preferences > Settings – User menu entry
- Remove "Package Control" from the "ignored_packages" setting, if present
- Select the Preferences > Browse Packages… menu entry
- Delete the folder named Package Control
- Browse up a folder and then into Installed Packages
- Delete Package Control.sublime-package if it exists
- Reinstall Package Control using the installation instructions
Читайте также: