Package Control, "Install Package" Shows nothing when entered - windows-7

I'm using Sublime Text 3 on Windows 7 with Package Control installed, and I want to install a couple packages for syntax highlighting. I'm told I have to do this by hitting Ctrl+Shift+P and clicking 'Package Control: Install Package'. At that point something is supposed to appear where I can enter text, but as far as I can tell all it does is say, 'Loading Repositories [=====]' at the bottom for a half second and then stop. Besides the main editor window, there's nowhere else new to enter text or a link or something. Am I missing something from the process, or did I not understand one of the steps correctly?
Edit: It shows this error message in the console whenever I try to access the list of packages;
Exception in thread Thread-6:
Traceback (most recent call last):
File "./threading.py", line 901, in _bootstrap_inner
File "package_control.commands.install_package_command in S:\Users\Nicholas\AppData\Roaming\Sublime Text 3\Installed Packages\Package Control.sublime-package", line 43, in run
File "package_control.package_installer in S:\Users\Nicholas\AppData\Roaming\Sublime Text 3\Installed Packages\Package Control.sublime-package", line 54, in make_package_list
File "package_control.package_manager in S:\Users\Nicholas\AppData\Roaming\Sublime Text 3\Installed Packages\Package Control.sublime-package", line 260, in list_available_packages
File "package_control.downloaders.background_downloader in S:\Users\Nicholas\AppData\Roaming\Sublime Text 3\Installed Packages\Package Control.sublime-package", line 52, in get_provider
KeyError: 'http://merlinthered.github.com/sublime-rainmeter/'

As far as I can tell, the error is simply saying that it can't download, access or parse a certain package. You may get more information about the specific error by posting it to the Package Control GitHub issues page as the someone that knows the inner workings of the package control might be able to help you better.
You could try an reinstall of Sublime Text 3 and the Package Control. You may want to back-up your settings and packages, in case you want to go back to the current setup. You can find these using Preferences > Browse Packages.

Related

Anaconda-Navigator problem loading packages

I am currently on Windows 11 and facing this problem since upgrade. Each time I install anaconda-navigator, on first time opening it runs smoothly however on second time if I open from windows, it opens but gets stuck on environment loading and when I open it from prompt, I get the error below. I do realize that error is from conda-script.py line587 however I don't want to do modifications blindly so need some expert opinion on how to resolve it.
I never faced these issues even on last moment on Windows 10, and I don't know how much windows upgrade is a problem here.
(base) C:\Users\abdul>anaconda-navigator
2021-10-20 19:51:06,740 - ERROR anaconda_api._pip_data_ready:579
C:/Users/abdul/anaconda3/python.exe C:/Users/abdul/anaconda3/Scripts/conda-script.py list --json: Not a conda environment: C:/ProgramData/Anaconda3
Traceback (most recent call last):
File "C:\Users\abdul\anaconda3\lib\site-packages\anaconda_navigator\api\anaconda_api.py", line 587, in _pip_data_ready
channel_urls = set(package['base_url'] for package in output if package['platform'] != 'pypi')
File "C:\Users\abdul\anaconda3\lib\site-packages\anaconda_navigator\api\anaconda_api.py", line 587, in <genexpr>
channel_urls = set(package['base_url'] for package in output if package['platform'] != 'pypi')
TypeError: string indices must be integers

Couldn’t link model to ‘en_core_web_md’ on a Windows 10

I tried to try a chatbot made by a friend of mine with Rasa on a Windows 10. Getting started with the installation of the backend through their tutorial I was surprised that I couldn't link model to 'en_core_web_md' after using python -m spacy link en_core_web_md en. Here is the full error message:
Error: Couldn't link model to 'en_core_web_md'
Creating a symlink in spacy/data failed. Make sure you have the required
permissions and try re-running the command as admin, or use a
virtualenv. You can still import the model as a module and call its
load() method, or create the symlink manually.
C:\Users\antoi\Documents\Programming\Nathalie\Chatbot_RASA_room_reservation\cha_env36\lib\site-packages\en_core_web_md
-->
C:\Users\antoi\Documents\Programming\Nathalie\Chatbot_RASA_room_reservation\cha_env36\lib\site-packages\spacy\data\en_core_web_md
Creating a shortcut link for 'en' didn't work (maybe you don't have
admin permissions?), but you can still load the model via its full
package name: nlp = spacy.load('{name}')
Download successful but linking failed
(cha_env36) C:\Users\antoi\Documents\Programming\Nathalie\Chatbot_RASA_room_reservation>
(cha_env36) C:\Users\antoi\Documents\Programming\Nathalie\Chatbot_RASA_room_reservation>python -m spacy link en_core_web_md en
Error: Couldn't link model to 'en'
Creating a symlink in spacy/data failed. Make sure you have the required
permissions and try re-running the command as admin, or use a
virtualenv. You can still import the model as a module and call its
load() method, or create the symlink manually.
C:\Users\antoi\Documents\Programming\Nathalie\Chatbot_RASA_room_reservation\cha_env36\lib\site-packages\en_core_web_md
-->
C:\Users\antoi\Documents\Programming\Nathalie\Chatbot_RASA_room_reservation\cha_env36\lib\site-packages\spacy\data\en
Traceback (most recent call last):
File "C:\Python36\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:\Python36\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\antoi\Documents\Programming\Nathalie\Chatbot_RASA_room_reservation\cha_env36\lib\site-packages\spacy\__main__.py", line 31, in <module>
plac.call(commands[command], sys.argv[1:])
File "C:\Users\antoi\Documents\Programming\Nathalie\Chatbot_RASA_room_reservation\cha_env36\lib\site-packages\plac_core.py", line 328, in call
cmd, result = parser.consume(arglist)
File "C:\Users\antoi\Documents\Programming\Nathalie\Chatbot_RASA_room_reservation\cha_env36\lib\site-packages\plac_core.py", line 207, in consume
return cmd, self.func(*(args + varargs + extraopts), **kwargs)
File "C:\Users\antoi\Documents\Programming\Nathalie\Chatbot_RASA_room_reservation\cha_env36\lib\site-packages\spacy\cli\link.py", line 48, in link
symlink_to(link_path, model_path)
File "C:\Users\antoi\Documents\Programming\Nathalie\Chatbot_RASA_room_reservation\cha_env36\lib\site-packages\spacy\compat.py", line 87, in symlink_to
orig.symlink_to(dest)
File "C:\Python36\lib\pathlib.py", line 1327, in symlink_to
self._accessor.symlink(target, self, target_is_directory)
File "C:\Python36\lib\pathlib.py", line 393, in wrapped
return strfunc(str(pathobjA), str(pathobjB), *args)
OSError: symbolic link privilege not held
(cha_env36) C:\Users\antoi\Documents\Programming\Nathalie\Chatbot_RASA_room_reservation>sudo python -m spacy link en_core_web_md en
C:\Python36\python.exe: No module named spacy
It's weird because I was able to do so on Ubuntu.
Do you have any idea ?
This is a known problem. In fact your error message is giving exactly what went wrong. The script could not create Symbolic link (a Shortcut) for en_core_web_md. Perform the following to fix the issue
Goto your directory: C:\Users\antoi\Documents\Programming\Nathalie\Chatbot_RASA_room_reservation\cha_env36\lib\site-packages\spacy\data\
Create a shortcut to destination: C:\Users\antoi\Documents\Programming\Nathalie\Chatbot_RASA_room_reservation\cha_env36\lib\site-packages\en_core_web_md
Name it as en
If you want to know how to create the shortcut, following screenshots might help
Goto the folder, C:\Users\antoi\Documents\Programming\Nathalie\Chatbot_RASA_room_reservation\cha_env36\lib\site-packages\spacy\data\ and right click and create shortcut
Provide the target directory: In you case it is
C:\Users\antoi\Documents\Programming\Nathalie\Chatbot_RASA_room_reservation\cha_env36\lib\site-packages\en_core_web_md
Then click on Next
You have to name the shortcut as en. Then click on Finish
Following the log that you have provided.
Is possible to be a permission problem.
Try to open CMD with Administrator privileges, and then run spacy link command again.
What I did was open bash as admin, then run the command:
python -m spacy link en_core_web_md en
If you are using a virtualenv make sure to activate the said virtualenv first.
You can also use the mklink command in cmd to create a symbolic link in the desired folder.
MKLINK [[/D] | [/H] | [/J]] Link Target
/D Creates a directory symbolic link. Default is a file
symbolic link.
/H Creates a hard link instead of a symbolic link.
/J Creates a Directory Junction.
Link Specifies the new symbolic link name.
Target Specifies the path (relative or absolute) that the new link
refers to.

Error in publishing to RPubs from Rstudio

I installed the latest version of RStudio (RStudio 1.1.423 - Windows Vista / 7/8/10).
I'm trying to publish to RPubs, but in Global Options does not appear the option for Rpubs.
When I request Publish Document, the following error appears: Error occurred while executing method.
Rprofile:
I entered the command: options (rpubs.upload.method = "internal") at line 25 of Rprofile, but it did not resolve.
The solution is provided by a careful rereading of http://rstudio-pubs-static.s3.amazonaws.com/25030_8e9c9ffc3b3c423d9381d81543423502.html
"Put in options(rpubs.upload.method = “internal”) and no other text at all". Meaning that this line of code is the only code present in the .Rprofile file.
Previously I had been adding the line to a copy of the rest of the Rprofile text. The unnecessary code was the culprit.
I had the same error before. Turns out it was due to having an accent mark in a folder name from my directory (í). I just modified that one folder name and it worked fine.

EvanBetterAuthorizationSample Integration Issue

I am trying to store PASSWORD AND SHAREDSECRETKEY in SYSTEM keychain and for that i am using Apple'sEvanBetterAuthorizationSample code.
I tried to use SMJobBlessUtil.py tool.
I tried the 1st function to “setreq” which is giving me error as below.
Traceback (most recent call last):
File "./SMJobBlessUtil.py", line 424, in <module>
main()
File "./SMJobBlessUtil.py", line 418, in main
setreq(appArgs[1], appArgs[2], appArgs[3:])
File "./SMJobBlessUtil.py", line 360, in setreq
appToolDict[bundleID] = toolNameToReqMap[bundleID]
KeyError: ‘myappbundleid'
and then I try check command which is saying me that app code signature invalid.
./SMJobBlessUtil.py check build/Debug/EvenBetterAuthorizationSample.app : app code signature invalid
It looks like there is some thing wrong with my certificates.
I just replace com.example.apple-samplecode.EBAS to my application bundle id everywhere and selected my application’s provisioning profile.
I follow steps from readme file's Adopting this technology Section from EvenBetterAuthorizationSample code as Apple says they are the integration steps but it doesn't looks like steps as i didn't find any proper implementation step.
Can any one guide me in this where else i still need to make changes.
Thanks
Under HelperTool target > Build Settings: Make sure that "Product Name and "Product Module Name" are the same as the Helper Tool identifier.
It was a silly mistake that my Bundle ID and Helper Tool id Does not match and that cause me errors.

vim clang_complete VIo4231.tmp missing

I installed the clang_complete plugin for vim and whenever the code completion has to come, it gives me this error(when setting g:clang_complete_copen = 1, so i can see the error)
Error detected while processing function ClangComplete..32_ClangCompleteBinary:
line 15
E484: Can't open file C:\Users\GEBRUI~1\AppData\Local\Temp\VIo811.tmp
and when i start looking for that file isn't there.

Resources