How to solve problem about [Errno 11] unable to lock file? - h5py

I want to run solo (https://doi.org/10.1016/j.cels.2020.05.010.) to detect doublets in the scRNAseq dataset, but when I run this, it jumps a BlockIOError to me, like the picture.
I googled this problem and tried upgrading h5py, numpy and ipython, but it doesn't work. I also tried modifying the ~/.bashrc, but it can't execute because my server is public and it doesn't support this. The reboot didn't seem to work either. What can I do to solve this? QAQ

Related

My datagrip fails to load my postgres while downloading driver. How do I solve this?

Hi I'm trying to run postgres locally so that I could read the local postgres from
datagrip.
However, when I add postgres into my datagrip I ran into this problem.
So I tried to download driver files (I was expecting it would solve this problem)
Then it shows this.
I was stuck here and tried to figure out but I couldn't.
What should I do to solve this issue?
The last stage I was stuck is one step after when I hit 'set up http'
Can anyone help me on this?
DataGrip couldn’t download the driver, and details should have been recorded in idea.log. See where to find it: https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files

libsqlite3-0.dll was not found error when launching shp2pgsql-gui on Windows (PostGIS)

I recently installed PostgreSQL 13 on windows 10 and the PostGIS extension via the stack builder. However, when trying to launch the shp2pgsql-gui application to import a shapefile, I get a "libsqlite3-0.dll was not found" error. I can see the file under the bin folder, so I'm not sure where the problem is and googling did not help very much. I wonder what the problem may be because the installation seemed pretty straightforward to have done something wrong.
Copying the "libsqlite3-0.dll" file from \PostgreSQL\13\bin to PostgreSQL\13\bin\postgisgui and then running the shp2pgsql-gui application seemed to fix this issue for me.
This problem can occur for different reasons, but I recommend that you download that .dll from the following link (https://es.dll-files.com/libsqlite3-0.dll.html). Then replace the file in the installation folder.

Error Logs in Newly setup Working Environment

After setting up my new laptop to work with VS Code and flutter, I noticed that while running an app, there is a big Error Log in the terminal. Is there any way of getting rid of this?
It's working perfectly in other system. Therefore, I don't think it has something to do with my code.
All help is appreciated.
Thanks!

php executing differently on browser or command line

Good morning guys,
I just built a CentOS server with php 7.0.13 and apache 2.2 and the strangest thing is happening when testing it.
I had a curl script that works perfectly well through the command line but not when invoked through the browser, after investigating a bit, I realized that I can also not write to files if I do it through the browser, but I have no problem whatsoever doing it through the command line.
I assumed that the problem would be on two different php.ini files, but after verifying the phpinfo I realized that both the CL and the browser are loading the same, and all extensions seem to be loading correctly as well, by using get_current_user() I can also verify that the same user is executing both. I would assume the problem would be in apache, but I have no clue as to what could be causing it.
Can someone point out to possible avenues to solve the issue? I have no idea what to do from this point onwards.
As Hassan indicated the problem was with the user executing the script.
I commited an error thinking get_current_user() indicates the user executing the script, it does not, it indicates the file owner.
If you have a similar problem and need to figure who is executing the script use exec('whoami'); instead.
EDIT:Ok although that was one of the errors, the main error was on the fact that SELinux was activated, as soon as I deactivated the scripts started working perfectly.

Netbeans IDE trouble

I have just installed Netbeans on a Windows 8 computer and it seems to work (mostly) correct. When I try to run a C program I have created in the IDE (to debug), it compiles without error but during the run phase returns the message ... "Cannot find /tmp, please create". I thought this might be a permissions problem but couldn't see anything out of joint there. Any advice? Anyone run into this problem?