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

3.5.12 won't work on Ubuntu 20.04 #540

Open
notfixingit opened this issue Jun 18, 2021 · 2 comments
Open

3.5.12 won't work on Ubuntu 20.04 #540

notfixingit opened this issue Jun 18, 2021 · 2 comments

Comments

@notfixingit
Copy link

General information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): 20.04
ElasticHQ Version:
Elasticsearch Version: 3.5.12
Python version (ignore is using docker image): 3.8.5
Browser Vendor and Version (if applicable):

Issue Description

Would not start due to Sqlalchemy 1.3.0 requirement from Alembic
After this, error still remained because testresources is not installed
After the above is solved, still had issue connecting with "'Request' object has no attribute 'is_xhr'" error in the output

Solution

Could not upgrade flask to the latest version as another issue had mentioned because it would look for a function that no longer existed, however I did find a solution to all of the above to get this to work on Ubuntu 20.04

Edit requirements.txt

Change Flask==0.12.4 to 0.12.5
Change SQLAlchemy==1.2.0 to 1.3.0
Add testresources under the # Testing section list

Rerun pip install -r requirements.txt

@sizeg
Copy link

sizeg commented Jul 23, 2021

Thanks, was helpful for me on Debian 10 and python 3.7

@cu-18bcs1637
Copy link

As of March 22, 2022 after following the above instructions it's working for me. @notfixingit Thanks.

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

3 participants