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: github.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:2274304b-30fc-5e21-9b4b-9537b8ca1e98 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E49C:284E5C:CAF8B6:1191001:696A825E |
| html-safe-nonce | 5a2f03e2d1dc9fc8cdb3a785b81861d7af84cc17c40acc11abb43a0406c6e6ec |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDlDOjI4NEU1QzpDQUY4QjY6MTE5MTAwMTo2OTZBODI1RSIsInZpc2l0b3JfaWQiOiIyMjc2Njc1MTc1MTEwNTc0Njg2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0f15362fd1bbdc844b520ae52cde27857c3a7ee02367ed9f06a758ee913e750c |
| 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 | 913560fa317c3c5a71e34f9b19253c9f09d02b4b958a86c2a56f4c8541116377 |
| 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 | 5998c30593994bf2589055aef7b22d368a499367 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width