Title: AttributeError: 'NoneType' object has no attribute 'endswith' · Issue #162 · PythonJS/PythonJS · GitHub
Open Graph Title: AttributeError: 'NoneType' object has no attribute 'endswith' · Issue #162 · PythonJS/PythonJS
X Title: AttributeError: 'NoneType' object has no attribute 'endswith' · Issue #162 · PythonJS/PythonJS
Description: Traceback (most recent call last): File "", line 1, in File "", line 1, in to_javascript File "python_to_pythonjs.py", line 3801, in main module_path = module_path File "python_to_pythonjs.py", line 259, in init self.visit(node) File "py...
Open Graph Description: Traceback (most recent call last): File "", line 1, in File "", line 1, in to_javascript File "python_to_pythonjs.py", line 3801, in main module_path = module_path File "python_to_pythonjs.py", lin...
X Description: Traceback (most recent call last): File "", line 1, in File "", line 1, in to_javascript File "python_to_pythonjs.py", line 3801, in main module_path = module_path Fil...
Opengraph URL: https://github.com/PythonJS/PythonJS/issues/162
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"AttributeError: 'NoneType' object has no attribute 'endswith'","articleBody":"Traceback (most recent call last):\r\n File \"\u003cstdin\u003e\", line 1, in \u003cmodule\u003e\r\n File \"\u003cstdin\u003e\", line 1, in to_javascript\r\n File \"python_to_pythonjs.py\", line 3801, in main\r\n module_path = module_path\r\n File \"python_to_pythonjs.py\", line 259, in __init__\r\n self.visit(node)\r\n File \"python_to_pythonjs.py\", line 267, in visit\r\n res = visitor(node)\r\n File \"python_to_pythonjs.py\", line 406, in visit_ImportFrom\r\n path = os.path.join( self._module_path, node.module+'.py')\r\n File \"/lib/python2.7/posixpath.py\", line 68, in join\r\n elif path == '' or path.endswith('/'):\r\nAttributeError: 'NoneType' object has no attribute 'endswith'","author":{"url":"https://github.com/55cc","@type":"Person","name":"55cc"},"datePublished":"2017-09-21T14:07:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/162/PythonJS/issues/162"}
| 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:0e8fecba-f959-bf93-beba-7e4c7c0439b3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E510:8D103:1655AB0:1DA78A4:696AE406 |
| html-safe-nonce | c530f4580d31448c1703cc1da87efd54cc7a903bc75481b285fa0823faaa1e67 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTEwOjhEMTAzOjE2NTVBQjA6MURBNzhBNDo2OTZBRTQwNiIsInZpc2l0b3JfaWQiOiI0MDMwOTE3MTIzNjM2OTEzMTU4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 7a363ac73eea84da067b0932ecb133efdbce13f7636301d554e59254e2618189 |
| hovercard-subject-tag | issue:259509106 |
| 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/PythonJS/PythonJS/162/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3b10c0f512a85b2e963d21d3c079c94ad32e89f28007ed86de77488b5aaacf1c/PythonJS/PythonJS/issues/162 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3b10c0f512a85b2e963d21d3c079c94ad32e89f28007ed86de77488b5aaacf1c/PythonJS/PythonJS/issues/162 |
| og:image:alt | Traceback (most recent call last): File "", line 1, in File "", line 1, in to_javascript File "python_to_pythonjs.py", line 3801, in main module_path = module_path File "python_to_pythonjs.py", lin... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | 55cc |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/PythonJS/PythonJS git https://github.com/PythonJS/PythonJS.git |
| octolytics-dimension-user_id | 4421405 |
| octolytics-dimension-user_login | PythonJS |
| octolytics-dimension-repository_id | 8825809 |
| octolytics-dimension-repository_nwo | PythonJS/PythonJS |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 8825809 |
| octolytics-dimension-repository_network_root_nwo | PythonJS/PythonJS |
| 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 | 3d84d50b3c75fa36755c3cf392edbc09e626f979 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width