Giter VIP home page Giter VIP logo

Comments (4)

wbond avatar wbond commented on August 22, 2024

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.

wbond avatar wbond commented on August 22, 2024

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.

mhenke avatar mhenke commented on August 22, 2024

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.

wbond avatar wbond commented on August 22, 2024

@mhenke

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.