Julien-cpsn / ATAC

A simple API client (postman like) in your terminal
https://atac.julien-cpsn.com/
MIT License
2.02k stars 86 forks source link

index out of bounds: the len is 0 but the index is 0 #65

Closed brenoprata10 closed 6 months ago

brenoprata10 commented 6 months ago

Hey o/

I am trying to run this http request: image

But I keep getting this error:

index out of bounds: the len is 0 but the index is 0
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Here is my PC neofetch

image

IchbinLuka commented 6 months ago

Having the same problem on Ubuntu without WSL. I have tried a few different URLs and methods and this seems to happen every time.

This is the full error message in my case.

thread 'main' panicked at /home/[username]/.cargo/registry/src/index.crates.io-6f17d22bba15001f/atac-0.15.0/src/app/app_logic/environment.rs:12:26:
index out of bounds: the len is 0 but the index is 0
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Julien-cpsn commented 6 months ago

Hello @IchbinLuka @brenoprata10

please update to the newest version https://github.com/Julien-cpsn/ATAC/releases/tag/v0.15.1

related to: https://github.com/Julien-cpsn/ATAC/issues/60 https://github.com/Julien-cpsn/ATAC/issues/62

brenoprata10 commented 6 months ago

It's working great now!

Great app man!

brenoprata10 commented 6 months ago

I have donated a small amount to your paypal as a "Thank you gift" 👍

Julien-cpsn commented 6 months ago

@brenoprata10 haha I really appreciate, thanks!