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

zlib error when installing paredit-plus #5

Open
kappa opened this issue Dec 14, 2014 · 10 comments
Open

zlib error when installing paredit-plus #5

kappa opened this issue Dec 14, 2014 · 10 comments

Comments

@kappa
Copy link

kappa commented Dec 14, 2014

Trying to install paredit-plus from a freshly downloaded LT 0.7.2 I see this in console:

Error: incorrect header check
at Zlib._binding.onerror (zlib.js:295:17)

Installing other plugins work ok.

@kappa
Copy link
Author

kappa commented Dec 14, 2014

Investigating deeper I found a broken tarball in ~/.config/LightTable/plugins
% cat plugins/Paredit_Plus-tmp.tar.gz
{"message":"Not Found","documentation_url":"https://developer.github.com/v3"}

I don't know if the problem is in LT itself.

Deleting the file and all LT caches does not help.

@cobalamin
Copy link

I'm having the same problem. The plugin will not install through LightTable's plugin manager.

My current workaround is to manually grab the current version from the Releases section: https://github.com/otijhuis/paredit-plus/releases , and unpack that into LightTable's plugins folder (that depends on your OS, for me it was ~/.config/LightTable/plugins).

@otijhuis
Copy link
Owner

otijhuis commented Feb 7, 2015

Something probably changed in LightTable regarding plugins. I haven't touched the plugin (nor LightTable) in about a year so haven't kept up with the changes. Ran into too many little issues back then so went back to emacs.

Wouldn't mind creating a new release if there's an easy fix but don't have much time to look into it.

What OS are you using?

@mbernat
Copy link

mbernat commented Apr 13, 2015

Still happens on 0.7.2.

@otijhuis
Copy link
Owner

Multiple plugins seem to have (or had) the same problem and I can't find any clear answer on how to fix it. Looks like it was originally a github issue that was supposed to resolve itself.

The only thing I can think of is releasing a new version (just incrementing the version number) to see if that solves the problem.

@otijhuis
Copy link
Owner

Created a new version and opened a LightTable plugin issue to have them update the plugin version to 0.0.7.

Hopefully that will solve the problem.

@rundis
Copy link

rundis commented Jul 2, 2015

Hi !

I think somewhere along the plugin handling rewrite, handling of .git as a suffix for the source meta attribute wasn't accounted for. So your plugin has https://github.com/otijhuis/paredit-plus.git, which is absolutely valid, however paredit-plus.git is not a valid repo name when using the github api for downloading tarballs.

Anyways, this LightTable/LightTable#1937 fixes that (in addition to handling when download fails)

@otijhuis
Copy link
Owner

otijhuis commented Jul 2, 2015

Ah, thx. Nice to know what the cause of the problem is.

Anything I need to do or just wait for it to get fixed in LightTable?

@rundis
Copy link

rundis commented Jul 2, 2015

We're working on a 0.8 release of LT and I can't see any reason this fix will be part of it. When 0.8 is out is still an unknown, hopefully soon but you never know.

If you get impatient due to complaints from users of your plugin it's only a matter of creating a new tag for your plugin and remove the .git suffix from the source attribute in your plugin.edn. If you do just give me a shout or submit an issue to the plugin-metadata repo and I'll release a new version.

Alternatively you could route your users to try out https://github.com/rundis/parembrace :-)

cheers
Magnus

@otijhuis
Copy link
Owner

otijhuis commented Jul 2, 2015

I'll probably have some time to fix it this weekend. And I'll mention the other plugin in the readme.

Thanks for the help. Glad it's an easy fix in the end.

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

No branches or pull requests

5 participants