WebFont / webfont

Use custom free fonts in your projects.
5 stars 2 forks source link

[Bug] Error messages, if user offline #5

Open Kristinita opened 7 years ago

Kristinita commented 7 years ago

1. Summary

If I work in Sublime Text offline, when I don't have Internet, I get error messages.

It would be nice, if WebFont will try download fonts by Sublime Text loading, not by other hooks.

2. Steps to reproduce

I reproduce the problem in a version of Sublime Text without plugins and user settings.

My provider turned off the Internet. I make different actions in Sublime Text offline.

3. Expected behavior

Not popups, status bar messages and messages in Sublime Text console if user works in Sublime Text offline.

4. Actual behavior

1—5 times per hour my Sublime Text hangs to 4—7 seconds, and I get status bar messages, popups and console output.

key evt: control+super+f6
command: open_file {"file": "D:\\Киролайна\\test.md"}
exception <urlopen error [Errno 11001] getaddrinfo failed>
error: can't update fonts list

key evt: control+`
command: show_panel {"panel": "console", "toggle": true}
exception <urlopen error [Errno 11001] getaddrinfo failed>
error: can't update fonts list

Error

5. Environment

Operating system and version: Windows 10 Enterprise LTSB 64-bit EN Sublime Text: Build 3126 Package: I use the latest stable version of this package for Sublime Text 3

Thanks.

xVir commented 7 years ago

Ok, Thanks! It seems we have to fix it.