Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Cryptic error if no elasticsearch running #1412

Copy link
Copy link
@wltrimbl

Description

@wltrimbl
Issue body actions
py.test -k test_apix_metagenome

{"ERROR":"resource request failed\nUnsupported object class 'Project' in database 'WebAppBackend'. at /MG-RAST/site/lib/PPO/DBMaster.pm line 444.\n\n"}

This error originates from lines 840-843 of metadata.pm, updating elasticsearch when no elasticsearch server is running. The database object is a red herring.

840 # update elasticsearch
841 foreach my $mgid (@$added) {
842 $self->upsert_to_elasticsearch_metadata($mgid);
843 }

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.