9 Jul 2025 |
jonhermansen | I meant to try grepping for "None" in nix src | 01:20:39 |
jonhermansen | This zip file is references in the selenium-server-standalone package that is currently in nixpkgs master | 01:21:08 |
jonhermansen | * This zip file is referenced in the selenium-server-standalone package that is currently in nixpkgs master | 01:21:22 |
jonhermansen | 2.18.1 is a very old version I think | 01:22:48 |
jonhermansen | You can install Nix on your Ubuntu system with the script at https://nixos.org/download/ and you may be able to see the more recent issue | 01:26:33 |
nh2 | Hm indeed that's from 2023, I will update. I guess my nix comes from nix-env and does not get updated with general home-manager updates | 01:27:13 |
jonhermansen | IIRC you can update nix with nix | 01:27:29 |
jonhermansen | I'm not sure based on your setup, but the script should install Nix for you, if you want to stay on the safe side you can pick single-user mode | 01:28:22 |
jonhermansen | you can have both versions installed side by side. | 01:28:41 |
jonhermansen | * I'm not sure based on your setup, but that script should install Nix for you, and if you want to stay on the safe side you can pick single-user mode | 01:28:56 |
jonhermansen | * I'm not sure based on your setup, but that script should install Nix for you, and if you want to stay on the safe side you can pick single-user installation | 01:29:35 |
dramforever | hmm, there should be a message before that | 01:30:06 |
nh2 | My Nix was installed on Ubuntu in single-user mode 10 years ago, so I suspect I'm already using the method you're suggesting. Doing nix-env -iA nixpkgs.nix to get 2.28.4 . Indeed that fixed the core dump, so probably not an issue anymore | 01:31:01 |
nh2 | was downloading 'https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar' but nothing else | 01:31:07 |
nh2 | jonhermansen: thanks for pointing out the old version, as a reward I confirm your bug from the other channel:
% nix-prefetch-url 'https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar'
error: failed to get libarchive filter by name: No such filter 'None'
| 01:31:37 |
jonhermansen | Thank you for trying it, actually its helpful to know its not just me. | 01:32:17 |
dramforever | yes, there were a bunch of random weird bugs for early 2.18 | 01:32:32 |
jonhermansen | I tried other jar and zip files, and the command doesn't have the same behavior. I haven't yet tried, but I'm going to copy the bad file to a local web server and see if the same thing happens. Then, at least I can confirm that its something wrong with that file. | 01:34:37 |
jonhermansen | Maybe libarchive has an issue with it or smth wrt handling of zip files in Nix. | 01:35:08 |
nh2 | jonhermansen: yes, copying it to your own location also ensures that given it works for hexa , we can exclude that some of us got different bytes delivered by that URL | 01:36:42 |
jonhermansen | This URL seems to work fine, but it has different contents https://github.com/SeleniumHQ/selenium/releases/download/selenium-3.141.0/selenium-server-standalone-3.141.0.jar | 01:37:36 |
jonhermansen | ~ curl -s https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar | sha256sum
acf71b77d1b66b55db6fb0bed6d8bae2bbd481311bcbedfeff472c0d15e8f3cb -
| 01:38:31 |
jonhermansen | ~ curl -s https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar | file -
/dev/stdin: Zip archive data, at least v2.0 to extract, compression method=deflate
~ curl -s https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar | sha256sum
acf71b77d1b66b55db6fb0bed6d8bae2bbd481311bcbedfeff472c0d15e8f3cb -
| 01:39:11 |
dramforever | huh, i think i found it: the failing url returns an http header content-encoding: None | 01:40:32 |
dramforever | that's where None has been coming from | 01:40:42 |
jonhermansen | LOL | 01:40:49 |
jonhermansen | can you see verbose curl info when running Nix? | 01:41:10 |
dramforever | doesn't seem like it | 01:41:54 |
jonhermansen | but someone else ran the command on another system and got a different result? is the result also dependend on the sqlite DB state? | 01:42:08 |
jonhermansen | * but someone else ran the command on another system and got a different result? is the result also dependent on the sqlite DB state? | 01:42:17 |