Closed mbrick02 closed 1 year ago
Hi. Given:
exec(compile(source, source_path, 'exec'), mod.__dict__)
File "C:\Users\Owner\AppData\Roaming\Sublime Text\Installed Packages\0_package_control_loader.sublime-package\-backrefs.py", line 1, in <module>
Can you try to close Sublime Text and delete the file C:\Users\Owner\AppData\Roaming\Sublime Text\Installed Packages\0_package_control_loader.sublime-package
?
When Sublime Text starts again, it will recreate it for you; after it is re-recreated, you can try restarting Sublime Text and see how things go.
The problem looks like the dependency '-backrefs.py' uses an invalid dependency number.
My package does not require this '-backrefs.py' dependency, only these:
{
"windows": {
">3000": [
"python-pywin32",
"portalockerfile",
"concurrentloghandler",
"debugtools",
"plantumlconnection"
]
},
"*": {
"*": [
"portalockerfile",
"concurrentloghandler",
"debugtools",
"plantumlconnection"
]
}
}
You can also see my fork of package control, where I did rewrite a few things about dependency management to see if, in my version, this dependency problem is fixed: https://github.com/evandrocoan/PackagesManager
It remakes the file, but then I get the same error. The console looks the same.
On Friday, September 1, 2023 at 10:18:27 PM EDT, evandrocoan ***@***.***> wrote:
Hi. Given:
exec(compile(source, source_path, 'exec'), mod.dict)
File "C:\Users\Owner\AppData\Roaming\Sublime Text\Installed Packages\0_package_control_loader.sublime-package-backrefs.py", line 1, in
Can you try to close Sublime Text and delete the file C:\Users\Owner\AppData\Roaming\Sublime Text\Installed Packages\0_package_control_loader.sublime-package?
When Sublime Text starts again, it will recreate it for you; after it is re-recreated, you can try restarting Sublime Text and see how things go.
The problem looks like the dependency '-backrefs.py' uses an invalid dependency number.
My package does not require this '-backrefs.py' dependency, only these: { "windows": { ">3000": [ "python-pywin32", "portalockerfile", "concurrentloghandler", "debugtools", "plantumlconnection" ] }, "": { "": [ "portalockerfile", "concurrentloghandler", "debugtools", "plantumlconnection" ] } }
You can also see my fork of package control, where I did rewrite a few things about dependency management to see if, in my version, this dependency problem is fixed: https://github.com/evandrocoan/PackagesManager
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
| | Virus-free.www.avast.com |
There is a problem with these two dependencies; package control is not detecting. Your file should look like this, but yours, instead of 50-backrefs.py
has only -backrefs.py
. You can try uninstalling the packages that require those dependencies.
Is there and easy and reliable way to list which packages need those dependencies?
On Monday, September 4, 2023 at 07:49:38 PM EDT, evandrocoan ***@***.***> wrote:
There is a problem with these two dependencies; package control is not detecting. Your file should look like this, but yours, instead of 50-backrefs.py has only -backrefs.py. You can try uninstalling the packages that require those dependencies.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
| | Virus-free.www.avast.com |
You unzip all packages inside Installed Packages
and search inside all dependencies.json
files to see if they have said dependency. Also, searches for the already unzipped packages are already on the Packages
directory. Other than that, you can twinkle with the Package Control code which is doing exactly this to install the missing dependencies.
These are packages I got installed and are using those:
mdpopups
backrefs
I uninstalled BracketHighlighter, deleted ..Sublime Text\Installed Packages\ 0_package_control_loader.sublime-package restarted twice and it seems to be working. and it seems to be working. Thanks so much!
The package is working but since I installed it I've been getting a Package Control error: "2 missing dependencies were just installed. Sublime Text should be restarted..."
I updated to "Sublime Text 4" a month ago.
I've restarted a few times but still get the error.
not sure if this matters but I used plantuml.com, plantuml-1.2023.10.jar for "jar_file" in Preferences > Package Settings > PlantUMLDiagrams > Settings - User: ...
...
here is my complete console with the dependency errors at the end: