Title: Error when I try to add a new git repo · Issue #4 · quantifiedcode/quantifiedcode · GitHub
Open Graph Title: Error when I try to add a new git repo · Issue #4 · quantifiedcode/quantifiedcode
X Title: Error when I try to add a new git repo · Issue #4 · quantifiedcode/quantifiedcode
Description: 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...
Open Graph Description: 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 Trace...
X Description: 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...
Opengraph URL: https://github.com/quantifiedcode/quantifiedcode/issues/4
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error when I try to add a new git repo","articleBody":"When I try to add the first one repo - I had the following error:\r\n\r\n```\r\n172.22.0.1 - - [16/Aug/2017 08:43:03] \"POST /api/v1/project/git HTTP/1.1\" 500 -\r\nglobal name 'DuplicateProject' is not defined\r\nTraceback (most recent call last):\r\n File \"/opt/project/quantifiedcode/backend/api/resource.py\", line 129, in handle\r\n handler_response = handler(*args, **kwargs)\r\n File \"/opt/project/quantifiedcode/backend/decorators.py\", line 378, in decorated_function\r\n return f(*args, **kwargs)\r\n File \"/opt/project/quantifiedcode/plugins/git/backend/api/v1/resources/project.py\", line 84, in post\r\n except DuplicateProject:\r\nNameError: global name 'DuplicateProject' is not defined\r\n```\r\n\r\nI installed all packages via `pip install -r requirements.txt` and additionally I installed `checkmate` from github - `git+https://github.com/quantifiedcode/checkmate.git`","author":{"url":"https://github.com/IBestuzhev","@type":"Person","name":"IBestuzhev"},"datePublished":"2017-08-16T08:50:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/4/quantifiedcode/issues/4"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:49c0a4a2-a700-4999-bed5-8ba1afcdf6a2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9176:91A22:68767C0:86A7972:69766156 |
| html-safe-nonce | 7197470b6cb3301cd074765e67f77b200d19c0d0eca5862964830581bdaa7e32 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTc2OjkxQTIyOjY4NzY3QzA6ODZBNzk3Mjo2OTc2NjE1NiIsInZpc2l0b3JfaWQiOiI0MTg4NjExODk4NzkxODQ2MjMwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1ff51a3e8dd1875b64c254b1de2991d41df16a7600d6f477a54f1b3d6638ceb3 |
| hovercard-subject-tag | issue:250554587 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/quantifiedcode/quantifiedcode/4/issue_layout |
| twitter:image | https://opengraph.githubassets.com/93989ea100c88453817a53582ec69c1d8185409683cd4d275f70961eb5427296/quantifiedcode/quantifiedcode/issues/4 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/93989ea100c88453817a53582ec69c1d8185409683cd4d275f70961eb5427296/quantifiedcode/quantifiedcode/issues/4 |
| og:image:alt | 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 Trace... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | IBestuzhev |
| hostname | github.com |
| expected-hostname | github.com |
| None | 032152924a283b83384255d9489e7b93b54ba01da8d380b05ecd3953b3212411 |
| turbo-cache-control | no-preview |
| go-import | github.com/quantifiedcode/quantifiedcode git https://github.com/quantifiedcode/quantifiedcode.git |
| octolytics-dimension-user_id | 6774260 |
| octolytics-dimension-user_login | quantifiedcode |
| octolytics-dimension-repository_id | 76477998 |
| octolytics-dimension-repository_nwo | quantifiedcode/quantifiedcode |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 76477998 |
| octolytics-dimension-repository_network_root_nwo | quantifiedcode/quantifiedcode |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5b577f6be6482e336e3c30e8daefa30144947b17 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width