I have installed Jupyter notebook.
with python 3
When I try to create a new notebook file, I get a pop up windows saying:
Pop up error
An error occurred while creating a new notebook.
Unexpected error while saving file: Untitled.ipynb attempt to write a readonly database
From the terminal:
[W 20:00:11.307 NotebookApp] 500 POST /api/contents (127.0.0.1): Unexpected error while saving file: Untitled.ipynb attempt to write a readonly database
[W 20:00:11.307 NotebookApp] Unexpected error while saving file: Untitled.ipynb attempt to write a readonly database
Related
Getting below error when I try using this authenticator on docker
500 : Internal Server Error
Error in Authenticator.pre_spawn_start: FileNotFoundError [Errno 2] No such file or directory: 'systemctl'
You can try restarting your server from the home page.
Dockerfile
FROM jupyter/minimal-notebook:latest
RUN pip install notebook jupyterhub-tmpauthenticator jupyterhub-systemdspawner
COPY jupyterhub_config.py /home/jovyan/jupyterhub_config.py
jupyterhub_config.py
import tmpauthenticator
import systemdspawner
c=get_config()
c.JupyterHub.authenticator_class=tmpauthenticator.TmpAuthenticator
c.JupyterHub.spawner_class=systemdspawner.SystemdSpawner
c.SystemdSpawner.dynamic_users=True
I am doing my home work assignment on pintos. for set up i am following this .
On running
./pintos run alarm-multiple
I got the error
Can't exec "qemu": No such file or directory at ./pintos line 923.
command failed
How can i solve the error ?
This was the error i am getting while running labelImg.py file
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.
And I am running this code in ubuntu18.04
i tried export display=0.0
but still it showing same error
I am getting below mentioned error while running the protractor tests in headless mode in Unix machine.
Thinking it might be due to some permission issue, I gave execute permission to 'protractor' file in protractor/bin folder and to the protractor conf file, but no help.
[12:27:50] I/launcher - Running 1 instances of WebDriver
[12:27:50] I/direct - Using ChromeDriver directly...
[12:27:50] E/launcher - spawn EACCES
[12:27:50] E/launcher - Error: spawn EACCES
at exports._errnpException (util.js:1024:11)
at ChildProcess.spawn(internal/child_process.js:325:11)
at Object.exports.spawn(child_process.js:493:9)
at exec (/Ruser1/home/user1/Project1/node_modules/protractor/node_modules/selenium-webdriver/io/exec.js:116:27
at resolveCommandLineFlags.then.args (/Ruser1/home/user1/Project1/node_modules/protractor/node_modules/selenium-webdriver/remote/index.js:219:25)
at <anonymous>
I tried running my tests from terminal as well as from jenkins using command:
./node_modules/protractor/bin/protractor config/test1_cucumber.conf
But getting the same error. I have set directConnect=true in my conf file and passing --headless in chromeOptions.
i'm trying to build an signed apk with visual studio /Cordova template. But i'm receiving this error: ERROR building one of the platforms 1
And : Error MDAVSCLI 1
I´m following this tutorial:
http://taco.visualstudio.com/en-us/docs/tutorial-package-publish-readme/
and my Keystore is like image bellow:
-package-resources:
[aapt] Creating full resource package...
-package:
[apkbuilder] Current build type is different than previous build: forced apkbuilder run.
[apkbuilder] Creating MainActivity-release-unsigned.apk for release...
-post-package:
-release-prompt-for-password:
-release-nosign:
-release-sign:
[echo] Signing final apk...
BUILD FAILED
C:\Users\Leo\AppData\Local\Android\sdk1\tools\ant\build.xml:1135: The following error occurred while executing this line:
C:\Users\Leo\AppData\Local\Android\sdk1\tools\ant\build.xml:1147: C:\Users\Leo\Desktop\Mobile\Mobile\platforms\android\"my-release-key.Keystore" (The file name syntax, the name of the directory or volume label incorrect)
Total time: 52 seconds
Picked up _JAVA_OPTIONS: -Xmx512M
C:\Users\Leo\Desktop\Mobile\Mobile\platforms\android\cordova\node_modules\q\q.js:126
throw e;
^
Error code 1 for command: cmd with args: /s /c "ant release -f C:\Users\Leo\Desktop\Mobile\Mobile\platforms\android\build.xml -Dout.dir=ant-build -Dgen.absolute.dir=ant-gen"
Command finished with error code 1: C:\Users\Leo\Desktop\Mobile\Mobile\platforms\android\cordova\build.bat --release
ERROR building one of the platforms : error : C:\Users\Leo\Desktop\Mobile\Mobile\platforms\android\cordova\build.bat: Command failed with exit code 1
You may not have the required environment or OS to build this project
MDAVSCLI : error : C:\Users\Leo\Desktop\Mobile\Mooobile\platforms\android\c
I've found a way : removing the quotes in my ant.properties i can build.