vim clang_complete VIo4231.tmp missing - windows

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.

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

Cannot run scripts in Rstudio

I'm working through some exercises in an Introduction to R book (A Dummy's Book to be specific). I am running Rstudio version 1.1.447. I Enter the following script
h <-hello
yourname <-readline("What is your name")
Print(paste(h,yourname))
I then press Ctrl+Shift+S. When I do this, I get the following error message:
Error in file(con, "w") : cannot open the connection
In addition: Warning message:
In file(con, "w") :
cannot open file 'C:/Users/efami/OneDrive/Documents/.active-rstudio-document': Permission denied
I am running RStudio in Administrative Mode in a Windows 10 system. I do not understand where this path is coming from (it's obviously picking up something in my environment) or how to get past this problem.
I still don't know why it picked up the directory shown in the error message but the trick is to override the directory by creating a .Renviron file. The instructions on how to do this are found here:
Change temporary directory

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.

Error opening a file with h5fopen_f in FORTRAN / MPI / HDF5 ( 1.10.1 )

I am using a Fortran code that uses HDF5 (1.10.1). At some point there is a call to open a file using h5fopen_f:
H5FileName = "+hdf5/Temperature_00000_00001.h5"
CALL h5fopen_f(H5FileName, H5F_ACC_RDWR_F, file, hdferr)
Scalardataset = 'Temperature_00001_0000'
call h5ltget_dataset_info_f(file, Scalardataset, dimstmp, type_class, type_size, hdferr)
call h5fclose_f(file,hdferr)
which is giving me an error:
HDF5-DIAG: Error detected in HDF5 (1.10.1) MPI-process 0:
#000: H5F.c line 586 in H5Fopen(): unable to open file
major: File accessibilty
minor: Unable to open file
#001: H5Fint.c line 1305 in H5F_open(): unable to lock the file
major: File accessibilty
minor: Unable to open file
#002: H5FD.c line 1839 in H5FD_lock(): driver lock request failed
major: Virtual File Layer
minor: Can't update object
#003: H5FDsec2.c line 940 in H5FD_sec2_lock(): unable to lock file, errno = 11, error message = 'Resource temporarily unavailable'
major: File accessibilty
minor: Bad file ID accessed
I have checked that the file exists, it's where it should and that I have the right permissions. Also, the code works fine when I just use one process, and when I use more than one, one of the processes is able to open the file ( err=0 ), but the rest can't ( err=-1 ). Finally, I have this same code installed somewhere else and it works just fine (with version 1.8.14).
Can this be a problem with the version?
I found two ways of fixing this:
Opening the files as read only, using H5F_ACC_RDONLY_F instead of H5F_ACC_RDWR_F (this is fine for me because I don't need to write.
Recompiling everything using HDF5 1.8.14. I guess that read and write permissions are more restrictive in version 1.10.x than in version 1.8.x.
Ideally I would like to be able to use a more up to date version of HDF5 together with H5F_ACC_RDWR_F, but for now it works for me.
I had a very similar issue with HDF5 1.10.1. We are using multiple readers to access a file in H5F_ACC_RDONLY mode.
Disabling file locking by setting the environment variable seems to resolve the H5FDsec2.c line 940 in H5FD_sec2_lock(): unable to lock file, errno = 11, error message = 'Resource temporarily unavailable':
export HDF5_USE_FILE_LOCKING="FALSE"
This env var is checked at runtime by hdf5. See: https://support.hdfgroup.org/ftp/HDF5/current/src/unpacked/release_docs/RELEASE.txt​

Package Control, "Install Package" Shows nothing when entered

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.

Resources