Sublime Forum

Package Control: A full-featured package manager

#55

Grrr. Everything else works just fine. There are few “WindowsError: [Error 5] Access is denied” related results on google (and stackoverflow) that suggest the issue is python.

Anyhow, don’t worry, i don’t really need the PM, i was more like curious. :open_mouth:

0 Likes

#56

I apologize if I sounded patronizing. If you would oblige me a minute longer, could you edit the execute() method of the VcsUpgrader class on line 449 of Package Control.py to be the following?

    def execute(self, args, dir):
        startupinfo = None
        if os.name == 'nt':
            startupinfo = subprocess.STARTUPINFO()
            startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW
        print args
        print dir
        proc = subprocess.Popen(args, stdin=subprocess.PIPE,
            stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
            startupinfo=startupinfo, cwd=dir)

        return proc.stdout.read().replace('\r\n', '\n').rstrip(' \n\r')

When you save the file, it should automatically try to execute the upgrader, and it should print what it is trying to execute and the directory it is trying to execute in.

0 Likes

#57

Yeah, i think i found the problem. Somehow.
I deleted the user folder and now seems to work. Let’s see which one is bitchin!

0 Likes

#58

Ok, me dumb. I had a Package Control.sublime-settings file into user directory with wrong stuff in it. The thing is the file was automatically added (and i just edit the file within package control directory).
Now seems to work.

Thanks for help!

0 Likes

#59

[quote=“iamntz”]Ok, me dumb. I had a Package Control.sublime-settings file into user directory with wrong stuff in it. The thing is the file was automatically added (and i just edit the file within package control directory).
Now seems to work.

Thanks for help![/quote]

No worries, I’m glad you figured it out! Just so you know, you should edit the settings file in the User directory because the one in the Package Control directory gets overwritten whenever Package Control updates itself. The Preferences > Package Settings > Package Control > Settings – User menu entry opens the one in your User directory because of this. This is also the case for all of the other " – Default" and " – User" menu entries in the Preferences menu. All of the Default ones will be overwritten when you next upgrade Sublime Text.

0 Likes

#60

I know, i know. I started to edit the main settings file as a desperate measure, when i saw that the plugin didn’t worked.
Oh well… :smiley:

0 Likes

#61

I’ve tried installing Package Control (to grab this plugin) a couple of times now.

Following install directions, here is the error I receive at restart of ST2-2102 on my Win7x64 platform:
http://i.imgur.com/cJ652.jpg.

But the Package Control.sublime-settings file is not in the User folder.

For indexing :smile:

Package Control: Unable to find git.exe. Please set the git_binary setting in st2\Data\Packages\User\Package Control.sublime-settings.
0 Likes

#62

[quote=“atomi”]I’ve tried installing Package Control (to grab this plugin) a couple of times now.

Following install directions, here is the error I receive at restart of ST2-2102 on my Win7x64 platform:
http://i.imgur.com/cJ652.jpg.

But the Package Control.sublime-settings file is not in the User folder.[/quote]

I should improve the error messaging there to point to the preferences menu. If you go to the Preferences > Package Settings > Package Control > Settings – User menu entry, it will open that file in the User directory that you can then edit and save.

0 Likes

#63

Package Control 1.1.2 is out with improved handling of custom git and hg paths, better git_binary and hg_binary error messaging and C:\cygwin\bin is now also searched when running on Windows.

0 Likes

#64

If Package Control is no longer working after restarting Sublime Text or upgrading to build 2103, it is due to a bug on my part with the upgrade procedure. Package Control simply needs to be reinstalled by following the install instructions. Version 1.1.3 has fixed the bug, so you should not need to repeat this process again.

0 Likes

#65

Kronuz was very receptive to the idea of renaming his fork, which is now called SublimeLinter. Both SublimeLinter (by Kronuz) and SublimeLint (by lunixbochs) are now available via Package Control.

0 Likes

#66

And what are the differences between them?

0 Likes

#67

I uploaded SublimeWebColors to GitHub so you can install with the package manager :smile:

0 Likes

#68

From what I understand the internals are different between the two, and some people have indicated that performance varies between the two. SublimeLinter includes Objective-J support. sublimelint is turned on all the time, while SublimeLinter has to be turned on and can be run manually.

I has to mess around with my php ini settings before they started working since short_open_tag was off locally. Both seemed to “just work” for Python, but SublimeLinter includes PEP8 checking by default. I believe it can be disabled.

For more information you can use the Discover Packages commend and visit the pages.

0 Likes

#69

It has been added to the default channel. Just don’t forget to add a key binding for us linux users! The same one as Windows is usually appropriate.

0 Likes

#70

[quote=“wbond”]

to GitHub so you can install with the package manager :smile:

It has been added to the default channel. Just don’t forget to add a key binding for us linux users! The same one as Windows is usually appropriate.[/quote]

Sweet! Thanks. I’ll get a Linux one committed now.

0 Likes

#71

SublimeLinter uses a queue, sublimelint uses a single thread runner.

I would like to see some metrics on this. I did some testing and could not detect any difference is speed. If there are speed issues we would like to know.

SublimeLinter is turned on via a user setting. You just have to change the setting once to have SublimeLinter always on.

It can be disabled, along with any of the checkers. I think in the current version or an upcoming version it will be off by default. You can also disable particular pep8 error messages.

In general SublimeLinter is much more configurable. If anyone is having issues with it, please file an issue in the github issue tracker and we will fix it.

0 Likes

#72

I really want to like SublimeLinter, but it slows my machine to an absolute crawl. On a MacBook Pro (2.6ghz w/ 8 gbs of RAM) running Snow Leopard. I can type a sentence, and watch my cursor as it slowly echoes out what I just typed. I don’t know how to file an issue that speaks to this. I uninstall the plugin, it’s back to normal. Re-install, and it slows down again. This does not happen with SublimeLint.

0 Likes

#73

Even time I update Sublime (it seems). All the package manager options disappear from the CTRL shift P menu and are no where to be found. I have to run the install again. Is this normal?

Windows 7 64bit

0 Likes

#74

[quote=“firefusion”]Even time I update Sublime (it seems). All the package manager options disappear from the CTRL shift P menu and are no where to be found. I have to run the install again. Is this normal?

Windows 7 64bit[/quote]

There was a bug in up to version 1.1.3 that would cause this to happen. Sublime Text 2 would delete Package Control whenever it was fully closed and then opened again. It should be fixed now. If it happens again, please let me know.

0 Likes