Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

automatic installation is not working #50

Closed
pkritiya opened this issue Mar 10, 2018 · 12 comments
Closed

automatic installation is not working #50

pkritiya opened this issue Mar 10, 2018 · 12 comments

Comments

@pkritiya
Copy link

Added repository, https://github.com/renerocksai/sublime_zk, but the package is not found from package control - can't do automatic installation. Any work around to this problem?

@renerocksai
Copy link
Owner

Hi, I just checked and get the same behaviour. This seems to be a package control issue. I will try to research what's causing this. I'll also dig into package control. Last time I checked its documentation it appeared to be quite an involved process to get something into the main channel.

One other user reported in the past that it took a few minutes until they were able to get the latest version after I had pushed it to GitHub. So maybe it just takes time...

@renerocksai
Copy link
Owner

BTW the workaround you probably have discovered already is to just download / clone from GitHub into your packages directory

@renerocksai
Copy link
Owner

Update: Package control works with the added repository.
The reason I couldn't install via package control is because it figured out that I already had that package from the same github repository installed (manually) already.

When I "package control: list packages", it shows "sublime_zk".

I suspect, by reading installation/re-installation in #51, that your case is similar.

Can you confirm?

@pkritiya
Copy link
Author

Well, I have tried with two machines. One of them is a new Mac, which I haven't installed any version of sublime text. Package control automatic install didn't work with this new machine as well. I think it could be a package control issue as you said. Thanks for your quick reply!

@renerocksai
Copy link
Owner

renerocksai commented Mar 10, 2018

Hmmm, that's very odd. BTW I have made a few changes to make it package control compatible and have sent them a pull request. it is awaiting review, don't know how long it will take but soon it should work as with any other package 😄 .

I noticed some weird package control glitch a few days ago when I wanted to install the pandoc package on a new machine. it was gone, not installable. a day or two later, it was back. So maybe what you are getting is the odd package control hickup.

@southern-tools
Copy link

Same problem here (running Gentoo) I added the repo but cannot see the package

@jonathan-s
Copy link
Contributor

And same here, added the repo but can't see the package.

@renerocksai
Copy link
Owner

This is unfortunate, I guess something in package control is broken. 9 days ago I made sublime_zk package-control compatible and filed for inclusion via pull request wbond/package_control_channel#6991 . So far, it hasn't been included and is one of the many pull requests idling around there.

If package control doesn't work (with the added GitHub repository), for now I can only recommend the manual installation.

Sorry about that. I hope package control will fix this issue soon.

@southern-tools
Copy link

southern-tools commented Mar 19, 2018 via email

@renerocksai
Copy link
Owner

renerocksai commented Mar 31, 2018

Here is the fix, see:

Use the menu to open the PackageControl settings:

  • Preferences > Package Settings > Package Control > Settings - User

Add the following lines (e.g. after "bootstrapped": true,"):

	"downloader_precedence":
	{
		"linux":
		[
			"curl",
			"urllib",
			"wget"
		],
		"osx":
		[
			"curl",
			"urllib"
		],
		"windows":
		[
			"wininet"
		]
	},

This forces package control to use curl on OS X which can handle GitHub certificates (I think) 😄

@southern-tools
Copy link

southern-tools commented Apr 1, 2018 via email

@LastQuinsy
Copy link

@renerocksai thank you so much*) Killed for several days to find this post and fix the problem =. =

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants