emmetio / sublime-tern

TernJS plugin for Sublime Text
222 stars 13 forks source link

Troubles accessing the pyv8 over a proxy #9

Closed nikravi closed 11 years ago

nikravi commented 11 years ago

Hi!

I have an issue with this plugin, I'm using sublime at work, and we have a proxy. Initially I could not get the packages for sublime, after I set the proxy settings for the package manager, I was able to retrieve the list. But it seems that in the TernJS package you are getting pyv8 without using those settings.. I guess Emmet plugin also has this issue..

Thanks

ps: I'm using Sublime 2, the error I'm getting is

a lot of this ternjs.pyv8loader: Downloading https://api.github.com/repos/emmetio/pyv8-binaries/contents timed out, trying again

and then

Exception in thread Thread-5352:
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 736, in run
    self.function(*self.args, **self.kwargs)
  File "./ternjs/pyv8loader.py", line 268, in run
    return self.trigger('error', exit_code=self.thread.exit_code, progress=self)
  File "./ternjs/pyv8loader.py", line 287, in trigger
    c(*args, **kwargs)
TypeError: on_error() got an unexpected keyword argument 'progress'
sergeche commented 11 years ago

You can install PyV8 manually: https://github.com/emmetio/pyv8-binaries

nikravi commented 11 years ago

Yes.. sorry

thanks