Skip to content

Missing database tables #11

@jamesrf

Description

@jamesrf

When I run python views.py, it tries to run the app.py code at the bottom after if not common_data_dict: and it just seems to hang.

If I refactor it a bit to run warm_common_data(an_lst) directly without the threading code, I get the following:
Error: error in get_db_cursor: relation "journal_delayed_oa_active" does not exist LINE 1: select issn_l, embargo from journal_delayed_oa_active

I can't figure out if there's some code to create this table, or even what the schema should be.

I should mention I'm using a local postgres instance and localstack instead of S3, but I don't think that's the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions