Comments (4)
Wow, yeah, that is pretty broken. I'll fix it up so that Package Control doesn't let that kind thing happen again.
I found that you can execute the following commands in the console to clear it out:
import os, shutil
html5 = os.path.join(sublime.packages_path(), 'HTML5')
os.remove(os.path.join(html5, 'Commands', 'Conver~1'))
os.remove(os.path.join(html5, 'Commands', 'Decode~1'))
os.remove(os.path.join(html5, 'Commands', 'Encryp~1'))
shutil.rmtree(html5)
os.remove(os.path.join(sublime.installed_packages_path(), 'HTML5.sublime-package'))
It is ok if one or more of those fails.
from package_control.
I've updated Package Control (commit e062ec2) so it won't choke any longer, however the HTML5 package still has issues with invalid filenames on Windows. I've alerted Zander to the issue.
from package_control.
How about windows 7?
Loaded 1310 snippets
Reading keymap C:\Users\mhenke\AppData\Roaming\Sublime Text\Packages\Default/Default.sublime-keymap
Reading keymap C:\Users\mhenke\AppData\Roaming\Sublime Text\Packages\HTML/Default.sublime-keymap
Reading keymap C:\Users\mhenke\AppData\Roaming\Sublime Text\Packages\User/Default.sublime-keymap
Reading keymap C:\Users\mhenke\AppData\Roaming\Sublime Text\Packages\XML/Default.sublime-keymap
import urllib2,os;pf='Package Control.sublime-package';ipp=sublime.installed_packages_path();os.makedirs(ipp) if not os.path.exists(ipp) else None;open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read())
Traceback (most recent call last):
File "", line 1, in
AttributeError: 'module' object has no attribute 'installed_packages_path'
from package_control.
This error is not related to the HTML5 package. I believe your issue is that you are using Sublime Text 1.4, not Sublime Text 2.
from package_control.
Related Issues (20)
- Package does not get updated HOT 1
- oscrypto raises RuntimeError when updating
- 'ValidatingHTTPSConnection' object has no attribute '_set_hostport' HOT 1
- PC 4.0 not able to resolve compatible libraries for version of ST HOT 5
- Discuss installable Python package support for Python 3.8 `plugin_host` and beyond HOT 25
- [PC4] 3.3 dependencies trigger `ImportError: cannot import name events` HOT 7
- Package control on latest sublime and macos HOT 1
- How to handle dependencies that want to expose settings HOT 10
- Moving forward, how do we get this repo's releases reliably in new auto-installs on sublime text? HOT 5
- How to create a dependency for python 3.8? HOT 4
- Package Control makes ST4 latest dev build to freeze HOT 1
- Installed packages cleared on restart HOT 4
- Restart loop after upgrade to 4.0.3 HOT 3
- package control not able to download HOT 1
- Sass package no longer respects "word_separators" setting HOT 1
- request for guides HOT 1
- The library "..." is not available for Python 3.8 HOT 5
- SSL issue HOT 1
- OscryptoDownloader gets stuck on MacOS M1 HOT 1
- Unable to install packages when using ZScaler HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from package_control.