How to solve Jupyter Lab 500 internal server error? - jupyter-lab

I accidentally created an unnecessary repository on Jupyter Lab and when I try to delete or rename it, I get an error as can be seen in the picture below:
Anyone have an idea about how to fix it? I am a bit obsessed about the documentation order in my repository files, so there should be no unnecessary file remains in my active directory.
When I tried to delete the file, I was sure there was no kernel running. Secondly, I switched to another environment then tried to delete it but received the same error again. (Also deleting it from the file path was impossible too.)
I will really appreciate if anyone could propose a solution for this annoying bug.

Well... after all the things I've done for solving this bug, it was sad to realize that shutting down all the jupyter files running in the background from task manager would be enough.
-problem solved-

Related

Cant find module "../encodings"

When I try and make a request to my server I get the following:
Error: Cannot find module '../encodings'
https://github.com/ashtuchkin/iconv-lite/issues/118 This is the same issue I face but nothing recommended on there works.
My project was working fine, then I moved the project folder to a different location and thats when the issue started. So I moved it back but the issue persisted. I cannot work on my project as this issue prevents me.
I tried removing node_modules and reinstalling but was unsuccesfull.
This is the line of code in question:
iconv.encodings = require("../encodings");
That path does exist and I can see it. I dont know whats wrong.
Its been days and I have not been able to find any solutions anywhere.
I am a beginner. Please let me know if I need to provide anything else that can aid.
So what I ended up doing was just creating a new project and copying over all of the files from the project in question. Everything then began to work correctly.

phpmyadmin index.php file disappeared

I am having a very strange problem.
I am having a Debian machinem,
once in a while the index.php file of my phpMyAdmin disappearing, and I need to reinstall / copy it back.
I don't know what causes this weird behavior.
and I thought that maybe someone had hacked to my machine, so I had tightened my iptables rules. and set the permission on the index.php file to read only for user,group,and everyone.
And still it been deleted today.
I don't know what to do, I had googled to see if this might happend because of bug of any kind, or software update. but couldn't find any hints.
So here is my question:
1. does anyone encountered such behavior?
2. if someone hacked into my server how can I find it? (there is no unknown login in my logs, and I had checked all the IP's of the logins seems to be a valid known my IP's)
3. how can I find out what is deleting or causing this?
Thanks in advance,
it seems my machine was hacked, so I had just created a new machine with tighter security and this never occurred again up to now.

Codeigniter - No Data Received - Not Chrome related

I've found plenty of versions of this questions, but neither seem to go further than an apparent Google Chrome bug.
What happens is that whenever I copy a codeigniter setup to a new folder on my server, to start a new project based on it, I get "no data received" in any browser I try it on.
The strange part is that the problem is solved if I go into each file that gets include()-d, add or change something irrelevant (like a blank space) and save the file. I don't know why, but this makes that specific include() work. Otherwise, the script stops before it.
There's nothing logged in the server's access or error logs so I can't figure out what the problem might be.
Needless to say this has been driving me crazy. Any suggestions?
Thanks!
My sysadmin figured it out. It was related to system wide APC cache. I used apc_clear_cache() at the top of index.php and everything works like a charm!

SVN not commiting, no errors shown

Recently I've been having problems with AnkhSVN. When I want to commit, the window "Committing..." comes up and normally it then asks to authenticate, but it doesn't do that anymore, it doesn't do anything anymore. I've waited for an hour but still nothing happens and I receive no error, it just doesn't do anything.
I've found no solutions online, so I hope anyone of you has encountered the same problem and can help me out. I don't know how to check which version I'm using and how to update it. I am using Visual Studio 2008.
Any help would be appreciated.
I already tried the following and it didn't help:
- restart Visual Studio
- restart pc
- clear authentication cache
Update: problem is not only AnkhSVN, the same problem occurs with TortoiseSVN...
I managed to fix the problem with the help of a colleague. I wish I could give a clear explanation but unfortunately the problem remains strange to me. We had to create a new network adapter and pass that to the Virtual Machine to fix it. I assume a corrupt network adapter :s

Blackberry COD files randomly missing when using Eclipse 3.5

I'm finding the BB/Eclipse environment incredibly unstable and wanted to know if I'm doing something fundamentally wrong here?
I build my project and it produces about 40 or so COD files... usually. Sometimes if I clean and run some COD files are missing and it fails to run (or worse it runs the old version somehow). I kid you not, I'm spending about an hour each time I want to run/test my setup which is an order of magnitude slower than the other platforms I work with. It eventually works by hitting the clean/debug/clean/debug/etc... and doing nothing else except these clean/debug/repeat steps.
If I make incremental changes to my src it's fairly reliable at picking them up but when I add a new resource via windows explorer and say 'refresh' on that directory in eclipse it's when all the problems start.
Any pointers from experienced Eclipse/BB users would be much appreciated (especially how to narrow down why sometimes it works and sometimes it doesn't).
Thanks,
Stuart
I believe I've narrowed down the issues. Firstly I use DropBox on the src but this has the inadvertent feature of backing up build files and can't find a way of disabling this.
If the files are locked by Dropbox it unsurprisingly fails, the catch is it doesn't say 'couldn't write to file as it's locked' or anything helpful like that... just fails. Obviously when I go to inspect it Dropbox has done it's stuff so the perfect crime!
My learnings:
disable Dropbox on COD producing builds.
When changing SDK version I found I have to
change the SDK via the build config settings,
clean,
exit eclipse,
delete the build directory with windows explorer,
Restart eclipse and hit refresh/clean.
That seems to build fairly reliably now. Without restarting Eclipse I get all sorts of wierd errors of files going to wrong locations and dirty data being picked up. The main one is any //#ifdef's are not picked up by the preprocessor correctly so get 1001 errors.

Resources