Colorsublime / Colorsublime-Plugin

Plugin for Color Sublime
MIT License
540 stars 58 forks source link

Connection problem ? #32

Open alessandrobelli opened 8 years ago

alessandrobelli commented 8 years ago

Hello! I'm trying to run "install themes" but I get this error: ERROR:Colorsublime.colorsublime.status:Theme list not found. Please check internet connection or enable debug in settings and report the stack traces. INFO:Colorsublime.colorsublime.status:ERROR: Theme list not found. Please check internet connection or enable debug in settings and report the stack traces. Running install command.

ERROR:Colorsublime.colorsublime.http:'bytes' object has no attribute 'getcode'
Traceback (most recent call last):
  File "colorsublime.http in C:\Users\abelli\Programs\Sublime Text Build 3103\Data\Installed Packages\Colorsublime.sublime-package", line 23, in _run_downloader
  File "colorsublime.http.downloaders.urllib in C:\Users\abelli\Programs\Sublime Text Build 3103\Data\Installed Packages\Colorsublime.sublime-package", line 33, in get
AttributeError: 'bytes' object has no attribute 'getcode'
ERROR:Colorsublime.colorsublime.async:Command execution error:
Traceback (most recent call last):
  File "colorsublime.async in C:\Users\abelli\Programs\Sublime Text Build 3103\Data\Installed Packages\Colorsublime.sublime-package", line 43, in cb
  File "colorsublime.lib.concurrent.futures._base in C:\Users\abelli\Programs\Sublime Text Build 3103\Data\Installed Packages\Colorsublime.sublime-package", line 397, in result
  File "colorsublime.lib.concurrent.futures._base in C:\Users\abelli\Programs\Sublime Text Build 3103\Data\Installed Packages\Colorsublime.sublime-package", line 356, in __get_result
  File "colorsublime.lib.concurrent.futures.thread in C:\Users\abelli\Programs\Sublime Text Build 3103\Data\Installed Packages\Colorsublime.sublime-package", line 72, in run
  File "colorsublime.commands in C:\Users\abelli\Programs\Sublime Text Build 3103\Data\Installed Packages\Colorsublime.sublime-package", line 30, in fetch_repo
  File "colorsublime.io in C:\Users\abelli\Programs\Sublime Text Build 3103\Data\Installed Packages\Colorsublime.sublime-package", line 23, in extract
  File "./python3.3/tempfile.py", line 660, in write

My connection is working, other plugins are working correctly, what is my problem? I checked this url in the settings: "repo_url": "https://github.com/Colorsublime/Colorsublime-Themes/archive/master.zip" and it's working...

blopker commented 8 years ago

Thank you for the report.

What version OS and Sublime Text are you using?

On Fri, Nov 25, 2016, 1:11 AM Alessandro Belli notifications@github.com wrote:

Hello! I'm trying to run "install themes" but I get this error: ERROR:Colorsublime.colorsublime.status:Theme list not found. Please check internet connection or enable debug in settings and report the stack traces. INFO:Colorsublime.colorsublime.status:ERROR: Theme list not found. Please check internet connection or enable debug in settings and report the stack traces. Running install command.

ERROR:Colorsublime.colorsublime.http:'bytes' object has no attribute 'getcode' Traceback (most recent call last): File "colorsublime.http in C:\Users\abelli\Programs\Sublime Text Build 3103\Data\Installed Packages\Colorsublime.sublime-package", line 23, in _run_downloader File "colorsublime.http.downloaders.urllib in C:\Users\abelli\Programs\Sublime Text Build 3103\Data\Installed Packages\Colorsublime.sublime-package", line 33, in get AttributeError: 'bytes' object has no attribute 'getcode' ERROR:Colorsublime.colorsublime.async:Command execution error: Traceback (most recent call last): File "colorsublime.async in C:\Users\abelli\Programs\Sublime Text Build 3103\Data\Installed Packages\Colorsublime.sublime-package", line 43, in cb File "colorsublime.lib.concurrent.futures._base in C:\Users\abelli\Programs\Sublime Text Build 3103\Data\Installed Packages\Colorsublime.sublime-package", line 397, in result File "colorsublime.lib.concurrent.futures._base in C:\Users\abelli\Programs\Sublime Text Build 3103\Data\Installed Packages\Colorsublime.sublime-package", line 356, in __get_result File "colorsublime.lib.concurrent.futures.thread in C:\Users\abelli\Programs\Sublime Text Build 3103\Data\Installed Packages\Colorsublime.sublime-package", line 72, in run File "colorsublime.commands in C:\Users\abelli\Programs\Sublime Text Build 3103\Data\Installed Packages\Colorsublime.sublime-package", line 30, in fetch_repo File "colorsublime.io in C:\Users\abelli\Programs\Sublime Text Build 3103\Data\Installed Packages\Colorsublime.sublime-package", line 23, in extract File "./python3.3/tempfile.py", line 660, in write

My connection is working, other plugins are working correctly, what is my problem? I checked this url in the settings: "repo_url": " https://github.com/Colorsublime/Colorsublime-Themes/archive/master.zip" and it's working...

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Colorsublime/Colorsublime-Plugin/issues/32, or mute the thread https://github.com/notifications/unsubscribe-auth/AAuO_5QvgB1ti6IghM7BPf_bwsZTx7gKks5rBqYlgaJpZM4K8PKT .

alessandrobelli commented 8 years ago

@blopker Windows 7 service pack 1 Last stable version, build 3126

blopker commented 8 years ago

OK, thanks. I'll take a look when I can get a Windows VM up. It's odd that it's trying to open a file called 'colorsublime.io'. It should be that zip file. It's also weird your Sublime Text directory does not match the build number you're running.

Other users has issues when an ST update corrupted their installs in subtle ways. If it's not too much hassle I'd start with wiping ST and reinstalling.

On Fri, Nov 25, 2016, 8:06 AM Alessandro Belli notifications@github.com wrote:

@blopker https://github.com/blopker Windows 7 service pack 1 Last stable version, build 3126

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/Colorsublime/Colorsublime-Plugin/issues/32#issuecomment-262987701, or mute the thread https://github.com/notifications/unsubscribe-auth/AAuO_4R3mVqUOHnxFH4mqIpCOCIqmUevks5rBweDgaJpZM4K8PKT .

lijint commented 7 years ago

same problem

jarvisdev commented 6 years ago

I faced the same issue. Please help.

blopker commented 1 year ago

Sorry to dig this up from the grave, but I saw that there was a coding error which was hiding the real reason this error was happening. That's been fixed, but the real issue probably hasn't. At least if it happens again the logs will show the real issue now (as of 2.1.1). Although if anyone one is on Mac or Linux, the package tries to use wget or curl first so installing either of those will likely resolve the issue as well.

lijint commented 1 year ago

我是李锦韬,已经收到你发的邮件了,我会及时查收的,谢谢