Title: gitignore .pyc; make vistory.py more robust to lack of node children by hobson · Pull Request #32 · natural/java2python · GitHub
Open Graph Title: gitignore .pyc; make vistory.py more robust to lack of node children by hobson · Pull Request #32 · natural/java2python
X Title: gitignore .pyc; make vistory.py more robust to lack of node children by hobson · Pull Request #32 · natural/java2python
Description: .gitignore *.pyc .gitignore egg dir robust to empty node lists and nodes without children To reproduce ERROR: $ cd ~/src $ git clone https://github.com/ggp-org/ggp-base.git $ ~/src/ggp-base/src/org/ggp/base/util/gdl $ j2py GdlUtils.java GdlUtils.py ERROR Traceback: Traceback (most recent call last): File "/home/hobs/.virtualenvs/ggpy/bin/j2py", line 259, in sys.exit(runMain(configScript(sys.argv[1:]))) File "/home/hobs/.virtualenvs/ggpy/bin/j2py", line 57, in runMain return runOneOrMany(options) File "/home/hobs/.virtualenvs/ggpy/bin/j2py", line 83, in runOneOrMany return runTransform(options) File "/home/hobs/.virtualenvs/ggpy/bin/j2py", line 135, in runTransform module.walk(tree) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 86, in walk visitor.walk(child, memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 86, in walk visitor.walk(child, memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 86, in walk visitor.walk(child, memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 86, in walk visitor.walk(child, memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 86, in walk visitor.walk(child, memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 83, in walk visitor = self.accept(tree, memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 43, in accept return call(node, memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 484, in acceptIf nextBlock.walk(nextNode.children[1], memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 86, in walk visitor.walk(child, memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 83, in walk visitor = self.accept(tree, memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 43, in accept return call(node, memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 443, in acceptFor if not node.firstChildOfType(tokens.BLOCK_SCOPE).children: AttributeError: 'NoneType' object has no attribute 'children'
Open Graph Description: .gitignore *.pyc .gitignore egg dir robust to empty node lists and nodes without children To reproduce ERROR: $ cd ~/src $ git clone https://github.com/ggp-org/ggp-base.git $ ~/src/ggp-base/src/or...
X Description: .gitignore *.pyc .gitignore egg dir robust to empty node lists and nodes without children To reproduce ERROR: $ cd ~/src $ git clone https://github.com/ggp-org/ggp-base.git $ ~/src/ggp-base/src/or...
Opengraph URL: https://github.com/natural/java2python/pull/32
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:ce0eeeb5-4fd3-bc67-9bd9-c61a8cf78498 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | DE4E:3E5283:A84596:DA8E83:696B20C0 |
| html-safe-nonce | f5869f7a104e77271ae04e0fe8777a486f48ae7568a442e117fae1683704113b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTRFOjNFNTI4MzpBODQ1OTY6REE4RTgzOjY5NkIyMEMwIiwidmlzaXRvcl9pZCI6IjY4ODMyNTkwMDAwMjM2MjE4MjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ba4e29ed55e56c4047b8daee35fe271738cafc8c32c3cf475c781e2026fc5e32 |
| hovercard-subject-tag | pull_request:14997137 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/natural/java2python/pull/32/checks |
| twitter:image | https://avatars.githubusercontent.com/u/292855?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/292855?s=400&v=4 |
| og:image:alt | .gitignore *.pyc .gitignore egg dir robust to empty node lists and nodes without children To reproduce ERROR: $ cd ~/src $ git clone https://github.com/ggp-org/ggp-base.git $ ~/src/ggp-base/src/or... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/natural/java2python git https://github.com/natural/java2python.git |
| octolytics-dimension-user_id | 146692 |
| octolytics-dimension-user_login | natural |
| octolytics-dimension-repository_id | 3298542 |
| octolytics-dimension-repository_nwo | natural/java2python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3298542 |
| octolytics-dimension-repository_network_root_nwo | natural/java2python |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width