Several packages moved to "ignored_packages" list in Preferences during upgrade to 2.0 #564

Closed
MattDMo opened this Issue Aug 12, 2013 · 9 comments

Comments

5 participants
@MattDMo

MattDMo commented Aug 12, 2013

I recently answered a question on StackOverflow about this, and have now experienced it twice myself - once with ST2 on OSX, and just now with ST3 on WinXP. Interestingly, it did not occur with ST2 on XP.

What happens is that after the upgrade to Package Control 2.0 completes (and usually after a restart), several previously-active packages have been moved to the ignored_packages list in Packages/User/Preferences.sublime-settings. I assume that they are moved there temporarily during the upgrade process, whether it is Package Control's itself, or after PC has been installed and it is upgrading in place the packages listed in Packages/Package Control/Package Control.sublime-settings.

@FichteFoll

This comment has been minimized.

Show comment Hide comment
@FichteFoll

FichteFoll Aug 12, 2013

Contributor

I also experienced this when restarting ST2 after I updated PC to 2.0. I also noticed that PC had some errors downloading a few packages. Maybe this prevented updating the ignored_packages afterwards.

Contributor

FichteFoll commented Aug 12, 2013

I also experienced this when restarting ST2 after I updated PC to 2.0. I also noticed that PC had some errors downloading a few packages. Maybe this prevented updating the ignored_packages afterwards.

@wbond

This comment has been minimized.

Show comment Hide comment
@wbond

wbond Aug 13, 2013

Owner

Hmm - can't reproduce. Can anyone provide a list of packages this happens with?

Owner

wbond commented Aug 13, 2013

Hmm - can't reproduce. Can anyone provide a list of packages this happens with?

@MattDMo

This comment has been minimized.

Show comment Hide comment
@MattDMo

MattDMo Aug 13, 2013

This happened again to me this morning with ST2 on XP - I started up with the console open, and watched packages get added to ignored_packages, and I had to remove them manually. I then started ST3, watched a few get added, and then they were removed again, leaving only the original "Vintage" package, so maybe it has something to do with the ST versions?

I didn't make a full list of the ST2 packages moved (sorry), but I remember SublimeREPL, Tag, Neon Theme, and Terminal being among them. Of the 30-odd packages I have, there were probably 10 that got moved today.

MattDMo commented Aug 13, 2013

This happened again to me this morning with ST2 on XP - I started up with the console open, and watched packages get added to ignored_packages, and I had to remove them manually. I then started ST3, watched a few get added, and then they were removed again, leaving only the original "Vintage" package, so maybe it has something to do with the ST versions?

I didn't make a full list of the ST2 packages moved (sorry), but I remember SublimeREPL, Tag, Neon Theme, and Terminal being among them. Of the 30-odd packages I have, there were probably 10 that got moved today.

@wbond

This comment has been minimized.

Show comment Hide comment
@wbond

wbond Aug 13, 2013

Owner

I'm pretty sure this is an ST2 issue - I don't think I have had a report of it on ST3.

Owner

wbond commented Aug 13, 2013

I'm pretty sure this is an ST2 issue - I don't think I have had a report of it on ST3.

@MattDMo

This comment has been minimized.

Show comment Hide comment
@MattDMo

MattDMo Aug 13, 2013

OK, I can now replicate this on Windows. I made a fresh roaming install of ST 2.0.2, then cloned in my Packages folder that I happened to upload to github (https://github.com/MattDMo/windows-sublime2-packages) last week, so just before the upgrade. I copied over Data/Installed Packages/Package Control.sublime-package and my Data/Settings/License.sublime_license file from my current install location, then fired up the new ST2 and opened the console right away. Sure enough, a bunch of packages were added to ignored_packages, and as they were upgraded they seemed to be removed (in alphabetical order), but at some point the process halted, leaving me with the following:

"ignored_packages":
[
    "Python Flake8 Lint",
    "Syntax Highlighting for Sass",
    "SublimeCodeIntel",
    "Sass",
    "Vintage",
    "Processing",
    "ScopeHunter",
    "TrailingSpaces",
    "Terminal",
    "SideBarEnhancements",
    "SublimeREPL",
    "RegReplace",
    "PythonTidy",
    "SublimeLinter",
    "Prolog"
],

Feel free to clone my repo and see if you can figure this out. I'm at work, so I can't test Mac or Linux at the moment, but I certainly can this evening if that would be helpful.

Matt

MattDMo commented Aug 13, 2013

OK, I can now replicate this on Windows. I made a fresh roaming install of ST 2.0.2, then cloned in my Packages folder that I happened to upload to github (https://github.com/MattDMo/windows-sublime2-packages) last week, so just before the upgrade. I copied over Data/Installed Packages/Package Control.sublime-package and my Data/Settings/License.sublime_license file from my current install location, then fired up the new ST2 and opened the console right away. Sure enough, a bunch of packages were added to ignored_packages, and as they were upgraded they seemed to be removed (in alphabetical order), but at some point the process halted, leaving me with the following:

"ignored_packages":
[
    "Python Flake8 Lint",
    "Syntax Highlighting for Sass",
    "SublimeCodeIntel",
    "Sass",
    "Vintage",
    "Processing",
    "ScopeHunter",
    "TrailingSpaces",
    "Terminal",
    "SideBarEnhancements",
    "SublimeREPL",
    "RegReplace",
    "PythonTidy",
    "SublimeLinter",
    "Prolog"
],

Feel free to clone my repo and see if you can figure this out. I'm at work, so I can't test Mac or Linux at the moment, but I certainly can this evening if that would be helpful.

Matt

@MattDMo

This comment has been minimized.

Show comment Hide comment
@MattDMo

MattDMo Aug 13, 2013

I just found this error while going back through the console log:

Exception in thread Thread-7:
Traceback (most recent call last):
  File ".\threading.py", line 532, in __bootstrap_inner
  File ".\threading.py", line 484, in run
  File ".\package_control\automatic_upgrader.py", line 198, in do_upgrades
  File ".\package_control\package_manager.py", line 454, in install_package
  File ".\package_control\package_manager.py", line 223, in list_available_packages
  File ".\package_control\package_manager.py", line 157, in list_repositories
  File ".\package_control\cache.py", line 84, in merge_cache_under_settings
MemoryError

It was after the most recent item had been upgraded, and removed from ignored_packages, and it seemed to stop the whole process. Let me know if you'd like more context from around the error.

MattDMo commented Aug 13, 2013

I just found this error while going back through the console log:

Exception in thread Thread-7:
Traceback (most recent call last):
  File ".\threading.py", line 532, in __bootstrap_inner
  File ".\threading.py", line 484, in run
  File ".\package_control\automatic_upgrader.py", line 198, in do_upgrades
  File ".\package_control\package_manager.py", line 454, in install_package
  File ".\package_control\package_manager.py", line 223, in list_available_packages
  File ".\package_control\package_manager.py", line 157, in list_repositories
  File ".\package_control\cache.py", line 84, in merge_cache_under_settings
MemoryError

It was after the most recent item had been upgraded, and removed from ignored_packages, and it seemed to stop the whole process. Let me know if you'd like more context from around the error.

@johnnyvenom

This comment has been minimized.

Show comment Hide comment
@johnnyvenom

johnnyvenom Aug 14, 2013

Hi - I experienced the same thing and posted about it on Stack Overflow. It happened a second time this morning, and then again just now when I came back to work. I had restarted my computer in between. These were in ignored_packages in my prefs.

"ignored_packages":
    [
        "PHP Zend Framework 2 Helper",
        "ColorPicker",
        "Emmet",
        "Emmet Css Snippets",
        "LineEndings",
        "LiveReload",
        "Markboard",
        "Markdown Preview",
        "Paste PDF Text Block",
        "Processing",
        "SideBarEnhancements",
        "Twig"
    ],

I hope that helps!

Hi - I experienced the same thing and posted about it on Stack Overflow. It happened a second time this morning, and then again just now when I came back to work. I had restarted my computer in between. These were in ignored_packages in my prefs.

"ignored_packages":
    [
        "PHP Zend Framework 2 Helper",
        "ColorPicker",
        "Emmet",
        "Emmet Css Snippets",
        "LineEndings",
        "LiveReload",
        "Markboard",
        "Markdown Preview",
        "Paste PDF Text Block",
        "Processing",
        "SideBarEnhancements",
        "Twig"
    ],

I hope that helps!

@inactivist

This comment has been minimized.

Show comment Hide comment
@inactivist

inactivist Aug 14, 2013

Same thing happened to me, found out about it here - in my case, Sublime Linter and the Soda Theme (and others) were in my ignored_packages list. (Sorry, I don't have a saved copy of all the entries, didn't know I'd need to save it.)

Same thing happened to me, found out about it here - in my case, Sublime Linter and the Soda Theme (and others) were in my ignored_packages list. (Sorry, I don't have a saved copy of all the entries, didn't know I'd need to save it.)

@inactivist inactivist referenced this issue in buymeasoda/soda-theme Aug 14, 2013

Closed

Rendering totally broken on ST2 #159

@wbond

This comment has been minimized.

Show comment Hide comment
@wbond

wbond Aug 15, 2013

Owner

I believe this is a duplicate of #558 - see that issue for further updates.

Owner

wbond commented Aug 15, 2013

I believe this is a duplicate of #558 - see that issue for further updates.

@wbond wbond closed this Aug 15, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment