Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

abort: no module named 'madbg' #49

Closed
jaraco opened this issue Jul 27, 2023 · 1 comment
Closed

abort: no module named 'madbg' #49

jaraco opened this issue Jul 27, 2023 · 1 comment

Comments

@jaraco
Copy link

jaraco commented Jul 27, 2023

While attempting to use madbg, I have a stuck Python process present before even installing madbg. I installed madbg into a virtualenv and tried to attach to that process, but that caused an error in the attached process:

abort: no module named 'madbg'

And led to a TimeoutError in the client.

It's not at all obvious from the README that the process to be attached requires that madbg be installed/present. It's sort-of implied by the presence of madbg run commands.

Ways this experience could be improved:

  • In the README, declare that the attached process needs to have madbg installed/importable.
  • Have the client inject the sys.path where madbg is installed (maybe not a good idea?).
  • Provide explicit error handling during attachment if madbg is not importable.
@kmaork
Copy link
Owner

kmaork commented Jul 27, 2023

Thank you for the report and the suggestions! I'll update the README :) Closing in favor of #33

@kmaork kmaork closed this as completed Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants