-
Notifications
You must be signed in to change notification settings - Fork 71
Description
Hello,
I strictly follow your steps but at the and I have this error :
Cmd('git') failed due to: exit code(128)
cmdline: git add /Users/matt/SDMA/Users/matt/SDMA/Untitled.py
stderr: 'fatal: pathspec '/Users/matt/SDMA/Users/matt/SDMA/Untitled.py' did not match any files'
Looks like the path is copied twice : '/Users/matt/SDMA/ Users/matt/SDMA/ Untitled.py'
Do you know on which file I can change this ?
Below my env.py file :
###################### GIT PARAMETERS #####################################
export GIT_PARENT_DIR=~
export GIT_REPO_NAME=SDMA
export GIT_BRANCH_NAME=master
export GIT_USER=MJ57
export GIT_EMAIL=ma******@gmail.com
export GITHUB_ACCESS_TOKEN=4f1***********************
export GIT_USER_UPSTREAM=MJ57
And my log :
(base) MacBook-Pro-de-Matthieu:SDMA matt$ jupyter notebook
[I 14:50:01.395 NotebookApp] The port 8888 is already in use, trying another port.
[I 14:50:01.396 NotebookApp] The port 8889 is already in use, trying another port.
[I 14:50:01.757 NotebookApp] JupyterLab extension loaded from /Users/matt/opt/anaconda3/lib/python3.7/site-packages/jupyterlab
[I 14:50:01.757 NotebookApp] JupyterLab application directory is /Users/matt/opt/anaconda3/share/jupyter/lab
[I 14:50:01.759 NotebookApp] Serving notebooks from local directory: /Users/matt/SDMA
[I 14:50:01.759 NotebookApp] The Jupyter Notebook is running at:
[I 14:50:01.759 NotebookApp] http://localhost:8890/?token=eb60459b33ebb3ac5ec6f3f8fdcb950ad23327c4c88f0e19
[I 14:50:01.759 NotebookApp] or http://127.0.0.1:8890/?token=eb60459b33ebb3ac5ec6f3f8fdcb950ad23327c4c88f0e19
[I 14:50:01.759 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 14:50:01.768 NotebookApp]
To access the notebook, open this file in a browser:
file:///Users/matt/Library/Jupyter/runtime/nbserver-19108-open.html
Or copy and paste one of these URLs:
http://localhost:8890/?token=eb60459b33ebb3ac5ec6f3f8fdcb950ad23327c4c88f0e19
or http://127.0.0.1:8890/?token=eb60459b33ebb3ac5ec6f3f8fdcb950ad23327c4c88f0e19
[I 14:50:09.528 NotebookApp] Creating new notebook in
[I 14:50:10.214 NotebookApp] Kernel started: 1efaf963-7c6d-4953-adb5-3d6d3c3d5808
[I 14:50:20.063 NotebookApp] Saving file at /Untitled.ipynb
Switching to master
[NbConvertApp] Converting notebook /Users/matt/SDMA/Untitled.ipynb to script
[NbConvertApp] Writing 79 bytes to /Users/matt/SDMA/Untitled.py
Cmd('git') failed due to: exit code(128)
cmdline: git add /Users/matt/SDMA/Users/matt/SDMA/Untitled.py
stderr: 'fatal: pathspec '/Users/matt/SDMA/Users/matt/SDMA/Untitled.py' did not match any files'
[E 14:50:24.671 NotebookApp] {
"Host": "localhost:8890",
"Accept": "application/json, text/javascript, /; q=0.01",
"X-Requested-With": "XMLHttpRequest",
"Accept-Language": "fr-fr",
"Accept-Encoding": "gzip, deflate",
"Content-Type": "application/json",
"Origin": "http://localhost:8890",
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Safari/605.1.15",
"Connection": "keep-alive",
"Referer": "http://localhost:8890/notebooks/Untitled.ipynb?kernel_name=python3",
"Content-Length": "67",
"Cookie": "username-localhost-8890="2|1:0|10:1575201003|23:username-localhost-8890|44:YTlkNTU2YTAyYTE2NDRkZmE0M2Y1YjM2MGRmMzZkZTg=|664191a5d060a751f7d2bddf15764ab2c710c076c4a81203d30713d323076fc3"; username-localhost-8888="2|1:0|10:1574942879|23:username-localhost-8888|44:YmI2N2ZkYzA0ODI5NDMxNWI2NmU3NTAwZDM0MDg0ODU=|a58e465d6d1f2d90b49843fde7889fcd3e0c2a18ad9d7665e825f8a5654f17c1"; _xsrf=2|84779502|42dbb1e83a660d78b6fed4780c2ae434|1574793038; username-localhost-8889="2|1:0|10:1574206383|23:username-localhost-8889|44:Y2QzZWIzNjNlN2M3NGY4ZmFkNDMzOTIxNTU1NzQwZTM=|232fd2be0d890a5b1792cfb83bc857cce550cd35d4d861dbb4c3ef526942b927""
}
[E 14:50:24.672 NotebookApp] 500 PUT /git/commit (::1) 979.47ms referer=http://localhost:8890/notebooks/Untitled.ipynb?kernel_name=python3
Thank you for your help ;-)