wbond / package_control

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

sync via dropbox and missing packages #849

Closed kitsguru closed 9 years ago

kitsguru commented 9 years ago

I use ST3 on two machines and sync the User folder via dropbox. On machine 2 when I browse packages many of them are missing but show on machine 1. I tried a force upgrade/all but that didn't fix the problem.

All the packages are listed in the "installed packages" folder on both machines but not the "packages" folder.on machine 2.

Machine 1 - Windows 7 64bit st3 build 3065 Machine 2 - Windows 8.1 64bit st3 build 3065 All packages were updated on both machines.

I am unsure how to fix the issue.

wbond commented 9 years ago

Can you produce the folder listing for the Packages/ and Installed Packages/ folders for both machines, plus the Packages/User/Package Control.sublime-settings file from both?

Finally, what version of Package Control do you have installed on each?

kitsguru commented 9 years ago

Where can I find the Package Control version number? Below are is the information for Machine 1, Machine 2 to follow in next comment

Machine 1 installed

0_package_control_loader.sublime-package
Additional PHP Snippets.sublime-package
AdvancedNewFile.sublime-package
ApacheConf.tmLanguage.sublime-package
ApplySyntax.sublime-package
Better Completion.sublime-package
Bootstrap 3 Snippets.sublime-package
BracketHighlighter.sublime-package
CSS Media Query Snippets.sublime-package
Dictionaries.sublime-package
DocBlockr.sublime-package
Emmet.sublime-package
EncodingHelper.sublime-package
Function Name Display.sublime-package
Gist.sublime-package
Git.sublime-package
Github Tools.sublime-package
Grunt Snippets.sublime-package
HTML Boilerplate.sublime-package
HTML Page Snippets.sublime-package
HTML Snippets.sublime-package
HTML5.sublime-package
HyperlinkHelper.sublime-package
JavaScript Snippets.sublime-package
jQuery Snippets pack.sublime-package
JS Snippets.sublime-package
Laravel Blade Highlighter.sublime-package
LESS.sublime-package
LineEndings.sublime-package
m1-installed.txt
ModernPerl.sublime-package
Nettuts+ Fetch.sublime-package
Package Control.sublime-package
PHP Companion.sublime-package
PHP Getters and Setters.sublime-package
PHP-Twig.sublime-package
Phpcs.sublime-package
PhpDoc.sublime-package
PhpNamespace.sublime-package
PhpSimpleRefactor.sublime-package
PhpSpec Snippets.sublime-package
PHPUnit Completions.sublime-package
PHPUnit Snippets.sublime-package
PHPUnit.sublime-package
PyV8
SideBarEnhancements.sublime-package
sublime-github.sublime-package
Tag.sublime-package
Trimmer.sublime-package
Twig.sublime-package
URLEncode.sublime-package

machine 1 packages

ActionScript
Additional PHP Snippets
AdvancedNewFile
ApacheConf.tmLanguage
AppleScript
ASP
Batch File
BracketHighlighter
bz2
C#
C++
Clojure
Color Scheme - Default
CSS
CSS Media Query Snippets
Default
Diff
DocBlockr
EncodingHelper
Erlang
Function Name Display
Gist
Git
Github Tools
Go
Graphviz
Groovy
Grunt
Haskell
HTML
HTML Snippets
HTML5
HyperlinkHelper
Java
JavaScript
JavaScript Snippets
jQuery Snippets pack
JS Snippets
Language - English
Laravel Blade Highlighter
Laravel Generator
LaTeX
LESS
Lisp
Lua
m1-packages.txt
Makefile
Markdown
Matlab
ModernPerl
Objective-C
OCaml
Perl
PHP
PHP Getters and Setters
Phpcs
PhpDoc
PhpNamespace
PhpSpec Snippets
PHPUnit
PHPUnit Completions
PHPUnit Snippets
Python
PyV8
R
Rails
Regular Expressions
RestructuredText
Robot Framework
Ruby
Scala
ShellScript
SQL
SublimeCodeIntel
SublimeLinter
SublimeLinter-phpcs
TCL
Text
Textile
Theme - Default
URLEncode
User
Vintage
XML
YAML

machine 1 settings

{
    "in_process_packages":
    [
    ],
    "installed_dependencies":
    [
        "0_package_control_loader",
        "bz2"
    ],
    "installed_packages":
    [
        "Additional PHP Snippets",
        "AdvancedNewFile",
        "ApacheConf.tmLanguage",
        "ApplySyntax",
        "Better Completion",
        "Bootstrap 3 Snippets",
        "BracketHighlighter",
        "CSS Media Query Snippets",
        "Dictionaries",
        "DocBlockr",
        "Emmet",
        "EncodingHelper",
        "Function Name Display",
        "Gist",
        "Git",
        "Github Tools",
        "Grunt",
        "Grunt Snippets",
        "HTML Boilerplate",
        "HTML Page Snippets",
        "HTML Snippets",
        "HTML5",
        "HyperlinkHelper",
        "JavaScript Snippets",
        "jQuery Snippets pack",
        "JS Snippets",
        "Laravel Blade Highlighter",
        "Laravel Generator",
        "LESS",
        "LineEndings",
        "ModernPerl",
        "Nettuts+ Fetch",
        "Package Control",
        "PHP Companion",
        "PHP Getters and Setters",
        "PHP-Twig",
        "Phpcs",
        "PhpDoc",
        "PhpNamespace",
        "PhpSimpleRefactor",
        "PhpSpec Snippets",
        "PHPUnit",
        "PHPUnit Completions",
        "PHPUnit Snippets",
        "Robot Framework",
        "SideBarEnhancements",
        "sublime-github",
        "SublimeCodeIntel",
        "SublimeLinter",
        "SublimeLinter-phpcs",
        "Tag",
        "Trimmer",
        "Twig",
        "URLEncode"
    ]
}
kitsguru commented 9 years ago

Note: user folder and all preferences are shared via dropbox

Machine 2 Installed

0_package_control_loader.sublime-package
Additional PHP Snippets.sublime-package
AdvancedNewFile.sublime-package
ApacheConf.tmLanguage.sublime-package
ApplySyntax.sublime-package
Better Completion.sublime-package
Bootstrap 3 Snippets.sublime-package
BracketHighlighter.sublime-package
CSS Media Query Snippets.sublime-package
Dictionaries.sublime-package
DocBlockr.sublime-package
Emmet.sublime-package
EncodingHelper.sublime-package
Function Name Display.sublime-package
Gist.sublime-package
Git.sublime-package
Github Tools.sublime-package
Grunt Snippets.sublime-package
HTML Boilerplate.sublime-package
HTML Page Snippets.sublime-package
HTML Snippets.sublime-package
HTML5.sublime-package
HyperlinkHelper.sublime-package
JavaScript Snippets.sublime-package
jQuery Snippets pack.sublime-package
JS Snippets.sublime-package
Laravel Blade Highlighter.sublime-package
LESS.sublime-package
LineEndings.sublime-package
m2-installed.txt
ModernPerl.sublime-package
Nettuts+ Fetch.sublime-package
Package Control.sublime-package
PHP Companion.sublime-package
PHP Getters and Setters.sublime-package
PHP-Twig.sublime-package
Phpcs.sublime-package
PhpDoc.sublime-package
PhpNamespace.sublime-package
PhpSimpleRefactor.sublime-package
PhpSpec Snippets.sublime-package
PHPUnit Completions.sublime-package
PHPUnit Snippets.sublime-package
PHPUnit.sublime-package
PyV8
SideBarEnhancements.sublime-package
sublime-github.sublime-package
Tag.sublime-package
Trimmer.sublime-package
Twig.sublime-package
URLEncode.sublime-package

Machine 2 packages

bz2
EncodingHelper
Grunt
HTML
m2-packages.txt
PyV8
Rails
SublimeCodeIntel
SublimeLinter
SublimeLinter-phpcs
User
wbond commented 9 years ago

Is one machine using Sublime Text 2 and the other Sublime Text 3? If so, ST3 runs most packages while they are contained in a .sublime-package file, whereas ST2 always unzips all packages.

kitsguru commented 9 years ago

Both machines are running ST3 build 3065

wbond commented 9 years ago

@kitsguru Something is left over from ST2 then. ST3 never shipped any of these packages except as .sublime-package files in the Packages/ folder that is a sibling to the application binary:

ActionScript
AppleScript
ASP
Batch File
C#
C++
Clojure
Color Scheme - Default
CSS
Default
Diff
Erlang
Go
Graphviz
Groovy
Haskell
HTML
Java
JavaScript
Language - English
Laravel Blade Highlighter
Laravel Generator
LaTeX
Lisp
Lua
Makefile
Markdown
Matlab
Objective-C
OCaml
Perl
PHP
Python
R
Rails
Regular Expressions
RestructuredText
Ruby
Scala
ShellScript
SQL
TCL
Text
Textile
Theme - Default
Vintage
XML
YAML

You could:

  1. back up your Sublime Text 3 data folder
  2. follow the directions at https://www.sublimetext.com/docs/3/revert.html
  3. copy the contents of Packages/User/ from the backup into the new Packages/User/ folder
  4. install Package Control
  5. restart Sublime Text

This will copy over all of your customizations, and Package Control will install any packages that you previously had installed via Package Control.

Please be sure to do a backup of your data folder instead of just deleting it!