NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
16.48k stars 12.97k forks source link

Cisco Packet Tracer 8 install broken #291445

Open doolphin opened 4 months ago

doolphin commented 4 months ago

Describe the bug

When I install packet tracer 8.2.1 and run it, it launches, but gives a pop up error Titled, "Cisco Packet Tracer - Missing Script Module" with a description, "Required Script Modules do not appear to be running. Please reinstall Cisco Packet Tracer."

Steps To Reproduce

Steps to reproduce the behavior:

  1. Download CiscoPacketTracer_821_Ubuntu_64bit.deb from cisco netacad and verify its checksum.
  2. Add it to your nix cache with $nix-prefetch-url --type sha256 file:///path/to/CiscoPacketTracer_821_Ubuntu_64bit.deb
  3. In /etc/configuration.nix
  4. Add pkgs.ciscoPacketTracer8 to package list
  5. nixos-rebuild switch
  6. Launch packet tracer 8

Expected behavior

Ideally, packet tracer should launch with no issues, and the scripts (including pre-installed and necessary scripts) would work.

Screenshots

image image

Additional context

Add any other context about the problem here. Not only is it unable to load the scripts, but it cannot see them. I have verified that the .pts files exist in the correct location on install, but trying to add them yields no results.

Notify maintainers

@lucasew

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.7.3, NixOS, 23.11 (Tapir), 23.11.20240201.25e3d4c`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Add a :+1: reaction to issues you find important.

lucasew commented 4 months ago

As far as I remember if you click OK then start building the network it works fine.

sjcp7 commented 2 months ago

@lucasew I also came across this issue. The program generally works, except for IoT things. Whenever I try to configure an IoT registration server, the application crashes.

doolphin commented 2 months ago

Well I solved my actual issue, which was that i couldn't use netacad to launch connected .pta files and do assignments. The answer was that I had to use Google Chrome, rather than chromium. (I had already ruled out Firefox). I'll leave this open since the script error does exist and affects IoT according to sjcp7.

ob7 commented 2 months ago

I'm running 822 not 821 so apparently same issue as OP on 822 as 821

Anifyuli commented 2 months ago

I get this issue too