Skip to content

Running the docker tests results in an error from SQL Alchemy #11

@julzelements

Description

@julzelements

I've done the following:

  1. Cloned the repo
  2. run export PYTHON_VERSION=$(cat Pipfile | awk '/python_version/ {print $3}' | tr -d '"')
  3. run docker-compose build
  4. run docker-compose run dejavu pipenv run run_tests

The output is a bit too large to include, but it seems there are some errors with the sql query?

If you can point me in the right direction, I'd like to dig into this and fix/PR. Just checking with author first to see what might be obvious?

sqlalchemy.exc.ProgrammingError: (psycopg2.ProgrammingError) operator does not exist: character varying = bytea
LINE 3: WHERE songs.file_sha1 = '\x4e56496a362f5075512b37513946374b6...
                              ^
HINT:  No operator matches the given name and argument type(s). You might need to add explicit type casts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions