Title: Python exception "AttributeError: module 'gdb' has no attribute 'Register'" · Issue #44 · crash-python/crash-python · GitHub
Open Graph Title: Python exception "AttributeError: module 'gdb' has no attribute 'Register'" · Issue #44 · crash-python/crash-python
X Title: Python exception "AttributeError: module 'gdb' has no attribute 'Register'" · Issue #44 · crash-python/crash-python
Description: First of all, thank you for creating this debugger! I'm trying out pycrash on Fedora 30 using the latest master branches of libdumpfile and this project but hit by a weird Python exception: $ ./pycrash -m ~/tmp ~/tmp/./usr/lib/debug/lib/...
Open Graph Description: First of all, thank you for creating this debugger! I'm trying out pycrash on Fedora 30 using the latest master branches of libdumpfile and this project but hit by a weird Python exception: $ ./pyc...
X Description: First of all, thank you for creating this debugger! I'm trying out pycrash on Fedora 30 using the latest master branches of libdumpfile and this project but hit by a weird Python exception: $ ....
Opengraph URL: https://github.com/crash-python/crash-python/issues/44
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Python exception \"AttributeError: module 'gdb' has no attribute 'Register'\"","articleBody":"First of all, thank you for creating this debugger!\r\n\r\nI'm trying out pycrash on Fedora 30 using the latest master branches of libdumpfile and this project but hit by a weird Python exception:\r\n\r\n```console\r\n$ ./pycrash -m ~/tmp ~/tmp/./usr/lib/debug/lib/modules/2.6.32-754.24.3.el6.x86_64/vmlinux ~/tmp/bad-centos6-test2.core\r\nTraceback (most recent call last):\r\n File \"\u003cstring\u003e\", line 4, in \u003cmodule\u003e\r\n File \"./build/lib/crash/__init__.py\", line 5, in \u003cmodule\u003e\r\n import kdump.target\r\n File \"./build/lib/kdump/target.py\", line 16, in \u003cmodule\u003e\r\n TargetFetchRegisters = Callable[[gdb.InferiorThread, gdb.Register], None]\r\nAttributeError: module 'gdb' has no attribute 'Register'\r\n./test-gdb-compatibility.gdbinit:16: Error in sourced command file:\r\nError while executing Python code.\r\nfatal: crash-python cannot initialize\r\n```\r\n\r\nHow to work around this please? Thanks for your attention!\r\n\r\n","author":{"url":"https://github.com/agentzh","@type":"Person","name":"agentzh"},"datePublished":"2020-05-06T05:04:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/44/crash-python/issues/44"}
| 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:1542a87b-a689-4938-d036-9d4f9db873cb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8778:FD3BE:19AF76:23E481:6A62EC64 |
| html-safe-nonce | cde05a3976a2c2fcbd469a2061679a71fe4236e6a5aeaa27a9fe2061181130e8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Nzc4OkZEM0JFOjE5QUY3NjoyM0U0ODE6NkE2MkVDNjQiLCJ2aXNpdG9yX2lkIjoiNzk3NzQ4MzYwNDY3ODg2Mzk3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3fd298a6bdfd6e16ebbb6aa4563a1816ab41cd9208f35016950a80d0411952ab |
| hovercard-subject-tag | issue:613052428 |
| 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/crash-python/crash-python/44/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2757bca6dcdf2af1a8bc31e0b4e5c883d9baedb42de5ed899aa03ec1aadd8927/crash-python/crash-python/issues/44 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2757bca6dcdf2af1a8bc31e0b4e5c883d9baedb42de5ed899aa03ec1aadd8927/crash-python/crash-python/issues/44 |
| og:image:alt | First of all, thank you for creating this debugger! I'm trying out pycrash on Fedora 30 using the latest master branches of libdumpfile and this project but hit by a weird Python exception: $ ./pyc... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | agentzh |
| hostname | github.com |
| expected-hostname | github.com |
| None | df33b1b61ee7b9a0af988199bfc3503c9c1acafb1f1d40e1f140ea7c84f890dd |
| turbo-cache-control | no-preview |
| go-import | github.com/crash-python/crash-python git https://github.com/crash-python/crash-python.git |
| octolytics-dimension-user_id | 59613134 |
| octolytics-dimension-user_login | crash-python |
| octolytics-dimension-repository_id | 51460283 |
| octolytics-dimension-repository_nwo | crash-python/crash-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 51460283 |
| octolytics-dimension-repository_network_root_nwo | crash-python/crash-python |
| 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 | d41cd1bdb290013455c0ac430fa755621733f5eb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width