package_control icon indicating copy to clipboard operation
package_control copied to clipboard

[four-point-oh] auto-updater fails due to unmanaged libraries

Open deathaxe opened this issue 4 years ago • 0 comments

In order to get mdpopups running, I've downloaded latest master and copied the st3/mdpopups folder to Data/Lib/python33.

To prevent PC from getting confused by updates, I followed the advice to remove the related distinfo dir.

As a result PC's auto-updater detects the library as a missing but seems to fail to install it.

plugins loaded
reloading python 3.3 plugin AutomaticPackageReloader33.package_reloader
reloading python 3.3 plugin UnitTesting33.ut
Package Control: Installing 1 missing library
Exception in thread Thread-7:
Traceback (most recent call last):
  File "./python3.3/threading.py", line 901, in _bootstrap_inner
  File "C:\Apps\Sublime Text\Data\Packages\Package Control\package_control\automatic_upgrader.py", line 120, in run
    self.install_missing()
  File "C:\Apps\Sublime Text\Data\Packages\Package Control\package_control\automatic_upgrader.py", line 160, in install_missing
    if self.installer.manager.install_library(library):
  File "C:\Apps\Sublime Text\Data\Packages\Package Control\package_control\package_manager.py", line 1080, in install_library
    _, modified_ris = existing_did.verify_files()
  File "C:\Apps\Sublime Text\Data\Packages\Package Control\package_control\distinfo.py", line 606, in verify_files
    for ri in self.read_record():
  File "C:\Apps\Sublime Text\Data\Packages\Package Control\package_control\distinfo.py", line 489, in read_record
    with open(self.abs_path('RECORD'), 'r', encoding='utf-8') as fobj:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Apps\\Sublime Text\\Data\\Lib\\python33\\mdpopups-4.1.2.dist-info\\RECORD'

deathaxe avatar Sep 05 '21 18:09 deathaxe