Git Product home page Git Product logo

Comments (11)

CarterLi avatar CarterLi commented on June 24, 2024

Thanks for reporting. Unfortunately I cannot reproduce this issue on my cell phone. Can you provide the output of the following command?

for structure in localip battery poweradapter locale break colors; do ./fastfetch -l none --show-errors -s $structure; done

from fastfetch.

wowlikon avatar wowlikon commented on June 24, 2024

Thanks for reporting. Unfortunately I cannot reproduce this issue on my cell phone. Can you provide the output of the following command?

for structure in localip battery poweradapter locale break colors; do ./fastfetch -l none --show-errors -s $structure; done

Output:

❯ for structure in localip battery poweradapter locale break colors; do fastfetch -l none --show-errors -s $structure; done
Local IP (rmnet_data6): 12.34.67.90/24
Local IP (wlan0): 192.168.0.164/24
Battery: 50% [DISCHARGING]
Power Adapter: Not supported on this platform
Locale: en_US.UTF-8

████████████████████████
████████████████████████

from fastfetch.

CarterLi avatar CarterLi commented on June 24, 2024

Well, is the bug consistantly reproduceable?

from fastfetch.

wowlikon avatar wowlikon commented on June 24, 2024

Well, is the bug consistantly reproduceable?

The error is probably related to termux-api. because without it, the battery status is not displayed and an error does not occur

❯ termux-battery-status
{
  "health": "GOOD",
  "percentage": 49,
  "plugged": "UNPLUGGED",
  "status": "DISCHARGING",
  "temperature": 28.0,
  "current": -1002000
}

from fastfetch.

CarterLi avatar CarterLi commented on June 24, 2024

However it didn't occur here:

Battery: 50% [DISCHARGING]

from fastfetch.

wowlikon avatar wowlikon commented on June 24, 2024

Perhaps some other termux-api commands are causing errors, or do not return the expected response

from fastfetch.

CarterLi avatar CarterLi commented on June 24, 2024

Can you please try this?

for structure in Title Separator OS Host Kernel Uptime Packages Shell Display DE WM WMTheme Theme Icons Font Cursor Terminal TerminalFont CPU GPU Memory Swap Disk LocalIp Battery PowerAdapter Locale Break Colors; do fastfetch -l none --show-errors -s $structure; done

from fastfetch.

wowlikon avatar wowlikon commented on June 24, 2024

Can you please try this?

for structure in Title Separator OS Host Kernel Uptime Packages Shell Display DE WM WMTheme Theme Icons Font Cursor Terminal TerminalFont CPU GPU Memory Swap Disk LocalIp Battery PowerAdapter Locale Break Colors; do fastfetch -l none --show-errors -s $structure; done

WindowsTerminal_rMicxOJTh6

from fastfetch.

CarterLi avatar CarterLi commented on June 24, 2024

The crash seems to be random. Let's wait and see if it occurs to others.

from fastfetch.

CarterLi avatar CarterLi commented on June 24, 2024

Anyway, you can always disable the battery module manually with fastfetch -s Title:Separator:OS:Host:Kernel:Uptime:Packages:Shell:Display:DE:WM:WMTheme:Theme:Icons:Font:Cursor:Terminal:TerminalFont:CPU:GPU:Memory:Swap:Disk:LocalIp:Locale:Break:Colors

from fastfetch.

Efreak avatar Efreak commented on June 24, 2024

I'm getting this as well, though I'm not sure if it's for the same reason. It goes away when I disable battery, however the battery report is correct. It also goes away if I set --pipe, oddly.

detailed info and fastfetch output

fastfetch -c ci.jsonc --format json

Output from fastfetch --list-features:

threads
vulkan
freetype
linux/videodev2
linux/wireless

SmartSelect_20240501_070345_Termux

from fastfetch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.