Skip to content

Error when I try to add a new git repo #4

@IBestuzhev

Description

@IBestuzhev

When I try to add the first one repo - I had the following error:

172.22.0.1 - - [16/Aug/2017 08:43:03] "POST /api/v1/project/git HTTP/1.1" 500 -
global name 'DuplicateProject' is not defined
Traceback (most recent call last):
  File "/opt/project/quantifiedcode/backend/api/resource.py", line 129, in handle
    handler_response = handler(*args, **kwargs)
  File "/opt/project/quantifiedcode/backend/decorators.py", line 378, in decorated_function
    return f(*args, **kwargs)
  File "/opt/project/quantifiedcode/plugins/git/backend/api/v1/resources/project.py", line 84, in post
    except DuplicateProject:
NameError: global name 'DuplicateProject' is not defined

I installed all packages via pip install -r requirements.txt and additionally I installed checkmate from github - git+https://github.com/quantifiedcode/checkmate.git

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