wbond / package_control

The Sublime Text package manager
https://packagecontrol.io
4.8k stars 818 forks source link

Package Control 1.6.9.0 do not install (Sublime Text 2) #408

Closed SowingSadness closed 11 years ago

SowingSadness commented 11 years ago

Sublime Text 2.

  1. Download: https://sublime.wbond.net/testing/Package%20Control.sublime-package to Installed Packages
  2. When try to open it in 7zip all ok.
  3. Package Control not installed :(
startup, version: 2217 windows x64 channel: stable
executable: /P/Programs/Sublime Text 2/sublime_text.exe
working dir: /C/WINDOWS/system32
packages path: /C/Users/dejavu/AppData/Roaming/Sublime Text 2/Packages
settings path: /C/Users/dejavu/AppData/Roaming/Sublime Text 2/Settings
package /C/Users/dejavu/AppData/Roaming/Sublime Text 2/Installed Packages/Package Control.sublime-package is newer than the installed version (/C/Users/dejavu/AppData/Roaming/Sublime Text 2/Pristine Packages/Package Control.sublime-package), running PackageSetup
Py_GetProgramName(): sublime_text.exe
Py_GetExecPrefix(): P:\Programs\Sublime Text 2
Py_GetProgramFullPath(): P:\Programs\Sublime Text 2\sublime_text.exe
Py_GetPath(): P:\Programs\Sublime Text 2\python26.zip;P:\Programs\Sublime Text 2\DLLs;P:\Programs\Sublime Text 2\lib;P:\Programs\Sublime Text 2\lib\plat-win;P:\Programs\Sublime Text 2\lib\lib-tk;P:\Programs\Sublime Text 2
Py_GetPythonHome(): P:\Programs\Sublime Text 2
PackageSetup: bad zip file at C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Installed Packages\Package Control.sublime-package
PackageSetup returned: -1
catalogue loaded
found 7 files for base name Default.sublime-keymap
found 3 files for base name Default.sublime-mousemap
found 5 files for base name Main.sublime-menu
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\Alignment\Alignment.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\CSS\css_completions.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\Default\comment.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\Default\copy_path.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\Default\delete_word.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\Default\detect_indentation.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\Default\duplicate_line.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\Default\echo.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\Default\exec.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\Default\fold.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\Default\font.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\Default\goto_line.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\Default\indentation.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\Default\kill_ring.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\Default\mark.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\Default\new_templates.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\Default\open_file_settings.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\Default\open_in_browser.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\Default\paragraph.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\Default\save_on_focus_lost.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\Default\scroll.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\Default\set_unsaved_view_name.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\Default\side_bar.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\Default\sort.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\Default\swap_line.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\Default\switch_file.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\Default\transform.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\Default\transpose.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\Default\trim_trailing_white_space.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\Diff\diff.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\FileDiffs\file_diffs.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\HTML\encode_html_entities.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\HTML\html_completions.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\Package Control\Package Control.py
Traceback (most recent call last):
  File ".\sublime_plugin.py", line 62, in reload_plugin
  File ".\Package Control.py", line 15, in <module>
    from package_control.commands.create_binary_package_command import CreateBinaryPackageCommand
  File ".\package_control\commands\create_binary_package_command.py", line 3, in <module>
    from ..package_creator import PackageCreator
  File ".\package_control\package_creator.py", line 4, in <module>
    from .package_manager import PackageManager
  File ".\package_control\package_manager.py", line 16, in <module>
    import semver
ImportError: No module named semver
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\SublimeCodeIntel\SublimeCodeIntel.py
Reloading plugin C:\Users\dejavu\AppData\Roaming\Sublime Text 2\Packages\SublimeLinter\SublimeLinter.py
imported capp_lint
imported pep8
imported pyflakes
imported pyflakes.checker
imported pyflakes.messages
SublimeLinter: C loaded
SublimeLinter: CoffeeScript loaded
SublimeLinter: CSS loaded
SublimeLinter: c_cpplint loaded
SublimeLinter: Git Commit Message loaded
SublimeLinter: Ruby Haml loaded
SublimeLinter: HTML loaded
SublimeLinter: Java loaded
SublimeLinter: JavaScript loaded
SublimeLinter: Lua loaded
SublimeLinter: Annotations loaded
SublimeLinter: Objective-J loaded
SublimeLinter: Perl loaded
SublimeLinter: PHP loaded
SublimeLinter: Puppet loaded
SublimeLinter: Python loaded
SublimeLinter: Ruby loaded
SublimeLinter: pylint loaded
SublimeLinter: XML loaded
plugin init time: 0.469921
loading bindings
loading pointer bindings
found 1 files for base name Nexus.sublime-theme
theme loaded
app ready
pre session restore time: 0.628259
startup cache, total files: 99 cache hits: 99
startup time: 1.10991 (package setup was run)
SublimeLinter: html disabled (tidy cannot be found)
loaded 328 snippets
SowingSadness commented 11 years ago

Package Control 1.6.3 "install"(upgrade) command is broken :(

SowingSadness commented 11 years ago

Hm... If execute SublimeText 2 with administrator rights, "Package Control" install correct. But it is a wrong way.

rubans commented 11 years ago

Looks like the same issue for me. Any ideas when this will be fixed? Kind of need it fixed in order to install a package.

wbond commented 11 years ago

If installing only works with Administrator privileges you probably have a permissions issue.

rubans commented 11 years ago

Actually it doesn't seem to work even with Admin privlages. I'm new to SublimeText but as mentioned above, I have placed the zip files in InstalledPackage but don't got the Package manager option under Preferences.

oncalldev commented 11 years ago

When I went through the cut and paste routine trying to install Package Manager on 64bit Vista box I got the following error message. Manual install seems to fail as well. I'll be happy to provide more info if requested. I believe my last attempt was with running under Administrator mode when starting Sublime Text 2. Sounds like a great utility - hope I'm just doing something stupid.

import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print('Please restart Sublime Text to finish installation') Traceback (most recent call last): File "", line 1, in File ".\urllib2.py", line 126, in urlopen File ".\urllib2.py", line 391, in open File ".\urllib2.py", line 409, in _open File ".\urllib2.py", line 369, in _call_chain File ".\urllib2.py", line 1161, in http_open File ".\urllib2.py", line 1136, in do_open urllib2.URLError: <urlopen error [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions>

wbond commented 11 years ago

@oncalldev Looks like you have a different issue than the OP. Can you open a new issue please?

For everyone else, this issue should be resolved by updating to the new Package Control 2.0 beta that will be out soon.

oncalldev commented 11 years ago

It seems like a permissions issue (and I did run this as Administrator). If I manually copy the files over and start up Sublime Text I’m immediately presented with an error screen that says: “Unable to run package setup” and ends by saying: IOError: [Errno 13] Permission denied. I’d copy paste the error message but I had to rely on the snipping tool in Vista since copy/paste isn’t available using the error message and the screen print was difficult to read. I’m not really sure what your application is trying to do but my guess is that Vista doesn’t want it done in the user\appdata\ folder without some permissions being modified (which I’m not really thrilled about modifying if that is the case). I’d be happy to post this online, but I was just curious if you had a quick and dirty answer and I thought seeing the error message might be helpful to you. I’m in the process of creating a new development box w/Windows 8 so I can probably wait to see if that works any better.

cid:image002.png@01CE45B1.7F3DD650

From: Will Bond [mailto:notifications@github.com] Sent: Tuesday, April 30, 2013 1:03 PM To: wbond/sublime_package_control Cc: oncalldev Subject: Re: [sublime_package_control] Package Control 1.6.9.0 do not install (Sublime Text 2) (#408)

@oncalldev https://github.com/oncalldev Looks like you have a different issue than the OP. Can you open a new issue please?

For everyone else, this issue should be resolved by updating to the new Package Control 2.0 beta that will be out soon.

— Reply to this email directly or view it on GitHub https://github.com/wbond/sublime_package_control/issues/408#issuecomment-17243836 .https://github.com/notifications/beacon/-UQSiSoo1JV4pJ6Dt8HRQ3k8CKF5uYyOA7UxmsUxNOM3QBnJhQOsTfiytEhG5yOt.gif

wbond commented 11 years ago

@oncalldev Please open a new issue since you are having a different issue than the original poster.

wbond commented 11 years ago

Closing old issue. OP can feel free to re-open once they get the time to reply.