wbond / package_control

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

The package control sometimes forget to remove 1 or 2 packages from the ignored list, after installing them #1168

Closed evandrocoan closed 6 years ago

evandrocoan commented 8 years ago

The package control sometimes forget to remove 1 or 2 packages from the ignored list, after installing them

Sometimes everything works ok, other times, 1 or 2 packages end up at the ignored packages list, when installing something like 65 missing packages.

My ignored packages list is just this

    "ignored_packages":
    [
        "ApplySyntax",
        "BracketHighlighter",
        "Color Highlighter",
        "DictionaryAutoComplete",
        "SublimeCodeIntel",
        "Vintage",
        "WordHighlight"
    ],

Here we may see, it installed the package DocBlockr and right after it was kept on the ignored list. Whille the other 63 packges when ok, getting out from the ignored list, at the process end.

reloading settings Packages/User/Package Control.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
reloading plugin CopyWithLineNumbersReloaded.copy_with_line_numbers
reloading plugin DistractionFreeWindow.distraction_free_window
Package Control: Installed missing package DocBlockr
ignored packages updated to: ["AdvancedNewFile", "Alignment", "All Autocomplete", "ApplySyntax", "Auto Refresh", "AutoFileName", "BracketHighlighter", "C++ Completions", "C++ Snippets", "C++ Starting Kit", "C++11", "Clickable URLs", "Color Highlighter", "ColorHelper", "Column Select", "Compare Side-By-Side", "Copy Filepath With Line Numbers", "Delete Current File", "DictionaryAutoComplete", "DocBlockr", "Emmet", "ExportHtml", "ExtendedTabSwitcher", "File Rename", "FileDiffs", "Find++", "FindKeyConflicts", "FuzzyFileNav", "Gist", "Git", "GitGutter", "GitHub Markdown Snippets", "Google Spell Check", "Highlight Build Errors", "HighlightWords", "Hungry Backspace", "Invert Selection", "Line Endings Unify", "Local History", "Markdown Preview", "MarkdownEditing", "MarkdownLight", "Matlab Completions", "MatlabFilenameAutoComplete", "MaxPane", "PackageDev", "PackageResourceViewer", "Path Translator", "PostScript", "Preferences Editor", "Project Specific Syntax Settings", "Qt Completions for C++", "ScopeAlways", "ScopeHunter", "StickySearch", "sublime-text-2-buildview", "SublimeCodeIntel", "SyncedSideBar", "Trimmer", "Vintage", "Whitespace", "WordHighlight"]
reloading settings Packages/User/Package Control.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
reloading plugin Origami.origami
reloading settings Packages/User/Package Control.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings

full installation log.txt

image

How to reproduce the issue

1) Install Sublime Text from https://www.sublimetext.com/3

2) Close your Sublime Text and delete/rename the folder below, if it exists: (the folder sublime-text-3/ below contain all your current settings)

mv -v ~/.config/sublime-text-3/ ~/.config/sublime-text-3_Old/

3) While keeping your Sublime Text closed, clone this repository using this command: (Linux Only)

git clone --recursive https://github.com/evandrocoan/SublimeTextStudio.git ~/.config/sublime-text-3/Packages
~/.config/sublime-text-3/ --> "C:\Users\YOUR_USER_NAME\AppData\Roaming\Sublime Text 3\"
~/.config/sublime-text-3/ --> "~/Library/Application Support/Sublime Text 3"

4) Open your Sublime Text and wait several minutes until it install all new packages and restart your Sublime Text.

5) You can open the Console on View -> Console (Ctrl+`) to view the download progress.

Environment

Sublime Text Build 3126 x86 - Windows 10 Package control version 3.2.1

wbond commented 8 years ago

Can you provide a full debug log of the process you outlined for reproducing?

evandrocoan commented 8 years ago

I quite do not get what is this. Since from the beginning added this to the main post:

image

It is not that? How may I get this full debug log of the process?

On that log, we may see, from the moment Sublime Text started, the ignore packages is correct:

image

wbond commented 8 years ago

It is documented at https://github.com/wbond/package_control/issues/new.

evandrocoan commented 8 years ago

Sorry, I got that, I am now trying to reproduce it with debug enabled. Why do you think about this new message:

If you are running into a bug, please you should really read https://packagecontrol.io/docs/troubleshooting
before submitting an issue here.

Bug reports must include a debug log (the setting "debug": true, on Package Control.sublime-settings). The Troubleshooting page explains how to capture one.
evandrocoan commented 8 years ago

I cannot get the whole process, the sublime console window, cut it after several lines. Do you now how to increase it? I going to search while it.

It is correctly only getting 3000 lines back, I need more like 10000 lines.

FichteFoll commented 8 years ago

Did you close a window in the current session? When a new window is created, it starts with an empty console. I don't think the console contents in a single window ever get cleared.

evandrocoan commented 8 years ago

No, just after 3000 lines outputting they got cut. See this logs:

Compare Side-By-Side.txt went_ok1.txt

Both of them are cut before 3000 lines. It is like the terminal scroll history of 3000 lines. As we may see from the first one (not within the debugging output extra print), the header is not present: full installation log.txt

DPI scale: 1
startup, version: 3126 windows x32 channel: stable
executable: /D/User/Dropbox/Applications/SoftwareVersioning/SublimeText/sublime_text.exe
working dir: /C/ProgramData/Microsoft/Windows/Start Menu/Atalhos
packages path: /D/User/Dropbox/Applications/SoftwareVersioning/SublimeText/Data/Packages
state path: /D/User/Dropbox/Applications/SoftwareVersioning/SublimeText/Data/Local
zip path: /D/User/Dropbox/Applications/SoftwareVersioning/SublimeText/Packages
zip path: /D/User/Dropbox/Applications/SoftwareVersioning/SublimeText/Data/Installed Packages
ignored_packages: ["Vintage"]
generating syntax summary
generating meta info summary
ignored packages updated to: ["ApplySyntax", "BracketHighlighter", "Color Highlighter", "DictionaryAutoComplete", "SublimeCodeIntel", "Vintage", "WordHighlight"]
pre session restore time: 13.6066
loading dictionary Packages/MultiLingual Dictionary/EN_PT.dic
startup time: 16.8836
first paint time: 16.8886
first paint time: 16.8906
recreating index
evandrocoan commented 8 years ago

For now I got these two files:

Compare Side-By-Side.txt went_ok1.txt

Both cut by the console output only to the last 3000 lines. On the first one, I said it was not installed and was ignored, but I said it because I though I got the full log. On the second everything went ok.

evandrocoan commented 6 years ago

Now I understand better what is happening. It is not a problem on Package Control, but on Sublime Text. Then, it is already reported over there:

  1. https://github.com/SublimeTextIssues/Core/issues/2132 Randomly reverting back the ignored_packages setting on batch operations