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

Plugin doesn't work for Sublime 3114, please check pfronczak's last reply #112

Closed
eugenevabishchevich opened this issue May 13, 2016 · 15 comments

Comments

@eugenevabishchevich
Copy link

Hey!

I have updated sublime to 3114 and plugin doesn't work. Could you help?

@xjsender
Copy link
Owner

@eugenevabishchevich , I am also experienced the same problem, as you see, in the sublime home page, the latest sublime version is also rollback, you can see the cached page by google.

I think, there are some bugs in the new version, which may be caused by update of buildin python lib, please downgrade your sublime to 3103, after that, it will ok.

Thanks.

@eugenevabishchevich
Copy link
Author

Ok, thanks!

@reyesml
Copy link

reyesml commented May 13, 2016

Here's a portable version of 3103 for windows x64

https://download.sublimetext.com/Sublime%20Text%20Build%203103%20x64.zip

@YangZhang00
Copy link

mac上也一样,sublime 升级后,switch project 按钮就是灰色的。windows的也一样

@xjsender
Copy link
Owner

@SunLangzi , ge men, please downgrade your sublime.

BTW, you can jian ru QQ group (190704724) for online support if you want.

@YangZhang00
Copy link

您要加入的群满员! 😓

@alker7
Copy link

alker7 commented May 16, 2016

I downgraded to 3103 and it works again. For MacOS click here
https://download.sublimetext.com/Sublime%20Text%20Build%203103.dmg

@gmwamsoyo
Copy link

Can anybody share 3103 downgrade for Windows?

On Mon, May 16, 2016 at 1:13 PM, Alex Kerschhofer [email protected]
wrote:

I downgraded to 3103 and it works again. For MacOS click here
https://download.sublimetext.com/Sublime%20Text%20Build%203103.dmg


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#112 (comment)

@eugenevabishchevich
Copy link
Author

You can try to change version of sublime in download link. It works for mac.

@gmwamsoyo
Copy link

I got HaoIDE active again on ST3 for Windows by downloading build 3103 from
https://download.sublimetext.com/Sublime%20Text%20Build%203103%20x64%20Setup.exe

On Mon, May 16, 2016 at 2:50 PM, eugenevabishchevich <
[email protected]> wrote:

You can try to change version of sublime in download link. It works for
mac.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#112 (comment)

@pfronczak
Copy link

Hi,
While downgrading Sublime is a valid workaround are there any plans to actually fix this compatibility issue? It looks like the update 3114 is going to stay (https://www.sublimetext.com/3).

@xjsender
Copy link
Owner

@pfronczak , sorry, I just checked it, sublime 3114 is not available to download.

@xjsender
Copy link
Owner

@pfronczak , actually, I can't fix this problem, you should request help from package control.

If you really want to use haoide in sublime 3114, you can manually install this plugin.


How to manually install this plugin

  • Download Zip
  • Extract your file as below screenshot

image

@pfronczak
Copy link

I've done some digging and got to the bottom of this issue. Here's what's happening:

  • one of the files in haoide package (salesforce/lib/dateutil/parser.py) is not utf-8 encoded and when Sublime reads the contents of zipped packages it assumes that all files inside are utf-8 encoded
  • previously that wasn't a big issue because Sublime was just skipping over such files and the package was loaded successfully
  • in build 3114 Sublime introduced a bug in the error handling of non utf-8 encoded files which caused the whole process of loading the plugins to crash if it encountered one non utf-8 encoded file.

The good news is that this has been already reported and Sublime devs promised to fix it (https://forum.sublimetext.com/t/package-control-not-available/20120/4)

So, as @xjsender mentioned - nothing to fix on haoide side, but in the meantime, if anyone wants to use haoide with Sublime build 3114 you can either extract the plugin (as mentioned above) or if you want the haoide to stay managed by Package Control you can easily fix the Sublime bug yourself:

  • In your main Sublime Text folder there's a sublime_plugin.py file. All you have to do is change the line 728 from:
print(f, "in", zippath, "is not utf-8 encoded, unable to load plugin")

to

print(f, "in", self.zippath, "is not utf-8 encoded, unable to load plugin")

@xjsender
Copy link
Owner

@pfronczak , thanks for your information about this issue, It's a obvious bug of the sublime.

I just did it as your mentioned and it worked.

Thanks.

@xjsender xjsender added fixed and removed wontfix labels Jun 5, 2016
@xjsender xjsender closed this as completed Jun 5, 2016
@xjsender xjsender reopened this Jun 14, 2016
@xjsender xjsender changed the title Plugin doesn't work after Sublime update Plugin doesn't work for Sublime 3114 Jun 14, 2016
@xjsender xjsender changed the title Plugin doesn't work for Sublime 3114 Plugin doesn't work for Sublime 3114, please check pfronczak's last reply Jun 14, 2016
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

7 participants