Coder Social home page Coder Social logo

[Bug] AssertionError about gef HOT 5 CLOSED

Green360 avatar Green360 commented on May 24, 2024 1
[Bug] AssertionError

from gef.

Comments (5)

Green360 avatar Green360 commented on May 24, 2024 1

@hugsy: I am sorry, I was not aware of this. I now activate pyenv only if needed and use my system python3.11 with gef and run pwntools via venv. Yesterday evening it looked like it works this way. gef seems happy and I can still use pyenv for my other use cases.

from gef.

hugsy avatar hugsy commented on May 24, 2024

Note that pyenv support is being deprecated for gef and will soon be removed entirely.

from gef.

mattzque avatar mattzque commented on May 24, 2024

is there a way to disable pyenv temporarily to make gef work? I still want pyenv for other things, having to init it every time gets a bit annoying.

% cat ~/.zshrc
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
% pyenv versions
* system (set by /home/user/.pyenv/version)

% gdb
GNU gdb (Debian 13.2-1) 13.2
Traceback (most recent call last):
  File "/home/user/.gdbinit-gef.py", line 11487, in <module>
    assert site_packages_dir.is_dir()
AssertionError

from gef.

hugsy avatar hugsy commented on May 24, 2024

@mattzque

You can make it disappear permanently by making a PR removing the pyenv related code.
It was going to be done sooner or later, so you can go for it.

from gef.

mattzque avatar mattzque commented on May 24, 2024

@mattzque

You can make it disappear permanently by making a PR removing the pyenv related code. It was going to be done sooner or later, so you can go for it.

works for me @ #1084

from gef.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.