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: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:82f81e8c-c4e5-d243-a576-f015b8a84314 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | BB0A:13E147:3B0EF41:4DC2DDF:69747453 |
| html-safe-nonce | 64c9c940fca4c2ae47c371395501bf0cf926a325afda759e446f03a3aa40c037 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjBBOjEzRTE0NzozQjBFRjQxOjREQzJEREY6Njk3NDc0NTMiLCJ2aXNpdG9yX2lkIjoiNzA1NDg2NjA5MzM3MzE1ODQ4MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | be7f77a9b958e2d9288b72c902d3a343d07e561cec88613c9163d6b010e7070b |
| 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 | e0b95d743b7672c9ac0e1032d5f117950182dc164a83434a7db86510e8f0b37c |
| 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 | 56fe7e2e8de6e57740bca50402351ea656f7a4bf |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width