Title: Broken express_parser.py · Issue #353 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Broken express_parser.py · Issue #353 · IfcOpenShell/IfcOpenShell
X Title: Broken express_parser.py · Issue #353 · IfcOpenShell/IfcOpenShell
Description: I'm really new to this project and try to do my best to discover it. I wonder if it is possible to generate the code to parse the lastest IFC4_ADD2.exp. In the file "src/ifcexpressparser/README.txt", it is written: IfcOpenShell/src/ifcex...
Open Graph Description: I'm really new to this project and try to do my best to discover it. I wonder if it is possible to generate the code to parse the lastest IFC4_ADD2.exp. In the file "src/ifcexpressparser/README.txt...
X Description: I'm really new to this project and try to do my best to discover it. I wonder if it is possible to generate the code to parse the lastest IFC4_ADD2.exp. In the file "src/ifcexpressparser/R...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/353
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Broken express_parser.py","articleBody":"I'm really new to this project and try to do my best to discover it.\r\n\r\nI wonder if it is possible to generate the code to parse the lastest [IFC4_ADD2.exp](http://www.buildingsmart-tech.org/ifc/IFC4/Add2/IFC4_ADD2.exp). In the file \"src/ifcexpressparser/README.txt\", it is written: \r\nhttps://github.com/IfcOpenShell/IfcOpenShell/blob/e87a1a0b32cacbbecb7b3cc428bdb2d3f362e148/src/ifcexpressparser/README.txt#L1-L9\r\n\r\nSo I download the `IFC4_ADD2.exp` file and naively try the command:\r\n```bash\r\npython bootstrap.py express.bnf > express_parser.py && python express_parser.py IFC4_ADD2.exp\r\n```\r\n \r\nAs an output, I get an error which say:\r\n```\r\nTraceback (most recent call last):\r\n File \"express_parser.py\", line 468, in \u003cmodule>\r\n ast = syntax.parseFile(sys.argv[1])\r\n[...]\r\n File \"/usr/lib/python2.7/dist-packages/pyparsing.py\", line 779, in wrapper\r\n ret = func(*args[limit[0]:])\r\nTypeError: \u003clambda>() takes exactly 1 argument (0 given)\r\n```\r\n\r\nIs it possible to generate the code which would be able to handle IFC4X2 files from `IFC4_ADD2.exp`? Or do you process it in an another way?","author":{"url":"https://github.com/frozar","@type":"Person","name":"frozar"},"datePublished":"2018-03-13T17:22:01Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/353"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:d1ab7835-7650-fc87-d7f9-4b7903d1a90d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D28E:15B1DE:1FBACD:2AEADE:6B0483D8 |
| html-safe-nonce | 51677f4eb2e5abb353aee4c5bb6fafd1e32e081abb5fdc940040e049b932be85 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjhFOjE1QjFERToxRkJBQ0Q6MkFFQURFOjZCMDQ4M0Q4IiwidmlzaXRvcl9pZCI6IjEwMjEzMTc1MDIyMjUxMjIyNjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d673856875200bf55340ce6607d99d8c4cd2736dade80e921dea697453b31ee9 |
| hovercard-subject-tag | issue:304860164 |
| 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/IfcOpenShell/IfcOpenShell/353/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cb8edc43f8e15bd182deb8caed1741a779134008d7211eda72c7b3db54a25331/IfcOpenShell/IfcOpenShell/issues/353 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cb8edc43f8e15bd182deb8caed1741a779134008d7211eda72c7b3db54a25331/IfcOpenShell/IfcOpenShell/issues/353 |
| og:image:alt | I'm really new to this project and try to do my best to discover it. I wonder if it is possible to generate the code to parse the lastest IFC4_ADD2.exp. In the file "src/ifcexpressparser/README.txt... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | frozar |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1d5c152376e38b7d2e37f3d5179be29a73bee93b85110da28a4eebe1159cdc70 |
| turbo-cache-control | no-preview |
| go-import | github.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git |
| octolytics-dimension-user_id | 13692563 |
| octolytics-dimension-user_login | IfcOpenShell |
| octolytics-dimension-repository_id | 40473201 |
| octolytics-dimension-repository_nwo | IfcOpenShell/IfcOpenShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 40473201 |
| octolytics-dimension-repository_network_root_nwo | IfcOpenShell/IfcOpenShell |
| 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 | f5017e8ff4ea25a8011fcf0f2a0e430c60dc86c8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width