missing pymysql and SQLAlchemy in requirements.txt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
osprofiler |
In Progress
|
Undecided
|
Radoslaw Smigielski |
Bug Description
When you try install osprofiler in isolated virtual env or separate container, the installation will complete but first time you run osprofiler you will end up with below error:
$ osprofiler trace show --connection-string mysql+pymysql:
To use this command, install 'SQLAlchemy'
Traceback (most recent call last):
File "/home/
from sqlalchemy import create_engine
ModuleNotFoundE
Failed to create engine/connection and setup intial database tables
Traceback (most recent call last):
File "/home/
self._engine = create_
UnboundLocalError: local variable 'create_engine' referenced before assignment
To use this command, you should install 'SQLAlchemy'
The problem is missing:
+pymysql
+SQLAlchemy
in requirements.txt file.
Changed in osprofiler: | |
assignee: | nobody → Radoslaw Smigielski (radoslaw-smigielski) |
status: | New → In Progress |
Fix proposed to branch: master /review. opendev. org/656056
Review: https:/