package_control icon indicating copy to clipboard operation
package_control copied to clipboard

Check the package and the website doesn't work - [platform: Win10 x64]

Open ahmetcadirci25 opened this issue 10 years ago • 34 comments

The website does not open

capture

Installed the Package Control , but this error occur while I'm trying to install package

3e361194-aa90-11e5-8e2d-7ea880f303d0

Package control is not installed

warning: mnemonic t not found in menu caption Tools
startup time: 0.144587
first paint time: 0.144587
reloading plugin Default.block
reloading plugin Default.comment
reloading plugin Default.copy_path
reloading plugin Default.delete_word
reloading plugin Default.detect_indentation
reloading plugin Default.duplicate_line
reloading plugin Default.echo
reloading plugin Default.exec
reloading plugin Default.fold
reloading plugin Default.font
reloading plugin Default.goto_line
reloading plugin Default.history_list
reloading plugin Default.indentation
reloading plugin Default.kill_ring
reloading plugin Default.mark
reloading plugin Default.new_templates
reloading plugin Default.open_context_url
reloading plugin Default.open_file_settings
reloading plugin Default.open_in_browser
reloading plugin Default.pane
reloading plugin Default.paragraph
reloading plugin Default.paste_from_history
reloading plugin Default.quick_panel
reloading plugin Default.save_on_focus_lost
reloading plugin Default.scroll
reloading plugin Default.set_unsaved_view_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.swap_line
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.trim_trailing_white_space
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
reloading plugin 0_package_control_loader.00-package_control
Package Control: Error finding main directory from loader
reloading plugin 0_package_control_loader.01-pygments
Traceback (most recent call last):
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 74, in reload_plugin
    m = importlib.import_module(modulename)
  File "./importlib/__init__.py", line 90, in import_module
  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 678, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "01-pygments in C:\Users\Ahmet İslam\AppData\Roaming\Sublime Text 3\Installed Packages\0_package_control_loader.sublime-package", line 1, in <module>
ImportError: No module named 'package_control'
reloading plugin 0_package_control_loader.02-bz2
Traceback (most recent call last):
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 74, in reload_plugin
    m = importlib.import_module(modulename)
  File "./importlib/__init__.py", line 90, in import_module
  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 678, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "02-bz2 in C:\Users\Ahmet İslam\AppData\Roaming\Sublime Text 3\Installed Packages\0_package_control_loader.sublime-package", line 1, in <module>
ImportError: No module named 'package_control'
reloading plugin 0_package_control_loader.50-backrefs
Traceback (most recent call last):
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 74, in reload_plugin
    m = importlib.import_module(modulename)
  File "./importlib/__init__.py", line 90, in import_module
  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 678, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "50-backrefs in C:\Users\Ahmet İslam\AppData\Roaming\Sublime Text 3\Installed Packages\0_package_control_loader.sublime-package", line 1, in <module>
ImportError: No module named 'package_control'
reloading plugin Alignment.Alignment
reloading plugin All Autocomplete.all_views_completions
reloading plugin AutoFileName.autofilename
reloading plugin AutoFileName.getimageinfo
reloading plugin BracketHighlighter.bh_core
Traceback (most recent call last):
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 74, in reload_plugin
    m = importlib.import_module(modulename)
  File "./importlib/__init__.py", line 90, in import_module
  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 678, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "bh_core in C:\Users\Ahmet İslam\AppData\Roaming\Sublime Text 3\Installed Packages\BracketHighlighter.sublime-package", line 16, in <module>
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 678, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "bh_rules in C:\Users\Ahmet İslam\AppData\Roaming\Sublime Text 3\Installed Packages\BracketHighlighter.sublime-package", line 7, in <module>
ImportError: No module named 'backrefs'
reloading plugin BracketHighlighter.bh_logging
reloading plugin BracketHighlighter.bh_plugin
reloading plugin BracketHighlighter.bh_regions
reloading plugin BracketHighlighter.bh_remove
reloading plugin BracketHighlighter.bh_rules
Traceback (most recent call last):
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 72, in reload_plugin
    m = imp.reload(m)
  File "./imp.py", line 276, in reload
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 678, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "bh_rules in C:\Users\Ahmet İslam\AppData\Roaming\Sublime Text 3\Installed Packages\BracketHighlighter.sublime-package", line 7, in <module>
ImportError: No module named 'backrefs'
reloading plugin BracketHighlighter.bh_search
reloading plugin BracketHighlighter.bh_swapping
reloading plugin BracketHighlighter.bh_wrapping
reloading plugin DocBlockr.jsdocs
reloading plugin Emmet.emmet-plugin
reloading plugin HTML5.encode_html_entities
reloading plugin HTML5.html_completions
reloading plugin JsFormat.js_formatter
reloading plugin LESS.less_completions
reloading plugin Markdown HTML Preview.MarkdownHtmlPreview
reloading plugin MarkdownEditing.bootstrap
reloading plugin MarkdownEditing.custom_find_under_expand
reloading plugin MarkdownEditing.decide_title
reloading plugin MarkdownEditing.distraction_free_mode
reloading plugin MarkdownEditing.footnotes
reloading plugin MarkdownEditing.gather_missing_links
reloading plugin MarkdownEditing.indent_list_item
reloading plugin MarkdownEditing.indent_list_multiitem
reloading plugin MarkdownEditing.insert_references
reloading plugin MarkdownEditing.jumpToMarker
reloading plugin MarkdownEditing.lint
reloading plugin MarkdownEditing.list_markdown_references
reloading plugin MarkdownEditing.numbered_list
reloading plugin MarkdownEditing.paste_as_link
reloading plugin MarkdownEditing.paste_as_reference
reloading plugin MarkdownEditing.quote_indenting
reloading plugin MarkdownEditing.switch_list_bullet_type
reloading plugin MarkdownEditing.underlined_headers
reloading plugin Nodejs.__init__
reloading plugin Nodejs.Nodejs
reloading plugin SassBeautify.SassBeautify
reloading plugin SCSS.scss_completions
reloading plugin SideBarEnhancements.SideBar
reloading plugin SideBarEnhancements.SideBarAPI
reloading plugin SideBarEnhancements.SideBarDefaultDisable
reloading plugin SideBarFolders.SideBarFolders
plugins loaded
warning: mnemonic t not found in menu caption Tools
Emmet: No need to update PyV8
>>> import urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
Traceback (most recent call last):
  File "./urllib/request.py", line 1248, in do_open
  File "./http/client.py", line 1065, in request
  File "./http/client.py", line 1103, in _send_request
  File "./http/client.py", line 1061, in endheaders
  File "./http/client.py", line 906, in _send_output
  File "./http/client.py", line 844, in send
  File "./http/client.py", line 822, in connect
  File "./socket.py", line 435, in create_connection
  File "./socket.py", line 426, in create_connection
TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "./urllib/request.py", line 156, in urlopen
  File "./urllib/request.py", line 469, in open
  File "./urllib/request.py", line 487, in _open
  File "./urllib/request.py", line 447, in _call_chain
  File "./urllib/request.py", line 1268, in http_open
  File "./urllib/request.py", line 1251, in do_open
urllib.error.URLError: <urlopen error [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond>

ahmetcadirci25 avatar Jan 01 '16 19:01 ahmetcadirci25

I'm also getting this on OSX. It appears packagecontrol.io is down?

karlhorky avatar Jan 01 '16 20:01 karlhorky

Site is down. image

brawaru avatar Jan 01 '16 21:01 brawaru

Same here. Hope it gets fixed soon!

MarcelRobitaille avatar Jan 01 '16 21:01 MarcelRobitaille

see their tweets on Twitter

ahmetcadirci25 avatar Jan 01 '16 21:01 ahmetcadirci25

@ahmetislam25 Who's twitter?

MarcelRobitaille avatar Jan 01 '16 22:01 MarcelRobitaille

I think Ahmet is referring to @wbond's Twitter: https://twitter.com/wbond/status/683059802533195776

Linode is experiencing outages in Atlanta as a result of a DDoS attack.

karlhorky avatar Jan 01 '16 23:01 karlhorky

@wbond is there any way to work around these issues until connectivity is restored? Maybe saving a local version of the channel json in package control's directory and forcing it to use this cache?

karlhorky avatar Jan 01 '16 23:01 karlhorky

@karlhorky Caching automatically happens, but the default lifetime is 5 minutes, and it is kept in memory, so it resets when ST is restarted.

Additionally, HTTP requests are cached on disk, but currently are only used to allow servers to respond with a 304 when a resource has not changed.

Additional logic would be required to try and figure out when a connection-level failure occurred and whether a cached response was recent enough to use.

wbond avatar Jan 02 '16 00:01 wbond

opened website a few minutes ago. 5 minutes later went back to the site.

ahmetcadirci25 avatar Jan 02 '16 09:01 ahmetcadirci25

@wbond ah ok so could a workaround be possible like this:

  • run a local server that responds with 304s for the channel json file
  • add an entry to the hosts file to point packagecontrol.io at this local server
  • change the date on the local cache to be less than 5 minutes old

I still have a copy of the json cached from December 27, so this will probably be sufficient to install some packages. Would this work?

Maybe for the future, a fallback server can be considered. Maybe it can be hosted from GitHub Pages?

karlhorky avatar Jan 02 '16 10:01 karlhorky

Although it is just json, the server still has to deliver a lot of data. I doubt "abusing" github pages is the right call here.

To me, it sounds like the best idea atm to increase the caching duration to a few days and fall back to it in case of connection failure.

FichteFoll avatar Jan 02 '16 12:01 FichteFoll

Package Control moves between hundreds of gigabytes to over a terabyte of JSON data per day. The only way it is possible without massive bandwidth bills is a custom bz2 transfer encoding. Putting raw JSON anywhere would be an abuse of any sort of free hosting.

I could spend a bunch of my time, unpaid, to try to find inexpensive or free ways that users can continue to use Package Control in the very rare even of Linode issues. However, I feel trying to build a sustainable funding of Package Control from the hundreds of thousands of daily users, so that extra infrastructure can be purchased, is a better plan.

wbond avatar Jan 02 '16 13:01 wbond

Hm, yeah the data volume sounds like it's definitely an issue.

How feasible would it be that users could just clone the packagecontrol.io repo from GitHub and start a local server? Not sure if the repo just works out of the box like that. Still wouldn't be an effortless, "it just works" fallback, but maybe it could be a stopgap workaround until there's more funding for infrastructure.

karlhorky avatar Jan 02 '16 14:01 karlhorky

If this is not an option then maybe the easiest solution for now is what @FichteFoll mentioned.

karlhorky avatar Jan 02 '16 14:01 karlhorky

I can't access it either. It's still down. :/

TheAwesomeGem avatar Jan 02 '16 15:01 TheAwesomeGem

@TheAwesomeGem Yes, the problem continues :/

ahmetcadirci25 avatar Jan 02 '16 17:01 ahmetcadirci25

@wbond Thanks for your awesome work on this project. I totally agree that we need a community sponsored hardware failover solution. How much would we be looking at to set up an instance in another datacenter... say newark? I would be willing to donate to see this happen.

SupremeTechnopriest avatar Jan 02 '16 18:01 SupremeTechnopriest

please get it online, I will donate, please!

Hualin avatar Jan 02 '16 21:01 Hualin

me too, please get it online somehow

ashuforweb avatar Jan 02 '16 22:01 ashuforweb

Site is online now

UPD: But all packages are removed, as site says image image

brawaru avatar Jan 02 '16 22:01 brawaru