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

wfuzz error - no module named 'imp' #326902

Closed
D3vil0p3r opened this issue Jul 13, 2024 · 1 comment · Fixed by #329970
Closed

wfuzz error - no module named 'imp' #326902

D3vil0p3r opened this issue Jul 13, 2024 · 1 comment · Fixed by #329970
Labels

Comments

@D3vil0p3r
Copy link
Member

Describe the bug

wfuzz installation returns the following error:

...
  File "/nix/store/p93gaplc5svnpvpik8k0aprrgfa9xql2-python3.12-wfuzz-3.1.0/lib/python3.12/site-packages/wfuzz/__init__.py", line 55, in <module>
    from .options import FuzzSession
  File "/nix/store/p93gaplc5svnpvpik8k0aprrgfa9xql2-python3.12-wfuzz-3.1.0/lib/python3.12/site-packages/wfuzz/options.py", line 6, in <module>
    from .facade import (
  File "/nix/store/p93gaplc5svnpvpik8k0aprrgfa9xql2-python3.12-wfuzz-3.1.0/lib/python3.12/site-packages/wfuzz/facade.py", line 5, in <module>
    from .externals.moduleman.loader import DirLoader
  File "/nix/store/p93gaplc5svnpvpik8k0aprrgfa9xql2-python3.12-wfuzz-3.1.0/lib/python3.12/site-packages/wfuzz/externals/moduleman/loader.py", line 3, in <module>
    import imp
ModuleNotFoundError: No module named 'imp'
error: builder for '/nix/store/f9453pjz3ljmqp5xcqhp5f9ixsz37dk1-python3.12-wfuzz-3.1.0.drv' failed with exit code 1;

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix-shell -p wfuzz

Notify maintainers

@Pamplemousse

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.37, Athena OS, 24.11 (Vicuna), 24.11pre652179.7e7c39ea35c5`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.5`
 - channels(root): `"home-manager, nixos, nixpkgs"`
 - nixpkgs: `/home/athena/.nix-defexpr/channels/nixpkgs`

Add a 👍 reaction to issues you find important.

@D3vil0p3r D3vil0p3r added the 0.kind: bug Something is broken label Jul 13, 2024
@eclairevoyant eclairevoyant added 6.topic: python 0.kind: build failure A package fails to build and removed 0.kind: bug Something is broken labels Jul 14, 2024
@ghpzin
Copy link
Contributor

ghpzin commented Jul 14, 2024

There is PR upstream that supposedly fixes compatibility with python 3.12 (removed imp module):
xmendez/wfuzz#365
so it may be as simple as getting that patch into nixpkgs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants