Skip to content
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

Package won't extract #67

Closed
vladmoroz opened this issue Aug 18, 2014 · 4 comments · Fixed by #77
Closed

Package won't extract #67

vladmoroz opened this issue Aug 18, 2014 · 4 comments · Fixed by #77
Labels

Comments

@vladmoroz
Copy link

Hi,

I get the following log on both of my Windows 8.1 PCs. Status gets stuck on "[Sublimall] Extracting archive...". Is there anything I can do to solve it?

2014-08-18 13:48:18 - INFO - 7za_path detected: C:\Program Files\7-Zip\7z.exe
2014-08-18 13:49:36 - INFO - HTTP [200] Downloading archive
2014-08-18 13:49:36 - INFO - Create temporary file and write response content in it (c:\users\vlad\appdata\local\temp\sublime-sync_a1185b22-30a8-45aa-bba1-cd26f93a76be.zip)
2014-08-18 13:49:37 - INFO - Archive is protected with a passphrase
2014-08-18 13:49:44 - INFO - Create backup in Sublimall C:\Users\Vlad\AppData\Roaming\Sublime Text 3\Packages\Sublimall\Backup\1408358984.632551.zip of actual configuration
2014-08-18 13:49:44 - INFO - Excluded dirs: ['Packages\\Sublimall', 'Installed Packages\\Sublimall.sublime-package']
2014-08-18 13:49:44 - INFO - 7za_path detected: C:\Program Files\7-Zip\7z.exe
2014-08-18 13:49:44 - INFO - Command: ['C:\\Program Files\\7-Zip\\7z.exe', 'a', '-tzip', '-mx=9', '-y', '-x!Packages\\Sublimall*', '-x!Installed Packages\\Sublimall.sublime-package*', 'C:\\Users\\Vlad\\AppData\\Roaming\\Sublime Text 3\\Packages\\Sublimall\\Backup\\1408358984.632551.zip', 'C:\\Users\\Vlad\\AppData\\Roaming\\Sublime Text 3\\Installed Packages', 'C:\\Users\\Vlad\\AppData\\Roaming\\Sublime Text 3\\Packages']
2014-08-18 13:49:46 - INFO - Remove old backup dir: C:\Users\Vlad\AppData\Roaming\Sublime Text 3\Packages.bak
2014-08-18 13:49:46 - INFO - Remove old backup dir: C:\Users\Vlad\AppData\Roaming\Sublime Text 3\Installed Packages.bak
2014-08-18 13:49:46 - INFO - Move C:\Users\Vlad\AppData\Roaming\Sublime Text 3\Installed Packages to C:\Users\Vlad\AppData\Roaming\Sublime Text 3\Installed Packages.bak
2014-08-18 13:49:46 - INFO - Move C:\Users\Vlad\AppData\Roaming\Sublime Text 3\Packages to C:\Users\Vlad\AppData\Roaming\Sublime Text 3\Packages.bak
2014-08-18 13:49:46 - INFO - Extracting archive
2014-08-18 13:49:46 - INFO - Extract in C:\Users\Vlad\AppData\Roaming\Sublime Text 3 directory
2014-08-18 13:49:46 - INFO - 7za_path detected: C:\Program Files\7-Zip\7z.exe
2014-08-18 13:49:46 - INFO - Command: ['C:\\Program Files\\7-Zip\\7z.exe', 'x', '-tzip', '-y', '-oC:\\Users\\Vlad\\AppData\\Roaming\\Sublime Text 3', '-p*', 'c:\\users\\vlad\\appdata\\local\\temp\\sublime-sync_a1185b22-30a8-45aa-bba1-cd26f93a76be.zip']
2014-08-18 13:49:46 - ERROR - Error while running p7zip (exit code: 2)
2014-08-18 13:49:46 - ERROR - Command: ['C:\\Program Files\\7-Zip\\7z.exe', 'x', '-tzip', '-y', '-oC:\\Users\\Vlad\\AppData\\Roaming\\Sublime Text 3', '-p*', 'c:\\users\\vlad\\appdata\\local\\temp\\sublime-sync_a1185b22-30a8-45aa-bba1-cd26f93a76be.zip']
2014-08-18 13:49:46 - ERROR - Output:
 (b'\r\n7-Zip [64] 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18\r\n\r\nProcessing archive: c:\\users\\vlad\\appdata\\local\\temp\\sublime-sync_a1185b22-30a8-45aa-bba1-cd26f93a76be.zip\r\n\r\nExtracting  Installed Packages\r\nERROR: Can not delete output file C:\\Users\\Vlad\\AppData\\Roaming\\Sublime Text 3\\Installed Packages\\BracketHighlighter.sublime-package\r\nERROR: Can not delete output file C:\\Users\\Vlad\\AppData\\Roaming\\Sublime Text 3\\Installed Packages\\BufferScroll.sublime-package\r\nExtracting  Installed Packages\\Future Funk - Codeception.sublime-package\r\nERROR: Can not delete output file C:\\Users\\Vlad\\AppData\\Roaming\\Sublime Text 3\\Installed Packages\\Package Control.sublime-package\r\nERROR: Can not delete output file C:\\Users\\Vlad\\AppData\\Roaming\\Sublime Text 3\\Installed Packages\\Stylus.sublime-package\r\nERROR: Can not delete output file C:\\Users\\Vlad\\AppData\\Roaming\\Sublime Text 3\\Installed Packages\\Theme - Spacefunk.sublime-package\r\nExtracting  Installed Packages\\View In Browser.sublime-package\r\nExtracting  Packages\r\nExtracting  Packages\\User\r\nExtracting  Packages\\User\\bh_core.sublime-settings\r\nExtracting  Packages\\User\\bh_unicode_properties.cache\r\nExtracting  Packages\\User\\BufferScroll.sublime-settings\r\nExtracting  Packages\\User\\Default (Windows).sublime-keymap\r\nExtracting  Packages\\User\\Package Control.cache\r\nExtracting  Packages\\User\\Package Control.cache\\ad7758d143e99a76034aad71ae2a1f3b\r\nExtracting  Packages\\User\\Package Control.cache\\ad7758d143e99a76034aad71ae2a1f3b.info\r\nExtracting  Packages\\User\\Package Control.last-run\r\nExtracting  Packages\\User\\Package Control.sublime-settings\r\nExtracting  Packages\\User\\Package Syncing.last-run\r\nExtracting  Packages\\User\\Package Syncing.sublime-settings\r\nExtracting  Packages\\User\\Preferences.sublime-settings\r\nExtracting  Packages\\User\\Stylus.sublime-settings\r\nExtracting  Packages\\User\\Sublimall.sublime-settings\r\nExtracting  Packages\\User\\View In Browser.sublime-settings\r\n\r\nSub items Errors: 5\r\n\r\n', b'')
@toxinu toxinu added the windows label Aug 18, 2014
@toxinu
Copy link
Owner

toxinu commented Aug 25, 2014

Hi,

What a strange error. Anybody else encounter it ?
Still have this bug ?

@vladmoroz
Copy link
Author

Hi,

I still have it, it occurs even on a fresh Windows 8.1 installation. Is there anything I could do to help you track this bug?

@RobotCaleb
Copy link
Contributor

I'm on Windows 7 and am encountering this same issue. Through multiple runs I see that it's not always failing on the same package extractions. Is there perhaps a collision with Sublime opening the files as they're being placed?

Possibly extract to a temporary path, then copy or move them wholesale over. Alternatively, is there a way to ask sublime to suspend loading of packages until you remove the suspension?

@RobotCaleb
Copy link
Contributor

I implemented the temporary path alternative and got good results from it on my system. PR #77 created.

@toxinu toxinu closed this as completed in #77 Feb 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants