Sublime Forum

Installing packages not working?

#1

I’ve just downloaded the new release of Sublime, and am trying it out. I’ve never used any of the earlier versions

I attempted to open a local copy of httpd.com on my PC, I got a dialog from Sublime that said “Install package httpd?” I answered yes, and got the message that the package would be installed on next start. I restarted Sublime, no sign of the package. When I tried to edit the httpd.conf again, I got the same dialog.

Since then I tried to install a couple of packages from the wiki, but I can’t see any sign they’ve been installed.

Thanks,
Matt

0 Likes

#2

Thanks for the reply…

With the httpd.conf file - I associated it with Sublime editor in windows, and opened it by double clicking it. Perhaps Sublime is interpreting the association as a package file not an editable file? Is there somewhere inside Sublime where file extensions are registered?

As to the other packages: I just tried PasteColumn, and it worked. The two I tried earlier, ChooseAnyKey and RegexBuddy, did not work. When I try to install, I get the error dialog “Assertion failed in .\notification_manager.cpp:20: s_singletonInstance”, and Sublime crashes. The directories are there in “Browse Packages”, but I can’t see any way to access them in Sublime, so I assume they are not installed.

0 Likes

#3

Can you tell me how you associated the file with Sublime Text? Something has gone wrong, and sublime is being started with --install on the command line, so it thinks the file you have double clicked on is a package to be installed.

re: the crash when installing packages, it turns out there’s a bug in sublime where it does this when it’s unable to copy the package file, though I’m not sure why that would be failing. The crash will be fixed in the next version in any case.

0 Likes

#4

I associated it the normal way in windows explorer, using the “Open file with” dialog.

0 Likes

#5

I believe there are three unrelated issues confused here. I’ve solved one of them

  1. Sublime crashed when installing a package: Jon says this is a known bug (see above)
  2. Packages not working. I’ve started a new thread about this.
  3. Sublime trying to open any file as a package file: I’ve found the problem

The registry key HKEY_CLASSES_ROOT\Applications\sublimetext.exe\shell\open\command was set wrong after installing Sublime. It was set to “C:\Program Files\Sublime Text\sublimetext.exe” --install “%1” instead of just “C:\Program Files\Sublime Text\sublimetext.exe” “%1”. Editing the registry key seems to have fixed the problem.

Perhaps an error in the Sublime installer?

0 Likes