Title: Importing endpoints gives ValueError: invalid literal error · Issue #196 · cloudendpoints/endpoints-python · GitHub
Open Graph Title: Importing endpoints gives ValueError: invalid literal error · Issue #196 · cloudendpoints/endpoints-python
X Title: Importing endpoints gives ValueError: invalid literal error · Issue #196 · cloudendpoints/endpoints-python
Description: As of today, running dev_appserver gives me this error: from test_api.exceptions import ReachedMaxObjectsException File "/Users/stathis/src/test-www/app/test_api/exceptions.py", line 2, in
Open Graph Description: As of today, running dev_appserver gives me this error: from test_api.exceptions import ReachedMaxObjectsException File "/Users/stathis/src/test-www/app/test_api/exceptions.py", line 2, in
X Description: As of today, running dev_appserver gives me this error: from test_api.exceptions import ReachedMaxObjectsException File "/Users/stathis/src/test-www/app/test_api/exceptions.py", line 2, i...
Opengraph URL: https://github.com/cloudendpoints/endpoints-python/issues/196
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Importing endpoints gives ValueError: invalid literal error","articleBody":"As of today, running `dev_appserver` gives me this error:\r\n```\r\n from test_api.exceptions import ReachedMaxObjectsException\r\n File \"/Users/stathis/src/test-www/app/test_api/exceptions.py\", line 2, in \u003cmodule\u003e\r\n import endpoints\r\n File \"/Users/stathis/src/test-www/app/lib/endpoints/__init__.py\", line 27, in \u003cmodule\u003e\r\n from .apiserving import *\r\n File \"/Users/stathis/src/test-www/app/lib/endpoints/apiserving.py\", line 76, in \u003cmodule\u003e\r\n from endpoints_management.control import client as control_client\r\n File \"/Users/stathis/src/test-www/app/lib/endpoints_management/__init__.py\", line 17, in \u003cmodule\u003e\r\n from . import auth, config, control, gen\r\n File \"/Users/stathis/src/test-www/app/lib/endpoints_management/control/__init__.py\", line 19, in \u003cmodule\u003e\r\n from ..gen import servicecontrol_v1_messages as sc_messages\r\n File \"/Users/stathis/src/test-www/app/lib/endpoints_management/gen/servicecontrol_v1_messages.py\", line 23, in \u003cmodule\u003e\r\n from apitools.base.py import encoding\r\n File \"/Users/stathis/src/test-www/app/lib/apitools/base/py/__init__.py\", line 23, in \u003cmodule\u003e\r\n from apitools.base.py.credentials_lib import *\r\n File \"/Users/stathis/src/test-www/app/lib/apitools/base/py/credentials_lib.py\", line 44, in \u003cmodule\u003e\r\n import fasteners\r\n File \"/Users/stathis/src/test-www/app/lib/fasteners/__init__.py\", line 23, in \u003cmodule\u003e\r\n from fasteners.lock import locked # noqa\r\n File \"/Users/stathis/src/test-www/app/lib/fasteners/lock.py\", line 24, in \u003cmodule\u003e\r\n from fasteners import _utils\r\n File \"/Users/stathis/src/test-www/app/lib/fasteners/_utils.py\", line 39, in \u003cmodule\u003e\r\n from monotonic import monotonic as now # noqa\r\n File \"/Users/stathis/src/test-www/app/lib/monotonic.py\", line 50, in \u003cmodule\u003e\r\n import ctypes\r\n File \"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py\", line 29, in \u003cmodule\u003e\r\n if int(_os.uname()[2].split('.')[0]) \u003c 8:\r\nValueError: invalid literal for int() with base 10: ''\r\nTraceback (most recent call last):\r\n File \"/Users/stathis/google-cloud-sdk/platform/google_appengine/google/appengine/ext/ereporter/ereporter.py\", line 240, in emit\r\n record.exc_info)\r\n File \"/Users/stathis/google-cloud-sdk/platform/google_appengine/google/appengine/api/datastore.py\", line 2569, in RunInTransactionCustomRetries\r\n return RunInTransactionOptions(options, function, *args, **kwargs)\r\n File \"/Users/stathis/google-cloud-sdk/platform/google_appengine/google/appengine/api/datastore.py\", line 2643, in RunInTransactionOptions\r\n function, *args, **kwargs)\r\n File \"/Users/stathis/google-cloud-sdk/platform/google_appengine/google/appengine/api/datastore.py\", line 2718, in _RunInTransactionInternal\r\n ok, result = _DoOneTry(function, args, kwargs)\r\n File \"/Users/stathis/google-cloud-sdk/platform/google_appengine/google/appengine/api/datastore.py\", line 2756, in _DoOneTry\r\n result = function(*args, **kwargs)\r\n File \"/Users/stathis/google-cloud-sdk/platform/google_appengine/google/appengine/ext/ereporter/ereporter.py\", line 270, in __EmitTx\r\n handler=self.__RelativePath(os.environ['PATH_TRANSLATED']))\r\n File \"/Users/stathis/google-cloud-sdk/platform/google_appengine/google/appengine/runtime/request_environment.py\", line 126, in __getitem__\r\n return self._request.environ[key]\r\nKeyError: 'PATH_TRANSLATED'\r\n```\r\nAny ideas what's happening?","author":{"url":"https://github.com/stathismor","@type":"Person","name":"stathismor"},"datePublished":"2020-01-22T21:32:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/196/endpoints-python/issues/196"}
| 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:688689ce-8289-2065-3d21-2dcbaaf7d8c8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8E90:102756:1D59D84:2863011:6A4F42AC |
| html-safe-nonce | 2ee2b5fa61256190fe33fc4cb9679ce52c0229d133f5e9d5ef1c2028fe96f380 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTkwOjEwMjc1NjoxRDU5RDg0OjI4NjMwMTE6NkE0RjQyQUMiLCJ2aXNpdG9yX2lkIjoiNTM0ODUzOTMzMjU5MTMwNTM4OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9929d32b9b66f8bd12614294743a55f7516d4bae1ecb02fcd33723efdedc3d16 |
| hovercard-subject-tag | issue:553806015 |
| 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/cloudendpoints/endpoints-python/196/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1169207e4df2fb3739ef6819ab30cc7eeb261f5e62e3f0a1252bcdb8c6f7ad42/cloudendpoints/endpoints-python/issues/196 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1169207e4df2fb3739ef6819ab30cc7eeb261f5e62e3f0a1252bcdb8c6f7ad42/cloudendpoints/endpoints-python/issues/196 |
| og:image:alt | As of today, running dev_appserver gives me this error: from test_api.exceptions import ReachedMaxObjectsException File "/Users/stathis/src/test-www/app/test_api/exceptions.py", line 2, in |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | stathismor |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| go-import | github.com/cloudendpoints/endpoints-python git https://github.com/cloudendpoints/endpoints-python.git |
| octolytics-dimension-user_id | 19231370 |
| octolytics-dimension-user_login | cloudendpoints |
| octolytics-dimension-repository_id | 65349604 |
| octolytics-dimension-repository_nwo | cloudendpoints/endpoints-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 65349604 |
| octolytics-dimension-repository_network_root_nwo | cloudendpoints/endpoints-python |
| 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 | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width