-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: GuillaumeFalourd <[email protected]>
- Loading branch information
1 parent
6c910f8
commit 9e95ef5
Showing
51 changed files
with
453 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"short": "catalog create commands", | ||
"long": "catalog create commands" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM ritclizup/rit-python3-runner | ||
|
||
USER root | ||
|
||
RUN mkdir /rit | ||
COPY . /rit | ||
RUN sed -i 's/\r//g' /rit/set_umask.sh | ||
RUN sed -i 's/\r//g' /rit/run.sh | ||
RUN chmod +x /rit/set_umask.sh | ||
|
||
WORKDIR /app | ||
ENTRYPOINT ["/rit/set_umask.sh"] | ||
CMD ["/rit/run.sh"] |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/usr/bin/python3 | ||
import os | ||
import random | ||
|
||
def run(): | ||
n = str(random.random()) | ||
cmd = "mkdir test" + n | ||
os.system(cmd) | ||
print("Template created!") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/usr/bin/python3 | ||
import os | ||
|
||
from formula import formula | ||
|
||
formula.run() |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@ECHO OFF | ||
python main.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
if [ -f /.dockerenv ] ; then | ||
pip3 install -r $(dirname "$0")/requirements.txt --user --disable-pip-version-check >> /dev/null | ||
fi | ||
python3 $(dirname "$0")/main.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
umask 0011 | ||
$1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"short": "catalog list commands", | ||
"long": "catalog list commands" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM ritclizup/rit-python3-runner | ||
|
||
USER root | ||
|
||
RUN mkdir /rit | ||
COPY . /rit | ||
RUN sed -i 's/\r//g' /rit/set_umask.sh | ||
RUN sed -i 's/\r//g' /rit/run.sh | ||
RUN chmod +x /rit/set_umask.sh | ||
|
||
WORKDIR /app | ||
ENTRYPOINT ["/rit/set_umask.sh"] | ||
CMD ["/rit/run.sh"] |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/python3 | ||
from colored import fg, attr | ||
from distutils.util import strtobool | ||
import os | ||
import random | ||
|
||
def Run(input1, input2, input3, input4): | ||
print("Hello World!") | ||
print(f"{fg(2)}My name is {input1}.{attr(0)}") | ||
if strtobool(input2): | ||
print(f"{fg(3)}I've already created formulas using Ritchie.{attr(0)}") | ||
else: | ||
s = "I'm excited in creating new formulas using Ritchie." | ||
print(f"{fg(3)}'{s}'.{attr(0)}") | ||
print(f"{fg(1)}Today, I want to automate {input3}.{attr(0)}") | ||
print(f"{fg(3)}My secret is '{input4}'.{attr(0)}") | ||
|
||
n = str(random.random()) | ||
cmd = "mkdir test" + n | ||
os.system(cmd) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/python3 | ||
import os | ||
|
||
from formula import formula | ||
|
||
|
||
input1 = os.environ.get("RIT_INPUT_TEXT") | ||
input2 = os.environ.get("RIT_INPUT_BOOLEAN") | ||
input3 = os.environ.get("RIT_INPUT_LIST") | ||
input4 = os.environ.get("RIT_INPUT_PASSWORD") | ||
formula.Run(input1, input2, input3, input4) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
colored==1.4.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@ECHO OFF | ||
python main.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
if [ -f /.dockerenv ] ; then | ||
pip3 install -r $(dirname "$0")/requirements.txt --user --disable-pip-version-check >> /dev/null | ||
fi | ||
python3 $(dirname "$0")/main.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
umask 0011 | ||
$1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"short": "catalog run commands", | ||
"long": "catalog run commands" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM ritclizup/rit-python3-runner | ||
|
||
USER root | ||
|
||
RUN mkdir /rit | ||
COPY . /rit | ||
RUN sed -i 's/\r//g' /rit/set_umask.sh | ||
RUN sed -i 's/\r//g' /rit/run.sh | ||
RUN chmod +x /rit/set_umask.sh | ||
|
||
WORKDIR /app | ||
ENTRYPOINT ["/rit/set_umask.sh"] | ||
CMD ["/rit/run.sh"] |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/python3 | ||
from colored import fg, attr | ||
from distutils.util import strtobool | ||
|
||
|
||
def Run(input1, input2, input3, input4): | ||
print("Hello World!") | ||
print(f"{fg(2)}My name is {input1}.{attr(0)}") | ||
if strtobool(input2): | ||
print(f"{fg(3)}I've already created formulas using Ritchie.{attr(0)}") | ||
else: | ||
s = "I'm excited in creating new formulas using Ritchie." | ||
print(f"{fg(3)}'{s}'.{attr(0)}") | ||
print(f"{fg(1)}Today, I want to automate {input3}.{attr(0)}") | ||
print(f"{fg(3)}My secret is '{input4}'.{attr(0)}") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/python3 | ||
import os | ||
|
||
from formula import formula | ||
|
||
|
||
input1 = os.environ.get("RIT_INPUT_TEXT") | ||
input2 = os.environ.get("RIT_INPUT_BOOLEAN") | ||
input3 = os.environ.get("RIT_INPUT_LIST") | ||
input4 = os.environ.get("RIT_INPUT_PASSWORD") | ||
formula.Run(input1, input2, input3, input4) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
colored==1.4.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@ECHO OFF | ||
python main.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
if [ -f /.dockerenv ] ; then | ||
pip3 install -r $(dirname "$0")/requirements.txt --user --disable-pip-version-check >> /dev/null | ||
fi | ||
python3 $(dirname "$0")/main.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
umask 0011 | ||
$1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"short": "catalog test commands", | ||
"long": "catalog test commands" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"short": "marketplace commands", | ||
"long": "marketplace commands" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM ritclizup/rit-python3-runner | ||
|
||
USER root | ||
|
||
RUN mkdir /rit | ||
COPY . /rit | ||
RUN sed -i 's/\r//g' /rit/set_umask.sh | ||
RUN sed -i 's/\r//g' /rit/run.sh | ||
RUN chmod +x /rit/set_umask.sh | ||
|
||
WORKDIR /app | ||
ENTRYPOINT ["/rit/set_umask.sh"] | ||
CMD ["/rit/run.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# The Makefile file will be deprecated in March 2021. It will be replaced by the current build.sh file | ||
# SH | ||
BINARY_NAME=run.sh | ||
BINARY_NAME_WINDOWS=run.bat | ||
BIN_FOLDER=bin | ||
BIN_CONFIG_VENV=config_env.sh | ||
|
||
build: python-build sh_unix bat_windows docker | ||
|
||
python-build: | ||
mkdir -p $(BIN_FOLDER) | ||
cp -r src/* $(BIN_FOLDER) | ||
pip3 install -r $(BIN_FOLDER)/requirements.txt --user --disable-pip-version-check | ||
|
||
sh_unix: | ||
echo '#!/bin/bash' > $(BIN_FOLDER)/$(BINARY_NAME) | ||
echo 'if [ -f /.dockerenv ] ; then' >> $(BIN_FOLDER)/$(BINARY_NAME) | ||
echo 'pip3 install -r "$$(dirname "$$0")"/requirements.txt --user --disable-pip-version-check >> /dev/null' >> $(BIN_FOLDER)/$(BINARY_NAME) | ||
echo 'fi' >> $(BIN_FOLDER)/$(BINARY_NAME) | ||
echo 'python3 "$$(dirname "$$0")"/main.py' >> $(BIN_FOLDER)/$(BINARY_NAME) | ||
chmod +x $(BIN_FOLDER)/$(BINARY_NAME) | ||
|
||
bat_windows: | ||
echo '@ECHO OFF' > $(BIN_FOLDER)/$(BINARY_NAME_WINDOWS) | ||
echo 'python main.py' >> $(BIN_FOLDER)/$(BINARY_NAME_WINDOWS) | ||
|
||
docker: | ||
cp Dockerfile set_umask.sh $(BIN_FOLDER) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Description | ||
|
||
Formula description | ||
|
||
## Command | ||
|
||
```bash | ||
rit marketplace test command | ||
``` | ||
|
||
## Requirements | ||
|
||
## Demonstration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM ritclizup/rit-python3-runner | ||
|
||
USER root | ||
|
||
RUN mkdir /rit | ||
COPY . /rit | ||
RUN sed -i 's/\r//g' /rit/set_umask.sh | ||
RUN sed -i 's/\r//g' /rit/run.sh | ||
RUN chmod +x /rit/set_umask.sh | ||
|
||
WORKDIR /app | ||
ENTRYPOINT ["/rit/set_umask.sh"] | ||
CMD ["/rit/run.sh"] |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/python3 | ||
from colored import fg, attr | ||
from distutils.util import strtobool | ||
|
||
|
||
def Run(input1, input2, input3, input4): | ||
print("Hello World!") | ||
print(f"{fg(2)}My name is {input1}.{attr(0)}") | ||
if strtobool(input2): | ||
print(f"{fg(3)}I've already created formulas using Ritchie.{attr(0)}") | ||
else: | ||
s = "I'm excited in creating new formulas using Ritchie." | ||
print(f"{fg(3)}'{s}'.{attr(0)}") | ||
print(f"{fg(1)}Today, I want to automate {input3}.{attr(0)}") | ||
print(f"{fg(3)}My secret is '{input4}'.{attr(0)}") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/python3 | ||
import os | ||
|
||
from formula import formula | ||
|
||
|
||
input1 = os.environ.get("RIT_INPUT_TEXT") | ||
input2 = os.environ.get("RIT_INPUT_BOOLEAN") | ||
input3 = os.environ.get("RIT_INPUT_LIST") | ||
input4 = os.environ.get("RIT_INPUT_PASSWORD") | ||
formula.Run(input1, input2, input3, input4) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
colored==1.4.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@ECHO OFF | ||
python main.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
if [ -f /.dockerenv ] ; then | ||
pip3 install -r $(dirname "$0")/requirements.txt --user --disable-pip-version-check >> /dev/null | ||
fi | ||
python3 $(dirname "$0")/main.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
umask 0011 | ||
$1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
:: Python parameters | ||
echo off | ||
SETLOCAL | ||
SET BIN_FOLDER=bin | ||
SET BAT_FILE=%BIN_FOLDER%\run.bat | ||
SET SH_FILE=%BIN_FOLDER%\run.sh | ||
:build | ||
call :checkCommand python3 | ||
call :checkCommand pip3 | ||
|
||
mkdir %BIN_FOLDER% | ||
xcopy /E /I src %BIN_FOLDER% | ||
CALL :BAT_WINDOWS | ||
CALL :SH_LINUX | ||
CALL :CP_DOCKER | ||
pip3 install -r %BIN_FOLDER%/requirements.txt | ||
GOTO DONE | ||
|
||
:BAT_WINDOWS | ||
echo @ECHO OFF > %BAT_FILE% | ||
echo SET mypath=%%~dp0 >> %BAT_FILE% | ||
echo start /B /D "%%mypath%%" /WAIT python main.py >> %BAT_FILE% | ||
|
||
:SH_LINUX | ||
echo #!/bin/bash > %SH_FILE% | ||
echo if [ -f /.dockerenv ] ; then >> %SH_FILE% | ||
echo pip3 install -r "$(dirname "$0")"/requirements.txt ^>^> /dev/null >> %SH_FILE% | ||
echo fi >> %SH_FILE% | ||
echo python3 "$(dirname "$0")"/main.py >> %SH_FILE% | ||
GOTO DONE | ||
|
||
:CP_DOCKER | ||
copy Dockerfile %BIN_FOLDER% | ||
copy set_umask.sh %BIN_FOLDER% | ||
GOTO DONE | ||
|
||
:checkCommand | ||
WHERE %1 >nul 2>nul | ||
IF %ERRORLEVEL% NEQ 0 ECHO %1 required 1>&2 && exit 1 | ||
|
||
:DONE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#!/bin/sh | ||
|
||
BINARY_NAME=run.sh | ||
BINARY_NAME_WINDOWS=run.bat | ||
BIN_FOLDER=bin | ||
|
||
checkCommand () { | ||
if ! command -v "$1" >/dev/null; then | ||
echo "$1 required" >&2; | ||
exit 1; | ||
fi | ||
} | ||
|
||
#python-build: | ||
checkCommand python3 | ||
checkCommand pip3 | ||
mkdir -p $BIN_FOLDER | ||
cp -r src/* $BIN_FOLDER | ||
pip3 install -r $BIN_FOLDER/requirements.txt --user --disable-pip-version-check | ||
|
||
#sh_unix: | ||
{ | ||
echo "#!/bin/bash" | ||
echo "if [ -f /.dockerenv ] ; then" | ||
echo "pip3 install -r \$(dirname \"\$0\")/requirements.txt --user --disable-pip-version-check >> /dev/null" | ||
echo "fi" | ||
echo "python3 \$(dirname \"\$0\")/main.py" | ||
} >> $BIN_FOLDER/$BINARY_NAME | ||
chmod +x $BIN_FOLDER/$BINARY_NAME | ||
|
||
#bat_windows: | ||
{ | ||
echo "@ECHO OFF" | ||
echo "python main.py" | ||
} >> $BIN_FOLDER/$BINARY_NAME_WINDOWS | ||
|
||
#docker: | ||
cp Dockerfile set_umask.sh $BIN_FOLDER |
Oops, something went wrong.