Title: ffi.error: struct tr_tcp_config: wrong total size (cdef says 24, but C compiler says 48). · Issue #17 · rtrlib/python-binding · GitHub
Open Graph Title: ffi.error: struct tr_tcp_config: wrong total size (cdef says 24, but C compiler says 48). · Issue #17 · rtrlib/python-binding
X Title: ffi.error: struct tr_tcp_config: wrong total size (cdef says 24, but C compiler says 48). · Issue #17 · rtrlib/python-binding
Description: When I was using the python-binding, I tried using RTRManager. However, the following error occurred. Could it be due to an update in the rtrlib code that this repository has not yet updated? Traceback (most recent call last): File "rtr_...
Open Graph Description: When I was using the python-binding, I tried using RTRManager. However, the following error occurred. Could it be due to an update in the rtrlib code that this repository has not yet updated? Trace...
X Description: When I was using the python-binding, I tried using RTRManager. However, the following error occurred. Could it be due to an update in the rtrlib code that this repository has not yet updated? Trace...
Opengraph URL: https://github.com/rtrlib/python-binding/issues/17
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ffi.error: struct tr_tcp_config: wrong total size (cdef says 24, but C compiler says 48).","articleBody":"When I was using the python-binding, I tried using RTRManager. However, the following error occurred. Could it be due to an update in the rtrlib code that this repository has not yet updated?\r\n```\r\nTraceback (most recent call last):\r\n File \"rtr_receiver.py\", line 41, in \u003cmodule\u003e\r\n main()\r\n File \"rtr_receiver.py\", line 37, in main\r\n start_rtr_receiver(rtr_host, rtr_port)\r\n File \"rtr_receiver.py\", line 11, in start_rtr_receiver\r\n manager = RTRManager(rtr_host, rtr_port,pfx_update_callback=callback)\r\n File \"/usr/local/lib/python3.8/dist-packages/rtrlib-0.1-py3.8-linux-x86_64.egg/rtrlib/rtr_manager.py\", line 138, in __init__\r\n self.tcp_config = ffi.new('struct tr_tcp_config *')\r\nffi.error: struct tr_tcp_config: wrong total size (cdef says 24, but C compiler says 48). fix it or use \"...;\" as the last field in the cdef for struct tr_tcp_config to make it flexible\r\n```","author":{"url":"https://github.com/yuch5517","@type":"Person","name":"yuch5517"},"datePublished":"2024-05-20T08:35:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/17/python-binding/issues/17"}
| 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:8d5b7138-f8ba-1efc-9205-54fd336882fd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8728:D3153:7CE689:A10B4D:696B1749 |
| html-safe-nonce | caef367244d788b6b1f937f2951865fcca21a3df6f1c060e31fbce5b486f9833 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzI4OkQzMTUzOjdDRTY4OTpBMTBCNEQ6Njk2QjE3NDkiLCJ2aXNpdG9yX2lkIjoiNjU4MzY2OTI2ODU5NzY0MzA4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 98bd4bd7d35302dbbfe94c0b994dfbdd24992732a04d28d254800145fd47573f |
| hovercard-subject-tag | issue:2305442144 |
| 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/rtrlib/python-binding/17/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d487bfb0427b65e0bb64fa328097bcdda03e14a06de8c8771e8dbc957f25e2e4/rtrlib/python-binding/issues/17 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d487bfb0427b65e0bb64fa328097bcdda03e14a06de8c8771e8dbc957f25e2e4/rtrlib/python-binding/issues/17 |
| og:image:alt | When I was using the python-binding, I tried using RTRManager. However, the following error occurred. Could it be due to an update in the rtrlib code that this repository has not yet updated? Trace... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | yuch5517 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/rtrlib/python-binding git https://github.com/rtrlib/python-binding.git |
| octolytics-dimension-user_id | 4687446 |
| octolytics-dimension-user_login | rtrlib |
| octolytics-dimension-repository_id | 67867016 |
| octolytics-dimension-repository_nwo | rtrlib/python-binding |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 67867016 |
| octolytics-dimension-repository_network_root_nwo | rtrlib/python-binding |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width