WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: inxi.tcz : suggestion to add a depend  (Read 236 times)

Offline Rantanplan

  • Newbie
  • *
  • Posts: 33
inxi.tcz : suggestion to add a depend
« on: May 19, 2023, 08:15:19 AM »
Hi and hello,

inxi provides up-to-date weather data.
To return the information successfully, wget must be installed.
Also, I suggest that wget.tcz be declared as a dependency of inxi.tcz

What do you think about it?
Best regards.

============= in french =================
Bonjour,

inxi permet d'obtenir des données météorologiques actualisées.
Pour retourner les informations avec succès, wget doit être installé.
Aussi, je suggère que wget.tcz soit déclarée comme une dépendance de inxi.tcz

Qu'en pensez-vous ?
Amitiés.


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14228
Re: inxi.tcz : suggestion to add a depend
« Reply #1 on: May 19, 2023, 08:25:21 AM »
The busybox version of wget exists in the tinycore base - does inxi require the full version of wget?

Offline Rantanplan

  • Newbie
  • *
  • Posts: 33
Re: inxi.tcz : suggestion to add a depend
« Reply #2 on: May 19, 2023, 08:41:13 AM »
Hi Juanito,

I don't know.

I'll try tomorrow morning and will say you.

Thanks.

Offline Rantanplan

  • Newbie
  • *
  • Posts: 33
Re: inxi.tcz : suggestion to add a depend
« Reply #3 on: May 19, 2023, 09:27:44 AM »
@Juanito,

I just tried without loading wget.tcz and the feedback is:
Code: [Select]
wget: error getting response: Connection reset by peer
Weather:
  Message: No weather data found. Internet connection working?

And after loading wget.tcz, I get :
Code: [Select]
Weather:
  Report: temperature: 16.22 C (61 F) conditions: overcast clouds wind: from
    NNE at 6.1 m/s (22 km/h, 14 mph). Gusting to 6.1 m/s (22 km/h, 14 mph)
    cloud cover: 90% humidity: 74% pressure: 1018 mb (34 in)
  Locale: Langres, FR current time: ven. 19 mai 2023 18:23:00
    observation time: N/A Source: OpenWeatherMap.org

I conclude that the full version of wget is needed.

Many thanks.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14228
Re: inxi.tcz : suggestion to add a depend
« Reply #4 on: May 19, 2023, 10:02:20 AM »
Try busybox wget with the ca-certificates extension.

Offline Rantanplan

  • Newbie
  • *
  • Posts: 33
Re: inxi.tcz : suggestion to add a depend
« Reply #5 on: May 21, 2023, 09:30:41 AM »
Hi @Juanito,

Great idea, my dear. :)

After loading ca-certificates.tcz, I get the meteo data ("i feel so good..." by James Brown)  8) :
Code: [Select]
tc@box:~$ inxi -xxxW London,Europa
Weather:
  Report: temperature: 17.79 C (64 F) conditions: overcast clouds wind: from
    NE at 3.6 m/s (13 km/h, 8 mph) cloud cover: 100% humidity: 58%
    pressure: 1019 mb (34 in)
  Locale: London, Europa current time: dim. 21 mai 2023 18:17:43
    observation time: N/A Source: OpenWeatherMap.org

So, can you add "ca-certificates.tcz" in the "inxi.tcz.dep" file ?

Thank you for your help and guidance.

"Hasta la vista, baby !" in Terminator  :)

Best for you

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14228
Re: inxi.tcz : suggestion to add a depend
« Reply #6 on: May 22, 2023, 01:22:21 AM »
So, can you add "ca-certificates.tcz" in the "inxi.tcz.dep" file ?

That would be up to the maintainer of the inxi extension - I would recommend having ca-certificates as an optional dependency.

Offline Rantanplan

  • Newbie
  • *
  • Posts: 33
Re: inxi.tcz : suggestion to add a depend
« Reply #7 on: May 22, 2023, 02:23:31 AM »
Thank you so much Juanito.