Open leny opened 10 years ago
Problem is fix, I let the solution here in case it can help someone : my packages was symlinked via Dropbox, after removing the symlink and place the packages where they belongs to, the sublimall plugin works well.
Thank you for your feedback. :smile:
Sorry for necroposting... necroissuing? :) but I have the same problem. No symlinks, just dumb and simple file tree.
Sublimall error report
######################
Error while creating archive
=================================== Traceback ===================================
Traceback (most recent call last):
File "sublimall.commands.upload_command in /home/kim/.config/sublime-text-3/Installed Packages/Sublimall.sublime-package", line 50, in pack_and_send
File "sublimall.archiver in /home/kim/.config/sublime-text-3/Installed Packages/Sublimall.sublime-package", line 215, in pack_packages
File "sublimall.archiver in /home/kim/.config/sublime-text-3/Installed Packages/Sublimall.sublime-package", line 133, in _run_executable
Exception: Error while running p7zip (exit code: 1)
=================================================================================
SublimeText version: 3065
7za path: /usr/bin/p7zip
Sublimall version: 0.0.23
Operating System: Linux-3.13.0-24-generic-x86_64-with-debian-jessie-sid
Hi @mindcaster , can you copy paste your ~/.sublimall.log
?
It is the last event, but previous is the same (i've tried twice: with and without passphrase)
2014-10-28 16:12:44 - INFO - Starting upload
2014-10-28 16:12:44 - INFO - Encrypt enabled
2014-10-28 16:12:44 - INFO - Prompt archive passphrase
2014-10-28 16:12:45 - INFO - Excluded dirs: ['Packages/Sublimall', 'Installed Packages/Sublimall.sublime-package']
2014-10-28 16:12:45 - INFO - 7za_path detected: /usr/bin/p7zip
2014-10-28 16:12:45 - INFO - Command: ['/usr/bin/p7zip', 'a', '-tzip', '-mx=9', '-y', '-x!Packages/Sublimall*', '-x!Installed Packages/Sublimall.sublime-package*', '/tmp/sublime-sync_ea6b110e-3e03-4686-9343-9f25f5933db6.zip', '/home/kim/.config/sublime-text-3/Installed Packages', '/home/kim/.config/sublime-text-3/Packages']
2014-10-28 16:12:45 - ERROR - Error while running p7zip (exit code: 1)
2014-10-28 16:12:45 - ERROR - Command: ['/usr/bin/p7zip', 'a', '-tzip', '-mx=9', '-y', '-x!Packages/Sublimall*', '-x!Installed Packages/Sublimall.sublime-package*', '/tmp/sublime-sync_ea6b110e-3e03-4686-9343-9f25f5933db6.zip', '/home/kim/.config/sublime-text-3/Installed Packages', '/home/kim/.config/sublime-text-3/Packages']
2014-10-28 16:12:45 - ERROR - Output:
(b'Usage: /usr/bin/p7zip [-d] [-h|--help] [file]\n\n -h print this help\n -d decompress file\n\n', b'')
2014-10-28 16:12:45 - INFO - 7za_path detected: /usr/bin/p7zip
2014-10-28 16:12:45 - ERROR - Error while running p7zip (exit code: 1)
Thank you. I think I have an idea.
Sublimall found p7zip
binary like we can see in your log file but I create command line for 7za
binary which most work a bit differently.
You can see the code which try to found binaries here: https://github.com/socketubs/Sublimall/blob/4641dad9c92da16caf90d1947924e6477db77a90/sublimall/utils.py#L57-L58
I have to take a look at this bug but as a workaround you can install p7zip-full
package if you are using Ubuntu or similar package on another distro which include 7za
binary.
Hi,
I try with no success to use Sublimall.
After installing the plugin (via Package Control), and configuring it (I use the default configuration, with
encrypt
set tofalse
, when I launch the upload command, I got this :p7zip has been installed with homebrew. I thought it was because I was just installed it, but after a complete reboot of the computer, the error persist.
Thanks in advance,