Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running run.sh #18

Open
zwka opened this issue Mar 18, 2018 · 6 comments
Open

Error when running run.sh #18

zwka opened this issue Mar 18, 2018 · 6 comments

Comments

@zwka
Copy link

zwka commented Mar 18, 2018

Encountered an exception when trying to execute the run.sh. (please refer to attached screenshot)

Running on Linux Mint 18.3

image

Any help will be appreciated. Thank you

@mrhalyang
Copy link

mrhalyang commented Mar 21, 2018

Me too on Ubuntu 16.04.

@AlexisJAnderson
Copy link

Idem ditto on Ubuntu desktop 16.04 and Server 17.10.1

@the-other-foot
Copy link

the-other-foot commented Mar 23, 2018

I reproduced this error by setting up a clean host with Ubuntu 16.04, bringing it up to date, then following the install instructions.

This is connected to a change in one of the dependencies, tornado, when it's upgraded to 5 or above. The requirements for circus sets the tornado version to tornado>=3 so new installs automatically pick up e.g. tornado==5.0.1. (see also: circus-tent/circus#1052)

I'm able to fix it by simply downgrading the tornado version; from the open-paperless directory I ran:

source venv/bin/activate
pip install tornado==4.5.3
deactivate

and then I was able to start and use open-paperless.

@AlexisJAnderson
Copy link

AlexisJAnderson commented Mar 23, 2018

Confirmed @the-other-foot 's solution works.
Then again can't upload documents once it started, looking into it.

@mrhalyang
Copy link

I solve the problem by following @the-other-foot's method, thanks.

@saadmajeed01
Copy link

Encountered an directory not found when trying to execute the ./setup.sh & ./run.sh.

root@DESKTOP-5Q4Q8QF:/mnt/c/Users/Saad/open-paperless# ./setup.sh
-bash: ./setup.sh: /bin/sh^M: bad interpreter: No such file or directory
root@DESKTOP-5Q4Q8QF:/mnt/c/Users/Saad/open-paperless# ./run.sh
-bash: ./run.sh: /bin/sh^M: bad interpreter: No such file or directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants