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

ImportError: No module named 'six' #39

Closed
konius opened this Issue Dec 10, 2015 · 34 comments

Comments

Projects
None yet
@konius

konius commented Dec 10, 2015

Traceback (most recent call last):
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 556, in run_
return self.run(edit)
File "jsbeautify in /Users/User1/Library/Application Support/Sublime Text 3/Installed Packages/Javascript Beautify.sublime-package", line 115, in run
File "jsbeautify in /Users/User1/Library/Application Support/Sublime Text 3/Installed Packages/Javascript Beautify.sublime-package", line 190, in format_whole_file
File "/Users/User1/Library/Application Support/Sublime Text 3/Installed Packages/Javascript Beautify.sublime-package/libs/js-beautify/python/jsbeautifier/init.py", line 237, in beautify
File "/Users/User1/Library/Application Support/Sublime Text 3/Installed Packages/Javascript Beautify.sublime-package/libs/js-beautify/python/jsbeautifier/init.py", line 315, in init
File "/Users/User1/Library/Application Support/Sublime Text 3/Installed Packages/Javascript Beautify.sublime-package/libs/js-beautify/python/jsbeautifier/init.py", line 157, in init
ImportError: No module named 'six'

@Koleok

This comment has been minimized.

Show comment
Hide comment
@Koleok

Koleok Dec 10, 2015

Same, just started today after using this seamlessly for months

Koleok commented Dec 10, 2015

Same, just started today after using this seamlessly for months

@bolgovr

This comment has been minimized.

Show comment
Hide comment
@bolgovr

bolgovr commented Dec 10, 2015

+1

@Koleok

This comment has been minimized.

Show comment
Hide comment
@Koleok

Koleok Dec 10, 2015

It is eye opening how much I depend on this haha

Koleok commented Dec 10, 2015

It is eye opening how much I depend on this haha

@danmt

This comment has been minimized.

Show comment
Hide comment
@danmt

danmt commented Dec 11, 2015

+1

@sahilnarain

This comment has been minimized.

Show comment
Hide comment
@sahilnarain

sahilnarain Dec 11, 2015

+1, this was working perfectly fine till a few hours ago!

sahilnarain commented Dec 11, 2015

+1, this was working perfectly fine till a few hours ago!

@xenomuta

This comment has been minimized.

Show comment
Hide comment
@xenomuta

xenomuta Dec 11, 2015

+1
How can we install it to sublime from repo?

xenomuta commented Dec 11, 2015

+1
How can we install it to sublime from repo?

@fyelles

This comment has been minimized.

Show comment
Hide comment
@fyelles

fyelles Dec 11, 2015

while they fix it. You can add a new repo from https://github.com/fyelles/js-beautify-sublime and install the package again. ( I remove the latest commit from my fork)

fyelles commented Dec 11, 2015

while they fix it. You can add a new repo from https://github.com/fyelles/js-beautify-sublime and install the package again. ( I remove the latest commit from my fork)

@maaaaarco

This comment has been minimized.

Show comment
Hide comment
@maaaaarco

maaaaarco Dec 14, 2015

Same here :(

maaaaarco commented Dec 14, 2015

Same here :(

@booleanbetrayal

This comment has been minimized.

Show comment
Hide comment
@booleanbetrayal

booleanbetrayal commented Dec 14, 2015

oww ...

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Dec 14, 2015

Thanks @fyelles for the fork, got us working again; can't live without it :)

ghost commented Dec 14, 2015

Thanks @fyelles for the fork, got us working again; can't live without it :)

@theblang

This comment has been minimized.

Show comment
Hide comment
@theblang

theblang Dec 15, 2015

Thanks @fyelles ! I removed the original package, did a git clone of your fork in /Users/{user}/Library/Application Support/Sublime Text 3/Packages, then everything was good!

theblang commented Dec 15, 2015

Thanks @fyelles ! I removed the original package, did a git clone of your fork in /Users/{user}/Library/Application Support/Sublime Text 3/Packages, then everything was good!

@cromestant

This comment has been minimized.

Show comment
Hide comment
@cromestant

cromestant Dec 16, 2015

+1 issue happening

cromestant commented Dec 16, 2015

+1 issue happening

@Koleok

This comment has been minimized.

Show comment
Hide comment
@Koleok

Koleok Dec 16, 2015

Thanks also @fyelles i was able to get back to work using your suggestion :)

Koleok commented Dec 16, 2015

Thanks also @fyelles i was able to get back to work using your suggestion :)

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Dec 17, 2015

Having used @fyelles fork with surpirising ease, here's how for anyone that might otherwise take an unnecessarily more complex route.

  1. Select Package Control and then Add Repository
  2. Copy/Paste/Enter the URL https://github.com/fyelles/js-beautify-sublime to add the repo
  3. Select Package Control and now remove Javascript beautify
  4. Finally, select Package Control and add Javascript beautify, making sure it shows that it's coming from the fyelles link. That's it!

The first time I did this the package showed up twice when adding and I made sure to select the correct one; doing it again just now on a different machine it only showed the fyelles one, but that's just fine :)

ghost commented Dec 17, 2015

Having used @fyelles fork with surpirising ease, here's how for anyone that might otherwise take an unnecessarily more complex route.

  1. Select Package Control and then Add Repository
  2. Copy/Paste/Enter the URL https://github.com/fyelles/js-beautify-sublime to add the repo
  3. Select Package Control and now remove Javascript beautify
  4. Finally, select Package Control and add Javascript beautify, making sure it shows that it's coming from the fyelles link. That's it!

The first time I did this the package showed up twice when adding and I made sure to select the correct one; doing it again just now on a different machine it only showed the fyelles one, but that's just fine :)

@cromestant

This comment has been minimized.

Show comment
Hide comment
@cromestant

cromestant Dec 17, 2015

This is all great but maybe the PR should just be merged

On Thursday, December 17, 2015, ioncube notifications@github.com wrote:

Having used @fyelles https://github.com/fyelles fork with surpirising
ease, here's how for anyone that might otherwise take an unnecessarily more
complex alternative.

  1. Select Package Control and then Add Repository
  2. Copy/Paste/Enter the URL
    https://github.com/fyelles/js-beautify-sublime to add the repo
  3. Select Package Control and now remove Javascript beautify
  4. Finally, select Package Control and add Javascript beautify, making
    sure it shows that it's coming from the fyelles link. That's it!

The first time I did this the package showed up twice when adding and I
made sure to select the correct one; doing it again just now on a different
machine it only showed the fyelles one, but that's just fine :)


Reply to this email directly or view it on GitHub
#39 (comment)
.

MSc. Charles M. Romestant F.

Merci de penser à l'environnement avant d'imprimer cet e-mail
Please think about the environment before you print this e-mail
Por favor piense en el medio ambiente antes de imprimir este e-mail

cromestant commented Dec 17, 2015

This is all great but maybe the PR should just be merged

On Thursday, December 17, 2015, ioncube notifications@github.com wrote:

Having used @fyelles https://github.com/fyelles fork with surpirising
ease, here's how for anyone that might otherwise take an unnecessarily more
complex alternative.

  1. Select Package Control and then Add Repository
  2. Copy/Paste/Enter the URL
    https://github.com/fyelles/js-beautify-sublime to add the repo
  3. Select Package Control and now remove Javascript beautify
  4. Finally, select Package Control and add Javascript beautify, making
    sure it shows that it's coming from the fyelles link. That's it!

The first time I did this the package showed up twice when adding and I
made sure to select the correct one; doing it again just now on a different
machine it only showed the fyelles one, but that's just fine :)


Reply to this email directly or view it on GitHub
#39 (comment)
.

MSc. Charles M. Romestant F.

Merci de penser à l'environnement avant d'imprimer cet e-mail
Please think about the environment before you print this e-mail
Por favor piense en el medio ambiente antes de imprimir este e-mail

@endquote

This comment has been minimized.

Show comment
Hide comment
@endquote

endquote Dec 19, 2015

Can't seem to get it to install in ST 3083 Mac, the enginespot module always wins over the fyelles one even after adding the repo to package control.

endquote commented Dec 19, 2015

Can't seem to get it to install in ST 3083 Mac, the enginespot module always wins over the fyelles one even after adding the repo to package control.

@endquote

This comment has been minimized.

Show comment
Hide comment
@endquote

endquote Dec 19, 2015

Ok, actually @ioncube 's instructions do work, but when you install the new one, the title is "js-beautify-sublime", not "JavaScript Beautify".

endquote commented Dec 19, 2015

Ok, actually @ioncube 's instructions do work, but when you install the new one, the title is "js-beautify-sublime", not "JavaScript Beautify".

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Dec 21, 2015

@endquote in the package control list it's js-beautify-sublime, but in the Package Settings it still says Javascript Beautify for me, and the setting and key bindings under that name still work (I bound it to ctrl-f12). Maybe depends on platform or other things but at least it works :)

ghost commented Dec 21, 2015

@endquote in the package control list it's js-beautify-sublime, but in the Package Settings it still says Javascript Beautify for me, and the setting and key bindings under that name still work (I bound it to ctrl-f12). Maybe depends on platform or other things but at least it works :)

@GISDev01

This comment has been minimized.

Show comment
Hide comment
@GISDev01

GISDev01 Dec 22, 2015

Full steps to fix (incorporates 2 separate comments above):

Select Package Control and then Add Repository
Copy/Paste/Enter the URL: https://github.com/fyelles/js-beautify-sublime and hit enter
Select Package Control and Remove Package: Javascript beautify
Select Package Control and Install Package (Note Different Name): js-beautify-sublime

GISDev01 commented Dec 22, 2015

Full steps to fix (incorporates 2 separate comments above):

Select Package Control and then Add Repository
Copy/Paste/Enter the URL: https://github.com/fyelles/js-beautify-sublime and hit enter
Select Package Control and Remove Package: Javascript beautify
Select Package Control and Install Package (Note Different Name): js-beautify-sublime
@manmorjim

This comment has been minimized.

Show comment
Hide comment
@manmorjim

manmorjim Dec 22, 2015

Ok, @GISDev01 's steps work for me. Thank you all 😄

manmorjim commented Dec 22, 2015

Ok, @GISDev01 's steps work for me. Thank you all 😄

@leguano

This comment has been minimized.

Show comment
Hide comment
@leguano

leguano Dec 23, 2015

works fine. thank you!

leguano commented Dec 23, 2015

works fine. thank you!

@zhaiduo

This comment has been minimized.

Show comment
Hide comment
@zhaiduo

zhaiduo Dec 30, 2015

it works, thanks @GISDev01

zhaiduo commented Dec 30, 2015

it works, thanks @GISDev01

@ilovett

This comment has been minimized.

Show comment
Hide comment
@ilovett

ilovett commented Dec 31, 2015

👍

@nfantone

This comment has been minimized.

Show comment
Hide comment
@nfantone

nfantone Dec 31, 2015

Works like a charm. But I think we all agree that this should really be made into a PR.

nfantone commented Dec 31, 2015

Works like a charm. But I think we all agree that this should really be made into a PR.

@wmigas

This comment has been minimized.

Show comment
Hide comment
@wmigas

wmigas Jan 13, 2016

It is caused by bug in js-beautify beautify-web/js-beautify#465

wmigas commented Jan 13, 2016

It is caused by bug in js-beautify beautify-web/js-beautify#465

@denysvitali

This comment has been minimized.

Show comment
Hide comment
@denysvitali

denysvitali Jan 13, 2016

+1 @fyless fix worked for me

denysvitali commented Jan 13, 2016

+1 @fyless fix worked for me

@cromestant

This comment has been minimized.

Show comment
Hide comment
@cromestant

cromestant Jan 13, 2016

I confirm the fix works, but would love to see the merged into a PR.
however it does not seem like it is actively looked at, for the time being
I 'll use , as the others, the alternative package.
thanks

On Wed, Jan 13, 2016 at 1:22 PM, Denys Vitali notifications@github.com
wrote:

+1 @fyless fix worked for me


Reply to this email directly or view it on GitHub
#39 (comment)
.

MSc. Charles M. Romestant F.

Merci de penser à l'environnement avant d'imprimer cet e-mail
Please think about the environment before you print this e-mail
Por favor piense en el medio ambiente antes de imprimir este e-mail

cromestant commented Jan 13, 2016

I confirm the fix works, but would love to see the merged into a PR.
however it does not seem like it is actively looked at, for the time being
I 'll use , as the others, the alternative package.
thanks

On Wed, Jan 13, 2016 at 1:22 PM, Denys Vitali notifications@github.com
wrote:

+1 @fyless fix worked for me


Reply to this email directly or view it on GitHub
#39 (comment)
.

MSc. Charles M. Romestant F.

Merci de penser à l'environnement avant d'imprimer cet e-mail
Please think about the environment before you print this e-mail
Por favor piense en el medio ambiente antes de imprimir este e-mail

@Andergraw

This comment has been minimized.

Show comment
Hide comment
@Andergraw

Andergraw May 10, 2016

Thank you so much, @ioncube.
Working like a charm

Andergraw commented May 10, 2016

Thank you so much, @ioncube.
Working like a charm

@theblang

This comment has been minimized.

Show comment
Hide comment
@theblang

theblang Sep 16, 2016

@enginespot It seems as though this was fixed at some point between my last comment and now, but recently broke again.

theblang commented Sep 16, 2016

@enginespot It seems as though this was fixed at some point between my last comment and now, but recently broke again.

@enginespot

This comment has been minimized.

Show comment
Hide comment
@enginespot

enginespot Sep 25, 2016

Owner

@fyelles hmm... can you add a push request to js-beautify , currently I will re architect the plugin.

Owner

enginespot commented Sep 25, 2016

@fyelles hmm... can you add a push request to js-beautify , currently I will re architect the plugin.

@enginespot

This comment has been minimized.

Show comment
Hide comment
@enginespot

enginespot Sep 26, 2016

Owner

please use the latest verion , it has embed six.py package

Owner

enginespot commented Sep 26, 2016

please use the latest verion , it has embed six.py package

@Roriz

This comment has been minimized.

Show comment
Hide comment
@Roriz

Roriz Sep 26, 2016

Thanks @fyelles for the fork, got us working again; can't live without it :)

Roriz commented Sep 26, 2016

Thanks @fyelles for the fork, got us working again; can't live without it :)

@enginespot

This comment has been minimized.

Show comment
Hide comment
@enginespot

enginespot Sep 27, 2016

Owner

@Roriz hmm... by now, you can use the latest version , it should fix the bug

Owner

enginespot commented Sep 27, 2016

@Roriz hmm... by now, you can use the latest version , it should fix the bug

@enginespot

This comment has been minimized.

Show comment
Hide comment
@enginespot

enginespot Oct 4, 2016

Owner

bug fixed with the latest version

Owner

enginespot commented Oct 4, 2016

bug fixed with the latest version

@enginespot enginespot closed this Oct 4, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment