NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.31k stars 13.54k forks source link

burpsuite - Failed to load module "canberra-gtk-module" and bump version to 2023.10 #253521

Open D3vil0p3r opened 1 year ago

D3vil0p3r commented 1 year ago

Describe the bug

I tried to run nix-shell -p burpsuite and, after the installation, on the shell, when I run burpsuite, I get:

Sep 05, 2023 11:17:06 PM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
Gtk-Message: 21:17:06.882: Failed to load module "canberra-gtk-module"
Gtk-Message: 21:17:06.883: Failed to load module "canberra-gtk-module"
Could not start Burp: java.lang.Error: Cannot load com.sun.java.swing.plaf.gtk.GTKLookAndFeel

Furthermore, please bump version to 2023.10.

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix-shell -p burpsuite
  2. burpsuite

Expected behavior

Burpsuite running correctly.

Notify maintainers

@bennofs @stepech

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.4.12-zen1-1-zen, Athena OS, noversion, rolling`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.17.0`
 - nixpkgs: `/home/athena/.nix-defexpr/channels/nixpkgs`
rbrewer123 commented 9 months ago

I'm getting the same error. Since I'm on Ubuntu 20.04, I tried running nixGLIntel burpsuite and it still fails.

rbrewer123 commented 9 months ago

I got a little further by installing libcanberra-gtk3 and running GTK_PATH=/nix/store/...-libcanberra-0.30/lib/gtk-3.0 burpsuite

D3vil0p3r commented 9 months ago

I got a little further by installing libcanberra-gtk3 and running GTK_PATH=/nix/store/...-libcanberra-0.30/lib/gtk-3.0 burpsuite

Is it working?

rbrewer123 commented 9 months ago

Still fails to start.

Arcayr commented 8 months ago

@rbrewer123 @D3vil0p3r sorry for the delay, i wasn't in the maintainer list when this was created. can you try with LD_LIBRARY_PATH set to a directory that has libgtk-x11? this works fine on "native" nixos. if this works i can wrap it into the update. i'll be looking at pushing the update sometime this week - i already have the update packaged locally but i was preoccupied over the weekend.